Pravin Gosavi
Member
Hello everyone. I have to use a dsPIC30F2010 for a project. So to program it, I just bought a PIC KIT 3 from a licensed manufacturer of Microchip, It's not a clone that's what they claim. I am not able to program the dsPIC using the PK3. I have read many documents and also followed the steps other people followed when they encounterd a problem with PK3. I have used PK2 for atleast a decade using standalone PK2 software. Here's what I have-
1. I have connected all the pins required for programing and to power all the peripherals.
2. I am using MPLAB X IPE v5.45 to program.
3. I am able to program PIC16F777 and other PICs using a different ZIF Programing socket.
4. I have soldered another ZIF on a zero PCB and made connections according to dsPIC30F2010.
Connections are:
Pin no. 1-MCLR connected to VPP of PK3 and tied to VDD using a 4K7 resistor
Pin no. 13-Vdd 20-Vdd 28-AVdd to VDD of PK3
Pin no. 8-Vss 19-Vss 27-AVss to VSS of PK3
Pin no. 17-PGD to PGD of PK3
Pin no. 18-PGC to PGC of PK3
Also ceramic 0.1 uf connected between each VDD and VSS near dsPIC
I have cross checked the connections atleast 100 times. I also tried to program using external 5 V supply but still unable to program.
I also have checked VPP voltage level rising using a DSO, also I noticed PGC and PGD pins have some waveforms when I click program or erase or read, So there is no short or fault in connections.
Following error occurs after I try to program:
"program memory: start address = 0x0, end address = 0x5ff
configuration memory
program memory
Address: 0 Expected Value: 404fa Received Value: 3e
Failed to program device"
1. I have connected all the pins required for programing and to power all the peripherals.
2. I am using MPLAB X IPE v5.45 to program.
3. I am able to program PIC16F777 and other PICs using a different ZIF Programing socket.
4. I have soldered another ZIF on a zero PCB and made connections according to dsPIC30F2010.
Connections are:
Pin no. 1-MCLR connected to VPP of PK3 and tied to VDD using a 4K7 resistor
Pin no. 13-Vdd 20-Vdd 28-AVdd to VDD of PK3
Pin no. 8-Vss 19-Vss 27-AVss to VSS of PK3
Pin no. 17-PGD to PGD of PK3
Pin no. 18-PGC to PGC of PK3
Also ceramic 0.1 uf connected between each VDD and VSS near dsPIC
I have cross checked the connections atleast 100 times. I also tried to program using external 5 V supply but still unable to program.
I also have checked VPP voltage level rising using a DSO, also I noticed PGC and PGD pins have some waveforms when I click program or erase or read, So there is no short or fault in connections.
Following error occurs after I try to program:
"program memory: start address = 0x0, end address = 0x5ff
configuration memory
program memory
Address: 0 Expected Value: 404fa Received Value: 3e
Failed to program device"