Hi all,
Having trouble patting the DSP watchdog on the omap5912 device. Currently I can enable the watchdog and it times out ~23-30seconds after I enable it.
However it seems as though I am unable to write to the Watchdog Timer Value register at 0x3402. Has anyone else got the DSP watchdog working on the 5912?
Here is a section of the code I am using
/* DSP Watchdog ControL timer */
#define DWCT (*(volatile ioport EsU16_T *)0x3400)
/* DSP Watchdog Timer Value */
#define DWTV (*(volatile ioport EsU16_T *)0x3402)
/* DSP Watchdog Timer Mode */
#define DWTM (*(volatile ioport EsU16_T *)0x3404)
PatWatchdog(void)
{
DWTV = 0xFFFe;
}
EnableWatchdog(void)
{
DWTM = 0x8000;
PatWatchdog();
}