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 08:19
Read: times


 
#169835 - Still not clear!
Responding to: ???'s previous message
Eric Zhao said:
"sometimes" : I debug several times,one or two times I can enter the CAN Interrupt .but most times ,I can't ;

It would help if you would be more precise with your terminology:

An Interrupt is a hardware event;

An Interrupt Service Routine (or "ISR", for short) is a piece of software that you write to be called automatically by the hardware when an Interrupt occurs.

So, if your system is not entering the Interrupt Service Routine, you first need to determine whether the hardware Interrupt is actually ocurring at all..

If the hardware Interrupt is not happening (or is masked or disabled) then, obviously, the Service Routine will never be called (or "entered").

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