[cdk4avr-users] Debugging with interrupts an at90s2313
Brought to you by:
slz
From: <dhu...@o2...> - 2003-12-30 16:43:10
|
Hi there I've wrote an alarm clock in C for the at90s2313 and I'm trying to test it via simulavr and avr-gdb. Everything works just fine, but it doesn't handle the interrupt. My interrupt occurs, when the timer0 overflows. I've set the globab interrupt flag, the timer0interrupt flag and nothing happens :/ The programs runs aimlesly (while (1)) doing nothing, cause it doeasn't react to interrupts. I've tried to run the demo program from avr-libc package, the one with pwn diode switching, but it doesn't work eihter :/ I've also tried to find some way in avr-gdb to send an interrupt to the program, but I was unable to find anything. Is it possible to debug programs with interrupts?? Thx in advance Cz@rny |