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

ICDWarn0035: Debug mode must be disabled. Disable debug mo

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



Joined: 12 Sep 2003
Posts: 32
Location: France (Paris)

View user's profile Send private message

ICDWarn0035: Debug mode must be disabled. Disable debug mo
PostPosted: Tue Sep 14, 2004 8:07 am     Reply with quote

Hi,

MPLAB 6.60, CCS 2.07, PIC 16F876

When I run MPLAB in programmer mode, and when I program the PIC I have this error message :
"ICDWarn0035: Debug mode must be disabled. Disable debug mode or cancel?"

Is there a solution in the fuses?? to remove this message.
Thank you
Franck
Mark



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

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

PostPosted: Tue Sep 14, 2004 10:25 am     Reply with quote

Do you have ICD=True in your code? If so, comment it out.
franckcl



Joined: 12 Sep 2003
Posts: 32
Location: France (Paris)

View user's profile Send private message

PostPosted: Wed Sep 15, 2004 12:44 am     Reply with quote

here is my program :

#device PIC16F876
void Main()
{
}

And when I try to program the pic, I have always this error message.
Franck
Haplo



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

View user's profile Send private message

PostPosted: Wed Sep 15, 2004 1:31 am     Reply with quote

For the starters, ALWAYS include the corect header file for your PIC and make sure you have proper #fuses settings in your code. Something like:

Code:

#include <16F876.h>

#fuses XT, NOWDT, PUT, NOPROTECT, BROWNOUT, NOLVP, NOCPD, NOWRT, NODEBUG

void main()
{
}

franckcl



Joined: 12 Sep 2003
Posts: 32
Location: France (Paris)

View user's profile Send private message

PostPosted: Wed Sep 15, 2004 1:53 am     Reply with quote

It's works !!! I don't know why but it's works !!!

I have copy my project in an other one with a different name and now, I don't have this error message.
Strange..........
thank you for your help
Franck
Mark



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

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

PostPosted: Wed Sep 15, 2004 5:52 am     Reply with quote

Quote:
NODEBUG
Haplo



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

View user's profile Send private message

PostPosted: Wed Sep 15, 2004 4:59 pm     Reply with quote

As I said, always include the corect header file for your PIC and make sure you have proper #fuses settings in your code. Fuses like XT (oscillator type), NOLVP (No voltage programming) and NODEBUG are important (based on your circuit you may need to choose other values for them though).
And never let your code reach the end of main(). Always use a while(1); or something similar to prevent this.
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