ESP32 keeps rebooting

codeguru
Posts: 1
Joined: Thu Nov 18, 2021 1:33 pm

ESP32 keeps rebooting

Postby codeguru » 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

laamanni
Posts: 1
Joined: Sun Dec 05, 2021 6:24 pm

Re: ESP32 keeps rebooting

Postby laamanni » Sun Dec 05, 2021 6:30 pm

Hi.
I have this issue too. Chip model is ESP32-D0WDQ6 Rev 1.
"system_api:: Base MAC address from BLK0 of EFUSE CRC error, efuse_crc = 0x40; calc_crc = 0xcf"

I've tried to change the board from Arduino board menu, but no help.
When I upload the program from Arduino IDE to the ESP32 board, the programmer software (?) reads the MAC-address correctly,
it's seen right after "Connecting..." phase on Arduino IDE log.

Code: Select all

esptool.py v3.1
Serial port COM3
Connecting........_
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, Coding Scheme None
Crystal is 40MHz
MAC: 30:ae:a4:66:77:66
Uploading stub...
Running stub...
Stub running...
What can be done to Debug this issue?
I try to read the MAC address when calling ESP.getEfuseMac() or WiFi.begin.

I have the same sleep stuff as the OP has ( I guess, since i have some similar text printed to serial).

Who is online

Users browsing this forum: No registered users and 64 guests