public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Coldfire: MCF5271: Periodic HW watchdog petting and sleep function does not work.
@ 2009-03-02 21:05 Richard Retanubun
  2009-03-03 23:15 ` TC Liew
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Retanubun @ 2009-03-02 21:05 UTC (permalink / raw)
  To: u-boot

Hi Guys,

I am using u-boot 2009.03-rc1 and a board based on Coldfire MC5271EVB eval platform.
Our external watchdog is a MAX6369.

I have #define CONFIG_HW_WATCHDOG and #undef CONFIG_WATCHDOG in our board's config file and
have created the hw_watchdog_reset function to toggle the WDI line to pet the watchdog.

However, my board keeps resetting at the watchdog timeout. Upon probing, I found out that
the watchdog toggle line in not being toggled periodically by u-boot. Which means a regular call
to WATCHDOG_RESET() is not happening. If I execute commands, the WDI will get toggled and the watchdog
will not timeout, which means that the WATCHDOG_RESET() mapping to hw_watchdog_reset function is working, it is
just not being called periodically.

I am looking at the programmable interrupt timer that the get_timer() function uses, and so far everything checks out.

I'm also stuck at using u-boot's sleep command, e.g. "sleep 1" will never return. Which I suspect may be the same root cause.
(this can also be observed on the M5271EVB board).

What am I missing here?

Thank you for all your time.

Regards,

- Richard Retanubun.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-26 19:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-02 21:05 [U-Boot] Coldfire: MCF5271: Periodic HW watchdog petting and sleep function does not work Richard Retanubun
2009-03-03 23:15 ` TC Liew
2009-03-04 13:14   ` Richard Retanubun
     [not found]     ` <a90206390903050739i2a2f4296l97251d4c1f656551@mail.gmail.com>
     [not found]       ` <49B0282A.6010203@RuggedCom.com>
2009-03-19 21:15         ` Richard Retanubun
2009-03-26 19:08           ` TC Liew
2009-03-26 19:34             ` Richard Retanubun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox