![]() |
Forum Index : Microcontroller and PC projects : PicoMite V6.01.00 betas
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 591 |
Hello, the latest RP2350 HDMI and VGA firmware gives me an error when executing files command. This happens only for Resolution 800 and 848 for A: and B: drive, all others work: > files A:/ Error : Not enough Heap memory > option list PicoMiteVGA MMBasic RP2350B Edition V6.01.00b11 OPTION FLASH SIZE 16777216 OPTION COLOURCODE ON OPTION KEYBOARD US OPTION PICO OFF OPTION RESOLUTION 800x600 @ 360000KHz OPTION DISPLAY 50, 100 OPTION SDCARD GP24, GP25, GP26, GP27 OPTION VGA PINS GP32,GP34 Another observation for HDMI: My programm executes and I have 32k free heap in Resolution 1024 Mode 1. With same conditions, in Resolution 1280 Mode 1 it errors with heap and in Mode 3 only 5K remain. Not sure but looks too much? |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5306 |
Oh no, here we go again. RP announced RP2350 A4 stepping where they fixed the GPIO bug (E9). To support this version we need to update the SDK. Good they fixed the bug. Not good to change SDK again.... Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10453 |
Already changed in the latest betas |
||||
twofingers![]() Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1640 |
Hi Peter, I don't know if this is important or intended behavior: If I run a zero-byte Basic file with RUN, the Pico crashes without an error message and can only be revived with a hard reset. PicoMice 2350, version 6.01.00b5 Kind regards Michael causality ≠ correlation ≠ coincidence |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10453 |
Can't replicate in b11. Please specify exactly how you are doing it |
||||
twofingers![]() Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1640 |
> files "b:1.bas" B:/ 19:54 10-09-2025 0 1.bas 0 directories, 1 file > run"b:1.bas" <no answer><crash> I tried different 0-byte files with the extension "*.bas". First, I tried starting with FM, then from the prompt (after reset) with RUN "filename.bas". But this only happens on the SD card. It seems to work fine on "a:". I hope this helps Michael Edit: I solved it in the FM by querying the file size beforehand. So it's not an urgent problem! Edit2: I hardly dare to ask: is there a function to query the active "mode" setting? Like: mm.info(Mode)? Edited 2025-09-11 19:35 by twofingers causality ≠ correlation ≠ coincidence |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10453 |
Will look at this next week when home |
||||
twofingers![]() Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1640 |
All good, there's no rush. causality ≠ correlation ≠ coincidence |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10453 |
V6.01.00b12 PicoMiteV6.01.00b12.zip Fixes bug in XMODEM for RP2040 Fixes bug in reading zero length files - all versions Preparatory work for new RP2350 12-bit buffered SSD1963 driver Edited 2025-09-16 23:57 by matherp |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5306 |
@Peter, Thanks for fixing the 2040 XMODEM bug. File transfers using MMCC work flawless now (tested on non-VGA version). Volhout Edited 2025-09-17 00:19 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5306 |
@Peter, I have problems with b12 - On 2350 gamemite: when running petscii robots, framebuffer merge does not work anymore. This works fine on b11. - On 2040 gamemite: when copying from B:/ to A:/ files get corrupt. Sorry, this is not a good move forward. Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10453 |
Bugger, there is a day one problem with zero byte files on the SDcard I'm trying to solve. I thought I had a solution but it looks like it has had a side-effect OK on RP2040? |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5306 |
Hi Peter, I think you have already a clue on the file copy issue, so I maybe too late, but here is some background screenshots. The original file is on B, open in build in editor ![]() After copying to A, in editor... Looks like the first 512 or so characters are missing. ![]() EDIT: Framebuffer merge problem: also present on 2040. Volhout Edited 2025-09-17 18:11 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10453 |
Works for me on RP2350 running Petscii. Haven't got a Game*Mite to test on - may be something to do with the OPTIONS. Please try OPTION RESET GAME*MITE if you haven't done this recently My options which should be fairly similar OPTION SYSTEM SPI GP2,GP3,GP4 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION CPUSPEED (KHz) 252000 OPTION LCDPANEL ILI9341, LANDSCAPE,GP26,GP27,GP28,GP5 OPTION SDCARD GP13 OPTION AUDIO GP6,GP7', ON PWM CHANNEL 3 OPTION MODBUFF ENABLE 192 Attached my RP2350 firmware which should have fixed the copy issue PicoMite.zip Edited 2025-09-17 19:25 by matherp |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5306 |
@Peter, This is the phenonem. b11 ![]() b12 ![]() Seen this on 3 different pico-lcd combinations. The photo is from a non-Game*Mite LCD connected (SYSTEM SPI) 2040. But it is the same on the Game*Mites. Volhout Edited 2025-09-17 19:49 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10453 |
I simply can't replicate - works perfectly for me with the firmware just posted above |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5306 |
Confirmed This last version works okay for 2350 in Game*Mite with Petscii robots. I still have to check the file transfer issue, but the framebuffer merge issue is gone. Volhout Edited 2025-09-17 20:04 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10453 |
I didn't change anything relating to merge and hadn't between b11 and b12 ![]() Here is an updated RP2040 version - should fix the copy issue and tested with PETSCII PicoMite.zip Edited 2025-09-17 20:18 by matherp |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5306 |
Petscii loads many files, and copies them to flash. Maye in that transfer faults resulted in framebuffer faults in the game that look like the merge is going wrong. So they may have been caused by the same problem. Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10453 |
See above |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |