Erase Flash UF2 file

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
AmazingCircuitPythonFR35
 
Posts: 99
Joined: Thu Feb 05, 2015 10:18 am

Erase Flash UF2 file

Post by AmazingCircuitPythonFR35 »

Hi,

I've got many different boards running CircuitPython.
Sometimes one of them is no longer recognised by my PC. The COM port remains visible, but no drive...
In this case I use a UF2 file which erases the entire Flash memory, but I spend time looking for this file in your website.
Is there a web page that centralizes all these files for each of your cards?
Thank you for your answer.

Mike

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Erase Flash UF2 file

Post by dastels »

There is most likely some relevant information on the CircuitPython troubleshooting page: https://learn.adafruit.com/welcome-to-c ... leshooting, specifically this section: https://learn.adafruit.com/welcome-to-c ... 2987288-32.

Dave

User avatar
AmazingCircuitPythonFR35
 
Posts: 99
Joined: Thu Feb 05, 2015 10:18 am

Re: Erase Flash UF2 file

Post by AmazingCircuitPythonFR35 »

dastels wrote:There is most likely some relevant information on the CircuitPython troubleshooting page: https://learn.adafruit.com/welcome-to-c ... leshooting, specifically this section: https://learn.adafruit.com/welcome-to-c ... 2987288-32.

Dave
Thanks a lot Dave.
And is there a place to find a uf2 file to erase the flash memory for other boards than Adafruit's boards ?
I know for example the 'flash_nuke.uf2' for the raspberry pico.

Mike

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Erase Flash UF2 file

Post by dastels »

If it's a CircutiPython board and you can get to the REPL you can use storage.erase_filesystem(). Other than that I don't know.

Dave

User avatar
AmazingCircuitPythonFR35
 
Posts: 99
Joined: Thu Feb 05, 2015 10:18 am

Re: Erase Flash UF2 file

Post by AmazingCircuitPythonFR35 »

dastels wrote:If it's a CircutiPython board and you can get to the REPL you can use storage.erase_filesystem(). Other than that I don't know.

Dave
Thanks Dave and have a nice day.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”