PICKIT2 prolem

Thread Starter

pekka123

Joined May 18, 2017
40
Hey, I have had a PICKIT2 programming problem.

I have used my other PCB board, and it recognize PIC16F886-I/S0, but when I connect PICKIT2 to this board, it says that "PIC is connected ID=OH3GDO" (my name) .
Then when I try to load the same hex file as just before, the PICKIT2 says "Device error -hex file not loaded."
When I look with Troubleshoot.., the voltage is about normal 4.5V and VPP is and pin1 is 12V, and pins 28 and 27 go like normal from 0 to 4.3V and back.
I measure also DC voltage at pin 20. it was 4.5V and ground pin 21 to 5V, it was -4.5, similarly pin8 to VCC it was -4.5 V.
I changed a new PIC16F886-I/SO, but it doesn't helped.

So the programmer works with other boards, the fail must be in this board.

It has LM7805 regulator with 0.1uF power capacitor.
I have used the programmer with or without power.

I have used Troubleshooting program to measure power, programming voltage to pin 1, with 12V, Data and Clock to pin 28 and 27.
The PICKIT2 seems to work, but not programming with my new board.

I have used the similar PCB board before and it has worked.
I have used the other PICKIT2, but it doesn't help.

Pekka OH3GDO
 

BobTPH

Joined Jun 5, 2013
11,463
You said your “other” pcb. Does that mean you have two identical pcb’s and one programs and the other does not?
 

Thread Starter

pekka123

Joined May 18, 2017
40
Yes I have, but now I am using a little different PCB. It has only PIC16F886 and small 7805 regulator from RS232 power and RS232 inverted UARTs. So without inverting transistors. The problem PCB is actually for moving antenna from 1 km distance with power and signal cable together. It must move back and forth in different position. The other end has LCD display to show the antenna position.
 

nsaspook

Joined Aug 27, 2009
16,251
The language is not a problem, because the other PCB programs normally with the same PICKIT2.
Good one. ;)

There is a likely problem with the board. Get your trusty meter and eyeball, check for solder shorts or open connections on every trace from interface to the PIC chip pins on the board.
 

Thread Starter

pekka123

Joined May 18, 2017
40
Yes, I think also that is my PCB board problem, but I have measured all the connections from PICKIT2 to Board, VCC, GROUND, data signal, data clock. The ground from both the side of PIC16F886. Power signal is 0.1uF grounded. The PIC is changed, the board has before worked. I have a quite new meter, and I do not to use eyeglasses. It is the same with or without power supply.
I have still the new PCBs, Have I try it?
 

Thread Starter

pekka123

Joined May 18, 2017
40
I took a new PCB and put old PIC16F886-I/SO to it, nothing else.
I connect PICKIT2 and tried to program it.
It succeed!
But what is wrong in the other new PCB?
I do not care.
I took the parts off and put them to the new PCB.
 

BobTPH

Joined Jun 5, 2013
11,463
I took a new PCB and put old PIC16F886-I/SO to it, nothing else.
I connect PICKIT2 and tried to program it.
It succeed!
But what is wrong in the other new PCB?
I do not care.
I took the parts off and put them to the new PCB.
It was likely a solder bridge then.
 
Top