ICSP Socket Module User's Guide

M
ICSP™ SOCKET MODULE
USER’S GUIDE
 2002 Microchip Technology Inc.
DS51113D
“All rights reserved. Copyright © 2002, Microchip Technology
Incorporated, USA. Information contained in this publication
regarding device applications and the like is intended through
suggestion only and may be superseded by updates. No
representation or warranty is given and no liability is assumed
by Microchip Technology Incorporated with respect to the
accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use
or otherwise. Use of Microchip’s products as critical components in life support systems is not authorized except with
express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property
rights. The Microchip logo and name are registered trademarks of Microchip Technology Inc. in the U.S.A. and other
countries. All rights reserved. All other trademarks mentioned
herein are the property of their respective companies. No
licenses are conveyed, implicitly or otherwise, under any
intellectual property rights.”
Trademarks
The Microchip name and logo, the Microchip logo, KEELOQ,
MPLAB, PIC, PICmicro, PICSTART and PRO MATE are
registered trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
FilterLab, microID, MXDEV, MXLAB, PICMASTER, SEEVAL
and The Embedded Control Solutions Company are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
dsPIC, dsPICDEM.net, ECONOMONITOR, FanSense,
FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP,
ICEPIC, microPort, Migratable Memory, MPASM, MPLIB,
MPLINK, MPSIM, PICC, PICDEM, PICDEM.net, rfPIC, Select
Mode and Total Endurance are trademarks of Microchip
Technology Incorporated in the U.S.A. and other countries.
Serialized Quick Turn Programming (SQTP) is a service mark
of Microchip Technology Incorporated in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2002, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received QS-9000 quality system
certification for its worldwide headquarters,
design and wafer fabrication facilities in
Chandler and Tempe, Arizona in July 1999
and Mountain View, California in March 2002.
The Company’s quality system processes and
procedures are QS-9000 compliant for its
PICmicro® 8-bit MCUs, KEELOQ® code hopping
devices, Serial EEPROMs, microperipherals,
non-volatile memory and analog products. In
addition, Microchip’s quality system for the
design and manufacture of development
systems is ISO 9001 certified.
DS51113D
 2002 Microchip Technology Inc.
12
ICSP™ SOCKET MODULE
USER’S GUIDE
Table of Contents
Chapter 1. Introduction
1.1
Welcome ......................................................................................... 1
1.2
Theory of Operation ........................................................................ 1
1.3
Kit Contents .................................................................................... 1
1.4
Supporting Documentation ............................................................. 2
Chapter 2. Hardware
2.1
Connectors ..................................................................................... 3
2.2
Cables ............................................................................................. 3
2.3
Switches ......................................................................................... 4
2.4
Electrical Specifications .................................................................. 4
Chapter 3. Features
3.1
Auto Detection ................................................................................ 5
3.2
GO Signal ....................................................................................... 5
3.3
Pass/Fail Indications ....................................................................... 5
3.4
Over Current Indicators .................................................................. 6
3.5
Low Voltage Programming ............................................................. 6
3.6
Typical Application .......................................................................... 6
 2002 Microchip Technology Inc.
DS51113D-page iii
ICSP™ Socket Module User’s Guide
DS51113D-page iv
 2002 Microchip Technology Inc.
M
1.1
ICSP™ SOCKET MODULE
USER’S GUIDE
Chapter 1. Introduction
WELCOME
Thank you for purchasing the ICSP Socket Module kit from Microchip Technology
Incorporated.
The ICSP socket module is an extension of the PRO MATE® II device programmer
that will allow the user to program Microchip PICmicro® microcontroller (MCU)
devices when the devices are already installed in the target board.
1.2
THEORY OF OPERATION
The ICSP socket module will boost the output current of the PRO MATE II to
provide power to the target board where the PICmicro MCU is installed. This is
accomplished by using an external power supply and circuitry on the module itself.
By using the ICSP socket module with PRO MATE II, the PICmicro MCU is
programmed and verified using the proper algorithm for production programming.
Please refer to the desired device programming specification (see Section 1.4.)
The socket module is protected from over current conditions on the target board by
current limit circuitry. An over current condition is indicated by red LED’s on the
socket module.
1.3
KIT CONTENTS
The ICSP Socket Module package contains the ICSP Socket Module, a +15V
current boost power supply, target interface cables and documentation.
The documentation package consists of:
• ICSP Socket Module User’s Guide (this document)
• ICSP Guide, which is a document that explains ICSP programming, and how
to implement ICSP in the target application to ensure reliable programming
results
• Packing list
• Important information sheet
 2002 Microchip Technology Inc.
