Mark Butcher

Watchdog (Reset) on M5223X / M5213

Discussion created by Mark Butcher on Oct 31, 2006
Latest reply on Jun 29, 2007 by Mark Butcher

Hi All


I would like to know a little more about the software watchdog in the above processors - this is taking on from the previous (but now quite old) posting


The present understanding is that it is not possible to program the core software watchdog in these devices to cause a reset in order to recover from a problem (software runaway). It is necessary to activate the corresponding interrupt routine and to command a soft reset from it.


I have just programmed this and also set the priority of this interrupt as the highest in the system.


There remains one question. What happens when a problem exists in a section of code which disables all interrupts? Wouldn't it mean that the core sw watchdog timer will timeout but its interrupt never handled? Is this not quite a risk??


Any ideas?




Mark Butcher /