This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Watchdog on DM6441 does not reset



Hello,

I'm trying to use the watchdog inside the davinci but it seems that when the timer expires, the board is not reset completely. The display disappears and the system hangs.

Does the watchdog from dm644x have the same problem as the DM648, that is cannot work?

I do see that the reset code from the linux kernel uses the watchdog in some other way to reset the board. This reboot works fine.

Best regards, Pieter

PS: I'm using DVSDK1.20 kernel and applied almost all patches except for the WLAN.

  • I believe there were software bugs with the watchdog driver in that release.  DVSDK 1.30 includes updates to watchdog driver which has been tested and known to be working.  I would suggest upgrading to DVSDK 1.30 (video quality of demos is also improved and video drivers support more hardware features).

    There are no hardware issues with watchdog on this platform.

  • Hi Juan,

    Thanks for the quick reply. I just compared the drivers from 1.20 and 1.30 DVSDKs and they are identical.

    What I see is that some other driver is preventing the board from reset. The function from ./arch/arm/mach-davinci/time.c works fine, but only after a kernel call called shutdown_devices.

    When I do excactly the same as the function mentioned above in the .open from the watchdog, I expect the CPU to reset but it hangs.

    When I place this functionality in the init of the code, so excecuted during kernel boot, it does reset.

    What other hardware blocks can be blocking the reset from the processor?

    Best regards, Pieter