0

Restoring computer file write on macropad after creating boo
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Restoring computer file write on macropad after creating boo

by RufusVS2020 on Sun Aug 01, 2021 3:27 pm

I was trying to write a file from circuitpython on my macropad. I got the error: Read Only File System. After quick
web searching, I found out that to be able to write from circuitpython, one needs to create a boot.py program
like this:

Code: Select all | TOGGLE FULL SIZE
import storage
storage.remount("/", False)

and then unplug and replug the USB connector.

Now I can't load or change the program on the board because I don't know how to give access back
to my computer and mu editor!

It's probably something simple I just haven't found yet.

RufusVS2020
 
Posts: 35
Joined: Thu Nov 19, 2020 6:31 pm

Re: Restoring computer file write on macropad after creating

by RufusVS2020 on Sun Aug 01, 2021 3:33 pm

Never mind. There were instructions to just rename the boot.py using the REPL.
I thought I was locked out of the REPL. But then I hit Ctrl-C, duh.
I'll leave the question here in case anyone has the same issue.
Ref page: [url]https://learn.adafruit.com/cpu-temperature-logging-with-circuit-python/writing-to-the-filesystem
[/url]

RufusVS2020
 
Posts: 35
Joined: Thu Nov 19, 2020 6:31 pm

Please be positive and constructive with your questions and comments.