Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 13:38 01 Mar 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.02.01 betas

     Page 6 of 7    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10998
Posted: 11:18am 27 Feb 2026
Copy link to clipboard 
Print this post

myport$="GP2"
Port(myport$,n)=m

Use the last beta posted
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 420
Posted: 11:42am 27 Feb 2026
Copy link to clipboard 
Print this post

sorry Peter for the silly question, but what link do you mean with last beta ... all I can find are links to beta releases with a date inside and the versions in the zip-file have a file date some days ago.
                                                                 
73 de OE1HGA, Gerald
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10998
Posted: 11:56am 27 Feb 2026
Copy link to clipboard 
Print this post

V6.02.01b6

PicoMiteV6.02.01b6.zip

This is quite a big change.
First the easy stuff:
the LOCATION command can now optionally return the sidereal time, see the manual
GPS_Astro_Reference.pdf
OPTION SERIAL CONSOLE now takes B or BOTH as an option

Pimoroni Pico Plus 2 W
The WebMiteR2350 should now support the Pimoroni Pico Plus 2 W. This board uses the RP2350B and includes PSRAM. This functionality is untested. I have one of these boards coming soon to properly test but if you have one do try the new firmware and let me know.

PicoCalc
Finally, The standard PicoMite, PicoMiteRP2350, WebMite and WebMiteRP2350 versions should all support the PicoCalc. To use this nuke the current firmware on your PicoCalc and install the relevant version from the download. The code will automatically detect it is running on a PicoCalc and configure itself. You must be running a version of the bios that supports returning the battery level. I've been loaned a PicoCalc and tested with BIOS 1.5 and 1.6. The firmware includes the PicoCalc specific code that has been assembled and improved by Ernst Bokkelkamp so thanks should go to him for its inclusion.

Note: There is something very odd about the wiring of the PicoCalc with respect to GP0 and GP1.
If you wish you can congigure the PicoCalc to use a serial console using
OPTION SERIAL CONSOLE GP0,GP1 [,B[OTH]]
With this active the PicoMite serial console is on the USB-C. The WAS7227 controlled by switch 1 switches the CH340 between the STM32 and the Pico and when off (normal) connects the CH340C to GP0 and GP1.
Because the CH340 is an active device this will be holding GP1 high (idle) with nothing plugged into the USB-C and any GP1 input on the side port will be fighting the CH340.
This bit of the circuit is IMHO badly designed and trying to be too clever. I can’t see any sensible way to use GP1 on the side port other than to monitor what is coming in on the USB-C. The only way to disconnect it from the CH340 is to set switch 1 which puts the STM32 into boot mode.
SO:
If you want to use the serial console switch 1 should be off and you talk to it through the USB-C. With switch 1 off GP1 is connected to CH340C TxD via the WAS7227 so you would be fighting the output of the WAS7227 if you also connect to GP1.
I don’t know how well these devices are protected but that seems a recipe for breaking things to me.
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 749
Posted: 01:20pm 27 Feb 2026
Copy link to clipboard 
Print this post

Hi Peter,
In B6 have you reduced the max CPU speed back to 396MHz? on B4 I was happily running at 420MHz, but I can't now set this as the max appears to be 396MHz?
Otherwise all seems to be good, it looks like you have implimented the case changes to the A: drive, this did cause me some problems as I had already tried putting 2 files called "Test.bas" and "test.bas" on the A: drive, before I updated, but could not then remove them both, eventually causing a lock up when executing a "files".
It does not matter, as usually you would force a complete wipe, which would remove the problem, but just incase you get other strange reports.
Regards, Kevin.
 
pwillard
Guru

Joined: 07/06/2022
Location: United States
Posts: 339
Posted: 01:47pm 27 Feb 2026
Copy link to clipboard 
Print this post

  Quote  You can now use string literals and string variables for GP pin nos


Thank you for this.
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 420
Posted: 02:06pm 27 Feb 2026
Copy link to clipboard 
Print this post

Peter,

with B6 on Pico-W 2 the I2C option cannot be set

>
> option list
WebMite MMBasic RP2350A Edition V6.02.01b6
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 200000
>
> OPTION SYSTEM I2C GP8,GP9

15:05:33 Port: COM30 removed

Disconnected

15:05:33 Port: COM30 inserted

Connected to COM30 at 115200

> option list
WebMite MMBasic RP2350A Edition V6.02.01b6
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 200000
>
                                                                 
73 de OE1HGA, Gerald
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10998
Posted: 02:36pm 27 Feb 2026
Copy link to clipboard 
Print this post

Not sure what is going on there. Please try this and report findings

PicoMite.zip
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 420
Posted: 02:48pm 27 Feb 2026
Copy link to clipboard 
Print this post

Peter,

I2C option is now working.

Many thanks.
                                                                 
73 de OE1HGA, Gerald
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 551
Posted: 02:52pm 27 Feb 2026
Copy link to clipboard 
Print this post

  matherp said  V6.02.01b6

Finally, The standard PicoMite, PicoMiteRP2350, WebMite and WebMiteRP2350 versions should all support the PicoCalc.


Thank you, Peter and Ernst! This is what we (PicoCalc users) have been waiting for.

