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

PIC16F88 Always in Debug Mode

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







PIC16F88 Always in Debug Mode
PostPosted: Thu Dec 09, 2004 8:21 am     Reply with quote

I have developed a simple comms. system using the PIC16F88 and have been using the debug mode in the PIC via ICD2. However now I want to complie the code for production I cannot turnoff the debug mode.

I have entered NODEBUG in the #fuses line, however when trying to program the target in MPLAB it states the configuration bits are set to Debug and asks if you want to turn it off.

I'm using the CCS 3.188 compiler and MPLAB 6.5

Can anyone help
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Thu Dec 09, 2004 8:38 am     Reply with quote

Goto Debugger and select none.
Goto the Programmer and select the ICD2.
Compile you code.
Then try and program the chip.
MDensley
Guest







PostPosted: Thu Dec 09, 2004 10:07 am     Reply with quote

I have tried this many times and still will ask to turn off the Debug.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Dec 09, 2004 1:19 pm     Reply with quote

Try this:
In MPLAB, click the button for Erase Flash Device.
Then try to program it using Mark's method.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Thu Dec 09, 2004 1:35 pm     Reply with quote

Do you have this in there also?
Code:

#device ICD=TRUE


If so, take it out.
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