Menu
JAQForum Ver 26.09

Forum Index : Microcontroller and PC projects : PicoMite V7.00.00b8 and release candidates

   Page 11 of 13    
Posted: 06:35pm
10 Nov 2026
Copy link to clipboard
matherp
Guru

PicoMite V7.00.00RC8: what has changed since RC7

RC8 is RC7 with the reports since then answered, and a wider job for the PicoMitePC3 firmware: it now runs the Pico Computer 2 and the Olimex RP2350pc as well as the Pico Computer 3, and sets itself up for whichever of the three it finds. MM.VER reads 7.000058. The full release notes are on GitHub: https://github.com/UKTailwind/PicoMite/releases/tag/PicoMite-V7.00.00RC8

Upgrading from RC7 or RC6: four builds reset at their first boot. The PicoMiteHDMIUSB, PicoMiteHDMIBTH and PicoMiteHDMIWEB have moved their flash region up 16 KB for the USB host fix below, and the PicoMitePC3 has moved up 16 KB for PWM audio and the new boards. Their options return to their defaults (on the PicoMiteHDMIBTH and PicoMitePC3 their Bluetooth pairings go too), and their flash slots and program memory are cleared. Save the options first with OPTION DISK SAVE "B:/myoptions.txt" and put them back with OPTION DISK LOAD "B:/myoptions.txt". On a board with 16 MB of flash the A: drive is kept; on a board with 4 MB, such as a Pico 2, it is the full reset, A: drive included. A Pico Computer 3 configures itself again at the first boot. Every other build keeps everything.


The PicoMitePC3 firmware: one build for three boards
The PicoMitePC3 is the PicoMiteHDMIUSB (the full set of HDMI resolutions and modes, USB keyboards, mice and game controllers through a hub) with the WiFi and Internet features of the PicoMiteHDMIWEB and the Bluetooth host of the PicoMiteHDMIBTH: Bluetooth LE and Classic keyboards and mice, Bluetooth speakers and headphones, and a Bluetooth serial device as COM7. It needs PSRAM, and uses it: the program can be 256 KB, the editor, LOAD, AUTOSAVE, LIBRARY and the XModem, YModem and ZModem transfers take a 512 KB buffer from the PSRAM, and the heap overflows into it. This is the only build that mandates a PSRAM chip but then has the advantage that memory can be used much more flexibly
OPTION RADIO BOTH | WEB | BLUETOOTH | NONE chooses which halves of the wireless chip are used.

It now runs three boards. At a boot with no platform set (a new board, or after OPTION RESET on its own) it looks, in turn, for:

• the 32 kHz clock from the Pico Computer 3's real time clock on GP27: OPTION RESET PICO COMPUTER 3, as before;
• PSRAM on GP47: a Pico Computer 2, OPTION RESET HDMIUSBI2S, with the radio off;
• PSRAM on GP8: an Olimex RP2350pc, the new OPTION RESET RP2350PC.

The board restarts once with its configuration, and you are at the prompt. After that the platform is set and the test never runs again, so any options you change stay as you set them.

PWM and SPI DAC audio are back in the PicoMitePC3 (OPTION AUDIO pin, pin and OPTION AUDIO SPI), alongside I2S and Bluetooth. The VS1053 is still not supported.

The Olimex RP2350pc



 
An RP2350B with 16 MB of flash, 8 MB of PSRAM, HDMI, a four-port USB hub, a stereo amplifier with speaker connectors and a headphone jack, an SD card slot, two UEXT connectors and a LiPo charger. OPTION RESET RP2350PC (applied for you at the first boot) sets:

+-------------------+------------------------------------------------------------+
| Function          | Pins                                                       |
+===================+============================================================+
| PSRAM, 8 MB       | CS on GP8                                                  |
| HDMI              | GP12 to GP19, in the default order                         |
| SD card           | CS GP9, CLK GP10, MOSI GP11, MISO GP24                     |
| Audio, stereo PWM | GP26 (left), GP27 (right), to the amplifier and headphones |
| Serial console    | GP0 TX, GP1 RX (UART0, on UEXT1)                           |
| Heartbeat         | the user LED on GP25                                       |
| Radio             | none                                                       |
+-------------------+------------------------------------------------------------+

