NANO54415 Watchdog service routine example

Topics for the Eclipse Environment
Post Reply
adamstg
Posts: 6
Joined: Fri Mar 06, 2015 8:16 am

NANO54415 Watchdog service routine example

Post 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.
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: NANO54415 Watchdog service routine example

Post 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
adamstg
Posts: 6
Joined: Fri Mar 06, 2015 8:16 am

Re: NANO54415 Watchdog service routine example

Post 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.
Post Reply