[En-Nut-Discussion] Watchdog AT91SAM7X

Jason Bourne jucanpo at hotmail.com
Sat Mar 7 20:51:06 CET 2009


It works,

 

Thank you so much

 

Juan
 
> Date: Sat, 7 Mar 2009 08:33:11 -0500
> From: havereric1 at gmail.com
> To: en-nut-discussion at egnite.de
> Subject: Re: [En-Nut-Discussion] Watchdog AT91SAM7X
> 
> On Sat, Mar 7, 2009 at 7:05 AM, Jason Bourne <jucanpo at hotmail.com> wrote:
> 
> >
> > Hi All,
> >
> >
> >
> > I am implementing the Watchdog for the AT91SAM7X but it does not work.
> >
> > I do not know what am I doing wrong?
> >
> >
> >
> > Thank you
> >
> >
> >
> > Juan
> >
> >
> Ola Juan,The SAM7X does not give you a second chance to program the DOG,
> and NutOs "saves us" by disabling it in: crtst91sam7x256_rom.S around line
> 175
> 
> ldr r1, =WDT_BASE
> ldr r0, =WDT_WDDIS
> str r0, [r1, #WDT_MR_OFF]
> 
> Just comment that out and make sure to program the WatchDog within 16
> Seconds to the value you want.
> long WDTime ;
> if ((WDTime=NutWatchDogStart(10000l, 0)) == 0)
> printf("Watchdog Problem\n");
> else
> printf("Watchdog set at %ld Seconds\n",WDTime/1000);
> 
> NutWatchDogEnable();
> 
> Then feed your dog regularly with:
> 
> NutWatchDogRestart();
> 
> 
> *E
> 
> 
> 
> 
> 
> _________________________________________________________________
> > Windows Live™ Contacts: Organize your contact list.
> >
> > http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009
> > _______________________________________________
> > http://lists.egnite.de/mailman/listinfo/en-nut-discussion
> >
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion

_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme


More information about the En-Nut-Discussion mailing list