My simplified pickit2 clone

自制简易Pickit2克隆版

http://simon.derr.free.fr/site/spip/spip.php?article11

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.

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.

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 :

 

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 program on the 18F2550.

You can then use the program supplied by Microchip (Here) 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.

http://simon.derr.free.fr/site/spip/IMG/zip/PK2V021000.hex.zip

http://simon.derr.free.fr/site/spip/IMG/zip/pickit.zip

 

转载于:https://www.cnblogs.com/shangdawei/p/3188988.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值