Reset on SPIFFS.format()
Posted: Fri Jun 16, 2017 12:16 pm
I have a HiLetgo ESP-12E board from amazon that has been working fine using the Arduino IDE.
I want to use the SPIFFS file system and I've started by trying the example SPIFFsUsage sketch but the SPIFFS.begin() call failed with a watchdog timeout
I figured out that it had never been formatted so I inserted a call to SPIFFS.format() at the beginning of the setup but I still get the watchdog timeout.
Update:
I've run the example CheckFlashConfig sketch and it reports a size mismatch. IDE size of 4M and real size of 1M. I'm using the Adruino IDE board definition for NodeMCU 1.0 (ESP-12E Module) with a flash setting of 4M (3M SPIFFS).
I want to use the SPIFFS file system and I've started by trying the example SPIFFsUsage sketch but the SPIFFS.begin() call failed with a watchdog timeout
Code: Select all
. ets Jan 8 2013,rst cause:4, boot mode:(1,7)
wdt reset
I figured out that it had never been formatted so I inserted a call to SPIFFS.format() at the beginning of the setup but I still get the watchdog timeout.
Update:
I've run the example CheckFlashConfig sketch and it reports a size mismatch. IDE size of 4M and real size of 1M. I'm using the Adruino IDE board definition for NodeMCU 1.0 (ESP-12E Module) with a flash setting of 4M (3M SPIFFS).