View previous topic :: View next topic |
Author |
Message |
MDensley Guest
|
PIC16F88 Always in Debug Mode |
Posted: Thu Dec 09, 2004 8:21 am |
|
|
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
|
|
Posted: Thu Dec 09, 2004 8:38 am |
|
|
Goto Debugger and select none.
Goto the Programmer and select the ICD2.
Compile you code.
Then try and program the chip. |
|
|
MDensley Guest
|
|
Posted: Thu Dec 09, 2004 10:07 am |
|
|
I have tried this many times and still will ask to turn off the Debug. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Dec 09, 2004 1:19 pm |
|
|
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
|
|
Posted: Thu Dec 09, 2004 1:35 pm |
|
|
Do you have this in there also?
If so, take it out. |
|
|
|