It'll be nice to not have to rely on Ernst's availability to make changes. As tireless as he is (and much appreciated, too!), there might come a time when he simply can't keep up with Peter's prolific output. Now when a new release is ready, we can just download and go.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10998
Posted: 03:05pm 27 Feb 2026
Copy link to clipboard 
Print this post

I've updated b6 to force a flash reset. There seemed to be an issue with it loading over some existing configurations.

PicoMiteV6.02.01b6.zip

And forgot to mention above that b6 is now case insensitive on both the A: and B: drives
Edited 2026-02-28 01:10 by matherp
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 420
Posted: 03:11pm 27 Feb 2026
Copy link to clipboard 
Print this post

Peter,

  matherp said  
myport$="GP2"
Port(myport$,n)=m

Use the last beta posted


raises an Error : Expected a number
                                                                 
73 de OE1HGA, Gerald
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10998
Posted: 03:14pm 27 Feb 2026
Copy link to clipboard 
Print this post

Sorry, I mislead you. You can use a string variable for a pin for everything BUT the PORT command and function. This is because of the way PORT processes the pin is different from everything else with its ability to skip unused pins when GPn is used.
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 420
Posted: 03:37pm 27 Feb 2026
Copy link to clipboard 
Print this post

no problem, I kept the old (working) code anyway. Thank you for all the effort you are investing in the project. Great work and I admire how fast you are implementing new features with a very low number of errors.
                                                                 
73 de OE1HGA, Gerald
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 749
Posted: 03:46pm 27 Feb 2026
Copy link to clipboard 
Print this post

Hi Peter,
Has the option to use 420MHz on the standard USB 2350 now gone?
Thanks Kevin.
Edited 2026-02-28 01:47 by Bleep
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 551
Posted: 03:52pm 27 Feb 2026
Copy link to clipboard 
Print this post

  matherp said  V6.02.01b6

Note: There is something very odd about the wiring of the PicoCalc with respect to GP0 and GP1.
If you wish you can congigure the PicoCalc to use a serial console using
OPTION SERIAL CONSOLE GP0,GP1 [,B[OTH]]
With this active the PicoMite serial console is on the USB-C. The WAS7227 controlled by switch 1 switches the CH340 between the STM32 and the Pico and when off (normal) connects the CH340C to GP0 and GP1.
Because the CH340 is an active device this will be holding GP1 high (idle) with nothing plugged into the USB-C and any GP1 input on the side port will be fighting the CH340.
This bit of the circuit is IMHO badly designed and trying to be too clever. I can’t see any sensible way to use GP1 on the side port other than to monitor what is coming in on the USB-C. The only way to disconnect it from the CH340 is to set switch 1 which puts the STM32 into boot mode.
SO:
If you want to use the serial console switch 1 should be off and you talk to it through the USB-C. With switch 1 off GP1 is connected to CH340C TxD via the WAS7227 so you would be fighting the output of the WAS7227 if you also connect to GP1.
I don’t know how well these devices are protected but that seems a recipe for breaking things to me.


On one of my two PicoCalcs I bent the UART0_RX pin of the Pico2 out of its socket and connected the RX external line to the bent pin, Then I could use the external port for COM1 but lost the ability to receive on the USB port. I reversed the change, though, so I can use COM2 via the external port and COM1 goes through the USB port.

BTW, is there a way to keep the USB port as COM1 and send printouts to COM2 without having to OPEN a channel? I'd like to be able to print to COM2 with as few changes to my programs as possible while keeping the USB port as the main console.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10998
Posted: 04:20pm 27 Feb 2026
Copy link to clipboard 
Print this post

I don't understand why you would want to use the serial console at all. Just put a micro-USB into the Pico and you have a much faster serial I/F
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 551
Posted: 04:35pm 27 Feb 2026
Copy link to clipboard 
Print this post

  matherp said  I don't understand why you would want to use the serial console at all. Just put a micro-USB into the Pico and you have a much faster serial I/F


There's a lot of equipment like printers and lab equipment that are RS-232 compatible and have no USB port.
We have real serial terminals such as the ADM-3A and Hazeltine 1500 as a console! You haven't lived until you've sat at a vintage terminal and programmed the PicoCalc    As it is, I use the second serial port for the console so the USB port is free for other purposes but I'd like to be able to print to a serial printer while still having a serial console. The serial printer I use is an Epson receipt printer. It uses 40-column thermal paper rolls. You should see that thing print @ 115200 baud! Whoo! The paper flies out of it.

If the PicoCalc supported a USB to RS-232 converter, I'd be able to use that.
Edited 2026-02-28 02:36 by toml_12953
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 420
Posted: 07:45am 28 Feb 2026
Copy link to clipboard 
Print this post

Peter,

may I suggest a small improvement:

The command WEB NTP fails if the optional NTP-server IP is an empty string. Is it possible to ignore an empty NTP IP string and revert to the same default as if nothing were supplied.
                                                                 
73 de OE1HGA, Gerald
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3041
Posted: 07:51am 28 Feb 2026
Copy link to clipboard 
Print this post

In the meantime ON ERROR SKIP may be worth a try.
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 420
Posted: 09:55am 28 Feb 2026
Copy link to clipboard 
Print this post

Has to be used anyway in case no NTP is on duty  [;). But does not solve having to use different code for the 2 usecases.
                                                                 
73 de OE1HGA, Gerald
 
     Page 6 of 7    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026