ESP32-MiniWebRadio icon indicating copy to clipboard operation
ESP32-MiniWebRadio copied to clipboard

Use FFAT instead of SD.

Open huangzngd opened this issue 1 year ago • 0 comments

Hi,schreibfaul I like your project very much! I plan to replace the SD card with FFAT, then modify the content of FFAT using a web interface, or upload a new CSV file to FFAT using the FTP function. I have modified some of the code, but when I run it, I receive the following error: I have already uploaded the data file to the flash FFAT. The modified main function is as follows. Could you please help me identify where the issue might be? I suspect that after changing the SD path to FFAT, some parameters in the path are not correctly set. thanks you!

Serial port returned information:

[ 821][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled

ESP32 Chip: ESP32-S3 Arduino Version: 2.0.14 ESP-IDF Version: 4.4.5 MiniWebRadio Version 3.1e Jun 11/2024 ARDUINO_LOOP_STACK_SIZE 8192 words (32 bit) FLASH size 16777216 bytes, speed 80 MHz CPU speed 240 MHz SDMMC speed 80 MHz TFT speed 40 MHz PSRAM total size: 8381319 bytes RESET_REASON: Reset due to power-on event

00:00:00 00:00:00 *************************** 00:00:00 * MiniWebRadio V3 * 00:00:00 *************************** 00:00:00 00:00:00 setup: .... Arduino is pinned to core 1 00:00:00 setup: .... Init Matrix Successfully mounted FFat. 00:00:00 setup: .... FFAT found, 8.1 MB by 8.1 MB free run defaultsettings(). [ 975][W][FFat.cpp:44] begin(): Already Mounted! [ 982][W][FFat.cpp:44] begin(): Already Mounted! [ 983][E][vfs_api.cpp:105] open(): /ffat/stations.csv does not exist, no permits for creation 00:00:00 /stations.csv not found(saveStationsToNVS) [ 1090][E][vfs_api.cpp:24] open(): File system is not mounted 00:00:00 stations.csv not found-setup

main.cpp : https://gitee.com/huangzn001/digital-amp/blob/master/main.cpp

huangzngd avatar Jun 15 '24 15:06 huangzngd