PM Standard - HW Watchdog issue...


Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2936
Posted: 03:13am 07 Oct 2025      

Instead of just blinking the WS2812 LED you can get more information about where in the program it stops.
At 6 points in the program change it's colour. When running normally it should blur together and appear white while it will have a fixed colour when it stops. The problem will be between that colour change point and the next.
The colours most easily distinguished are red, yellow, green, cyan, blue and magenta.

If it stops at random places it may have nothing to do with the program but if the stopped colour is always the same there may be an issue in that section.

You could then move all the change points to that section to narrow it down further.
Edited 2025-10-07 13:56 by phil99