I recently bought a pickit3, I have a development board for the dsPIC30f but it the pickit3 doesn't seem to be able to read the chip. When I try to connect to the chip, I have the error:
Target Device ID (0x0) does not match expected Device ID
At first, I had an error that the pickit couldn't detect a voltage on vdd. I fixed it by either powering the dev board with an external power supply or powering the devboard using the pickit (with the advanced settings). Unfortunately, the pickit doesn't seem to be able to power the device with 5v and I have to set a voltage below 4.75v.
After that, I have the problem with the device id that can't be detected... Now, I'd like to put my pic on a breadboard with the simplest schematic to program it.
That's what I have so far:
It's quite difficult for me to get around the datasheets of microchip. I couldn't find anywhere why a resistor and a capacitor are required on vpp.
I guess the schematic I made might be wrong as the VPP pin should be able to power up to 13v.
Also, as I never succeeded to get the pickit3 working yet, any idea how to verify if the voltage emitted from VPP is right. As I understand, in order to get the dspic in programming mode, the pickit has to provide between 12v and 13.5 volts on the vpp/mclr pin. I tried to measure VPP with my multi metter but I guess my multimetter is too slow to pick the voltage right away.
Edit: New schematic with decoupled vss/vdd and 100ohm on vpp added.