CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Never get back to main routine

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
edistskho



Joined: 30 Sep 2012
Posts: 3

View user's profile Send private message

Never get back to main routine
PostPosted: Wed Jan 02, 2013 10:05 pm     Reply with quote

How to solve when a program never get back to main routine after executing
ISR? I have experienced this in interrupt with Timer0 and changing in RB0, RB1 and RB0. Anybody could help me?
WingNut



Joined: 04 Nov 2012
Posts: 6
Location: NC

View user's profile Send private message

PostPosted: Wed Jan 02, 2013 10:42 pm     Reply with quote

1 - What PIC are you using?
2 - What compiler version are you using?
3 - Post your code (using the 'Code' button.)
4 - Have you done the basic "Flash an LED at 1Hz" to verify your PIC is working properly?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jan 02, 2013 10:48 pm     Reply with quote

Also read these two threads:

My program does not come out of the interruption:
http://www.ccsinfo.com/forum/viewtopic.php?t=48304

Timer0 can't run after reset:
http://www.ccsinfo.com/forum/viewtopic.php?t=49125
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group