Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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.

List of 28 messages in thread
TopicAuthorDate
which hardware Emulator can work with SDCC            01/01/70 00:00      
   but it can't work            01/01/70 00:00      
   OMF support?            01/01/70 00:00      
      if it does not "support OMF" then            01/01/70 00:00      
   Please define what you mean by "doesn't work"            01/01/70 00:00      
      I can't enter the CAN Interrupt            01/01/70 00:00      
         What prevents you from doing that?            01/01/70 00:00      
            I want to debug my program            01/01/70 00:00      
               It's time you read the SDCC documentation!            01/01/70 00:00      
               You Mean Break Point?            01/01/70 00:00      
                  Yes ,I want to single step            01/01/70 00:00      
                     cannot set?            01/01/70 00:00      
                        I can set the breakpoint but it isn't hit?            01/01/70 00:00      
                           Confusing!            01/01/70 00:00      
                              SDCC interrupts visible to main            01/01/70 00:00      
                                 Gee ... does SDCC allow only one breakpoint?            01/01/70 00:00      
                                    The compiler            01/01/70 00:00      
                                       Be gentle with him...            01/01/70 00:00      
                                          I don't use 'em with 805x ...            01/01/70 00:00      
                     I can not set a break point and can not single step            01/01/70 00:00      
            I use the ICE to debug my program            01/01/70 00:00      
               Probably too late to ask ...            01/01/70 00:00      
                  "sometimes"            01/01/70 00:00      
                     Still not clear!            01/01/70 00:00      
            Can you tell me your Development Environment            01/01/70 00:00      
               I program in ASM and use a debug monitor ... no ICE!            01/01/70 00:00      
   ask at Micetek?            01/01/70 00:00      
   Maybe that SDCC interrupt "feature"?            01/01/70 00:00      

Back to Subject List