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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/07/04 17:44
Read: times


 
#80611 - How to do software reset using KEIL
Hi
I want to incorporate a software reset in my program in Keil.After some routine is over i want to reset the microcontroller that is it should excute from startup code .the first thing i did is to call to main but it did not work.

routine over
{
routines
main();
}

but it was foolish thing since it did not start from startup code.

Then i inserted a assembly code like this

Push 00h
Push 00h
ret

Though the 8052 restarted it then jumped to another location and hanged which i found out after extensive debugging,I also read the manual but somewhere i am missing the point .I dont have time to read it throughly so please help.
Thank You

List of 8 messages in thread
TopicAuthorDate
How to do software reset using KEIL            01/01/70 00:00      
   RE: How to do software reset using KEIL            01/01/70 00:00      
      RE: How to do software reset using KEIL            01/01/70 00:00      
         RE: How to do software reset using KEIL            01/01/70 00:00      
   RE: How to do software reset using KEIL            01/01/70 00:00      
      Jumping to 0H            01/01/70 00:00      
         RE: Jumping to 0H            01/01/70 00:00      
            RE: Jumping to 0H            01/01/70 00:00      

Back to Subject List