Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 13:57 07 Oct 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PicoMite V6.01.00 betas

     Page 11 of 14    
Author Message
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 591
Posted: 02:29pm 10 Sep 2025
Copy link to clipboard 
Print this post

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: Netherlands
Posts: 5306
Posted: 02:39pm 10 Sep 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 10453
Posted: 03:28pm 10 Sep 2025
Copy link to clipboard 
Print this post

Already changed in the latest betas
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1640
Posted: 05:24pm 10 Sep 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 10453
Posted: 05:44pm 10 Sep 2025
Copy link to clipboard 
Print this post

Can't replicate in b11. Please specify exactly how you are doing it
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1640
Posted: 06:05pm 10 Sep 2025
Copy link to clipboard 
Print this post

  matherp said  Can't replicate in b11. Please specify exactly how you are doing it


> 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 Kingdom
Posts: 10453
Posted: 09:48am 11 Sep 2025
Copy link to clipboard 
Print this post

  Quote  But this only happens on the SD card.

Will look at this next week when home
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1640
Posted: 11:04am 11 Sep 2025
Copy link to clipboard 
Print this post

All good, there's no rush.
causality ≠ correlation ≠ coincidence
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10453
Posted: 01:56pm 16 Sep 2025
Copy link to clipboard 
Print this post

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: Netherlands
Posts: 5306
Posted: 02:18pm 16 Sep 2025
Copy link to clipboard 
Print this post

@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: Netherlands
Posts: 5306
Posted: 07:52pm 16 Sep 2025
Copy link to clipboard 
Print this post

@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 Kingdom
Posts: 10453
Posted: 07:16am 17 Sep 2025
Copy link to clipboard 
Print this post

  Quote  On 2040 gamemite: when copying from B:/ to A:/ files get corrupt.


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

  Quote  On 2350 gamemite: when running petscii robots, framebuffer merge does not work anymore. This works fine on b11.


OK on RP2040?
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5306
Posted: 08:08am 17 Sep 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 10453
Posted: 09:09am 17 Sep 2025
Copy link to clipboard 
Print this post

  Quote  EDIT: Framebuffer merge problem: also present on 2040.


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: Netherlands
Posts: 5306
Posted: 09:48am 17 Sep 2025
Copy link to clipboard 
Print this post

@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 Kingdom
Posts: 10453
Posted: 09:56am 17 Sep 2025
Copy link to clipboard 
Print this post

I simply can't replicate - works perfectly for me with the firmware just posted above
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5306
Posted: 10:04am 17 Sep 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 10453
Posted: 10:05am 17 Sep 2025
Copy link to clipboard 
Print this post

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: Netherlands
Posts: 5306
Posted: 10:18am 17 Sep 2025
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 10453
Posted: 10:18am 17 Sep 2025
Copy link to clipboard 
Print this post

See above
 
     Page 11 of 14    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025