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

Have to keep DEBUG and ICD=TRUE alive...

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



Joined: 10 Feb 2004
Posts: 205

View user's profile Send private message

Have to keep DEBUG and ICD=TRUE alive...
PostPosted: Fri Nov 12, 2004 4:21 pm     Reply with quote

I have one program that will not run on it's own unless I keep the DEBUG and ICD=TRUE statements alive when compiling. I have other programs where I take those two statements out (change DEBUG to NODEBUG) and they work great solo. This an 18F252 chip program.
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Fri Nov 12, 2004 7:27 pm     Reply with quote

What software and hardware are you using for programming your target?
dyeatman



Joined: 06 Sep 2003
Posts: 1938
Location: Norman, OK

View user's profile Send private message

PostPosted: Sat Nov 13, 2004 1:16 pm     Reply with quote

What clock setup are you running? Are you using 4xPLL?
ljbeng



Joined: 10 Feb 2004
Posts: 205

View user's profile Send private message

PostPosted: Mon Nov 15, 2004 8:19 am     Reply with quote

I have compiled it on many version but my latest is 3.212 It doesn't matter if I use the CCS ICD or QuickWriter, the chip will not start up unless I keep both lines in there. I have tried to narrow it down to one line or the other but it takes both. I am using a 20MHz crystal and an 18F252.
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Mon Nov 15, 2004 4:08 pm     Reply with quote

Watchdog! On some chips having DEVICE ICD=TRUE automatically disables the watchdog. Maybe that is your problem?
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