Pic-icd2-programming-adapter-pickit3 User Manual

Tis45 user manual, 1985 cadillac deville owners manual, sigma cr 840 handbuch, spirit fiets handleiding, lg smart drum clotheswasher user manual, ade 352 workshop manual pdf, insignia flat screen tv user manual, bauknecht wa care 32 di bedienungsanleitung, canon mx310 users guide on screen manual.

  1. Pickit 1

ICSP Programming Adapter for 8/14/16/18/20 Pin DIP PIC12F/16F

This is a simple programming adapter for use with the PICkit2/3 programmers. It can be built using the PCB provided, on stripboard or a breadboard and allows the popular 8 to 20 pin PICs to be programmed.

If you regularly work with larger PICs this adapter may be of limited use. I generally work with the smaller PICs so a 20-pin adapter is practical for my needs day-to-day.

For ICSP (In-Circuit Serial Programming) the PIC requires only 5 connections between the PICkit2/3 programmer and the PIC. Since all pins on the PIC are set to either digital or analogue input at reset the programming signals and power can be applied to multiple pins without damaging anything or affecting programming. The Vpp signal which is raised to around +12.5volts during programming is applied to only one common pin so this doesn't present any issues. (This adapter doesn't work with the 10Fxxx PICs as they have a completely different pin out for the ICSP connections)

LED1 / R1 are just to give visual indication of power to the circuit and are not required for programming.

The output connector on the PICkit2/3 is a 6 pin socket. Be sure to connect the 5 pin ICSP plug to the socket starting from pin 1 (see below)

You can use a standard 20 pin DIP socket or a ZIF (Zero Insertion Force) socket for SKT1.

For those who don't have the facilities to make their own PCB you can build the programming adapter on a small stripboard as shown below

Cut tracks at the points marked in red

For ICSP (In-Circuit Serial Programming) the PIC requires only 5 connections between the PICkit2/3 programmer and the PIC.

Connections for some common PICs are shown below.

ICSP Programming info

Notes

  • Microchip do not support the 16F84 with the PICkit2/3 programmers. The PICkit2 does support the 16F84A.

  • The PICkit2 can program the 16F84 using a modified data file. More information can be found in this thread on the Microchip forum site. http://www.microchip.com/forums/m380459.aspx

  • PIC Microcontrollers with more than 20 pins use the same five ICSP signals. While they won't fit on this adapter, if you need to program a bigger PIC all you need to do is identify the pins from the datasheet for the specific device and connect them to the PICkit programmer.

  • This adapter doesn't work with the 10Fxxx PICs as they have a completely different pin out for the ICSP connections. To program these devices you will need to make a modified adapter

PICkit 6-pin connector

The PICkit 2/3 programmers use a 6 pin socket. The PICkit programmer can program a range of EEPROM memory devices as well as PIC microcontrollers.

  • The memory devices use pin 6 ( Auxiliary pin).

  • PIC microcontrollers use a 5 pin ICSP header - they do not use pin 6

Pin 1 of the PICkit programmer is indicated by a triangular shaped mark. Connect pins 1-5 of the PICkit programmer to the corresponding pins of the ICSP header plug. Do not connect pin 6.

For more information read the PICkit User Guide available as a PDF download from the Microchip website

PICkit2: Microchip part number PG164120
PICkit3: Microchip part number PG164130

These are available from Farnell

  • PICkit2 order code: 9847170
  • PICkit3 order code: 1771323

The PICKit programmer is a small device that connects to a PC via a USB interface. There are two versions now available; the PICkit2 and PICkit3. Either version will work with the programming adapter as they have the same ICSP pinout.

The PICkit2 is still a good choice, lower cost and supports all the PICs listed above. It is available as a basic programmer-only option or packaged with development boards. Unless you specifically want the development board you should buy the basic programmer. Microchip part number for this is PG164120, it includes a USB cable and software on CD (the latest software is available to download free from the Microchip website)

Be aware that the development boards are not general purpose programming sockets. You will still need to make a programming socket adapter of some kind to program PICs other than that supplied with the development board.

Follow this link for more information on other suppliers of PICkit programmers

You will need a PICkit2/3 programmer and the free software that comes with the programmer. The latest versions of MPLAB and PICkit2 standalone application can be downloaded from the Microchip website

Connect the adapter to the PICkit programmer using the 5-pin header plug. Make sure to align it so pin 1 connects to the end of the PICkit socket marked by the white triangle.

Insert the PIC into the adapter socket. For PICs with less than 20-pins make sure they are inserted at the top of the socket (see overlay)

