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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/12/07 06:50
Modified:
  04/12/07 06:51

Read: times


 
#137017 - error? what kind of error?
Responding to: ???'s previous message
Chen,

Please elaborate more on the circumstances.

What is the error you are talking about and how does it occur?

What is your suspection is the primary cause of the error? Why do you think it is related to the priority of interrupts? Do you set priority explicitly (as bits in IP/IPA)? Are there any other interrupts enabled? How do you handle the interrupts - in pure C? What is your programming environment (Keil?)

Can you shorten your program to absolute minimum which still exhibits the error, and post that here?

Where do you perform the global interrupt enable? Within an interrupt routine?

And what happens if you set the TF0&RI/TI flags "manually"?

JW


List of 10 messages in thread
TopicAuthorDate
two interrupts request at the same time            01/01/70 00:00      
   datasheet            01/01/70 00:00      
      right,but            01/01/70 00:00      
         error? what kind of error?            01/01/70 00:00      
            not reset,in debug PC don't change any more            01/01/70 00:00      
         Sounds like an atomicity problem            01/01/70 00:00      
         Maybe an event gets lost            01/01/70 00:00      
         initialization sequencing            01/01/70 00:00      
            a rare bug....            01/01/70 00:00      
         Interupts            01/01/70 00:00      

Back to Subject List