|
Forum Index : Microcontroller and PC projects : PicoMite V6.02.01 betas
| Author | Message | ||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10998 |
myport$="GP2" Port(myport$,n)=m Use the last beta posted |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 420 |
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 KingdomPosts: 10998 |
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 KingdomPosts: 749 |
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 StatesPosts: 339 |
Thank you for this. |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 420 |
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 KingdomPosts: 10998 |
Not sure what is going on there. Please try this and report findings PicoMite.zip |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 420 |
Peter, I2C option is now working. Many thanks. 73 de OE1HGA, Gerald |
||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 551 |
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 KingdomPosts: 10998 |
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: AustriaPosts: 420 |
Peter, raises an Error : Expected a number 73 de OE1HGA, Gerald |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10998 |
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: AustriaPosts: 420 |
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 KingdomPosts: 749 |
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 StatesPosts: 551 |
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 KingdomPosts: 10998 |
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 StatesPosts: 551 |
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: AustriaPosts: 420 |
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: AustraliaPosts: 3041 |
In the meantime ON ERROR SKIP may be worth a try. |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 420 |
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 |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |