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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/07/00 14:08
Read: times


 
#4947 - RE: 8031 hanging during delay routine
I'd agree with Peter. The code looks good. If it's not working, probably an interrupt is interfering, changing the values of the 'R' registers you're using without protecting them before the interrupt and restoring them after the interrupt.

Peter's test program with just the delay code should verify that your routine is working and that you need to focus on interrupts or something external to the delay loop.

Craig Steiner


List of 16 messages in thread
TopicAuthorDate
8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      
RE: 8031 hanging during delay routine            01/01/70 00:00      

Back to Subject List