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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/22/05 04:33
Read: times


 
#95546 - Further explanation
Responding to: ???'s previous message
Sugiarso Sung Tuladha said:
can u tell me what is the cause of the reset
a xtal with 2 capacitor that not good maybe ?


As already stated, the problem is probably that your program doesn't end with something like:

ENDLOOP: SJMP ENDLOOP


If you just end your program with "END", the MCU will not stop executing code after your program but will execute the rest of the contents of code memory until it reaches the highest code address (FFFFh), wraps around back to 0000h, and starts executing the program from the beginning again. This will result in the appearance of the hardware resetting.

Insert the loop in your code. It should solve the problem.

Regards,
Craig Steiner


List of 8 messages in thread
TopicAuthorDate
reset (all the time)            01/01/70 00:00      
   complete loop            01/01/70 00:00      
      reset (all the time)            01/01/70 00:00      
         Further explanation            01/01/70 00:00      
            reset (all the time)            01/01/70 00:00      
               Loop is not ok.            01/01/70 00:00      
                  exit to where?            01/01/70 00:00      
   Run amuk            01/01/70 00:00      

Back to Subject List