Menu
JAQForum Ver 19.10.27

Forum Index : Microcontroller and PC projects : MMBasic V6.03.00 release candidates

   Page 9 of 27    
Posted: 12:01pm
18 May 2026
Copy link to clipboard
ville56
Guru

@Peter,

the error reporting is still one line off ....
'
OPTION EXPLICIT
OPTION DEFAULT NONE

this throws an error, we are at line 5
end

RUN
[4] this throws an error, we are at line 5
Error : Unknown command

Edit: mm.info(line) has the same issue
Edited 2026-05-18 22:13 by ville56
 
Posted: 09:16am
19 May 2026
Copy link to clipboard
matherp
Guru

V6.03.00RC10
PicoMiteRP2040V6.03.00RC10.zip
PicoMiteRP2350V6.03.00RC10.zip

Fixes bug in reporting the line number of an error (edit positioning was already correct)
Changes to Web versions to allow CPU speeds up to 396MHz - tested on Pimoroni Pico 2W
Addition of new PicoMiteBT RP2350 build
PicoMiteBT.pdf
Edited 2026-05-19 19:32 by matherp
 
Posted: 10:59am
19 May 2026
Copy link to clipboard
TrevorC
Newbie

Hi,

Is any one else having problems with setting :

option system spi GP2,GP3,GP4

This works with a non USB/HDMI version but gives Invalid Option with a USB/HDMI
version.

This is on V6.03.00RC10 also the same on RC8 and RC9.


TrevorC
 
Posted: 11:06am
19 May 2026
Copy link to clipboard
matherp
Guru

You don't use system spi with vga/hdmi versions. Just configure the sdcard with all 4 parameters. The manual should make this clearer
 
Posted: 11:13am
19 May 2026
Copy link to clipboard
TrevorC
Newbie

Hi,

Thanks very much for the quick response.

Now you mention it I remember reading that at some time but I had forgotten about it.

Trevor
 
Posted: 12:02pm
19 May 2026
Copy link to clipboard
toml_12953
Guru

  matherp said  V6.03.00RC10
PicoMiteRP2040V6.03.00RC10.zip
PicoMiteRP2350V6.03.00RC10.zip

Fixes bug in reporting the line number of an error (edit positioning was already correct)
Changes to Web versions to allow CPU speeds up to 396MHz - tested on Pimoroni Pico 2W
Addition of new PicoMiteBT RP2350 build
PicoMiteBT.pdf


I've loaded WebMite RC10 on my PicoCalc. When I start the macine I get this although my library routines haven't changed since RC9

[LIBRARY] SUB MM.END
Error: Invalid Identifier


Here's my library:

OPTION console none
ON ERROR SKIP 2
CONST TRUE = -1
CONST FALSE = 0
SETPIN GP4,GP5,COM2
'Option ESCAPE
OPTION console screen
SUB MM.STARTUP
OPTION console none
DRIVE "B:"
OPTION console screen
'RTC GETTIME
END SUB
SUB MM.END
PRINT
PRINT
PRINT "END PROGRAM"
PRINT
OPTION console screen
END SUB
SUB mm.prompt
SETPIN GP4,GP5,COM2
PRINT ">";
END SUB
SUB LLIST(fname$)
FONT 8
OPTION console serial
IF fname$="" THEN
 LIST all
ELSE
 LIST all fname$
END IF
PRINT :PRINT :PRINT :PRINT :PRINT
PRINT :PRINT
FONT 1
OPTION console screen
END SUB
SUB BEEP()
PLAY tone 1000,1000:PAUSE 175
PLAY stop
END SUB
FUNCTION DET(n())
 DET=MATH(m_determinant n())
END FUNCTION


Footnote added 2026-05-21 18:15 by toml_12953
This seems to happen when I edit a program and hit F2 to run it.
 
Posted: 12:27pm
19 May 2026
Copy link to clipboard
matherp
Guru

Have you re-loaded the library?
 
Posted: 01:59pm
19 May 2026
Copy link to clipboard
toml_12953
Guru

  matherp said  Have you re-loaded the library?


Yes. It formatted drive A: when I loaded it over the non-Web version and the library was gone. I even nuked it between updates. No difference.
Edited 2026-05-20 00:03 by toml_12953
 
Posted: 02:14pm
19 May 2026
Copy link to clipboard
matherp
Guru

RP2040 or RP2350?
Can't replicate with a simple test
> list
For i=1 To 10
Print i
Next
End
> library list
Sub mm.end
Print "done"
End Sub
> RUN
1
2
3
4
5
6
7
8
9
10
done
>
 
Posted: 02:40pm
19 May 2026
Copy link to clipboard
matherp
Guru

Should be OK now. You will need to re-load

WebMiteV6.03.00RC10.zip
 
Posted: 05:49pm
19 May 2026
Copy link to clipboard
toml_12953
Guru

  matherp said  V6.03.00RC10
PicoMiteRP2040V6.03.00RC10.zip
PicoMiteRP2350V6.03.00RC10.zip

Fixes bug in reporting the line number of an error (edit positioning was already correct)
Changes to Web versions to allow CPU speeds up to 396MHz - tested on Pimoroni Pico 2W
Addition of new PicoMiteBT RP2350 build
PicoMiteBT.pdf

Any chance of running psram at > 384000?
 
Posted: 12:22am
20 May 2026
Copy link to clipboard
toml_12953
Guru

  matherp said  Should be OK now. You will need to re-load

