View previous topic :: View next topic |
Author |
Message |
eyewonder300
Joined: 09 Jun 2004 Posts: 52
|
Unable to debug 16F887 w/ICD-U40 |
Posted: Tue Mar 31, 2015 3:46 pm |
|
|
I am able to use the debug functions of the CCS compiler IDE when using a PIC16F877A, but when I plug in a 16F887, adjust the fuses as appropriate and recompile, I can not get the debug functions to work. I just get a boat-load of verification errors. I CAN program the F887 & it verifies OK - it's just the debug that will not work.
CCS v4.069
ICD-U40
Unit: ICD-S
Product ID: 0
Firmware: 1.39
PCB Rev: 0
Name: 00CD91IO
Anyone see something obvious that I should be doing?
Cheers,
Steve |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
eyewonder300
Joined: 09 Jun 2004 Posts: 52
|
|
Posted: Wed Apr 01, 2015 6:08 am |
|
|
PCM,
I had already come across that thread, had read the errata sheet about grounding PIN_B3 if unable to program, BUT ... I was able to program the chip as long as I had the debug features commented out in the header. I never received any verification errors when doing a straight program, only when the debug features were set up.
Doesn't the debug info from the chip come out PIN_B3 thru pin 6 of the ICD connector? If it does, and that line was grounded, you could not receive any debug info.
BTW, this project has PIN_B3 connected to the ICD connector, pin 6 - no other use of that pin.
Cheers,
Steve |
|
|
|