|
Forum Index : Microcontroller and PC projects : MMBasic V6.03.00 release candidates
| Author | Message | ||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11637 |
V6.03.00RC22 PicoMiteRP2040V6.03.00RC22.zip PicoMiteRP2350V6.03.00RC22a.zip PicoMiteRP2350V6.03.00RC22b.zip Bug fix to MATH(CROSSING function Changes to stepper command to fix missing steps Changes to support the same CSUB running on both RP2040 and RP2350 Additional internal functions exposed though PicoCFunctions.h Allows * to be used without any parameters to run the current program |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11637 |
V6.03.00RC23 PicoMiteRP2040V6.03.00RC23.zip PicoMiteRP2350V6.03.00RC23a.zip PicoMiteRP2350V6.03.00RC23b.zip Fixes potential memory alignment issue when using OPTION GUI CONTROLS Changes an internal library which reduces the flash footprint Harm: check the min build Note: this build will be the release unless anyone finds another bug. There will be no further functional changes |
||||
| JanVolk Guru Joined: 28/01/2023 Location: NetherlandsPosts: 386 |
I updated to PicoMiteHDMI MMBasic USB RP2350A Edition V6.03.00RC23 But I am having problems transferring files using FM and selecting and copying with F5. I also performed a flash nuck, which didn't help. I don't even have video anymore, so I performed an option reset on the Olimex USB. Now I have picture again and FM seems to be working, but restoring the backup from b: to a: causes the entire system to be reset. FM is no longer working. > memory Program: 0K ( 0%) Program (0 lines) 156K (100%) Free Saved Variables: 16K (100%) Free RAM: 0K ( 0%) 0 Variables 0K ( 0%) General 202K (100%) Free > > US USB Keyboard Connected on channel 1 > Mouse Type: Gaming 16-bit X/Y bits: 16/16 Buttons: 5 Report length: 10 bytes Has wheel: Yes (byte 5) Haspan: No USB Mouse Connected on channel 2 > memory Program: 0K ( 0%) Program (0 lines) 156K (100%) Free Saved Variables: 16K (100%) Free RAM: 0K ( 0%) 0 Variables 0K ( 0%) General 189K (100%) Free > fm Error : FM needs at least 8 rows > fm Error : FM needs at least 8 rows > b: > files B:/ <DIR> backup <DIR> backup-A-RP2350 <DIR> Backup-Olimex-RP2350HDMIUSB <DIR> backup2040 <DIR> backup2350hdmi <DIR> backup2350w <DIR> backup3 <DIR> data So I'm just going back to V6.03.00RC21 Now FM is working fine again What I also noticed is that option disk load "V5.03.00RC21.opt" isn't working properly anymore? So, with some copies of the option list still in Notepad++ and transferring line by line via Tera Term, I have it back in order. Now I just have to wait and see if I'm the only one with these problems? > option list PicoMiteHDMI MMBasic USB RP2350A Edition V6.03.00RC21 OPTION SERIAL CONSOLE COM1,GP0,GP1 OPTION SYSTEM I2C GP20,GP21 OPTION FLASH SIZE 16777216 OPTION COLOURCODE ON OPTION DEFAULT COLOURS GREEN, BLACK OPTION MOUSE SENSITIVITY 1.0000 OPTION KEYBOARD US OPTION HEARTBEAT OFF OPTION PICO OFF OPTION RESOLUTION 1280x720 @ 372000KHz OPTION DISPLAY 30, 80 OPTION HDMI PINS 1, 3, 7, 5 OPTION GUI CONTROLS 100 OPTION SDCARD GP22, GP6, GP7, GP4 OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5 OPTION RTC AUTO ENABLE OPTION MODBUFF ENABLE 192 OPTION F1 help OPTION F5 list commands OPTION F6 list functions OPTION F7 list pins OPTION F8 option list OPTION F9 fm OPTION PLATFORM OLIMEX USB OPTION DEFAULT FONT 3, 1 Jan. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11637 |
Option disk load can't always work between versions, sometimes it can but you should assume NOT and set the options by hand with any new version |
||||
| JanVolk Guru Joined: 28/01/2023 Location: NetherlandsPosts: 386 |
Peter, I had previously saved "V6.03.00RC21.opt" using option disk save, and after the problems, I reloaded V6.03.00RC21 using option disk load "V6.03.00RC21.opt", after which the pico started up but there was no video, so I blind option reset olimex usb (enter) y (enter) Reset and the picture returned. After that, I manually copied the list line by line from notepad++ and pasted it into Tera Term. Jan. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11637 |
Looks like a stack overflow issue - will fix |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 5994 |
Peter, The MIN build rc23 is okay for Game*Mite. Volhout PicomiteVGA PETSCII ROBOTS |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11637 |
did you notice you have 16K more A: drive? |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 5994 |
Aha, I guessed so, since I could add Nobukun's shooter game (16k) to the image, and still have space for the high-score folder, and files with scores. Thanks, the Game*Mite has more value now , simply because there are more games in it. More fun to play. When the official release is same, I can release the 2040 uf2 image. Tom will be happy... And I will also add a zip that can be installed on the sd card, that contains the games that are too large to fit Petscii, Gems and Rocks, Maxitrek, etc... Volhout P.s. with these changes the Game*Mite Petscii runs faster (13fps) than the VGA version (10fps). Not a problem, 10fps is perfectly playable. But the GM verion used to run slower to equal speed. And now it is faster. Maybe related to accidental cache misses. Edited 2026-06-23 16:54 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1143 |
Something's not working right with the new version on PicoCalc. I flashed my PicoCalc with "PicoMiteRP2350V6.03.00RC23.uf2" and loaded my mm.startup from SD card: Sub MM.PROMPT Print Cwd$ "> "; End Sub Sub MM.STARTUP Print "Welcome to the machine!" Print "=======================" RTC gettime Print "Time: ";Time$ Print "Date: ";Date$ Print "Temp.:";Format$(Pin(Temp),"%+.2f");"` C" If MM.Info(CHARGING)=1 Then Print "Akku wird geladen!" batt$="" For i=0 To 100 Step 5 If MM.Info(battery) >= i Then 'Print Chr$(219); batt$=batt$+Chr$(219) Else 'Print Chr$(177); batt$=batt$+Chr$(177) EndIf 'Print i Next i Print Tab(12) "+---------------------+" Print "Akku:";MM.Info(battery);"%"; Print Tab(12) "|";batt$;:Print "|" Print Tab(12) "+---------------------+" For i=1 To 3 Option BACKLIGHT KBD 255 Pause 100 Option BACKLIGHT KBD 0 Pause 50 Next i /* Print "Filemanager laden (J/N):"; Input a$ If a$="j"Or a$="J" Then Run "b:\minifm.bas" Else Drive "B:" End If */ Drive "B:" End Sub When I save this file using LIBRARY SAVE, my PicoCalc no longer displays anything after a reboot, and I can no longer access it. Re-flashing doesn't help—even "flash_nuke.uf2" doesn't work. The PicoCalc remains blank. A very old version brought the device back to life. Unfortunately, re-flashing with the current version causes the device to remain blank again... The only thing that has changed in the current mm.startup file are the commented-out lines at the end. Frank |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11637 |
Don't understand what you are saying. Which part of the library code causes the problems? If it is running minifm then the code is probably running out of some resource. |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1143 |
Okay, first I ran "flash_nuke.uf2". Then I flashed "PicoMiteRP2350V6.03.00RC23.uf2". So far, everything was fine, and I got a message saying that Drive A had been formatted. After that, I loaded the file above from the SD card and saved it using LIBRARY SAVE. From that point on, nothing works anymore - the LCD stays black. Re-flashing with "flash_nuke.uf2" and flashing with "PicoMiteRP2350V6.03.00RC23.uf2" doesn't help. The LCD stays black. It looks to me like something is going wrong with LIBRARY SAVE, and a "flash_nuke.uf2" file doesn't fix the problem. Frank |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1143 |
Right now, my PicoCalc is bricked. I've never had a problem like this with it before. Frank |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11637 |
Yes, but what part of the file causes the problem? Can you save something simple to the library? What happens if you load the file without saving to the library and then reboot? Does MM.STARTUP then run OK? Does this file work on an older version? Can you identify a version when the problem occurred? I don't have a PicoCalc so can't test. |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1143 |
I can't get the PicoCalc to work at all right now. I flashed an ancient version, and that got it working again. Flashing it again with "flash_nuke.uf2" and "PicoMiteRP2350V6.03.00RC23.uf2" immediately resulted in a black screen again. No indication that Drive A had been reformatted - just nothing at all... Except for the section that's been commented out, I've always used the file above, and it's worked without any problems. Do you have any idea how I could completely reset the RP2350? It doesn't seem to be working with "flash_nuke.uf2"... Frank |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11637 |
Are you using a Pico module with an A4 stepping chip? If so you need to find an updated version of flash_nuke. The old version doesn't support A4 stepping |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1143 |
I don't know what stepping the chip has - I can't open the PicoCalc right now. I've now found a newer version of flash_nuke, and after using it, I was able to run RC22. Even after saving the file above, everything works as usual. It seems to be a problem with RC23. Frank |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11637 |
Please try this version and report. If the problem still occurs change this line to use str$ instead of format$ PicoMiteRP2350V6.03.00RC24.zip Edited 2026-06-23 18:35 by matherp |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1143 |
When I flash RC24 (after flash_nuke), the screen stays black. RC22 works again after flashing it one more time. Frank |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11637 |
With or without the library code? If without try OPTION RESET PICOCALC from the serial console to properly set up the pico |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |