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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/17/03 15:43
Read: times


 
#43623 - RE: a controller hangs - solutions !!
Responding to: ???'s previous message
Hi Karthik,

Evidently the software isn't perfect after all.

I would suspect you have an interaction between interrupts, where there's a rare case where perhaps interrupts should be disabled, but aren't.

I ran into a case where I had set a flag, and immediately tested it...but if an interrupt came in between the two (and every long once in a while it did) the test result wasn't correct and things didn't work right. A simple disabling of interrupts during this piece of code fixed it.

Somewhere in your massive amount of code is lurking a tiny timing problem that's just waiting to be found.

Good hunting!

Dennis

List of 10 messages in thread
TopicAuthorDate
a controller hangs - solutions !!            01/01/70 00:00      
   RE: a controller hangs - solutions !!            01/01/70 00:00      
      RE: a controller hangs - solutions !!            01/01/70 00:00      
   RE: a controller hangs - solutions !!            01/01/70 00:00      
   RE: a controller hangs - solutions !!            01/01/70 00:00      
      RE: a controller hangs - solutions !!            01/01/70 00:00      
   RE: a controller hangs - solutions !!            01/01/70 00:00      
   RE: a controller hangs - solutions !!            01/01/70 00:00      
   RE: a controller hangs - solutions !!            01/01/70 00:00      
   RE: a controller hangs - solutions !!            01/01/70 00:00      

Back to Subject List