Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:19 11 Sep 2026 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.03.02 betas

     Page 3 of 3    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11829
Posted: 01:02pm 04 Sep 2026
Copy link to clipboard 
Print this post

  Quote  Things go wrong with the PicoMiteVGA MMBasic USB RP2040 Edition V6.03.02b2 as soon as I plug in the USB dongle for the keyboard and mouse.

Sorry haven't got a test board with me for that build. Will have a look at it after Saturday next week. In the meantime use b1.
  Quote  b2 seems to be about 7% slower than b1. Tested with PicoMite MMBasic RP2350B and the KnivD benchmark with "Option tracecache on 128".

Try downloading again, it may be better. The performance differs between builds based on tiny changes in the location of functions in memory and how they interact with caching from flash.
  Quote  I'm trying to compile the source for the PicoCalc and getting this:

No idea. You have to have downloaded TinyUSB 0.21 and have it in the correct place in your environment. There are also three patches that need to be applied to it. These are all in the github
 
Bleep

Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 853
Posted: 09:26am 06 Sep 2026
Copy link to clipboard 
Print this post

I think this has been reported, but to bo sure, B2 is having problems with USB on a 2040 VGA USB, Option CMM1.5
As soon as I plug in a USB keyboard I get the following.
B1 is so far working fine.
PicoMiteVGA MMBasic USB RP2040 Edition V6.03.02b2
Copyright 2011-2026 Geoff Graham
Copyright 2016-2026 Peter Mather

>
*** FAULT PC=1008AE98 LR=100849CD SP=20041E08 CFSR=00000000 HFSR=00000000
>
*** FAULT PC=1008AE98 LR=100849CD SP=20041E10 CFSR=00000000 HFSR=00000000
>
*** FAULT PC=1008AE98 LR=100849CD SP=20041DF0 CFSR=00000000 HFSR=00000000
>
ETC....
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11829
Posted: 09:34am 06 Sep 2026
Copy link to clipboard 
Print this post

b2 is a big change to a newer version of TinyUSB. This has one major advantage - much faster USB flash drive access but has been a pig to get reliable. I believe the RP2350 variants are all OK but the RP2040 VGA USB is definitely broken. I can't look at this until the end of next week as I don't have an rp2040 available at the moment.
 
Volhout

Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 6101
Posted: 01:49pm 07 Sep 2026
Copy link to clipboard 
Print this post

Peter,

A added the RF module to your board (PiComputer 3).
Then upgraded the firmware to PicoMiteHDMIWEB V60302b2.

When running the profiler program

profiler

The code stops at test 9 (PLAY TONE command). Simply stops (need RESET).

I re-installed PicoMiteHDMIUSB V60302b2 (the non WEB version).

Then the profiler runs to the end (with the remark it did not test WIFI, since WIFI is not in the HDMIUSB build).


EDIT: problem solved : R90 was not populated on this board. After adding a 470 ohm resistor all works fine.


Volhout
Edited 2026-09-08 00:15 by Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11829
Posted: 02:20pm 07 Sep 2026
Copy link to clipboard 
Print this post

Run perfectly for me - this is the version I was testing with
tested with and without a USB keyboard, with and without wifi logged in
PicoMiteHDMIWEBV6.03.02b2.zip
 
JanVolk
Guru

Joined: 28/01/2023
Location: Netherlands
Posts: 410
Posted: 02:59pm 07 Sep 2026
Copy link to clipboard 
Print this post

Peter,

Thanks for the response regarding V6.03.02b2. Version PicoMiteVGA MMBasic USB RP2040 Edition V6.03.02b1 works excellently following V6.03.00RC21, and all data was preserved. I look forward to the results of the investigation.
Also, thanks for the firmware update command covering all versions; the issue with the `edit` command and the mouse-enabled banner in the terminal is now working perfectly in V6.03.02b1.

There is another issue with PicoMite MMBasic USB RP2350A Edition V6.03.02b2.
If I connect only a USB flash drive to the Raspberry Pi Pico 2's USB port and list the directories using `fm`, everything works fine.
However, as soon as I try to copy multiple directories to A:, the firmware freezes. Copying small, individual files often still works.
I also tested this with PicoMite MMBasic USB RP2350A Edition V6.03.02b1, and everything works as expected.
I also tested it with an RP2350A0A4 with 16MB of flash memory; it failed there too, whereas the previous version (V6.03.02b1) worked correctly.


*** FAULT PC=100BBED0 LR=100B55F7 SP=2007FE90 CFSR=00000000 HFSR=80000000
*** FAULT R0=00000001 R1=00000000 R2=200724D1 R3=FFFFFFFF R12=000000FF XPSR=09100000 FAR=FFFFFFFF EXC=FFFFFFFE9
> USB Flash Drive Connected (addr 1)
> option list
PicoMite MMBasic USB RP2350A Edition V6.03.02b2
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION FLASH SIZE 4194304
OPTION COLOR CODE ON
OPTION KEYBOARD US
OPTION CPU SPEED (KHz) 200000
OPTION DISPLAY 50, 100


