![]() |
Forum Index : Microcontroller and PC projects : Picomite updates
Page 1 of 2 ![]() ![]() |
|||||
Author | Message | ||||
foxleyboy Newbie ![]() Joined: 09/06/2019 Location: United KingdomPosts: 28 |
Hi, I have downloaded the MMBasic updates but not able to get a connection. With MMEdit I get:- Maximite Control Centre Build date: 2024/06/10 Data server on port 50900 started Control server on port 50899 started started C:\MicroMite files\U3A test program.bas Uploading using: 'target port\COM1:38400 s\picomite Upload started Connected to COM1 at 38400 Not responding! And with Tera Term Just a flashing block and the Enter key does nothing! I have tried with a previously working Picomite and a new one. Both respond the same way. I must be doing something wrong, but after 24Hrs of trying I can't see it. Thanks for any help. Roy |
||||
Martin H.![]() Guru ![]() Joined: 04/06/2022 Location: GermanyPosts: 1234 |
To install firmware on a Raspberry Pi Pico, you need to put the board into bootloader mode and then copy the appropriate .uf2 file to the device. This will be recognized as a USB drive by your computer. After copying the file, the Pico will automatically reboot and the new firmware will be active. Here's a more detailed breakdown: 1. Prepare the Pico: Locate the BOOTSEL button on the Pico. Connect the Pico to your computer using a micro USB cable while holding down the BOOTSEL button. 2. Enter Bootloader Mode: The Pico will appear as a mass storage device (like a USB drive) on your computer, usually named "RPI-RP2". 3. Download the Firmware: Download the correct .uf2 firmware file for your Raspberry Pi Pico. 4. Install the Firmware: Drag and drop the downloaded .uf2 file onto the "RPI-RP2" drive. The Pico will automatically reboot after the file transfer is complete, and the new firmware will be active. 'no comment |
||||
foxleyboy Newbie ![]() Joined: 09/06/2019 Location: United KingdomPosts: 28 |
Thanks Martin but I have already carried out this process several times, as per the manual. The not responding comment is all I can get! |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
are you using correct uf2 for pico version? |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 544 |
Have you tried, the default baudrate is 115200 Edited 2025-07-24 05:39 by dddns |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
So you got the mass storage device, copied the firmware, and ... Exactly which Pico (CPU & board) & which variant of the firmware? John |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Before trying to upload a BAS program, make sure that you can connect and get a command prompt. com1 on a PC is very unlikely to be correct. USB com ports usually start at com3 The baud rate does not matter with a USB pico port. What picomite device are you trying to connect to? Is this is happening after you tried to update the firmware? Jim VK7JH MMedit |
||||
Bryan1![]() Guru ![]() Joined: 22/02/2006 Location: AustraliaPosts: 1483 |
Just go look in Device Manager and see if a COM port has been assigned to the pico, if not you may need to load clear flash.uf then load in the correct firmware. |
||||
foxleyboy Newbie ![]() Joined: 09/06/2019 Location: United KingdomPosts: 28 |
Many thanks for all the pointers. Yes I did worry about the COM 1 because previously as you say Jim I have had a selecetion of 2 or more, and normally something like com 3 and com 6. I have checked this out with device manager and only com 1 is listed! I also tried the flash.uf file and then loaded again, but same thing. The firmware I loaded was the PicoMiteRP2040USB one. My pico is not the newest and just says Raspberry pi pico cpyright 2020. I have a bunch of these and have been useing them in several projects with no problems up until now. So I tried running a couple that I have already running projects and also tried with one straight out of the packaging with the same results. I feel it is something to do with the com port somehow but will try from scratch again. That may have to be tomorrow as we have visitors and not getting time to myself at the moment! Will report back. Roy |
||||
Bryan1![]() Guru ![]() Joined: 22/02/2006 Location: AustraliaPosts: 1483 |
Roy I did find the same with the big board when you choose the USB uf one you lose the USB connection to the computer and need to use say a microbridge to get it see the computer via the console pins. So try the 2040 uf file without the USB and you will find it will be assigned a COM port. |
||||
ville56 Senior Member ![]() Joined: 08/06/2022 Location: AustriaPosts: 223 |
Also try to avoid USB hubs. I've had a lot of strange things happening with a cheapo USB 3 hub. Sometime I could see the serial port, sometimes not. Connection was sometimes possible but just for a few lines on the command prompt. Did connect directly and all was good .... 73 de OE1HGA, Gerald |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
With this firmware you need an external USB/UART connected to gp8/gp9 in order to provide the console port. Is this your configuration? If not load the non-USB firmware and you will get the console on the Pico's USB |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
usb to ttl converter and don't know if using gp20,21 for it causes problems. works . |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
Don't over-complicate it, Stan. :) A USB setup wants the console serial port on GP8 and GP9 *by default*, although you can change it. Keep things as simple as possible when fault-finding, with everything as defaults where possible. GP20 and GP21 will *not* work for a console unless you set them up as an OPTION. By default they are just ordinary GPIO pins. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
sorry Mick, just showing usb to ttl one side of pico and sd card other. sd card needs 3.3V supply I wired from usb to ttl. I reset the com pins and sd card pins from manual. Roy should use non usb first try maybe and mmedit and mmcc via win pc and default pins in the manual Edited 2025-07-25 02:59 by stanleyella |
||||
foxleyboy Newbie ![]() Joined: 09/06/2019 Location: United KingdomPosts: 28 |
Hi all. I have just tried a clean sheet again. This time I only have the pico attached to the USB lead - so just a bare board. Nothing else. Downloaded the firmware again and switched from a USB hub (which has always worked in the past!) to a direct connection to my computer (windows 10). Same result with both 38400 and 115200 baud. Then tried unplugging and plugging USB cable back in. MMedit gives no response to this. So looks like I dont have any connection but when I load in the firmware it all seems ok and after a short while the green LED on the pico flashes as it should. So does it somehow loose the pico connection after the firmware is loaded, but does not run? Or is it an issue with the USB anyhow? I did not understand the comments about the use of the GPIO pins as I don't reacll reading anywhere that these need to be used when loading the firmware. So tried Teraterm. Selected Serial port. Clicked OK and got message 'Cannot open COM 1. access denied' Roy |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 544 |
Which exact firmware(name) did you try? |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
It's highly unlikely that Windows will issue COM 1 to a virtual serial device. It's far more likely to be at least COM 6. Com 1 will be an internal USB hub for the PC sockets. Check Device Manager when you plug the Pico in to see what COM port appears. If you click the drop down box in Tera Term it'll usually be the bottom of the list. The USB version of the firmware does NOT have any console access via USB from the moment that it starts running, you MUST use a USB-TTL converter attached to a COM port on the Pico. The default port is on GP8 and GP9 and the baud rate is 115200 Bd. Once the firmware is running there is no other way to talk to the Pico unless you unplug the PC and plug a USB hub or keyboard into the Pico's USB as it is now running in USB Host mode. If you are using the HDMI USB version of the firmware then the display will become operative as soon as the Pico firmware is running. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
when I used teraterm it gave 3 com options and it was always the bottom of list that worked... but I use mmcc now if you have flashed correct version firmware and got heartbeat then dunno why leaving as is and same usb lead no com ??? |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5091 |
When you can upload mmbasic, the cable and connection are okay. The slow fflashing led shows mmbasic is running. The only reason it might not work is when you programmed a mmbasic version that is not designed to have console communication on usb. Please make sure the firmware you program is correct. Picomite...USB....uf2 is designed to connect a keyboard to the pico usb port. Picomite..........uf2 is designed to connect a console/terminal/mmcc to the usb port. So.. to use the usb port with mmcc, program a uf2 file that does NOT contain the characters USB in its name. Volhout Edited 2025-07-27 01:30 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
Page 1 of 2 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |