I am trying to use watchdog Reset in an arm 7 processor (AT91R4008). Does anyone know how I should write the code in order to reset the processor by watchdog? Which libraries are necessary in Keil uVision 4.7?
What would libraries have with this to do?
If you don't kick the watchdog, it will reset the processor whatever libraries you happen to have if you have configured the watchdog properly.
Some processors have additional flag bits that allows you to force an instant reset without having to use the watchdog and wait a full watchdog timer interval.
Yes, you are right. I have enabled the watchdog and it did what I wanted (reset).