0

trellis M4 read only file system RPI
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

trellis M4 read only file system RPI

by munocat on Wed Jan 08, 2020 4:49 pm

hello

I am using a Raspberry Pi, I was writing some python for the trellis M4. it was working fine. It all of a sudden the CIRCUITPY drive became read only.

I then though it would be a great idea to reinstall the uf2 file, so I downloaded the last 4.12 version from the circuit python web page for my device adafruit-circuitpython-trellis_m4_express-en_US-4.1.2.uf2.

i doubled tapped the reset to enter the TRELM4BOOT drive. I then copy accoss the adafruit-circuitpython-trellis_m4_express-en_US-4.1.2.uf2. The device reboots. but it reboots to the old code, and the files in the CIRCUITPY drive.

What am I doing wrong

munocat
 
Posts: 28
Joined: Mon Jun 27, 2016 4:27 am

Re: trellis M4 read only file system RPI

by dastels on Wed Jan 08, 2020 5:10 pm

This is usually, in my experience, the result of some sort of corruption on the file system. The solution is to reformat it.

Have a look at the CIRCUITPY Drive Issues of https://learn.adafruit.com/welcome-to-circuitpython/troubleshooting for information/instructions.

Dave

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

Re: trellis M4 read only file system RPI

by munocat on Wed Jan 08, 2020 5:19 pm

Thank you Dave,

I connected via the REPL and typed

import storage
storage.erase_filesystem()

now I am back to a clean slate

Thank you once again

munocat
 
Posts: 28
Joined: Mon Jun 27, 2016 4:27 am

Please be positive and constructive with your questions and comments.