Forum: ARM programming with GCC/GNU tools interrupt (timer0) problem

Author: Ursus (Guest)
Posted on:
Attached files:

Rate this post
0 useful
not useful

I've written simple program (attached code - main.c) that should set all 
GPIO0 pins when it would enter interrupt routine, but this never 
happens. GPIO0 pins always stay low. GPIO1 pins toggle as expected (very 
fast :P)

Using timer with out interrupt works eg. delay coded essentially like:
while(T0TC < value)

please help :(


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.