AnsweredAssumed Answered

How can I use the Watchdog functionality in MQX?

Question asked by Kevin Cho on May 17, 2010
Latest reply on Nov 14, 2016 by David Austin

Hello, everyone,

 

CPU: MCF52259

Tool: CW 7.2

OS: MQX 3.4

 

I want to error recovery using watchdog functionality.

 

I've tested example located in mqx folder.

(C:\Program Files\Freescale\Freescale MQX 3.4\mqx\examples\watchdog)

 

1. Call other function in Watchdog handler function

handle_watchdog_expiry() function is working and seems good.

However, some function is not working correctly in this function for example TCP/IP send function.

Is it correct?

 

2. Detecting watchdog status when boot up

I just want to RESET using RCR register when watchdog expired.

Then, how can I detect when I boot up, it is watchdog reset or normal reset?

 

3. Normal Watchdog strategy in MQX on MCF52259

Is there any example or article about watchdog usage on MQX?

 

Thank you for reading this.

Best Regards

O.O Life.

 

Outcomes