my simplified pickit2 clone - mein !!!
DESCRIPTION
picTRANSCRIPT
12/8/12 My simplified pickit2 clone - MEIN !!!
1/7simon.derr.free.fr/site/spip/spip.php?article11
-->
My simplified pickit2 clone-->
This is a description of my very simplified home-made pickit2 clone.
Basically I took the schematic in the User Guide and removed everything I
could.
What I removed:
Leds (pretty useless)
The eeproms (they are not even used by the firmware)
The Vdd circuitry. Hence this programmer can not supply power to the target
circuit. I thought this would be a problem for older devices such as 16F628 or
16F877A that, in theory, require Vpp before Vdd, but actually, it works anyway !
The switch.
My simplified pickit2 clone - MEIN !!!
2/7simon.derr.free.fr/site/spip/spip.php?article11
Notes:
The self-inductance L1 is supposed to be 680 uH. I used an unknown one,
salvaged from an old PC power supply. It’s the black cylinder in the photo.
Since the Vpp voltage is regulated, that should not matter.
12/8/12 My simplified pickit2 clone - MEIN !!!
3/7simon.derr.free.fr/site/spip/spip.php?article11
The 10-ohm R1 is here so that C6 does not draw too much current from the USB
when you plug the programmer.
C4 must have a voltage rating of at least 25V.
The Vdd feedback is set to a fixed value of 3.4V, which is OK for both 5V and
3.3V PICs. I have successfully programmed 16F, 18F, dspic30, and dspic33 chips
with this programmer.
(Some parts from the schematic do not appear on the photo because I used
second-hand SMD resistors, and hence they are on the other side of the circuit.
The layout was originally designed for regular thru-hole components, though.
See below.)
This circuit is very simple, and I built it on a veroboard.
Here is the layout that I used :
12/8/12 My simplified pickit2 clone - MEIN !!!
4/7simon.derr.free.fr/site/spip/spip.php?article11
The same, viewed from below:
The lightblue marks are the places were I did cut the strips of the veroboard
(with a Dremel).
There’s a slight caveat, of course: to build this PIC programmer, you need a ...
PIC programmer, to load this
12/8/12 My simplified pickit2 clone - MEIN !!!
5/7simon.derr.free.fr/site/spip/spip.php?article11
[http://simon.derr.free.fr/site/spip/IMG/zip/PK2V021000.hex.zip] program on
the 18F2550.
You can then use the program supplied by Microchip (Here
[http://www.microchip.com/stellent/idcplg?
IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023805]) to use it, or
to troubleshoot it (Check that Vpp works fine. That’s pretty much all that
remains in this circuit). The first time that you launch it it will update the
firmware to its newest version.
Conclusion
12/8/12 My simplified pickit2 clone - MEIN !!!
6/7simon.derr.free.fr/site/spip/spip.php?article11
It works ! And now you can program your PICs directly from inside MPLAB. Very
handy. And VERY fast.
12/8/12 My simplified pickit2 clone - MEIN !!!
7/7simon.derr.free.fr/site/spip/spip.php?article11
Attached documentsPickit2 firmware (Zip - 21 kb)
Schematic and board layout, in eagle format (Zip - 68.7 kb)
-->