Four more pins belong to the board and are reserved at boot. LIST PINS names them:

• GP32 and GP33 are the audio codec's I2C (shared with the HDMI DDC). They are pulled high so the codec stays idle, and the system I2C is not set, so I2C0 is free for UEXT2's I2C on GP36 and GP37. UEXT1's I2C1 on GP2 and GP3 is free as well.
• GP35 is the amplifier's shutdown, held low so the amplifier stays on.
• GP34 is the amplifier's volume, on PWM channel 9A at 50%. Channel 9 is not available to programs ("Channel in use for amplifier"). Linking it to a volume command is for later.

A few things worth knowing:

• Use the PicoMitePC3 firmware on this board. The PicoMiteHDMIUSB starts its serial console on GP8, which here is the PSRAM's chip select, and stops at the first character of the banner.
• To load firmware, use the USB-C programming connector with BOOT held. While a cable is in that connector the USB hub is held in reset, so move the cable to the power connector before using a keyboard.
• The board's ES8311 codec is not used: it is mono and needs setting up over I2C. The PWM output is stereo.
• It has run happily at 378 MHz.
• A serial console is not automatically enabled. This is a standalone computer. You can enable either com1 or com2 as a serial console by using the pins on the I/O headers

The Pico Computer 2
The Pico Computer 3 without its WiFi and Bluetooth module. OPTION RESET HDMIUSBI2S (applied for you at the first boot) sets the PSRAM on GP47, I2S audio (BCLK GP10, LRCK GP11, DATA GP22), the SD card on GP29 (CS), GP30, GP31 and GP32 (driven in software, as its MISO is on the other SPI block), the real time clock on the system I2C at GP20 and GP21, the serial console on GP8 and GP9, the HDMI pins as on the Pico Computer 3, the interrupt pins on GP0 to GP3 and the heartbeat on the LED at GP25. The radio is off, so GP23, GP24, GP25 and GP29 are ordinary pins.


New and changed
• OPTION PICOMITE is accepted and ignored, in a program or at the prompt, whatever follows it. A program can include it for the Colour Maximite 2, which has to switch to its PicoMite mode to run a PicoMite program.
• A variable can have a command's name (issue 149). At the start of a statement a command's name followed by = is an assignment, so fm% = 0 or out% = 0 in an older program runs again. Without the = the name is still the command. The Colour Maximite 2 makes the same change.
• BLUETOOTH STATUS #n and STEPPER STATUS #n send their report to the port or file opened as #n.
• MM.INFO(FONT), MM.INFO(FLASH), MM.INFO(ADC) and MM.INFO(BOOT) now stop with "Unexpected text" if anything follows them, so a misspelt longer keyword is caught.
• MM.VER of a release counts as 99 in its last two digits, so 7.00.00 will read 7.000099, above every beta and release candidate.


