Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: USER RESET interrupt not mapped to OEMInterruptHandler
PostPosted: Fri Mar 30, 2012 6:43 pm 
Offline

Joined: Fri Jul 10, 2009 4:46 pm
Posts: 5
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


Top
 Profile  
 
 Post subject: Re: USER RESET interrupt not mapped to OEMInterruptHandler
PostPosted: Fri Mar 30, 2012 9:01 pm 
Offline

Joined: Fri Mar 09, 2012 1:34 pm
Posts: 68
Hi!
As far as I remember, the reset interrupt is with the system interrupts.

_________________
Best regards
Przemyslaw Baranski


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron