Skip to content

Feather RP2040 crashes when copying files to it (CIRCUITPY not full) #4349

@anecdata

Description

@anecdata

Firmware

Adafruit CircuitPython 6.2.0-beta.3 on 2021-03-04; Adafruit Feather RP2040 with rp2040

No additional hardware. Feather is connected to host computer via USB.

Code/REPL

# no code needed to replicate

Behavior

# no code needed to replicate; just copy libs or fonts until it crashes

Description

Feather RP2040 should have 7MB available for CIRCUITPY. When copying a group of files from a Mac (macOS 11.2.1), the Feather will crash, eject, and serial will be lost. Sometimes an error dialog will appear on the Mac:
"The operation can’t be completed because an unexpected error occurred (error code 100006)."
(there are indications this could be related to device full)

The CIRCUITPY drive capacity doesn't seem to be getting reached. When this happens, there should be several MB still fee.

CircuitPython appears to still be running, but no CIRCUITPY drive and no serial.

I have not seen this behavior with other processor families, and any other CircuitPython devices connected when this occurs are not affected.

Additional Info

To recover, RESET isn't enough, nor is re-flashing with CircuitPython. The board flash must be nuked, then CircrcuitPythoin must be reloaded.

Possibly related to #4279

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions