I'm simulating some code for an ATMEGA16, and in studio 3.55, if I cause the ADC_INT interrupt, nothing happens, apart from the interrupt flag is cleared on the next clock cylce, but the code does not jump to the ISR.
Does anyone have a solution for this problem? Do any other versions of Studio fix this problem?
Could it be something I've done stupdily wrong? Global interrupts are definately on, as all my timer interrupts are working fine, as is the EXT0 interrupt, it's just the ADC_INT that never gets executed. The conversion never seems to finish either. The start new conversion bit stays high all the time.
Thanks in advance,
a confused brian.
I am using CodevisionAVR too if that rings any problems with anybody...