Heldwhat Christmas
New member
I ordered a few different ESP32 boards to play with, and decided to first start out with the ESP32 D1 mini since it's pin for pin compatible with the hardware of the 8266 D1 mini and I could use ESPixelStick3 HW to test things out...
I downloaded the branch from Martin's github, and used the d1_mini32 environment in the sketch. I went in and changed the GPIO pins to match the layout of this board. I'm not aware of another D1_mini board on the ESP32 platform so I was surprised I had to change the GPIO pins, but will save that for another day.
When I build through the IDE, things seem to work fine, although it can't read the SD card:
[ ESP] ESPixelStick v4.x-dev (Jan 25 2022 - 21:23:02)
[ ESP] v4.4-beta1-189-ga79dc75f0a
[FileMgr] Flash file system initialized.
[FileMgr] No SD card installed
[FileMgr] Configuration File: '/config.json' loaded.
[FileMgr] Configuration File: '/output_config.json' loaded.
[FileMgr] Configuration File: '/input_config.json' loaded.
[FileMgr] Configuration File: '/config.json' saved 326 bytes.
[WiFiDrv] WiFi Entering State: Connecting Using Default Credentials
[WiFiDrv] Using DHCP
[WiFiDrv] Connecting to 'heldWireless' as esps-E415F9A3C9C8
[WiFiDrv] WiFi Entering State: Connected To AP
[WiFiDrv] Connected with IP: 192.168.86.38
[ WebMgr] Web server listening on port 80
[ FPPD] Listening on port 32320
When I build through PlatformIO, it is able to read the SD card, but their seems to be a problem with the file system. I loaded the file system through the IDE both times, selecting Tools -> ESP32 Sketch Data Upload -> LittleFS, and both seem to pass.
[ ESP] ESPixelStick v4.x-dev (Jan 25 2022 - 21:32:13)
[ ESP] v4.4-beta1-189-ga79dc75f0a
./components/esp_littlefs/src/littlefs/lfs.c:1071:error: Corrupted dir pair at {0x0, 0x1}
E (39) esp_littlefs: mount failed, (-84)
E (39) esp_littlefs: Failed to initialize LittleFS
[ 50][E][LittleFS.cpp:94] begin(): Mounting LittleFS failed! Error: -1
[FileMgr] *** Flash file system did not initialize correctly ***
[FileMgr] SD Card Size: 29818MB
[FileMgr] > System Volume Information
[FileMgr] WPSettings.dat - 12
[FileMgr] IndexerVolumeGuid - 76
[FileMgr] Owen.fseq - 391748
[FileMgr] UGA.fseq - 767108
[ 936][E][vfs_api.cpp:22] open(): File system is not mounted
[ 937][E][vfs_api.cpp:22] open(): File system is not mounted
E (948) rmt: rmt_tx_stop(274): RMT CHANNEL ERR
E (949) rmt: rmt_tx_stop(274): RMT CHANNEL ERR
E (949) rmt: rmt_tx_stop(274): RMT CHANNEL ERR
[ 1015][E][vfs_api.cpp:22] open(): File system is not mounted
[FileMgr] ***Configuration File: '/output_config.json' Could not open file for writing..***
[OutputMgr] *** Error Saving Output Manager Config File ***
[ 1035][E][vfs_api.cpp:22] open(): File system is not mounted
[ 1040][E][vfs_api.cpp:22] open(): File system is not mounted
[FileMgr] ***Configuration File: '/input_config.json' Could not open file for writing..***
[InputMgr] *** Error Saving Input Manager Config File ***
[FileMgr] ERROR: Cannot open 'wificonfig.json' for reading. File does not exist.
[FileMgr] SD file: 'wificonfig.json' not found.
[ 1075][E][vfs_api.cpp:22] open(): File system is not mounted
[FileMgr] ***Configuration File: '/config.json' Could not open file for writing..***
[WiFiDrv] WiFi Entering State: Connecting Using Default Credentials
[WiFiDrv] Using DHCP
[WiFiDrv] Connecting to 'heldWireless' as esps-E415F9A3C9C8
[WiFiDrv] WiFi Entering State: Connected To AP
[WiFiDrv] Connected with IP: 192.168.86.38
[ WebMgr] Web server listening on port 80
[ FPPD] Listening on port 32320
I'm fairly new to the Arduino world and assume I'm missing something basic here and hoping you guys can help.
I am able to program the ES8266 just fine so I believe my setup is good.
Thanks in advance!
I downloaded the branch from Martin's github, and used the d1_mini32 environment in the sketch. I went in and changed the GPIO pins to match the layout of this board. I'm not aware of another D1_mini board on the ESP32 platform so I was surprised I had to change the GPIO pins, but will save that for another day.
When I build through the IDE, things seem to work fine, although it can't read the SD card:
[ ESP] ESPixelStick v4.x-dev (Jan 25 2022 - 21:23:02)
[ ESP] v4.4-beta1-189-ga79dc75f0a
[FileMgr] Flash file system initialized.
[FileMgr] No SD card installed
[FileMgr] Configuration File: '/config.json' loaded.
[FileMgr] Configuration File: '/output_config.json' loaded.
[FileMgr] Configuration File: '/input_config.json' loaded.
[FileMgr] Configuration File: '/config.json' saved 326 bytes.
[WiFiDrv] WiFi Entering State: Connecting Using Default Credentials
[WiFiDrv] Using DHCP
[WiFiDrv] Connecting to 'heldWireless' as esps-E415F9A3C9C8
[WiFiDrv] WiFi Entering State: Connected To AP
[WiFiDrv] Connected with IP: 192.168.86.38
[ WebMgr] Web server listening on port 80
[ FPPD] Listening on port 32320
When I build through PlatformIO, it is able to read the SD card, but their seems to be a problem with the file system. I loaded the file system through the IDE both times, selecting Tools -> ESP32 Sketch Data Upload -> LittleFS, and both seem to pass.
[ ESP] ESPixelStick v4.x-dev (Jan 25 2022 - 21:32:13)
[ ESP] v4.4-beta1-189-ga79dc75f0a
./components/esp_littlefs/src/littlefs/lfs.c:1071:error: Corrupted dir pair at {0x0, 0x1}
E (39) esp_littlefs: mount failed, (-84)
E (39) esp_littlefs: Failed to initialize LittleFS
[ 50][E][LittleFS.cpp:94] begin(): Mounting LittleFS failed! Error: -1
[FileMgr] *** Flash file system did not initialize correctly ***
[FileMgr] SD Card Size: 29818MB
[FileMgr] > System Volume Information
[FileMgr] WPSettings.dat - 12
[FileMgr] IndexerVolumeGuid - 76
[FileMgr] Owen.fseq - 391748
[FileMgr] UGA.fseq - 767108
[ 936][E][vfs_api.cpp:22] open(): File system is not mounted
[ 937][E][vfs_api.cpp:22] open(): File system is not mounted
E (948) rmt: rmt_tx_stop(274): RMT CHANNEL ERR
E (949) rmt: rmt_tx_stop(274): RMT CHANNEL ERR
E (949) rmt: rmt_tx_stop(274): RMT CHANNEL ERR
[ 1015][E][vfs_api.cpp:22] open(): File system is not mounted
[FileMgr] ***Configuration File: '/output_config.json' Could not open file for writing..***
[OutputMgr] *** Error Saving Output Manager Config File ***
[ 1035][E][vfs_api.cpp:22] open(): File system is not mounted
[ 1040][E][vfs_api.cpp:22] open(): File system is not mounted
[FileMgr] ***Configuration File: '/input_config.json' Could not open file for writing..***
[InputMgr] *** Error Saving Input Manager Config File ***
[FileMgr] ERROR: Cannot open 'wificonfig.json' for reading. File does not exist.
[FileMgr] SD file: 'wificonfig.json' not found.
[ 1075][E][vfs_api.cpp:22] open(): File system is not mounted
[FileMgr] ***Configuration File: '/config.json' Could not open file for writing..***
[WiFiDrv] WiFi Entering State: Connecting Using Default Credentials
[WiFiDrv] Using DHCP
[WiFiDrv] Connecting to 'heldWireless' as esps-E415F9A3C9C8
[WiFiDrv] WiFi Entering State: Connected To AP
[WiFiDrv] Connected with IP: 192.168.86.38
[ WebMgr] Web server listening on port 80
[ FPPD] Listening on port 32320
I'm fairly new to the Arduino world and assume I'm missing something basic here and hoping you guys can help.
I am able to program the ES8266 just fine so I believe my setup is good.
Thanks in advance!