I'm using a Mega162 at the moment to do some serial comms. However, I cannot get the M162 to interrupt properly for some reason that I can't fathom out.
As I have some LEDs on the processor, I can check various bits, and I have come to the following results:
Global interrupts are definitely enabled
Receive Complete Interrupt is definitely enabled
the Receive Complete flag is set
...and yet the controller will not run my interrupt routine. I have check to see that the interrupt is sat at the correct address as pointed to by the receive complete interrupt vector and all seems well.
I enabled USART 1 too in order to send out some debug comms, but alas, it's doing exactly the same thing!
Is there anything else I need to set, or is special at this processor. I've never had grief before, it's always been a no-brainer to get the usart up and running.
I have the M161 fuse unprogrammed too. I can't think of anything else?