ESP32 keeps rebooting
Posted: Thu Nov 18, 2021 1:44 pm
Hello,
I have written ESP32 code that connects to WiFi, then AWS and then sends count number to AWS. Then it goes goes to sleep for one hour, wakes up and repeats the same. It works perfectly for about three days and then randomly starts crashing. It reboots constantly and displays the following on the terminal repeatedly,
(23:13:38.820) Wakeup was not caused by deep sleep: 0<LF>Setup ESP32 to sleep for every 3600 Seconds
(23:13:38.895) Connecting to Wi-Fi
(23:13:41.102) WiFi Connected!
(23:13:41.102) Connecting to AWS IOT
(23:13:44.180) AWS IoT Connected!
(23:13:44.180) Boot Count Data Published!
(23:13:44.213) Going to sleep now
(00:12:21.916) Wakeup caused by timer
(00:12:21.916) Setup ESP32 to sleep for every 3600 Seconds
(00:12:21.985) E (12184) system_api: Base MAC address from BLK0 of EFUSE CRC error, efuse_crc = 0x9d; calc_crc = 0xd2
(00:12:22.084) abort() was called at PC 0x4014ef77 on core 0
(00:12:22.168)
(00:12:22.168) ELF file SHA256: 0000000000000000
(00:12:22.183)
(00:12:22.183) Backtrace: 0x40088a2c:0x3ffb5720 0x40088ca9:0x3ffb5740 0x4014ef77:0x3ffb5760 0x4014efd1:0x3ffb57a0 0x400e15ce:0x3ffb57d0 0x400debd2:0x3ffb57f0 0x4010435e:0x3ffb5810 0x40089cba:0x3ffb5840
(00:12:22.385)
(00:12:22.385) Rebooting...
Once it starts rebooting it keeps doing that forever. Any suggestions? I am using ESP32 WROOM 32 Dboard and have no custom hardware.
Any suggestions will be helpful.
Thanks
I have written ESP32 code that connects to WiFi, then AWS and then sends count number to AWS. Then it goes goes to sleep for one hour, wakes up and repeats the same. It works perfectly for about three days and then randomly starts crashing. It reboots constantly and displays the following on the terminal repeatedly,
(23:13:38.820) Wakeup was not caused by deep sleep: 0<LF>Setup ESP32 to sleep for every 3600 Seconds
(23:13:38.895) Connecting to Wi-Fi
(23:13:41.102) WiFi Connected!
(23:13:41.102) Connecting to AWS IOT
(23:13:44.180) AWS IoT Connected!
(23:13:44.180) Boot Count Data Published!
(23:13:44.213) Going to sleep now
(00:12:21.916) Wakeup caused by timer
(00:12:21.916) Setup ESP32 to sleep for every 3600 Seconds
(00:12:21.985) E (12184) system_api: Base MAC address from BLK0 of EFUSE CRC error, efuse_crc = 0x9d; calc_crc = 0xd2
(00:12:22.084) abort() was called at PC 0x4014ef77 on core 0
(00:12:22.168)
(00:12:22.168) ELF file SHA256: 0000000000000000
(00:12:22.183)
(00:12:22.183) Backtrace: 0x40088a2c:0x3ffb5720 0x40088ca9:0x3ffb5740 0x4014ef77:0x3ffb5760 0x4014efd1:0x3ffb57a0 0x400e15ce:0x3ffb57d0 0x400debd2:0x3ffb57f0 0x4010435e:0x3ffb5810 0x40089cba:0x3ffb5840
(00:12:22.385)
(00:12:22.385) Rebooting...
Once it starts rebooting it keeps doing that forever. Any suggestions? I am using ESP32 WROOM 32 Dboard and have no custom hardware.
Any suggestions will be helpful.
Thanks