DIY编程器网

标题: In-Circuit PIC Loader [打印本页]

作者: liyf    时间: 2011-11-24 20:45
标题: In-Circuit PIC Loader
[size=+4]In-Circuit PIC Loader [size=+2]Wichit Sirichote, kswichit@kmitl.ac.th


[size=-1]This loader connects the PC printer port and works with WinPic800. The loader gets DC supply from application board and provides +12V for high voltage programming mode. We can use it for programming many PIC chips easily.

[size=-1]Figure 1: In-circuit PIC Loader.
[size=-1]Hardware Schematic [size=-1]The In-circuit serial programming for PIC chips requires only three signals, i.e. a bi-directional DATA line (PGD), a synchronize clock (PGC), and a +12V Flash programming voltage (VPP). U1A is a tristate buffer for sending data stream. U1B is for clock stream. Both gates disconnect the signals, PGD and PGC from application board when VDD is turned off. The programming voltage +12V, is generated by DC-to-DC converter, U4 MC3406A. The hardware settings for WinPic800 is compatible with Propic2.   
[size=-1]Figure 2: Schematic and BOM.

[size=-1]The layout of TOP and BOTTOM layers are shown below.

[size=-1]
[size=-1]Figure 3: TOP layer. [size=-1]Figure 4: Bottom Layer.

[size=-1]Figure 5: Component Layout. [size=-1]Figure 6: The test board PIC18F458 and DS1820.
[size=-1]I built the test board with PIC18F458, DS1820 and 20x4 LCD display. Figure 7 shows hardware schematic of the test board. The test program displays temperature from -40C to +150C on LCD. Figure 8 shows code window of PIC18F458.

How to use WinPic800 with PIC loader.

1. Select PIC chip.
2. Load hex file.
3. Set hardware mode to Propic2.
4. Check configuration fuses.
5. Click program.


[size=-1]Figure 7: Test board schematic. [size=-1]Figure 8: Code window of PIC18F458.

[size=-1]Download

[size=-1]
[size=-1]Schematic PICLOADER and TEST BOARD[size=-1]picloader.pdf testboard.pdf
[size=-1]LCD Test code[size=-1]LCD_TEST.HEX






欢迎光临 DIY编程器网 (http://diybcq.com./) Powered by Discuz! X3.2