DIY PICmicro K149 Скачать руководство пользователя страница 9

In Circuit Serial Programming

This programmer is capable of doing In Circuit Serial Programming (ICSP).

ICSP allows you to program a PICmicro® that is already plugged into it’s target
circuit. That is, the chip does not need to be in the programmer socket to
program it.

The circuits on the following page give some ICSP connection examples.

ICSP programming needs to have control of two PIC pins which are used for
Clock and Data. These are usually PORTB pins RB6 and RB7. It also needs to
control the MCLR pin and the VCC pin(s). A common ground connection must
also be made.

In some cases the ICSP programmer cannot reliably control the programming
pins on the PIC because of any connections to these pins that form part of your
circuit. Voltage rise times can be critical for programming and if your circuit draws
too much current, or has a high capacitive load then ICSP may not work.

If your target circuit draws more than around 60mA, or your circuit is not suitable
for an external 5 volt supply. then your circuit will need to supply the 5 volt power.
In this case leave the VccP wire disconnected. Some PIC chips need to have the
5 volt rail specifically controlled, and will not be able to be programmed with the
VccP wire disconnected. The 16F675 is one example.

Not all circuits will accept ICSP programming, so if you cannot get the chip to
program properly using this mode, then the only options are to totally isolate the
PIC on the target board, or just use the programming socket.

Be aware that incorrect connections between your circuit and the ICSP
connector may cause damage to both your circuit and the programmer.

Please note that LVP programming is not supported.

Содержание PICmicro K149

Страница 1: ...K149 USB PICmicro Programmer DIY Electronics HK Ltd PO Box 88458 Sham Shui Po Hong Kong http www kitsrus com mailto peter kitsrus com Last Modified March 3 2003...

Страница 2: ...nted USB chip is sensitive to static electricity discharge and could be damaged by mishandling of the PCB Be careful with the board and avoid touching any of the tracks or pads while assembling it Try...

Страница 3: ...components and practice on these before building the programmer board Check that each solder joint is bright and shiny and doesn t look like a big dull blob which could mean a dry solder joint The so...

Страница 4: ...ou should go over all of your work and inspect for dry or unsoldered joints and check all components for correct orientation and placement If you are satisfied that all is well then you will need an 1...

Страница 5: ...wire link LK1 near the power jack This can be a discarded pigtail from a resistor or capacitor This link completes the power connection to the USB chip and its circuitry Now insert the PIC16F628 into...

Страница 6: ...USB capability for your PC and this project you will need to install a special driver This is a piece of software that handles the communications between the PC and the special USB chip on the program...

Страница 7: ...Select the COM port that you selected for use for USB communications while installing the driver thenOK The PC may take a short while to establish communications with the USB port When it has done so...

Страница 8: ......

Страница 9: ...ltage rise times can be critical for programming and if your circuit draws too much current or has a high capacitive load then ICSP may not work If your target circuit draws more than around 60mA or y...

Страница 10: ...ICSP PROGRAMMING EXAMPLES...

Страница 11: ...L3 3mm LED 1 VCCP L2 3mm LED RESISTORS all 1 4W 5 2 10R R20 R23 1 470R R25 5 1K R1 R4 R12 R13 1 1K5 R22 3 2K2 R5 R10 R15 1 3K3 R8 3 4K7 R11 R14 R16 8 10K R2 R3 R6 R7 R9 R21 R28 R29 1 22K R17 4 100K R...

Страница 12: ...U4B TR2 BC558 R6 10K R4 1K 5 6 U4C VON SVP1 SVP2 Vcc VccP Gnd Gnd VccP Gnd Gnd AVCC 30 VCC 3 VCC 13 VCC 26 USBDP 7 USBDM 8 3V3OUT 6 XTIN 27 XTOUT 28 RCCLK 31 RESET 4 EECS 32 EESK 1 EEDATA 2 TEST 5 AGN...

Страница 13: ......

Страница 14: ......

Страница 15: ......

Страница 16: ......

Отзывы: