I am getting error message when I go to debugging dspic33ch128mp508 curiorsity development board. I inculded the configuration settings at the begining of the programme. error message :
"Target Device Not Ready For Debugging Check Config Bits PGC, PGD Settings".
You did not specify what programmer you are using, and what pins are aavailable to programming connector, anyway if I were you I would investigate this line:
Code:
#pragma config JTAGEN = OFF // JTAG Enable bit (JTAG is disabled)
You did not specify what programmer you are using, and what pins are aavailable to programming connector, anyway if I were you I would investigate this line:
Code:
#pragma config JTAGEN = OFF // JTAG Enable bit (JTAG is disabled)
Unlikely, it's 18 years old. I guess you mean MPLAB X IDE 5.10.
Code:
#pragma config ICS = PGD3
You didn't tell which debug adapter you are using, I guess Curiosity On-Board PICkit? If so, it seems to connect to PGD2 according to the schematic rather than PGD3 selected in your configuration. This would cause the reported behavior, programming works but debugging fails.