USER RESET interrupt not mapped to OEMInterruptHandler

This forum is for users of Atmel's SAM Series and who are interested in using WinCE OS.

Moderator: nferre

uriel_kluk
Posts: 5
Joined: Fri Jul 10, 2009 4:46 pm

USER RESET interrupt not mapped to OEMInterruptHandler

Fri Mar 30, 2012 6:43 pm

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
przemekbary
Posts: 68
Joined: Fri Mar 09, 2012 1:34 pm

Re: USER RESET interrupt not mapped to OEMInterruptHandler

Fri Mar 30, 2012 9:01 pm

Hi!
As far as I remember, the reset interrupt is with the system interrupts.
Best regards
Przemyslaw Baranski

Return to “WinCE”

Who is online

Users browsing this forum: No registered users and 1 guest