[En-Nut-Discussion] Watchdog problems with v4411 on SAM7X256-ek

ennut at thezachariasgroup.com ennut at thezachariasgroup.com
Thu Aug 28 21:03:43 CEST 2008


   Steve,
  I got around this by modifying the code in:
nut\arch\arm\init\crtat91sam7X256_rom.s

I commented out the following code as shown:

         /*
          * The watchdog is enabled after processor reset. Disable it.
          */
/*
         ldr     r1, =WDT_BASE
         ldr     r0, =WDT_WDDIS
         str     r0, [r1, #WDT_MR_OFF]
*/


   Let me know if this helps.

   Thanks!
    Zack



At 01:24 PM 8/28/2008, you wrote:
>Hi,
>
>   I'm trying:
>
>     printf("Starting watchdog\n");
>     NutWatchDogStart(2000, 0);
>     for(;;);
>
>   under NutOS v4411 running on an AT91SAM7X256-EK.  The processor 
> never resets.
>   Is this a known problem, am I doing something wrong, any ideas?
>
>   Thanks for your help.
>
>Best Regards,
>Steve.
>
>_______________________________________________
>http://lists.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list