DS51113D-page 1
Introduction
1.4
SUPPORTING DOCUMENTATION
This document describes how to use the ICSP socket module with PRO MATE II.
For more information on ICSP usage, the following documents are recommended
reading.
README for PRO MATE II
For the latest information on using PRO MATE II, read the README for
PRO MATE II file (an ASCII text file) in the MPLAB® IDE directory. For MPLAB IDE
v5.xx, the README file is named readme.pro. For MPLAB IDE v6.xx, the
README file is named Readme for PRO MATE II.txt. The README file
contains the most up-to-date information and known issues on PRO MATE II.
Programming Specifications
For information on how to program a specific device using ICSP, consult the
programming specification for that device. See the README for PRO MATE II for
a list of programming specifications of supported devices. Programming
specifications may also be found on the Microchip website at www.microchip.com.
Using the ICSP Socket Module with PRO MATE II (DS51243)
This poster contains helpful information on installing and using the ICSP socket
module with PRO MATE II.
In-Circuit Serial Programming (ICSP) Guide (DS30277)
This document contains helpful design guidelines to follow for successful ICSP
programming. It includes application notes on hardware designs and the ICSP
programming specifications.
PRO MATE II User’s Guide (DS30082)
A document describing how to use PRO MATE II programmer. Gives a system
description, explains how to install necessary hardware and software, shows how
to set up PRO MATE II to be used with MPLAB IDE, PROCMD or stand-alone. Also
gives examples of use.
DS51113D-page 2
 2002 Microchip Technology Inc.
M
2.1
ICSP™ SOCKET MODULE
USER’S GUIDE
Chapter 2. Hardware
CONNECTORS
The ICSP Socket Module has connectors for the current boost power supply and
the interface cable. The connection to the power supply is as follows:
+15V
2.2
6
5
4
3
2
1
CABLES
The 15 pin D-Sub connector provides the signals for programming and has
connections and pin functions as follows:
15
12
5
10
4
9
3
8
2
11
7
1
14
13
6
 2002 Microchip Technology Inc.
DS51113D-page 3
Hardware
2.3
Pin1:
Buffered Clock for programming PIC17C75X devices
Pin2:
Low Voltage programming pin for PIC16F87X devices
Pin3:
Reserved
Pin4:
GO indication from target board
Pin5:
Buffered programming clock signal (RB6;S2 on HCS devices)
Pin6:
GND
Pin7:
GND
Pin8:
Reserved
Pin9:
TEST signal used with PIC17C75X devices
Pin10:
Buffered programming data signal (RB7;PWM/DATA on HSC devices)
Pin11:
VDD to target board
Pin12:
Fail Indicator
Pin13:
Pass Indicator
Pin14:
+5 volts from socket module
Pin15:
VPP to target board
SWITCHES
On the bottom of the socket module there is a four position mini-dip switch. This
switch is used to configure the socket module for the desired PICmicro MCU
device. Refer to the README for PRO MATE II text file in the MPLAB IDE install
directory for the most up-to-date list of supported devices and proper switch
settings.
The switches must be set prior to installing the socket module and the PRO MATE
II power must be OFF when the socket module is removed or installed.
2.4
ELECTRICAL SPECIFICATIONS
Voltage Input Requirements:
Voltage input is +15 volts, 750 mA.
Voltage/Current Output Limits:
Voltage output will be limited to the programming specification for each device.
Absolute limits are VDD = 2.5 - 6.5 volts and VPP = 3.0 - 14.0 volts.
Output drive currents: 400 mA on VDD, and 100 mA on VPP.
GO Signal Requirements:
Input must be able to sink 5 mA for the signal to be recognized.
PASS/FAIL Signal Output Limits:
Output limits are target VDD voltage through a 1 Kohm resistor. This is designed to
drive the base of a transistor for signal switching.
+5 Volt from Interface:
The +5 volt from the interface cable will supply 100 mA of current and is a good
source to light PASS/FAIL LED’s.
DS51113D-page 4
 2002 Microchip Technology Inc.
M
3.1
ICSP™ SOCKET MODULE
USER’S GUIDE
Chapter 3. Features
AUTO DETECTION
The PRO MATE II will automatically detect that the ICSP Socket Module is installed
during the power on self check.
Note:
The 15 volt power supply must be connected and plugged in prior to
turning on the PRO MATE II or a power on self test failure will occur.
Once the device has been selected, the word ICSP will be displayed to the right of
the PICmicro MCU device on the LCD display. This is the indication that the
PRO MATE II has identified the ICSP Socket Module and will interact with the
module properly. If the word ICSP does not display, the module will not operate
properly, and the PRO MATE II should be shut off and the power up sequence
repeated.
The proper power up sequence is:
•
•
•
•
•
•
Configure switches
Install module
Connect 15V power
Turn on PRO MATE II
Select device
Connect interface cable
As part of the power on self check, there is a test to make sure the ICSP socket
module is properly connected. “Tighten Top” will be displayed if the ICSP socket
module is not making a good connection. The top fastener should be tightened until
the message goes away.
3.2
GO SIGNAL
PRO MATE II will respond to the GO signal and begin a programming cycle as if
the user had pressed the PGM button on the PRO MATE II.
The GO signal is an active low signal. When the PRO MATE II detects that the GO
signal is low, it will begin the programming sequence.
The PRO MATE II will wait in the PASS/FAIL mode until the GO pin is inactive.
3.3
PASS/FAIL INDICATIONS
After programming is complete, the PRO MATE II will either drive the PASS or FAIL
signals high to indicate the results of the programming operation. These signals will
remain active as long as the GO signal is low. If the GO signal has been removed
prior to the end of the programming cycle, the PASS/FAIL indicators will remain
active for approximately 1 second.
 2002 Microchip Technology Inc.
