|
Forum Index : Microcontroller and PC projects : MMBasic V6.03.00 release candidates
| Author | Message | ||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 490 |
@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 73 de OE1HGA, Gerald |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
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 |
||||
| TrevorC Newbie Joined: 15/07/2020 Location: United KingdomPosts: 18 |
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 |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
You don't use system spi with vga/hdmi versions. Just configure the sdcard with all 4 parameters. The manual should make this clearer |
||||
| TrevorC Newbie Joined: 15/07/2020 Location: United KingdomPosts: 18 |
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 |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 637 |
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 "END PROGRAM" 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. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
Have you re-loaded the library? |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 637 |
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 |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
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 > |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
Should be OK now. You will need to re-load WebMiteV6.03.00RC10.zip |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 637 |
Any chance of running psram at > 384000? |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 637 |
Thanks! It works great now. |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 329 |
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. |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 637 |
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 |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 834 |
A whitespace in the hostname? |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 637 |
Were you replying to my message? If so, there's no whitespace in MySpectrumWiFie0-2G |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 490 |
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.... 73 de OE1HGA, Gerald |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 637 |
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 |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 490 |
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 73 de OE1HGA, Gerald |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 637 |
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. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |