PM Standard - HW Watchdog issue...


Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9841
Posted: 11:35pm 06 Oct 2025      

  matherp said  Your symptoms suggest the MMBasic program is still running, hence no watchdog, but the RP USB device has got locked up somehow. You can prove this one way or the other by including in your program a MMBasic heartbeat driving the onboard WS2812.


  phil99 said  Is the the program also frozen or just the USB interface?


No, the MMBASIC program has crashed or otherwise stopped, along with the VCP also.
None of the buttons that are supposed to do things when pressed, respond when pressed.

RESET the module, and away it goes again.

So, it's a hard-crash of some kind, but the watchdog is NOT firing to force the module to recover.  It's quite odd, cos it runs just fine for sometimes weeks on end(or months) before this happens....  Very strange.

MM2 chips are easy to get again now post COVID, so I might just design a wee module in the WS-Zero footprint, to replace the 2040, with the standard MM2 chip.  They NEVER gave any issues, but during the COVID chip shortages, I HAD to do something, and so used the 2040 chips and modules as you could get those!