Fixed
• RP2350 USB host builds: a USB serial port (COM3 to COM6) lost characters when a keyboard or mouse was on the same hub, up to one in four on a Pico Computer 3, and a USB flash drive on such a hub could fail to read or write. With a keyboard, a mouse, a USB serial device and a flash drive on one hub, every echo now comes back and the drive passes every test. Reading a drive in pieces of 512 bytes or less now runs at about 250 KB/s; 4 KB at a time and more still reads at about 1 MB/s.
• USB serial devices that refuse DTR and RTS, such as the Microbridge on a Colour Maximite 2 Generation 1, were never connected, and on a Pico Computer 3 nothing else on the hub connected after them (issue 151). They now connect as COM3 to COM6. An MCP2221A bridge works at up to 57600 baud.
• A FOR or DO right after the THEN or ELSE of a single-line IF, inside another loop, confused the outer loop (issue 147).
• The file manager: holding Up or Down on a USB keyboard now keeps scrolling (issue 148).
• PLAY TONE and PLAY SOUND could run at half or a quarter of their speed and pitch after a MOD file, a low-rate WAV, MP3 or FLAC file, or with PWM audio after a USB device connected (issue 145).
• OPTION LOGGING wrote 64 bytes to log.txt for every error; each entry is now the message and a CR-LF (issue 139).
• MM.INFO(USB VID n) and MM.INFO(USB PID n) now give 0 for an empty channel (issue 142).
• The on-screen keyboard is now removed however a program is started (LOAD file$, R, FLASH RUN, RAM RUN, F2 in the editor or the file manager), not only by RUN and CHAIN.
• Fonts: a program no longer inherits the last program's fonts after RAM RUN, FLASH RUN, RAM CHAIN or FLASH CHAIN; every built-in font starts on a word boundary; the manual had MM.INFO(FONT ADDRESS n) and MM.INFO(FONT POINTER n) the wrong way round; and CHAIN in a program keeps the font and colours on the VGA and HDMI versions, as FLASH CHAIN and RAM CHAIN do.
• The documentation now says that LOCATION's time is UTC.
• A refused SETPIN a, b, COM1 or COM2 (the console or GPS on that UART, or the port already on other pins) left the pin it refused changed; it is now left as it was.
• OPTION SERIAL CONSOLE and OPTION GPS accepted two TX pins or two RX pins; they now need one of each.

Please keep the reports coming, especially from existing programs and from anyone with an Olimex RP2350pc or a Pico Computer 2.
 
Posted: 08:20pm
10 Nov 2026
Copy link to clipboard
Bleep
Guru


Hi Peter,
Are there any major downsides to the Olimex RP2350PC? does it seem to be ok at 378MHz for example? because it seems to be a reasonably good and cheap board to use for a HDMI MMBasic, I realise it does not have WiFi or BT.
Regards Kevin.
 
Posted: 08:33pm
10 Nov 2026
Copy link to clipboard
thwill
Guru


Hi Peter,

Did the PicoMite lose the CMM2 RUN command at some point, or am I hallucinating?

> option list
PicoMiteVGA MMBasic RP2040 Edition V7.00.00RC7
OPTION COLOURCODE ON
OPTION KEYBOARD UK
OPTION RESOLUTION 640x480 @ 315000KHz
OPTION SDCARD GP13, GP11, GP12, GP10
OPTION AUDIO GP6,GP7', ON PWM CHANNEL 3
OPTION MODBUFF ENABLE  192
> files
B:/tmp
00:01 01-01-2024         13  bar.inc
00:00 01-01-2024         35  foo.bas
00:06 01-01-2024         21  one.bas
00:34 01-01-2024        458  rizzo.bas
0 directories, 4 files
> run "foo.bas"
[1] #Include "bar.inc"
Error : Invalid character: #
> cmm2 run "foo.bas"
Error : Expression syntax


Best wishes,

Tom
Edited 2026-11-11 06:33 by thwill
 
Posted: 10:41pm
10 Nov 2026
Copy link to clipboard
matherp
Guru

  Quote  Did the PicoMite lose the CMM2 RUN command at some point, or am I hallucinating?


Rp2350 only

  Quote  Are there any major downsides to the Olimex RP2350PC?


See the separate thread for the downsides - 378MHz seems OK
 
Posted: 07:25am
11 Nov 2026
Copy link to clipboard
Volhout
Guru


  thwill said  Hi Peter,

Did the PicoMite lose the CMM2 RUN command at some point, or am I hallucinating?

Best wishes,

Tom


Hi Tom,

It must have been lost in the battle-of-the-bytes when new functionality was added to the 2040 VGA after V5.09. 2040 VGA was always short on memory. And so much got squeezed in. The 2040 VGA is a marvel. Even I2S sound is packed into the same PIO that does VGA as well. CMM2 RUN exists in V6.00.02, but so did RP2350 (V6 was the start of 2350 support).

Volhout
Edited 2026-11-11 17:33 by Volhout
 
Posted: 09:49am
11 Nov 2026
Copy link to clipboard
thwill
Guru


  matherp said  
  Quote  Did the PicoMite lose the CMM2 RUN command at some point, or am I hallucinating?


