??? 10/17/09 18:50 Modified: 10/17/09 18:51 Read: times |
#169846 - SDCC interrupts visible to main Responding to: ???'s previous message |
Andy Neil said:
If the breakpoint is correctly set, but it isn't hit, then either the emulator is faulty, or the code is never reaching that point! Is your interrupt service routine in a separate source file? If so, have you added a prototype for it visible to main? SDCC requires this to create the interrupt vector. Juergen Christoph already pointed this issue out to you. ( http://www.8052.com/forum/read/169814 ) You could also try to set the breakpoint at the interrupt vector and see if it gets hit. If it does, you know the interrupt is enabled and happening. |