adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
MIT License
3.95k stars 1.16k forks source link

CIRCUITPY drive not appearing with SAM E54 Xplained Pro #8047

Closed tomiahola closed 1 year ago

tomiahola commented 1 year ago

CircuitPython version

Adafruit CircuitPython 8.1.0 on 2023-05-22; SAM E54 Xplained Pro with same54p20

Code/REPL

]0;🐍Done | 8.1.0\Auto-reload is off.
Running in safe mode! Not running saved code.

You are in safe mode because:
CIRCUITPY drive could not be found or created.
Press reset to exit safe mode.

Press any key to enter the REPL. Use CTRL-D to reload.
]0;🐍Done | 8.1.0\

Behavior

USB drive appearing instead of CIRCUITPY drive.

Description

Hello, could someone help me understand why after installing the latest CircuitPython to my SAM E54 Xplained Pro, the "CIRCUITPY" drive does not appear but "USB Drive" appears instead?

When trying to open the "USB Drive", a notification appears: "Please insert a disk into USB Drive (D:)."

I'm using the latest bootloader version (3.15).

storage.erase_filesystem() did not solve the issue.

Additional information

No response

dhalbert commented 1 year ago

Here are some things to check:

tomiahola commented 1 year ago

Here are some things to check:

Hi, the flash chip markings are: 26F064B

tannewt commented 1 year ago

Please post a picture of the chip. It'll likely have a manufacturer's logo too.

tomiahola commented 1 year ago

chip Here is a picture of the chip.

tannewt commented 1 year ago

Thanks! That looks like a MicroChip flash chip instead of micron as the board def says. Want to make a PR adding "SST26VF064B" to the list here: https://github.com/adafruit/circuitpython/blob/main/ports/atmel-samd/boards/same54_xplained/mpconfigboard.mk#L10 ? That's the full name of the MicroChip flash (nvm.toml define here.)

tomiahola commented 1 year ago

Made a PR: https://github.com/adafruit/circuitpython/pull/8054

tannewt commented 1 year ago

Thank you! I've tweaked it so it'll hopefully build.