NEVER trust a debugger. :) Turn off the interrupt and see if it still happens. Something else may be taking you to that address and you may be chasing a red herring. DLC > Hi, > > This is why it is so frustrating. I just re-measured the ground > connection and according to my ohmmeter it is indeed grounded. > > And using the debugger it stops on the interrupt: > > "interrupt (EXT_INT0) void ext_int0_isr(void)" The ATtiny.h file > lists EXT_INT0 as = 2 which is what the datasheet shows. > > BTW I'm using the CodeVisionAVR C Compiler. > > Thanks, > > Richard Cooke > > > > > --- In AVR-Chat@yahoogroups.com, "Dennis Clark" <dlc@...> wrote: >> >> It can't fire if it is grounded. If it IS firing then one of your >> assumptions is incorrect: >> >> A- You are actually attached to ground >> B- That INT0 is actually what is firing >> >> So, disable the interrupt and see if the problem goes away - If it > does >> then assumption A needs to be examined. If it does not then clearly >> assumption B needs to be examined. >> >> DLC > >> > > > > > > Yahoo! Groups Links > > > > -- Dennis Clark TTT Enterprises
Message
Re: [AVR-Chat] Re: INTO interrupt firing all the time?
2007-12-17 by Dennis Clark
Attachments
- No local attachments were found for this message.