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

PIC not running after programming

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



Joined: 08 Sep 2006
Posts: 182

View user's profile Send private message Send e-mail

PIC not running after programming
PostPosted: Thu Jan 26, 2023 7:04 am     Reply with quote

Hi,
(PIC18f87J50 , ICD3 ,CCS 5.080)
What I have..
With the debugger attached (in debug mode) and running the program it is working.
LED's are flashing LCD is used etc...

Switching to release and use the ICD3 as a programmer then the program doesn't run any more...

I switched the clock.. used the innternal etc..
enabled fuses .. disabled fuses but no luck..

anybody an idea???

Best regards,
Jody
PrinceNai



Joined: 31 Oct 2016
Posts: 452
Location: Montenegro

View user's profile Send private message

PostPosted: Thu Jan 26, 2023 7:21 am     Reply with quote

You do have a resistor on MCLR to 5V?
Jody



Joined: 08 Sep 2006
Posts: 182

View user's profile Send private message Send e-mail

PostPosted: Thu Jan 26, 2023 7:29 am     Reply with quote

Yes I have...
Jody



Joined: 08 Sep 2006
Posts: 182

View user's profile Send private message Send e-mail

PostPosted: Thu Jan 26, 2023 7:40 am     Reply with quote

FIXED IT!!!
Stupid me has soldered only one side of the pullup resistor!!!!

Thanks!!!
PrinceNai



Joined: 31 Oct 2016
Posts: 452
Location: Montenegro

View user's profile Send private message

PostPosted: Thu Jan 26, 2023 7:50 am     Reply with quote

I don't know what environment you are using. MPLABX? There are some options to hold a device in reset. Maybe that is a problem? I never had a problem with that, but some here have said that if you leave #device ICD = TRUE or #fuses debug (don't know which) in your code, the program doesn't run.
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