How to stop ESP32 reset when there's crash issue like stack overflow?
Posted: Tue Jan 16, 2018 3:37 pm
by xiangcheng
Hi, my ESP32 platform (not arduino) will crash (seems to be stack overflow) after long time running. I have no JTAG tool and I always print some info and watch by COM port. How could I stop the ESP32 reboot so I can watch the info I printed. Sometimes it will run 5+ hours. Thanks.
Re: How to stop ESP32 reset when there's crash issue like stack overflow?
Posted: Tue Jan 16, 2018 4:12 pm
by WiFive
Re: How to stop ESP32 reset when there's crash issue like stack overflow?
Posted: Tue Jan 16, 2018 5:44 pm
by chegewara
Change settigs in menuconfig.
Code: Select all
menuconfig->Component config->ESP32-specific->Panic handler behaviour
Re: How to stop ESP32 reset when there's crash issue like stack overflow?
Posted: Wed Jan 17, 2018 12:37 pm
by xiangcheng
oh, brothers. thanks. Magic of esp32 here to get all the answers.