DS51113D-page 5
Hardware
3.4
OVER CURRENT INDICATORS
There are two indicators on the ICSP Socket Module that will show when the VDD
or the VPP is in an over current situation. During the programming cycle, if either of
the Over Current LED’s is on, there is a problem with the respective voltage and
the target board should be checked. The PRO MATE II will wait approximately 2-3
seconds for voltages to become stable (to allow for large capacitance on target
board) before resetting to the idle state.
After an over current condition occurs, there should be a minimum of 30 seconds
delay prior to executing the next programming cycle for the over current status to
be reset.
3.5
LOW VOLTAGE PROGRAMMING
PRO MATE II allows programming of PIC16F87X parts using the low voltage
programming mode with the ICSP socket module. Upon selection of the part, you
must press either the YES or NO button to indicate whether you want to use Low
Voltage Programming. If you answer YES, then when the device is displayed on
the LCD, you will see “LV” after ICSP (following the part name). You must ensure
that the device has the Low Voltage Program configuration bit set to “enabled” or
you will not be able to access the part. This is only available when the ICSP socket
module is used.
If you answer NO to the question, then the part will use the normal high voltage on
MCLR to program the device. If you do not answer the question prior to enabling
PRO MATE II when using MPLAB IDE, you will get a communication error, since
the only place to enter Low Voltage Programming mode is from the buttons on
PRO MATE II.
The low voltage programming pin (RB3) needs to be connected to Pin 2 of the 15
Pin connector on the ICSP socket module. This is in addition to the other required
pins (RB6, RB7, VDD, VSS.) You must still connect the VPP line to the MCLR pin but
the voltage will not exceed VDD.
3.6
TYPICAL APPLICATION
A typical application for the ICSP module would be to connect a handler to a target
board during the production run. This handler would connect the required signals
(VPP, VDD, Gnd, Clock Data) to the target board. The handler could also provide
the interface to the PRO MATE II through the GO and PASS/FAIL signals.
When the handler is properly connected to the target board, the GO signal would
be driven low and held in the low state during the programming process. Once the
programming process is complete, the PRO MATE II will drive either the PASS or
FAIL lines high to indicate the outcome of the programming process. The handler
would then respond to the PASS/FAIL as appropriate and release the GO signal to
allow the next board to be programmed.
Target design methods are discussed in the In-Circuit Serial Programming Guide
and should be referenced prior to design to ensure that the target board can be
properly programmed using ICSP.
DS51113D-page 6
 2002 Microchip Technology Inc.
NOTES:
 2002 Microchip Technology Inc.
