8 years, 8 months ago.

Watchdog reset fails to reboot properly

For some reason, after a reboot by the Watchdog, my program isn't executed properly. I only see the first BT.printf on line 30 in main.cpp and then a bunch of noise. Note that DEBUG_LOGGING is set to true in settings.h, so the "Hello World" is being printed out on the first boot, but not after the Watchdog reboots the MCU.

Has anyone got any ideas as to why this might be happening or am I doing something stupid in there?

Code: https://developer.mbed.org/users/Mikk36/code/btGPS/file/2771afa123a2/main.cpp

Serial output: Hello World ! Watchdog caused reset. [00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]

Be the first to answer this question.