Error opening file from SD card on ESP32-A1S Ai audio kit V2.2 A436 #87
-
|
I'm trying to use the "ml_synth_sampler_example" on a ESP32-A1S Ai audio kit V2.2 A436. I'm getting an error trying to load the .wav as note. The error seams to be when opening the file but I can't get the function to print or return an error number or something that give me some info about why it fails. I already try with multiple sd card from 4GB up to 32GB all HC type. From the serial console at boot up I get:
it seams to be reading correctly the card at SD card init before LittleFS mounts the SD. But LittleFS is not showing the files in the SD so something is happening in the middle. If you have some ideas of what's happening or how I can find out please tell me. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi,
To load files from littleFS you need the "ESP32 LittleFS Uploader". It will upload all files stored in the data folder. Hope this hleps |
Beta Was this translation helpful? Give feedback.
Hi,
LittleFS is used for files on the ESP32 flash. To open files two sources are possible:
To load files from littleFS you need the "ESP32 LittleFS Uploader". It will upload all files stored in the data folder.
Another option is to modify the function to use the SDCard as source instead of LittleFS:
Hope this hleps