Notes:

  • To program the PIC using ICSP the PIC does not require any external power supply connections; the programmer will supply power.

  • During programming the PIC is operating in a different mode to normal operation. Therefore no external crystal or timing components are required, even if the PIC will use these in the final application.

Contact us:

PIC microcontroller IN-CIRCUIT debugger and programmer

PIC-ICD2 debugger and programmer is a complete replacement of Microchip's original MPBA-ICD2 and with it you can do everything you could do with the original MPLAB-ICD2. PIC-ICD2 is a low-cost, real-time debugger and programmer for selected PIC MCUs and dsPIC DSCs. Programs can be downloaded, executed in real time and examined in detail with the debug functions of MPLAB. Set watch variables and breakpoints from symbolic labels in C or assembly source code, and single step through C source lines or into assembly code. PIC-ICD2 can also be used as a development programmer for supported MCUs. The secret behind In Circuit Debugging is two dedicated hardware lines (microcontroller pins used only during debugging mode) that control In Circuit Serial Programming (ICSP) of the device and, afterwards, debugging through proprietary, on-chip firmware. The ICD 2 debug features are built into the microcontroller and activated by programming the debug code into the target processor. There is some shared overhead expense that includes one stack level, some general purpose file registers and a small area of program memory.

FEATURES

  • USB (Full Speed 2 M bits/s) interface to host PC
  • Real time background debugging
  • MPLAB IDE GUI (latest release available for free download from Microchip's web site)
  • Built in over-voltage/short circuit monitor
  • Firmware upgradeable from PC
  • Light plastic enclosure
  • Supports low voltage to 2.0 volts. (2.0 to 6.0 range)
  • Diagnostic LEDz (Power, Busy, Error)
  • Reading/Writing memory space and EEDATA areas of target microcontroller
  • Programs configuration bits
  • Can erase program memory space with verification
  • Peripheral freeze-on-halt stops timers at breakpoints

SOFTWARE

MPLAB-IDE - you can download the latest version from Microchip's web site.
VERY IMPORTANT MPLAB 8.XX has a bug and once upgraded you will not be able to use the PIC-ICD2 RS232 interface anymore as this bug affects RS232 communication. So do not use the MPLAB 8.XX until Microchip fix its bug, or you will only be able to use the USB connection. This bug affects not only our PIC-ICD2 but the original MPLAB-ICD2 as well.

FAQ

User
  • What's the difference between PIC-ICD2 and MPLAB-ICD2?
  • There is no functional difference between them and PIC-ICD2 is 100% compatible with MPLAB-ICD2. The only difference is the ICSP connector - Microchip uses a RJ45 phone jack connector, we use a 0.1' step connector
  • Why are there two ICSP connectors on the PIC-ICD2, which one I should use?
  • There is no functional difference between them and PIC-ICD2 is 100% compatible to MPLAB-ICD2. The only difference is the ICSP connector - Microchip uses a RJ45 phone jack connector, we use a 0.1' step connector
  • Why are there two ICSP connectors on the PIC-ICD2, which one I should use?
  • You should use the connector labelled ICSP-DEBUG next to USB connector, the other ICSP connector (down right on the picture) is the connector which we use to load PIC-ICD2 firmware and diagnostic the PIC-ICD2 during production tests.
  • What should I know when connect PIC-ICD2 to target board?
  • It's very important your target PIC MCLR not to be connected directly to the VCC! During the programming/debugging MCLR goes as high as 13VDC and if your target MCLR is connected directly to the target VCC you will blow either the PIC-ICD2 or your target board. Always use a 10K pullup resistor from MCLR to VCC.
  • What should I know when connecting PIC-ICD2 and RS232 port?
  • COM port should be set with HARDWARE FLOW CONTROL and FIFO buffers DISABLED.
  • I'm on a very low budged. What is the difference between PIC-ICD2 and PIC-ICD2-TINY?
  • There are two major differences between PIC-ICD2 and PIC-ICD2-TINY: 1. TINY only has a RS232 port and works slower than PIC-ICD2; 2. TINY has a fixed 13VDC Vpp while PIC-ICD2 has a variable voltage Vpp. Some new PIC microcontrollers have a max limit of 12.5V for Vpp and a diode drop circuit should be used if you work with TINY.

Related Products - People who bought this product also bought

Price2.00 EUR
10 - 49 pcs1.80 EUR
50 - 10000 pcs1.60 EUR

Pickit 1

Price3.00 EUR
10 - 49 pcs2.70 EUR
50 - 10000 pcs2.40 EUR