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 CCS Technical Support

PIC Startup

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



Joined: 25 Feb 2004
Posts: 28

View user's profile Send private message

PIC Startup
PostPosted: Mon Mar 07, 2011 4:57 am     Reply with quote

Hello,

I'm having a problem running the code stand alone in a PIC 18F8720.

If we use an ICD-U64 to program the PIC through CCLoader and then run the code through CCLoader the code will run as expected. If we then program the PIC using CCLoader, diconnect the ICD and then try to run the code stand alone the code will not run . The MCLR etc is coming to the right values, we have NoDebug set in the fues.

Any suggestions why the code will not run stand alone?

Cheers

Sandy Wilson Confused
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Mar 07, 2011 6:24 am     Reply with quote

Two ideas..
1) Remove the use ICD=true line in your program.

2) If using MPLAB to facilitate programming the PIC, you'll have to edit the 'build option' from 'debug' to 'release' AND recompile(F10), then program the PIC.
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