On Sat, 2005-08-20 at 22:18 -0500, Dennis wrote: > Using ATmega 168. INT0 works fine as does Timer1. Invoke INT1 > (pushbutton rising edge) and it goes to interrupt routine and never > returns. > Had some sample parts from rep brought in to replace original ES > (preproduction) parts. Thought that might be the problem. Not so. > Doesn't matter what's in the interrupt routine. Can put the RETI as > the only instruction and still doesn't return to the instruction > following an infinite loop. > Doing a lot of head-banging on this one. Stop banging your head! It hurts! *grin* Seriously, wait for the FAE to respond. I suspect you have located a legitimate bug in the hardware, anfd that this is what you'll hear back. While, in general, one assumes that one is making some sort of obscure error when such things are encountered (which is MUCH more likely), hardware bugs *DO* occur, and based on your descriptions of your diagnostics, I suspect you have found one. Time (and the FAE) will tell. Tom
Message
Re: [AVR-Chat] mega 168
2005-08-21 by Thomas Keller
Attachments
- No local attachments were found for this message.