Skip to content

Mass Storage/SD card example msc_sdfat causes panic on ESP32-S3 #557

@StarWitch

Description

@StarWitch

Operating System

MacOS

Arduino IDE version

2.3.6

Board

Unexpected Maker FeatherS3 Neo

ArduinoCore version

3.3.2

TinyUSB Library version

3.7.3

Sketch as ATTACHED TXT

msc_sdfat.txt

Compiled Log as ATTACHED TXT

compile_log.txt

What happened ?

Connected the MicroSD Breakout to the board, with IO34 as the CS pin, using hardware SPI. Uploaded the msc_sdfat example sketch. It crashes the MCU.

Confirmed that the SD Card works with other Arduino sketches and CircuitPython, so I've ruled out a connection issue. It seems to crash when calling usb_msc.setUnitReady(false);.

How to reproduce ?

  1. Connect FeatherS3 Neo (or I assume any ESP32-S3 board) to Micro SD Breakout
  2. Upload sketch
  3. Open serial monitor
  4. See stack trace for crash details

Debug Log as ATTACHED TXT

debug_log.txt

Screenshots

No response

I have checked existing issues, pr, discussion and documentation

  • I confirm I have checked existing issues, pr, discussion and documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions