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 http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&message.id=776&query.id=13063#M776

 

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?

 

Regards

 

Mark Butcher
www.mjbc.ch / www.uTasker.com

Outcomes