PIC-TOOLS Home

ICSP

  HOME  ◊  ABOUT US  ◊  PRODUCTS  ◊  PRICES  ◊  SALES  ◊  SUPPORT  ◊  CONTACT 2008-02-21  

In-Circuit Serial Programming


ICSP (In-Circuit Serial Programming) or ISP (In-System Programming) is a method for programming electronic devices directly in the target circuitry. This is recommended programming style for today's MCU and PLD-based applications.


Comprehensive description of ICSP/ISB is available here:





THE FOLLOWING INFORMATION IS NOW OBSOLETE AND WILL BE REMOVED SOON.



The application must meet following conditions:

  • -MCLR/VPP pin of the microcontroller must be isolated from reset circuitry (e.g. by 47 kOhm resistor). During the programming +13 V is applied to this pin and rising edge of this signal must not be affected by the application circuitry.
  • RB6 and RB7 pins must be disconnected from the application circuitry during the programming (e.g. can be used as inputs).

All our PIC programmers with the parallel port interface (PICCOLO, PICCOLO GRANDE, PICQUICK and CAPR-PI) use the following ICSP Cable with 6 pin/5 signal single line header, 2.54 mm raster.

NOTE: The USB programmer PRESTO uses the enhanced 8-pin connector, upwardly compatible with the one described below.

ASIX ICSP Cable pinout:

[ASIX ICSP Cable]


The part to be programmed connects to ICSP connector of the programmer using a cable according to following chart:

 Pin Number   Signal Name   ICSP Connector 
1  -MCLR  VPP/-MCLR
2    unused (key)
3  VCC  VCC
4  GND  GND
5  RB7  DATA
6  RB6  CLOCK

Further, it must be ensured that there is log.0 on the "Low Voltage Programming" pin (e.g. by using pull-down resistor connected to this pin). Placement of this pin for particular device:

 Device Family   LVP Pin 
 PIC16F62x   RB4 
 PIC16F87x   RB3 
 PIC18Fxxx   RB5 

Blocking capacitor between VCC and GND should not exceed 100 μF. Power consumption of application circuitry connected to VCC should not exceed 10 mA during the programming. -MCLR pin must not be connected directly to VCC (it may be connected through resistor of 47 kOhm), the application circuitry must be tolerant to +13 V supplied to -MCLR.

ICSPCAB

ICSPCAB
6 pin <-> 6×1 pin

ICSPCAB66

ICSPCAB66
6 pin <-> 6 pin


Example schematics of ICSP interface

[ICSP Schematics]


For more information do not hesitate to contact us!

© ASIX s.r.o., 1991-2008. All rights reserved.