DS51113D-page 7
M
WORLDWIDE SALES AND SERVICE
SAMERICAS
ASIA/PACIFIC
Japan
Corporate Office
Australia
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200 Fax: 480-792-7277
Technical Support: 480-792-7627
Web Address: http://www.microchip.com
Microchip Technology Australia Pty Ltd
Suite 22, 41 Rawson Street
Epping 2121, NSW
Australia
Tel: 61-2-9868-6733 Fax: 61-2-9868-6755
Microchip Technology Japan K.K.
Benex S-1 6F
3-18-20, Shinyokohama
Kohoku-Ku, Yokohama-shi
Kanagawa, 222-0033, Japan
Tel: 81-45-471- 6166 Fax: 81-45-471-6122
Rocky Mountain
China - Beijing
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7966 Fax: 480-792-4338
Microchip Technology Consulting (Shanghai)
Co., Ltd., Beijing Liaison Office
Unit 915
Bei Hai Wan Tai Bldg.
No. 6 Chaoyangmen Beidajie
Beijing, 100027, No. China
Tel: 86-10-85282100 Fax: 86-10-85282104
Atlanta
500 Sugar Mill Road, Suite 200B
Atlanta, GA 30350
Tel: 770-640-0034 Fax: 770-640-0307
Boston
2 Lan Drive, Suite 120
Westford, MA 01886
Tel: 978-692-3848 Fax: 978-692-3821
Chicago
333 Pierce Road, Suite 180
Itasca, IL 60143
Tel: 630-285-0071 Fax: 630-285-0075
Dallas
4570 Westgrove Drive, Suite 160
Addison, TX 75001
Tel: 972-818-7423 Fax: 972-818-2924
Detroit
Tri-Atria Office Building
32255 Northwestern Highway, Suite 190
Farmington Hills, MI 48334
Tel: 248-538-2250 Fax: 248-538-2260
Kokomo
2767 S. Albright Road
Kokomo, Indiana 46902
Tel: 765-864-8360 Fax: 765-864-8387
Los Angeles
18201 Von Karman, Suite 1090
Irvine, CA 92612
Tel: 949-263-1888 Fax: 949-263-1338
China - Chengdu
Microchip Technology Consulting (Shanghai)
Co., Ltd., Chengdu Liaison Office
Rm. 2401, 24th Floor,
Ming Xing Financial Tower
No. 88 TIDU Street
Chengdu 610016, China
Tel: 86-28-86766200 Fax: 86-28-86766599
China - Fuzhou
Microchip Technology Consulting (Shanghai)
Co., Ltd., Fuzhou Liaison Office
Unit 28F, World Trade Plaza
No. 71 Wusi Road
Fuzhou 350001, China
Tel: 86-591-7503506 Fax: 86-591-7503521
China - Shanghai
Microchip Technology Consulting (Shanghai)
Co., Ltd.
Room 701, Bldg. B
Far East International Plaza
No. 317 Xian Xia Road
Shanghai, 200051
Tel: 86-21-6275-5700 Fax: 86-21-6275-5060
China - Shenzhen
150 Motor Parkway, Suite 202
Hauppauge, NY 11788
Tel: 631-273-5305 Fax: 631-273-5335
Microchip Technology Consulting (Shanghai)
Co., Ltd., Shenzhen Liaison Office
Rm. 1315, 13/F, Shenzhen Kerry Centre,
Renminnan Lu
Shenzhen 518001, China
Tel: 86-755-82350361 Fax: 86-755-82366086
San Jose
China - Hong Kong SAR
Microchip Technology Inc.
2107 North First Street, Suite 590
San Jose, CA 95131
Tel: 408-436-7950 Fax: 408-436-7955
Microchip Technology Hongkong Ltd.
Unit 901-6, Tower 2, Metroplaza
223 Hing Fong Road
Kwai Fong, N.T., Hong Kong
Tel: 852-2401-1200 Fax: 852-2401-3431
New York
Toronto
6285 Northam Drive, Suite 108
Mississauga, Ontario L4V 1X5, Canada
Tel: 905-673-0699 Fax: 905-673-6509
India
Microchip Technology Inc.
India Liaison Office
Divyasree Chambers
1 Floor, Wing A (A3/A4)
No. 11, O’Shaugnessey Road
Bangalore, 560 025, India
Tel: 91-80-2290061 Fax: 91-80-2290062
Korea
Microchip Technology Korea
168-1, Youngbo Bldg. 3 Floor
Samsung-Dong, Kangnam-Ku
Seoul, Korea 135-882
Tel: 82-2-554-7200 Fax: 82-2-558-5934
Singapore
Microchip Technology Singapore Pte Ltd.
200 Middle Road
#07-02 Prime Centre
Singapore, 188980
Tel: 65-6334-8870 Fax: 65-6334-8850
Taiwan
Microchip Technology (Barbados) Inc.,
Taiwan Branch
11F-3, No. 207
Tung Hua North Road
Taipei, 105, Taiwan
Tel: 886-2-2717-7175 Fax: 886-2-2545-0139
EUROPE
Austria
Microchip Technology Austria GmbH
Durisolstrasse 2
A-4600 Wels
Austria
Tel: 43-7242-2244-399
Fax: 43-7242-2244-393
Denmark
Microchip Technology Nordic ApS
Regus Business Centre
Lautrup hoj 1-3
Ballerup DK-2750 Denmark
Tel: 45 4420 9895 Fax: 45 4420 9910
France
Microchip Technology SARL
Parc d’Activite du Moulin de Massy
43 Rue du Saule Trapu
Batiment A - ler Etage
91300 Massy, France
Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
Germany
Microchip Technology GmbH
Steinheilstrasse 10
D-85737 Ismaning, Germany
Tel: 49-89-627-144 0 Fax: 49-89-627-144-44
Italy
Microchip Technology SRL
Centro Direzionale Colleoni
Palazzo Taurus 1 V. Le Colleoni 1
20041 Agrate Brianza
Milan, Italy
Tel: 39-039-65791-1 Fax: 39-039-6899883
United Kingdom
Microchip Ltd.
505 Eskdale Road
Winnersh Triangle
Wokingham
Berkshire, England RG41 5TU
Tel: 44 118 921 5869 Fax: 44-118 921-5820
08/01/02
DS51113D-page 8
 2002 Microchip Technology Inc.