Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:32 26 Nov 2024 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 : Pi Pico is not recognized for a firmware change.

Author Message
rea23
Newbie

Joined: 16/09/2022
Location: Switzerland
Posts: 26
Posted: 09:55am 24 Feb 2024
Copy link to clipboard 
Print this post

Something is wrong with one of my USB-C Pico Pi.

The Pico no longer appears as a removable disk in Windows Explorer. Otherwise it works normally and programs can be loaded via MMEdit. Is there a possibility to execute a uf2-file, e.g. Clear_Flash.uf2 or a new firmware anyway?

Previous attempts: changed USB cable, changed notebook, reset Pico. Without any success.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6787
Posted: 10:10am 24 Feb 2024
Copy link to clipboard 
Print this post

Holding down Boot while powering up triggers a boot loader to update the flash chip on the Pico. That's the fundamental way to load uf2 files into the flash and it should *always* work. It's the only time that Windows explorer sees it as a virtual drive.

Connecting via a virtual COM port at 1200 baud will also trigger the bootloader for firmware updates.

If you are programming using the console via USB or MMEdit then you are connecting via a virtual COM port in Windows. That's not a virtual drive. You have to be running some sort of terminal emulator (or MMEdit) on the PC.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6098
Posted: 10:35am 24 Feb 2024
Copy link to clipboard 
Print this post

If you are using MMEdit and Windows, simply connect to the pico in MMCC and drag the *.uf2 file onto the MMCC terminal window.
That is all you need to do.

If you have to use the clearflash.uf2 file, the same applies but once zapped with clearflash, the pico will reboot to a drive ready for copying the mmbasic firmware, just like a blank pico.

If you programmed it with the new USB versions of MMBasic, I think you will have to go with holding the boot button while powering up.

Jim
Edited 2024-02-24 20:37 by TassyJim
VK7JH
MMedit   MMBasic Help
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 11:53am 24 Feb 2024
Copy link to clipboard 
Print this post

There is also the console command:-

UPDATE FIRMWARE

That also makes it appear as a removable disk in Windows Explorer.
 
rea23
Newbie

Joined: 16/09/2022
Location: Switzerland
Posts: 26
Posted: 01:05pm 24 Feb 2024
Copy link to clipboard 
Print this post

  Quote  If you are using MMEdit and Windows, simply connect to the pico in MMCC and drag the *.uf2 file onto the MMCC terminal window.
That is all you need to do.

That worked perfectly
Many thanks
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2129
Posted: 10:17pm 24 Feb 2024
Copy link to clipboard 
Print this post

  TassyJim said  If you are using MMEdit and Windows, simply connect to the pico in MMCC and drag the *.uf2 file onto the MMCC terminal window.
That is all you need to do.

If you have to use the clearflash.uf2 file, the same applies but once zapped with clearflash, the pico will reboot to a drive ready for copying the mmbasic firmware, just like a blank pico.

If you programmed it with the new USB versions of MMBasic, I think you will have to go with holding the boot button while powering up.

Jim

Using mmedit control I got to select com and connect but like teraterm suggests 3 coms and use highest.
The usb version I used the same hold prog button and connect usb lead as usual but what happens if I want to reflash as the usb is now usb keyboard, do I use the usb to ttl?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6787
Posted: 10:40pm 24 Feb 2024
Copy link to clipboard 
Print this post

You have to connect the PC to the Pico USB connector and use the Boot button & power up method. I don't think anything else will work.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2129
Posted: 11:11pm 24 Feb 2024
Copy link to clipboard 
Print this post

  Mixtel90 said  You have to connect the PC to the Pico USB connector and use the Boot button & power up method. I don't think anything else will work.

yes,the button press and connect usb over rides usb keyboard.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6787
Posted: 09:22am 25 Feb 2024
Copy link to clipboard 
Print this post

That's because the bootloader can't use the COM ports of the RP2040 so the USB-TTL converter isn't seen. It will only work via the USB and while you are running USB firmware the USB port is in the wrong mode.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Print this page


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

© JAQ Software 2024