• Nice that it is working for you again :-)

    However it looks that with some bad luck the watchdog reboot caused by holding the button may break stuff. In this case I guess the reboot was triggered in the middle of flash write and for some reason the check at boot time did not detect this corruption and yet some other code later crashed on such bad data. If that happens again it would be good to have backup of SPI flash storage to reproduce and fix this crash (or maybe it was never ending loop).

    BTW, the watchdog reboot can be delayed a bit by enabling watchdog interrupt but I am not sure that the code handling the interrupt could do something about the pending flash write to avoid such corruption.

About

Avatar for fanoush @fanoush started