Page 1 of 1

USER RESET interrupt not mapped to OEMInterruptHandler

Posted: Fri Mar 30, 2012 6:43 pm
by uriel_kluk
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

Re: USER RESET interrupt not mapped to OEMInterruptHandler

Posted: Fri Mar 30, 2012 9:01 pm
by przemekbary
Hi!
As far as I remember, the reset interrupt is with the system interrupts.