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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/11/00 11:52
Read: times


 
#5014 - RE: 8031 hanging during delay routine
All..

Problem Solved!!!

Rule 1: Never overlook the SIMPLE solutions, they are the easiest to fix and cause the most headaces. As Murphy's Law dictates; if it can go wrong, it will.

Well, here it is, the solution:

Well after narrowing down the code to two simple DJNZ statements and analyzing the hex codes, it was found that code was not the problem at all. The Motorola RTC (real time clock) that was in the circuit (although not being addressed) was causing some sort of an invalid bus condition, during the delay routine. I tried every approach in software, only to find out that as soon as I cut the Xtal to the RTC the program started working. Go figure... I would just like to thank all of you for your help, code and encouragement, its nice to know that you can still find good help ;)

Ben

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