WebMiteV6.03.00RC10.zip


Thanks! It works great now.
 
Posted: 02:10pm
20 May 2026
Copy link to clipboard
mozzie
Guru

G'day Peter,
Looks like there may be another small bug in the I2C system, we can send a 1 byte string or variable but not a single byte.

> option list
PicoMite MMBasic RP2040 V6.03.00RC10
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 200000
>
> i2c write &h14,0,1,&h00
Error : Variable name
>
> i2c write &h14,0,2,&h00,&h00
>


Single byte fails but 2 bytes are ok. Also tested on I2C2 / System I2c and PicoMite RP2350 base with same result.

Doing some searching in Touch.c / Touch.h shows code for the GT911 capacitive touch controller, is this device supported? I recall you mentioning it was a mongrel to code but not if it ever reached fruition.

Many thanks once again.

Regards, Lyle.
 
Posted: 08:00am
21 May 2026
Copy link to clipboard
toml_12953
Guru

I spoke too soon about WebMite working great. I nuked the PicoCalc, loaded Webmite RC10 and now I'm getting reboots at random after I make a modification to a program in the editor and hit F2 to save and run it. I have a Pimoroni Pico Plus 2 W. I was running at 384000 but tried 200000 instead, thinking it might be speed related. It still flashes the PC register and reboots. There's no one program that does it and I've tried  two different PicoCalcs with the same result. Here are my options:

WebMite MMBasic RP2350B Edition V6.03.00RC10
OPTION SERIAL CONSOLE COM1,GP0,GP1,BOTH
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION SYSTEM I2C GP6,GP7, SLOW
OPTION BAUDRATE 19200
OPTION FLASH SIZE 16777216
OPTION LIBRARY_FLASH_SIZE  30000
OPTION COLOURCODE ON
OPTION CASE UPPER
OPTION TAB 8
OPTION DEFAULT COLOURS  BLACK
OPTION KEYBOARD PICOCALC
OPTION PICO OFF
OPTION CPUSPEED (KHz) 384000
OPTION LCDPANEL CONSOLE ,, FFCC00
OPTION DISPLAY 26, 40
OPTION LCDPANEL ST7365P, PORTRAIT,GP14,GP15,GP13
OPTION WIFI MySpectrumWiFie0-2G, **************, PicoCalc 1, XX
OPTION SDCARD GP17, GP18, GP19, GP16
OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5
OPTION RTC AUTO ENABLE
OPTION MODBUFF ENABLE  192
OPTION PSRAM PIN GP47
OPTION HEARTBEAT PIN GP25

Edited 2026-05-21 18:16 by toml_12953
 
Posted: 08:30am
21 May 2026
Copy link to clipboard
dddns
Guru

A whitespace in the hostname?
 
Posted: 09:56am
21 May 2026
Copy link to clipboard
toml_12953
Guru

  dddns said  A whitespace in the hostname?


Were you replying to my message? If so, there's no whitespace in

MySpectrumWiFie0-2G
 
Posted: 02:34pm
21 May 2026
Copy link to clipboard
ville56
Guru

Isn't that the SSID and the hostname is  "PicoCalc 1" with a blank before the 1, at least that is how I understand dddns? Dunno if that could be the reason but it may confuse some software parts....
 
Posted: 02:56pm
21 May 2026
Copy link to clipboard
toml_12953
Guru

  ville56 said  Isn't that the SSID and the hostname is  "PicoCalc 1" with a blank before the 1, at least that is how I understand dddns? Dunno if that could be the reason but it may confuse some software parts....


Well, I'll try taking out the space and see if it makes a difference. Thanks for the tip!

Well, it was worth a shot. I changed it and ran a program a few times, changing it in the editor slightly each time. The problem is still there when I exit the editor. :(
Edited 2026-05-22 01:01 by toml_12953
 
Posted: 05:45am
22 May 2026
Copy link to clipboard
ville56
Guru

toml_12953,

Another possibility is hardware:

1) PSRAM. I had a similar issue with a WeAct module where I retrofitted PSRAM and there was no pullup for the CS signal. Random reboots ...

Maybe you could check if there are somewhere from 4 to 10 kOhm between PSRAM pin 1 and 3.3V. If it is fitted, can you try to disable PSRAM and see if it still crashes?

2) Still another possibility is supply voltage quality. Maybe you can change the powersupply but I dunno what setup you have.

Gerald
 
Posted: 11:37am
22 May 2026
Copy link to clipboard
toml_12953
Guru

  ville56 said  toml_12953,

Another possibility is hardware:

1) PSRAM. I had a similar issue with a WeAct module where I retrofitted PSRAM and there was no pullup for the CS signal. Random reboots ...

Maybe you could check if there are somewhere from 4 to 10 kOhm between PSRAM pin 1 and 3.3V. If it is fitted, can you try to disable PSRAM and see if it still crashes?

2) Still another possibility is supply voltage quality. Maybe you can change the powersupply but I dunno what setup you have.

Gerald


The PSRAM is on the Pimoroni boards so I have nothing wired to them myself. I tried a regulated bench supply and the problem still happened. I disabled PSRAM and the errors seemed to cease. I'm pretty sure it has something to do with the software since I'm running two PicoCalcs and have never had this problem until I updated to WebMite RC10. The error showed up on both PicoCalcs on the same day I updated the firmware. I'm going back to RC9 for now to see if the errors stop and report back.
 
   Page 9 of 27    
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026