Thanks for the reply Salem, the problem actually turned out to be that I needed to include the default interrupt handler. The code must have been trying to execute some uninitialised interrupt.
I am writing code in winAVR for the ATmega8. My code keeps resetting even though I am using "wdt_reset()" defined in wdt.h. Does anyone know a possible reason for this?
I am using winAVR to program the ATmega8 chip. The program spans multiple files. The interrupts are written using the SIGNAL keyword and the definitions from the iom8.h file as below (the receive complete vector). Can anyone figure out why the interrupts are not actually being called...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.