Page 1 of 1

NANO54415 Watchdog service routine example

Posted: Thu Jun 11, 2015 10:25 am
by adamstg
I am trying to experiment with the Watchdog.

After reading this thread http://forum.embeddedethernet.com/viewt ... ?f=5&t=596 and then looking at the example given C:\Nburn\examples\AutoUpdateFeatures i've noticed this example isn't good for the NANO54415, see code below.


void ServiceWatchdog( void )
{
#if(defined MOD5272 || defined SB72 || defined SB72EX)
volatile unsigned short * wcr = (unsigned short *) 0x10000288;
*wcr = 0xFFFF;
#elif (defined MOD5441X || defined NANO54415)
#error "Watchdog example not supported for MOD5441X or NANO54415"
#else
volatile unsigned short * wsr = (unsigned short *) 0x40140006;
*wsr = 0x5555;
*wsr = 0xAAAA;
#endif
return;
}

I would like to know how to write a watchdog service routine for the NANO54415

thanks.

Re: NANO54415 Watchdog service routine example

Posted: Thu Jun 11, 2015 4:31 pm
by rnixon
This will become one of your new best friends. Run it on the examples folder searching for "dog" in the file name
https://www.mythicsoft.com/agentransack

Re: NANO54415 Watchdog service routine example

Posted: Fri Jun 12, 2015 6:49 am
by adamstg
i e-mailed support and they got back to me
for the nano the example to look at is
C:\nburn\examples\NANO54415\NanoWatchDog

rnixon wrote:This will become one of your new best friends. Run it on the examples folder searching for "dog" in the file name
https://www.mythicsoft.com/agentransack
this looks useful, thanks.