Closed toine512 closed 5 months ago
Hi @toine512,
May I ask you to:
tusb_msc
example from esp-idf
? tinyusb_driver_install()
call. More information here: Self-Powered Device tinyusb_msc_storage_init_spiflash()
.Hardware and configuration overlook confirmed.
Answers checklist.
Which component are you using? If you choose Other, provide details in More Information.
device/esp_tinyusb
ESP-IDF version.
5.2.1
Development Kit.
ESP32-S3-DevKitC-1 clone
Used Component version.
1.4.4
More Information.
Hello.
Using the flash to MSC flow, the FATFS partition is not remounted after USB host is disconnected because of this abandoned TinyUSB bug: https://github.com/hathach/tinyusb/issues/1592 . The symptom is that my mount callback passed to
tinyusb_msc_storage_init_spiflash()
is never called besides startup when I calltinyusb_msc_storage_mount()
, while no mount error message appears either. I verified this is the issue by adding the callback in tusb_msc_storage.c as a copy/paste of tud_umount_cb():