Rp2350 only


OK, this was reported by someone trying to get SAAINT working on a PicoMite and unfortunately the only RP2350 device I have is a Game*Mite running v6 firmware which I'd rather not update at the moment:

> option list
PicoMite MMBasic RP2350A Edition V6.00.03
OPTION SYSTEM SPI GP6,GP3,GP4
OPTION AUTORUN  1,NORESET
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 252000
OPTION LCDPANEL ILI9341, RLANDSCAPE,GP2,GP1,GP0
OPTION TOUCH GP5,GP7
GUI CALIBRATE 0, 407, 267, 897, 677
OPTION SDCARD GP22
OPTION AUDIO GP20,GP21', ON PWM CHANNEL 2
OPTION MODBUFF ENABLE  192
OPTION PLATFORM Game*Mite

> chdir "/tmp"
> files
B:/tmp
00:01 01-01-2024         13  bar.inc
00:00 01-01-2024         35  foo.bas
00:06 01-01-2024         21  one.bas
00:34 01-01-2024        458  rizzo.bas
0 directories, 4 files

> list "foo.bas"
#Include "bar.inc"
Print "foo"

> list "bar.inc"
Print "bar"

> cmm2 run "foo.bas"
bar
foo

> chdir ".."
> files
B:/
  <DIR>  .Trash-1000
  <DIR>  3rd-private
  <DIR>  apple-panic
  <DIR>  ascii-star-wars
  <DIR>  cmm2-saaint-public
  <DIR>  cmm2-welcome
  <DIR>  cmm2-zmim
  <DIR>  darnley
  ... etc ...

> cmm2 run "tmp/foo.bas"
Error : Could not find the path

> files
B:/tmp
00:01 01-01-2024         13  bar.inc
00:00 01-01-2024         35  foo.bas
00:06 01-01-2024         21  one.bas
00:34 01-01-2024        458  rizzo.bas
0 directories, 4 files


Assuming this isn't something you've already fixed for 7.0 it looks like:

1. CMM2 RUN might be resolving #INCLUDE from the wrong directory ?
2. CMM2 RUN is changing the working directory.

Best wishes,

Tom
Edited 2026-11-11 19:50 by thwill
 
Posted: 10:13am
11 Nov 2026
Copy link to clipboard
Volhout
Guru


Hi Peter,

RP2040 VGA V7.00.00rc7

Below program, when I run it , or edit it, all is fine. But when I use "e" or F4 in the filemanager, I get an error message indicating a fault in the symbol table.

maze_stat.zip

@Tom : confirm that on V7rc8 cmm2 run behaves similar (also tested on GM with 2350)

Volhout
Edited 2026-11-11 20:24 by Volhout
 
Posted: 11:26am
11 Nov 2026
Copy link to clipboard
matherp
Guru

both bugs fixed - will be in the next release - keep them coming
 
Posted: 02:09pm
11 Nov 2026
Copy link to clipboard
Bleep
Guru


Hi Peter,
Similar to Harm, using the editor from FM when I used Page down I went straight off the bottom of the file, page up didn't bring it back, up arrow eventually did, didn't test staring using F4 or 'edit'
Regards Kevin
 
Posted: 03:02pm
11 Nov 2026
Copy link to clipboard
matherp
Guru

Kevin

can't replicate that one. How many lines in the file? Which mode and resolution, what options?
Edited 2026-11-12 01:10 by matherp
 
Posted: 07:14pm
11 Nov 2026
Copy link to clipboard
Bleep
Guru


ok, thanks fo looking, I think I'm using B8 not rc8 so I'll update & try again & give more details if it's still there.
Regards Kevin
 
Posted: 07:22pm
11 Nov 2026
Copy link to clipboard
matherp
Guru

I think I've found and it will be fixed in the next release
It shows when a file is one line short of a whole number of screens. In 640x480 the screen holds 38 lines, so 75 and 113 lines trigger it.
 
Posted: 07:41pm
11 Nov 2026
Copy link to clipboard
Bleep
Guru


That's great :-) sounds from that as though even I would have struggled to find that again. Thanks very much.
 
