In-Circuit PIC Loader
In-Circuit PIC Loader Wichit Sirichote, kswichit@kmitl.ac.thThis 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.
http://chaokhun.kmitl.ac.th/~kswichit/picloader/loader.jpg
Figure 1: In-circuit PIC Loader.
Hardware Schematic 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.
http://chaokhun.kmitl.ac.th/~kswichit/picloader/small.png
Figure 2: Schematic and BOM.
The layout of TOP and BOTTOM layers are shown below.
http://chaokhun.kmitl.ac.th/~kswichit/picloader/top.pnghttp://chaokhun.kmitl.ac.th/~kswichit/picloader/bottom.png
Figure 3: TOP layer. Figure 4: Bottom Layer.
http://chaokhun.kmitl.ac.th/~kswichit/picloader/sst.pnghttp://chaokhun.kmitl.ac.th/~kswichit/picloader/f458.jpg
Figure 5: Component Layout. Figure 6: The test board PIC18F458 and DS1820.
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.
http://chaokhun.kmitl.ac.th/~kswichit/picloader/testboard.pnghttp://chaokhun.kmitl.ac.th/~kswichit/picloader/winpic.png
Figure 7: Test board schematic. Figure 8: Code window of PIC18F458.
Download
Schematic PICLOADER and TEST BOARDpicloader.pdf testboard.pdf
LCD Test codeLCD_TEST.HEX
页:
[1]