Page 1 of 1

MPLAB ICD 3 cannot identify development board

PostPosted: Mon Oct 17, 2011 6:16 am
by ran10
Hi I had run build the Test1 code in MPLAB it shows BUILD SUCCEEDED. but, when i connect to the MPLAB to development board for debugge it says
MPLAB ICD 3 detected
Connecting to MPLAB ICD 3...
Firmware Suite Version...... 01.26.71
Firmware type......................dsPIC33F/24F/24H
MPLAB ICD 3 Connected.
ICD3Err0045: You must connect to a target device to use
MPLAB ICD 3.

and if I Run the ICD3 test Interface it says
ICD3Err0063: Test interface PGC clock line write failure.
Please ensure that the tester is properly connected.

Test interface PGD data line write not tested.

Test interface PGC clock line read not tested.

Test interface PGD data line read not tested.

Test interface LVP control line not tested.

Test interface MCLR level not tested.

ICD3Err0057: Interface test could not be completed. Please
contact your local FAE/CAE to SAR the unit.

Please help me on how to debugge the test1 code on db.

Re: MPLAB ICD 3 cannot identify development board

PostPosted: Tue Oct 18, 2011 4:32 pm
by Andrew
1. I assume you are connecting the MPLAB ICB directly to the PSPM D or E on your Dev Board.

2. I assume that the socket is correctly closed, and there's a chip inside ...

3. Most likely your problem is one of a proper connection ... Keep in mind that we program each chip here at Pumpkin befvore it goes out to you.

That said, the way Pumpkin uses the dsPIC33 requires that MPLAB Configuration words be defined to "tell" the chip which of the PGC/PGD pins are to be used by the MPLAB ICD. This is the _FICD ( ICS_PGD3 & JTAGEN_OFF ) in the associated init.c . For whatever reason, the dsPIC33s need this, but the PIC24s do not ... so if you are writing you rown application, you need to ensure that these config bits are set correctly.