Posted: 09:20pm
12 Nov 2026
Copy link to clipboard
Bleep
Guru


Hi Peter,
Another problem when compiling. I moved 2 Integer variables from being global to Static in Sub animate, when they were global, the program compiled fine, now they are static compile fails with
python mmb2csub.py ../examples/flamedemo.bas animate -O2
Traceback (most recent call last):
 File "C:\Users\Kevin\pico\mmb2csub\mmb2csub\user-tools\mmb2csub.py", line 1443, in <module>
   main()
   ~~~~^^
 File "C:\Users\Kevin\pico\mmb2csub\mmb2csub\user-tools\mmb2csub.py", line 1313, in main
   needs_wrapper = adapter_sub(dispname, routine, "probe", probe,
                   ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                               gl, gtab, conv.opt_base) is not None
                               ^^^^^^^^^^^^^^^^^^^^^^^^
 File "C:\Users\Kevin\pico\mmb2csub\mmb2csub\user-tools\mmb2csub.py", line 781, in adapter_sub
   pre.append("  Local Integer __gt(%d)" % (base + len(order) - 1))
                                            ~~~~~^~~~~~~~~~~~
TypeError: can only concatenate str (not "int") to str

I checked the docs and they say Statics sould be fine.
Program flamedemo.zip
Any ideas.
Regards Kevin.
 
Posted: 04:58am
13 Nov 2026
Copy link to clipboard
Bryan1
Guru


So those DHT22 boards finally turned up so with less than 4 hours sleep decided to set on up on my pico3.

First put HDMIBTH on and found option wifi didn't work, now connecting my flip 6 to pairing mode soon found it and a song played with no errors  



So I used the code from the manual and here was the result

The Temperature is 512 C and the Humidity is 1664%


Then flashed HDMIWEB and got wifi connected so claude could get in

So time to fire up claude and get down to the bottom of this so got it to bit bang the sensor and we got the right readings so the sensors do work.

Attached is the test we done and claudes report


humid_bug_report.zip
 
Posted: 05:32am
13 Nov 2026
Copy link to clipboard
phil99
Guru


If the sensor is responding to a 20mS low pulse it is most likely a DHT11. A DHT22 responds to a 1.5mS pulse.

As per the manual the extra parameter [,DHT11] if used has a value of "1" for a DHT11 or "0" for a DHT22.

So you would use:-
DIM tc, hp
HUMID GP2, tc, hp, 1 'for a DHT11
'or
HUMID GP2, tc, hp 'for a DHT22
HUMID GP2, tc, hp, 0 'also for a DHT22

  manual said  HUMID pin, tvar, hvar [,DHT11]
Returns the temperature and humidity using the DHT22 sensor. Alternative versions of the DHT22 are the AM2303 or the RHT03 (all are compatible).
'pin' is the I/O pin connected to the sensor. Any I/O pin may be used.
'tvar' is the variable that will hold the measured temperature and 'hvar' is the same for humidity. Both must be present and both must be floating point variables.
For example: HUMID 3, TEMP!, HUMIDITY!
Temperature is measured in ºC and the humidity is percent relative humidity.
Both will be measured with a resolution of 0.1. If an error occurs (sensor not
connected or corrupt signal) both values will be 1000.0.
Normally the DHT22 should powered by 3.3V to keep its output below 3.6V for the Raspberry Pi Pico (the Pico 2 does not have this issue) and the signal pin of should be pulled up by a 1K to 10K resistor (4.7K recommended) to 3.3V.
The optional DHT11 parameter modifies the timings to work with the DHT11.
Set to 1 for DHT11 and 0 or omit for DHT22


Edit.
From your ZIP:-
> HUMID GP2, tc, hp
> PRINT tc, hp
512.5      1639
> HUMID GP2, tc, hp, DHT11
> PRINT tc, hp
512.4      1664.1

In that the HUMID command will interpret "DHT11" as an unDIMed variable with a value of "0", so it will send a 1.5mS pulse and interpret the result as a DHT22.
That your sensor sends DHT11 data yet responded to a DHT22 start pulse suggests the sensor isn't genuine.
My experiments suggest a DHT11 should not respond to less than 17mS and a DHT22 should not respond to more than 15mS.