Jan.
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 599
Posted: 03:54pm 07 Sep 2026
Copy link to clipboard 
Print this post

@Peter,

is there a way to go to low baudrates with the com-ports? If I try to go to 300 Bd I get an error.

> open "com3:300" as #1
> Error : 300 is invalid (valid is 343 to 921600)

I know, 300Bd and below is a bit outdated, but if I want to connect some old equipment I may need it. At least the CH340 used for com3 (CDC) could do even lower. I'm not asking for 45.45 Bd for RTTY as then I also would need 5 bit character size. Maybe for CDC devices the limitation could be extended as I assume for com1/2 there may be a divider size issue.

Btw: the manual says 1200 is the lower limit but the error message says 343 and this works. Maybe the manual should be corrected here.

Tnx,
Gerald
                                                                 
73 de OE1HGA, Gerald
 
Volhout

Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 6101
Posted: 04:00pm 07 Sep 2026
Copy link to clipboard 
Print this post

Memory can only be used once….

I started a port of STONED game to PiComputer3.
Used MODE4, since that promised the best visuals for HDMI.
Today I solderend the WIFI module, and upgraden to HDMIWEB version.

But lost MODE 4 (not supported).

Just a heats up for those who add WIFI, you loose Some video modes.

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11829
Posted: 05:18pm 07 Sep 2026
Copy link to clipboard 
Print this post

V6.03.01b3 is posted at https://github.com/UKTailwind/PicoMite/releases/tag/PicoMite-V6.03.02b3

Should fix any issues with rp2350 USB builds and reduces the memory footprint of the FM command.
Please try the RP2040 VGAUSB build and report any diagnostics assuming it is still broken

Note: the user manual has also had a significant update
Edited 2026-09-08 03:20 by matherp
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 599
Posted: 06:54pm 07 Sep 2026
Copy link to clipboard 
Print this post

Peter,

trying to edit a small file <100 bytes from FM on a

WebMite MMBasic RP2350A Edition V6.03.02b3
OPTION SYSTEM SPI GP2,GP3,GP4
OPTION SYSTEM I2C GP8,GP9
OPTION AUTORUN  ON
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION HEARTBEAT OFF
OPTION CPUSPEED (KHz) 352000
OPTION DISPLAY 40, 145
OPTION LCDPANEL ST7789_320, PORTRAIT,GP14,GP13,GP15,GP16
OPTION WIFI JN88fg, *********, Nixie, AT
OPTION TELNET CONSOLE ON
OPTION SDCARD GP17

gives
Error : Not enough System Heap memory

edit from commandline is ok.

Gerald
                                                                 
73 de OE1HGA, Gerald
 
Volhout

Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 6101
Posted: 06:55pm 07 Sep 2026
Copy link to clipboard 
Print this post

Peter,

The manual only indicates that web funtions take resources. But from the manual it is not clear that the MMBasic in the picomputer3 does not support mode 3,4 and probably also mode5 on the 640*480 resolution setting. To me that was a surprise.

Is this temporary? Something that in b4 can be fixed? Or is the memory map fixed?

I do like the usb memory device support. The fact that I can use USB mouse and kb.
But web degrades the picomputer3 HDMI to VGA capabilitie…ok…palette is extra…

And it is not so much the loss of the modes, but the fact that there are 2 different picomputers. And programs made for one version, Will not run on the other.

Would be Nice if there is a clear plan on a common featureset. Maybe even remove funtionality (thi is a curve I know) to achieve this common set of features. Otherwise the community suffers. I released STONES in the understanding it would run on picomputer3, but since most install web, no one can.


Volhout
Edited 2026-09-08 05:01 by Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11829
Posted: 09:03pm 07 Sep 2026
Copy link to clipboard 
Print this post

supports mode 5 but not 3 or 4 - will update the manual
 
JanVolk
Guru

Joined: 28/01/2023
Location: Netherlands
Posts: 410
Posted: 09:36pm 07 Sep 2026
Copy link to clipboard 
Print this post

Peter,

Thanks for the new version, V6.03.02b3.
I ran a few quick tests. The RP2350A seems stable, and I haven't encountered any further USB-related error messages.
I haven't tested everything yet, though, so I'll provide an update later.
I also tested the PicoMiteVGA MMBasic USB RP2040 Edition V6.03.02b3.
There were no error messages; the USB keyboard is detected but only works intermittently, and the mouse doesn't work at all with this version.
> Option MOUSE SENSITIVITY f! 'Default = 0; tried values ​​>= 1 (for Graphics, Game, or 12-bit modes), but that didn't help.


