Watchdog timer reset
eli.brin at rokonet.co.il
Wed Aug 11 21:05:19 EST 2004
We use an mpc8xx custom board, u-boot 1.1.1 and ELDK 3.0 (kernel 2.4.24 with
HZ = 500).
My problems are using the wdt_mpc8xx watchdog. We have a lot off resets,
especially during application loading.
I have tried to increase the reset rate of the module to HZ/10 instead of
HZ/2 but it didn't help. Sometime creating a new image (we use SELF) solves
the problem. To overcome the resets we insert/remove sleep or
increase/decrease our logging (printf to console).
The applications are written in C++ with pthreads multi-threading optimized
We use poll-select on the serial channel (SMC2), and all blocking functions
are implemented within threads.
Tried to fork() instead off using system() and other tests, but every time
we think we solved it...after some time the resets come back.
I could not find a rational for the problem. Any ideas?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded