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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/23/01 07:37
Read: times


 
#9557 - Software restart
I'm trying to restart my code after external interrupt 0 is "released" and I'm having trouble. I have the interrupt configured as falling edge triggered. Once the input goes high (i'm polling it), i want to conduct a reset. So I just issue the command:
JMP MAIN
where MAIN is the start of my code at 100h. Why doesn't this work?

The polling is done in the TIMER0 ISR. When I reset and run through my timer configuration routine again, I never enter the TIMER0 ISR again.

I checked the IE SRF and the interrupt is still enabled and the timer registers are incrementing. The overflow flag is set but i don't vector to the ISR!!! I'm puzzled.

Is there an easier way to reset, I thought I could configure the watch dog and just let it run out, but that is just too patchy for me?

List of 7 messages in thread
TopicAuthorDate
Software restart            01/01/70 00:00      
RE: Software restart            01/01/70 00:00      
RE: Software restart            01/01/70 00:00      
RE: Software restart            01/01/70 00:00      
RE: Software restart            01/01/70 00:00      
RE: Software restart            01/01/70 00:00      
RE: Software restart            01/01/70 00:00      

Back to Subject List