Converting the DHT22 decoding of the data to DHT11 decoding gives about the right result.
> ? ((512.4 * 10) >> 8) + ((512.4 * 10) and 255) / 10
20.4
> ? 1587.8 * 10 >> 8
62
>

.
Edited 2026-11-13 16:09 by phil99
 
Posted: 06:17am
13 Nov 2026
Copy link to clipboard
Bryan1
Guru


Thanks for that Phil with the lack of sleep it was my error into not looking further into the manual as I just used the code on page 72 and got my wires crossed where infact I do have the DHT11 NOT the DTH22
 
Posted: 07:46am
13 Nov 2026
Copy link to clipboard
Volhout
Guru


Well Bryan,

You where not awake, and Claude was not awake. A good recipe for problems.

Volhout
 
Posted: 08:23am
13 Nov 2026
Copy link to clipboard
matherp
Guru

Kevin, the integer variables bug is found and fixed - will be in the next release
 
Posted: 10:39am
13 Nov 2026
Copy link to clipboard
matherp
Guru

V7.00.00RC9 is now available at https://github.com/UKTailwind/PicoMite/releases/tag/PicoMite-V7.00.00RC9

PicoMite V7.00.00RC9: what has changed since RC8

RC9 is RC8 with the reports since then answered. Every change is a fix: there is nothing new to learn and nothing to set up. MM.VER reads 7.000059. The full release notes are on GitHub: https://github.com/UKTailwind/PicoMite/releases/tag/PicoMite-V7.00.00RC9

Upgrading from RC8: every build keeps everything, its options, its programs, its flash slots and its A: drive. If you are coming from an earlier release, see the box near the top of the release notes.


Fixed
• CMM2 RUN and CMM2 LOAD no longer change the current directory. They used to move to the program's directory and then open the program by the name they were given, so CMM2 RUN "tmp/foo.bas" from the directory above looked for tmp/tmp/foo.bas ("Could not find the path"), a program on another drive stopped with "Only valid on current drive", and a run that worked left you in the program's directory. You now stay where you were, as on the Colour Maximite 2, and #INCLUDE still finds a file beside the program wherever it is run from.
• #INCLUDE "/lib/x.inc", a path from the root with no drive, is now taken from the root of the current drive, as on the Colour Maximite 2. It used to be taken as relative to the program's directory.
• The file manager's E and F4 no longer stop with "Program damaged: symbol table" when the program in memory has a SUB or FUNCTION. This had been there since beta 4.
• The editor's PgUp, with the top line one line short of a full screen down, left a blank top row, and the next PgUp moved the cursor down instead of up.
• The editor opening at an error's line (EDIT after an error, or E or F4 in the file manager after a program run from it stopped) could show blank rows below the end of the file. If the file had been cut since the error, it opened on a line past the end, where PgDn did nothing and typed text was lost. It now opens with the last line no higher than the bottom row, and at the last line when the error's line is no longer in the file.
• A generic USB gamepad with VID &H0810 and PID &H0001 now works without GAMEPAD CONFIGURE. It is one of the built-in pads, with the same buttons as the other SNES-style pads (DEVICE(GAMEPAD n, B)), and is listed in the Game Input Devices manual.
• OPTION RESET LIST on the PicoMitePC3 and the PicoMiteHDMIWEB no longer offers Palm Pico and USB Edition V1.0, which are presets for LCD boards, and the WebMiteRP2350 no longer offers Palm Pico, which it does not have.
• mmb2csub stopped with a Python error ("can only concatenate str (not "int") to str") when the SUB or FUNCTION being converted had a STATIC and used more than 10 variables in all. It now converts, and the STATICs keep their values between calls. The fixed tool is in mmb2csub-7.00.00RC9.zip, for the PicoMite and the Colour Maximite 2 (--target cmm2) alike.

Please keep the reports coming, especially from existing programs.
 
   Page 11 of 13    
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026