Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days. On MLK Day no orders will be shipped.
0

Erase Flash UF2 file
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Erase Flash UF2 file

by MikeB35 on Sat Dec 04, 2021 5:48 pm

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

MikeB35
 
Posts: 65
Joined: Thu Feb 05, 2015 10:18 am

Re: Erase Flash UF2 file

by dastels on Sun Dec 05, 2021 6:35 pm


dastels
 
Posts: 8430
Joined: Tue Oct 20, 2015 3:22 pm

Re: Erase Flash UF2 file

by MikeB35 on Mon Dec 06, 2021 7:25 pm

dastels wrote:There is most likely some relevant information on the CircuitPython troubleshooting page: https://learn.adafruit.com/welcome-to-circuitpython/troubleshooting, specifically this section: https://learn.adafruit.com/welcome-to-circuitpython/troubleshooting#to-erase-circuitpy-storage-dot-erase-filesystem-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

MikeB35
 
Posts: 65
Joined: Thu Feb 05, 2015 10:18 am

Re: Erase Flash UF2 file

by dastels on Mon Dec 06, 2021 8:05 pm

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

dastels
 
Posts: 8430
Joined: Tue Oct 20, 2015 3:22 pm

Re: Erase Flash UF2 file

by MikeB35 on Wed Dec 08, 2021 7:30 am

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.

MikeB35
 
Posts: 65
Joined: Thu Feb 05, 2015 10:18 am

Please be positive and constructive with your questions and comments.