|
To fix the errata about disable SDRAM I have the interrupt enable for USER RESET as follows:
pResetCtrl->RSTC_RMR = (AT91C_RSTC_URSTIEN | (0xA5 <<24) | (1<<0x8);
But when I hit the reset PIN the OEMInterruptHandler is never invoked. Strange but the processor stops and the watchdog kicks, so it is semi-working 15 seconds latter.
Where is the User Reset Vector mapped?
How can I explicity configure AIC to jump into OEMInterruputHandler (as the Watchdog does) with AT91C_ID_SYS and highest priority when I press the nRST pin?
I'll appreciate sample code.
Regards, Uri
|