> option list
PicoMiteVGA MMBasic USB RP2040 Edition V6.03.02b3
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION SYSTEM I2C GP16,GP17
OPTION FLASH SIZE 16777216
OPTION COLOURCODE ON
OPTION KEYBOARD US
OPTION HEARTBEAT OFF
OPTION PICO OFF
OPTION RESOLUTION 640x480 @ 315000KHz
OPTION SDCARD GP21, GP18, GP19, GP20
OPTION VGA PINS GP11,GP22
OPTION AUDIO I2S GP13,GP15', ON PWM CHANNEL 6
OPTION RTC AUTO ENABLE
OPTION MODBUFF ENABLE
OPTION F1 help
OPTION F6 list commands
OPTION F7 list functions
OPTION F8 option list
OPTION F9 fm
OPTION PLATFORM PicoMiteVGAUSB RP2040-PiZero
>
> USB Keyboard Disconnected
>
[USB BUFCTRL32 x2]

[USB DATA_SEQ x3]

[USB DATA_SEQ x
[USB DATA_SEQ x5]
4]
PicoMiteVGA MMBasic USB RP2040 Edition V6.03.02b3
Copyright 2011-2026 Geoff Graham
Copyright 2016-2026 Peter Mather

>
[USB DATA_SEQ x1]

[USB DATA_SEQ x2]

[USB DAT
[USB BUFCTRL
[USB DATA_SEQ x5]
32 x4]
A_SEQ x3]
US USB Keyboard Connected on channel 1


I tried two different keyboards, and these were the messages displayed.
Sometimes the keyboard works, but when I enter edit mode, the connection to the keyboard is lost without any notification, and I can only view the Pico via TeraTerm. When I exit Edit, there is still no response from the USB keyboard, and the mouse hasn't worked with this version yet.
I'll continue testing tomorrow.

Jan.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11829
Posted: 11:30am 08 Sep 2026
Copy link to clipboard 
Print this post

Jan

Please try the attached

PicoMiteRP2040VGAUSBV6.03.02b3.zip

Please then run the attached program and report the results
?"contend  ";PEEK(WORD  &H2003BD94)
?"switch   ";PEEK(WORD  &H2003BD9C)
?"declined ";PEEK(WORD  &H2003BD98)
?"DATA_SEQ ";PEEK(SHORT &H2003BDA2)
?"BUFCTRL32";PEEK(SHORT &H2003BDA4)
?"BUFCTRL16";PEEK(SHORT &H2003BDA6)
?"total    ";PEEK(SHORT &H2003D392)


Run it at four points:

1. Right after boot, before plugging anything in — everything should read 0. If it doesn't, the addresses are wrong for their image and nothing else is worth reading.

2. Just after plugging the keyboard in, once it's enumerated (or failed to).

3. The moment the keyboard misbehaves — especially straight after the EDIT-mode loss, which is their most reproducible trigger. Read it before doing anything to recover.

4. With keyboard and mouse both connected, since the mouse never works at all and two devices are what actually create EP0 contention
 
JanVolk
Guru

Joined: 28/01/2023
Location: Netherlands
Posts: 410
Posted: 04:53pm 08 Sep 2026
Copy link to clipboard 
Print this post

Peter,

I performed the proposed test; here are the results.
File extracted and loaded using Update Firmware.
All existing data on A:/ and in the option list remained intact.
Test file sent to MMEDIT and loaded onto the Pico.

1. Result of the first test.

> run
contend   0
switch    0
declined  0
DATA_SEQ  0
BUFCTRL32 0
BUFCTRL16 0
total     0

This was executed using Tera Term and was also visible on the VGA screen.

2. Result of the second test.

> US USB Keyboard Connected on channel 1
>
[USB DATA_SEQ 1]

> run
contend   0
switch    0
declined  0
DATA_SEQ  1
BUFCTRL32 0
BUFCTRL16 0
total     1

The USB keyboard works normally, and the mouse is still disabled.
The VGA screen also works normally.

3. Result of the third test.

On the USB keyboard: > EDIT; the keyboard then works normally in EDIT mode.
Exit EDIT and RUN.

> run
contend   0
switch    0
declined  0
DATA_SEQ  1
BUFCTRL32 0
BUFCTRL16 0
total     1

So far, so good.
We are now waiting at the > prompt.
If I enable the mouse now, the USB keyboard becomes blocked.
If I run the command in Tera Term, the result is as follows:

> run
contend   0
switch    0
declined  0
DATA_SEQ  1
BUFCTRL32 0
BUFCTRL16 0
total     1

4. This covers the fourth point as well.

If I reset the Pico, the keyboard responds again.
I repeated the same steps with EDIT, and as soon as I enable the mouse, it causes the keyboard to stop working.

> run
contend   0
switch    0
declined  0
DATA_SEQ  1
BUFCTRL32 0
BUFCTRL16 0
total     1

Tera Term listing from when the USB keyboard and mouse had stopped working.

Jan.
 
     Page 3 of 3    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026