This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupts and startup files

Hi all,
I am working on developing some code to generate a timer interrupt. I am having several issues/difficulties.

I am working with Atmel's AT91SAM7X256 with the AT91SAM7X-EK board, and Keil uVision3.

1. When I start a new uVision project, I add the generic SAM7.s startup file - which I get prompted for by the IDE. However, this startup file does not include anything about interrupts. I always have to patch it with sections from other files to get it to work. Is there something I can do/change to get the proper file when I start the new project?

2. Are there any tutorials on interrupts for the ARM processor. I found one that goes through so many different things and yet, I can't seem to understand the purpose of the document - and by the way IT DOESN'T WORK.

3. If a tutorial does not exist, can anyone explain to me what I need to do in order to get a SIMPLE interrupt working - a timer interrupt.

Thanks in advance.