Crashes into bootloop
Posted: Thu Nov 14, 2019 10:54 pm
Sometimes, due to a programming error (or something...) my ESP crashes in a way that it constantly bootloops, and the main sketch is not run. If I press the reset button, all goes back to normal.
Stack trace:
Decoding stack results
0x4022c7b0: std::_Function_handler ::_M_invoke(std::_Any_data const&) at c:\users\user\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2/functional line 2069
0x4022ac74: loop_wrapper() at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266\core_esp8266_main.cpp line 176
Question is: is there something I can do right at the start of setup() to clear up all the memory so this kind of bootlooping won't happen?
Sometimes, reaching the reset button is not easy
Stack trace:
Decoding stack results
0x4022c7b0: std::_Function_handler ::_M_invoke(std::_Any_data const&) at c:\users\user\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2/functional line 2069
0x4022ac74: loop_wrapper() at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266\core_esp8266_main.cpp line 176
Question is: is there something I can do right at the start of setup() to clear up all the memory so this kind of bootlooping won't happen?
Sometimes, reaching the reset button is not easy