Fresh CircuitPython install on Pico can't edit code #9935
Description
CircuitPython version
Adafruit CircuitPython 9.2.1 on 2024-11-20; Raspberry Pi Pico with rp2040
Adafruit CircuitPython 9.1.4 on 2024-09-17; Raspberry Pi Pico with rp2040
Code/REPL
print("My Hello World!")
Behavior
Neither Mu nor the file manager can save this code to the pico.
I carefully followed https://learn.adafruit.com/getting-started-with-raspberry-pi-pico-circuitpython/circuitpython-programming-basics and I fail at the step Save the file
. The drive is read-only!
Googling around, it looks like boot.py is misconfigured, except that I don't have boot.py in the CIRCUITPY drive
Attempting to use the boot.py lines in the terminal, I get:
import storage
storage.remount("/", readonly=True)
Traceback (most recent call last):
File "", line 1, in
RuntimeError: Cannot remount '/' when visible via USB.
Googling this leads to results of "edit your boot.py file", which the documentation doesn't explain how to do when I can't save files!
This is an extremely terrible first-time user experience because following the documentation leads to a non-working pico.
Description
No response
Additional information
I've tried a few versions of circuitpython, and I've even reformatted the drive a few times with
>>> import storage
>>> storage.erase_filesystem()
Nothing has affected this issue