Closed cometurrata closed 4 years ago
Can you reproduce the fault running in the debugger? The backtrace is more reliable.
I never used the debugger, I will give it a try
I got:
Program received signal SIGPWR, Power fail/restart.
0x40257606 in debug_crash_callback (rst_info=rst_info@entry=0x3ffff990, stack=stack@entry=1073740608, stack_end=stack_end@entry=1073741744)
at /home/come/luko/hardware/Sming-4.0.0/Sming/Arch/Esp8266/Components/gdbstub/appcode/gdb_hooks.cpp:98
98 gdbstub_break_internal(DBGFLAG_RESTART);
bt:
#0 0x40257606 in debug_crash_callback (rst_info=rst_info@entry=0x3ffff990, stack=stack@entry=1073740608, stack_end=stack_end@entry=1073741744) at /home/come/luko/hardware/Sming-4.0.0/Sming/Arch/Esp8266/Components/gdbstub/appcode/gdb_hooks.cpp:98 #1 0x40241016 in __wrap_system_restart_local () at /home/come/luko/hardware/Sming-4.0.0/Sming/Arch/Esp8266/Components/esp8266/crash_handler.c:66 #2 0x40104d06 in pp_soft_wdt_feed_local () Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Not a Sming Issue I believe it is not a software issue, my LDO is too weak so voltage drop and get the flash to fail.
I had the issue with Sming-3.8 + SDK 2.0.0 I also have the issue with Sming-4.0.0 + SDK 3
I can easily reproduce that but doing many OTA. Seems that it depends of the wifi or something. I can reproduce it on many Boards and on many wifi network.
It can fail really often (sometimes 15 fails / 15 tries). Sometimes never.
Does someone have an idea ?
Thanks for the great job by the way.