STICK User Manual
STICK User Manual
Ref: DOC-STICK-PP
INSTRUCTIONS FOR USEWARNING This product is conform to the 89/336/EEC Directive. It complies with the ITE EN55022 standard for EMC emissions and generic 50082-1 (1992 edition) immunity standards. This product is an FCC Class-A apparatus. In a residential environment, it may cause radioelectrical disturbances. In addition, this programming board is not contained in an outer casing; consequently, it cannot be immune against electrostatic discharges (ESD). It should therefore be handled only in static safe working areas. Please refer to Appendix A: User and Work Environment Precautions on page 20 for relevant safety information
USE IN LIFE SUPPORT DEVICES OR SYSTEMS MUST BE EXPRESSLY AUTHORIZED. STMicroelectronics PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF STMicroelectronics. As used herein: 1. Life support devices or systems are those which (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided with the product, can be reasonably expected to result in significant injury to the user. 2. A critical component is any component of a life support device or system whose failure to perform can reasonably be expected to cause the failure of the life support device or system, or to affect its safety or effectiveness.
Table of Contents
Chapter 1:
1.1 1.2 1.3 1.4
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
In-Circuit Communication protocol (ICC) ...................................................... 5 Your host PC and application board requirements ....................................... 5 ICC connector signals ................................................................................... 6 About this manual... ...................................................................................... 7
Chapter 2:
2.1 2.2 2.3 2.4
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Delivery checklist .......................................................................................... 8 Installing the STVP7 software ....................................................................... 8 Setting up the hardware ................................................................................ 9 Launching STVP7 for the first time ............................................................. 11
Chapter 3:
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3/34
1 - Introduction
INTRODUCTION
The ST In-circuit Communication Kit (STICK) is an ideal introduction to the easyto-use world of ST7 Flash microcontrollers. It is a complete kit for programming the Flash ST7 microcontroller of the following series: ST7Lite series ST7226x series ST7232x series ST7252x series ST7256x series
The STICK acts as a communications interface between your PC and the ST7 Flash microcontroller soldered on your application board. It can program ST7 Flash devices powered with any voltage within their datasheet-specified range. STICK is delivered ready-to-use, and it includes ST7 Visual Programmer software (STVP7), the ST7 Flash STICK Interface board, a power supply and all necessary cables.
4/34
1 - Introduction
1.1
In-Circuit Communication protocol (ICC) An In-Circuit Communication (ICC) protocol has been developed by STMicroelectronics to minimize the hardware needed on your application board and the number of signals used by the ST7 to communicate with the outside world. To handle the ICC protocol, an ICC monitor is embedded in all ST7 Flash microcontroller types. For more detailed information about the ICC Protocol, refer to the ST7 ICC Protocol Reference Manual, available in PDF format on the MCUon-CD CD-ROM. The three different applications described below use the ICC protocol: ICP: In-Circuit Programming is an ST7 FLASH programming method using the ICC communication protocol. ICP is used to update the entire contents of the FLASH memory (including option bytes). For more details, see FLASH Programming reference manual. ICT: In-Circuit Testing is a flexible method of performing production test routines that can be easily modified and extended without affecting the content of the FLASH program memory. ICD: In-Circuit Debugging is the ability to debug a FLASH device using the ICC protocol. This ability is used in low-cost ST7 emulators such as SofTecs InDART emulator.
1.2
Your host PC and application board requirements Both hardware and software components of the STICK have been designed to work with PCs meeting the following requirements: One of the following operating systems: Microsoft Windows 95, 98, 2000, Millennium, NT or XP. Intel Pentium (or compatible) processor with minimum speed of 133 MHz. Minimum RAM of 32 MB (64 MB recommended). 50 MB of free hard disk space to install all of the ST7 tools.
Note:
Windows 2000, NT and XP users must have administrator privileges to install the required software.
You must design your application with an HE10 connector on your application board to carry the ICC signals described in the next section.
5/34
1 - Introduction
1.3
Figure 2: ICC connector map Depending on the type of ST7 Flash microcontroller you are using, ICP needs a minimum of 4 or 5 signals and up to 6 or 7 signals to be connected to the ICC connector on the STICK Interface board. The following 4 or 5 signals are mandatory on the ICC connector: GND: Ground. ICCDATA: During ICP activity, the application board must not drive (source or sink) more than 1 mA of current. ICCCLK: During ICP activity, the application board must not drive (source or sink) more than 1 mA of current. ICCRESET: During ICP activity, the application board must not drive (source or sink) more than 5 mA of current. ICCSEL_VPP: The application pull-down resistor must not be lower than 10 kOhm. (Note that the ICCSEL_VPP signal doesnt exist on the ST72FLITE0x).
The following 2 signals are optional: VDD_appli: Needed if the W1 jumper is in the VDD position (see Section 2.3 on page 9). ICCOSC: Safe clock. Only necessary if ICP_OPT_Disable programming mode (see Section 2.4 on page 11) is used and if your ST7 Flash application clock is not a square wave from 0 V to VDD (if, for example, you use the internal RC oscillator of the ST7 Flash Microcontroller, or have a resonator or an RC on the OSC1/OSC2 pins). In this case ICCOSC safe clock must be connected to the OSC1 pin of the ST7 Flash microcontroller in your application.
For more information, see the datasheet of the ST7 Flash microcontroller.
6/34
1 - Introduction
1.4
About this manual... The following conventions are used in this manual: Bold text highlights key terms and phrases, and is used when referring to names of dialog boxes and windows, as well as tabs and entry fields within windows or dialog boxes. Bold italic text denotes menu commands (or sequence of commands), options, buttons or checkboxes which you must click with your mouse in order to perform an action. The > symbol is used in a sequence of commands to mean then. For example, to open an application in Windows, we would write: Click Start>Programs>ST7 Tool Chain>..... Courier or typewriter font designates file names, programming commands, path names and any text or commands you must type. Italicized type is used for value substitution. Italic type indicates categories of items for which you must substitute the appropriate values, such as arguments, or hypothetical filenames. For example, if the text was demonstrating a hypothetical command line to compile and generate debugging information for any file, it might appear as: cxst7 +mods +debug file.c Items enclosed in [brackets] are optional. For example, the line: [options] means that zero or more options may be specified because options appears in brackets. Conversely, the line: options means that one or more options must be specified because options is not enclosed by brackets. As another example, the line: file1.[o|st7] means that one file with the extension .o or .st7 may be specified, and the line: file1 [file2...] means that additional files may be specified. Blue italicized text indicates a cross-referenceyou can link directly to the reference by clicking on it while viewing with Acrobat Reader.
7/34
2 - Getting Started
2
2.1
GETTING STARTED
Delivery checklist Check that your STICK box contains the following: One STICK interface board (marked ST7 FLASH STICK-LPT). One AC/DC power supply adaptor. One PC parallel port cable. One 10-pin HE10 type ribbon cable for ICC connectors. A Welcome to the world of ST7 FLASH letter. One Microcontroller Development Tools CD-ROM containing: This user manual. ST7 Visual Programmer (STVP7) software and other ST7 development tools software.
A Product and Tool Selection Guide. The ST7 ASM Quick Reference Guide. The MCU on CD CD-ROM which contains datasheets, application notes and other documentation for ST Microcontrollers.
2.2
Installing the STVP7 software Your STICK comes with a CD-ROM containing several ST7 software tools. These tools are compatible with Windows 95, 98, Me, 2000, XP and Windows NT operating systems.
Note:
Windows 2000, NT and XP users must have administrator privileges to install the STVP7.
To install and setup the ST7 software tools, follow these steps: 1 2 Close all other open applications on your Windows desktop. Insert the Microcontroller Development Tools CD-ROM into your CD-ROM drive. The CD-ROMs autorun feature will open up a welcome screen on your PC. If the autorun feature does not work, use Windows Explorer to browse to the CD-ROM s root folder, and double-click on Welcome.exe. 3 4 Use your mouse to place the cursor over the ST7 option. Choose ST7 Programming Software from the list that appears. The install wizard will be launched. Follow the instructions that appear on the screen.
8/34
2 - Getting Started
Reboot your PC as prompted before connecting the hardware (see Setting up the hardware on page 9) and launching STVP7 for the first time.
2.3
Setting up the hardware 1 Connect the STICK interface board to the LPT1 port of your host PC with the supplied parallel cable.
Note:
Be sure to use the PC parallel port cable provided with your STICKusing a longer PC parallel port cable may cause malfunctions. Connect the cable directly between the host PC and the STICK interface boardthe insertion of additional cables or switch boxes between the host PC and the STICK interface board may cause malfunctions. If a dongle (a hardware key required by some software packages) is already connected to the PCs parallel port, it should not interfere with STICK interface board. However, if a malfunction of the board should occur, please remove the dongle and restart the above sequence.
ICC connector
TP1 test points Figure 3: STICK interface board component layout The W1 jumper must be set to one of the three following positions: VDD: The power supply voltage of the STICKs ICC buffer follows the application VDD. This position allows you to work with any VDD value allowed in the ST7 datasheet. When the jumper is in this position, you must
9/34
2 - Getting Started
connect the application VDD to pin 7 of the ICC connector. STICK uses the application VDD as voltage reference signal, only a 10 kOhm pull-down resistor is connected on this V DD line. 5 V: The power supply voltage of the STICKs ICC buffer is 5 V. You dont need to connect the application VDD to pin 7 of the ICC connector, but your application must be powered by 5 V +/- 5%. 3.3 V: The power supply voltage of the STICKs ICC buffer is 3.3 V. You dont need to connect the application V DD to pin 7 of the ICC connector, but your application must be powered by 3.3 V +/- 5%. 3 Power on the STICK using the AC/DC power supply adaptor provided. Ensure that the AC/DC power supply adaptor is adapted to the mains voltage and outlet type used in your country.
10/34
2 - Getting Started
2.4
Launching STVP7 for the first time To set up STVP7 for the STICK, follow these instructions: 1 2 From your host PC, select Start>Programs>ST7 Tool Chain>Development Tools>ST7 Visual Programmer to start STVP7. The first time STVP7 is started the Configuration window shown in Figure 4 is opened.
Note:
This configuration dialog box can be opened again using Configure menu, click Configure ST7 Visual Programmer (or press the button).
Figure 4: Configuration dialog box 3 4 5 From Hardware list, select STICK. From Port list select PC parallel port LPT1. From the Programming mode list, you must select one of the three modes. Depending on Programming mode selected, a specific ST7 Flash Device list will be displayed. Selecting the correct programming mode is critical in order to program your microcontroller. To correctly choose the Programming mode, you have to: Find the option byte description in your ST7 Flash microcontrollers datasheet. Check whether the ST7 is ex-factory or not. Ex-factory devices are brand new devices with factory default options programmed.
11/34
2 - Getting Started
Question
1 Does your ST7 Flash microcontroller have an option byte?
Response
No Yes
In your ST7 Flash microcontrollers option byte description, can you select the OSCTYPE? Is your ST7 Flash microcontroller ex-factory? Have you already programmed the ST7 Flash option bytes with the OSCTYPE that matches your application hardware?
No Yes No Yes
ICP
go to next question go to next question
No Yes
Table 1: Determining the programming mode To better explain the differences between the programming modes, here is a brief description of each: ICP: This programming mode is for ST7 Flash devices without OSCTYPE choice possibility in the option byte. Currently, for ST7 devices supported by STICK, only ST72HUB is in this category. For all other ST7 devices you have to select one of the other programming modes. ICP OPT Disable: This programming mode is a safe mode. It must be used when ICP OPT Enable configuration does not work. This can be the case if your application clock circuitry doesnt match the previously programmed OSCTYPE option byte selection. In this programming mode, an external source with a square wave signal from 0 V to VDD must be applied. This clock can be provided either by your application, or by the ICC connector pin 9 (ICCOSC safe clock). ICP OPT Enable: This programming mode has to be selected if the ST7 Flash is ex-factory, or if your application clock circuitry matches the previously programmed OSCTYPE option byte selection. In this programming mode, the ICCOSC safe clock from the ICC connector pin 9 is not needed.
12/34
2 - Getting Started
From Device list, select the ST7 Flash microcontroller to be programmed. Depending on the ST7 Flash microcontroller you choose, you be able to specify additional protection settingsrefer to STVP7s online help.
Caution:
If you do not find the name of your ST7 Flash microcontroller in this Device list, it is either because you chose the wrong Programming mode, or your STVP7 version doesnt support this ST7 Flash microcontroller yet. In this latter case you have to download the latest STVP7 release from STs website at http://mcu.st.com.
Click OK to save your changes and close the Configuration window. The main STVP7 application window is opened, as shown in Figure 5.
Figure 5: STVP7 main application window 8 9 Power on your application hardware. Connect the HE10 type ribbon cable to the STICK interface board ICC connector on one end and to your application board ICC connector on the other end.
Caution:
This connection should be done after STVP7 is launched to avoid to apply unwanted voltage value on ICC pins as STVP7 initializes the PC parallel port.
13/34
2 - Getting Started
10 Now you can go directly to Programming With STVP7 on page 16, to learn how to: Load, Edit and Save executable and/or data files in the Intel HEX or Motorola S19 formats, generated by the Assembler/Linker or C Compiler for ST7 microcontrollers. Erase and Program ST7 Flash microcontroller memory. View and Verify the microcontroller memory contents. Create a Project file to automatize all tasks needed to configure STVP7 and to program ST7 microcontrollers.
14/34
2 - Getting Started
15/34
If your microcontroller has ST7 Flash memoryeither XFlash (EEPROM technology, byte-erasable) or HDFlash (FLASH technology, sector-erasable) each byte must be erased before being reprogrammed. XFlash memory: Anything present in this memory zone is automatically erased when you program or reprogram this type of memory. Because of this, the Erase command is neither necessary nor available with XFlash memory. For the same reason a Blank-Check command is not available for XFlash memory. HDFlash memory: You cannot erase single bytesonly sectors. Before programming byte(s) or sector(s) you must have erased the appropriate sector(s). To erase, in the STVP7 main window, click on Erase>Active sector(s) (or press the button). You can use Blank-Check command to verify that the correct sectors are erased.
In the STVP7 main window, use the tab menu to select the memory area that you wish to program (for example, PROGRAM MEMORY, DATA MEMORY or OPTION BYTE).
16/34
Figure 6: Open dialog box 5 6 7 8 Browse to the directory that contains the file you want to program, and then select it. Click on Open. When the file is loaded, the Output area displays the file checksum and device checksum. To open other memory area data files, repeat steps [3] to [6], selecting the appropriate memory area tab for each data file. Edit the option byte value. In the STVP7 main window, use the tab menu to select option byte then click on the name or the description you want to change to get the description pop-up menu and make your choice. For more information on the option byte see your ST7 Flash microcontroller datasheet. Execute the programming session: in the STVP7 main window, click on Program>All tabs (on active sectors if any) (or press the button on the right side of the toolbar). Note: The programming session does all the programming checks. 10 You can check the ST7 content but this is not mandatory as this is done during the programming session. To do this, in the STVP7 main window, click on Verify>All tabs (on active sectors if any) (or press the side of the toolbar). button on the right
17/34
Note:
In the STVP7 main window, the Program>Current tab allows you to program only the selected tab (for example, program memory or option byte).
11 When you have finished programming, disconnect the HE10 type ribbon cable from the ICC connector on your application board in order to run your application.
18/34
19/34
20/34
21/34
Appendix B: Troubleshooting
APPENDIX B: TROUBLESHOOTING
This appendix covers some of the problems that may occur, and how to solve them. B.1 Test pins The STICK board is equipped with test pins located at TP1 (see board layout in Figure 3 on page 9). If you have problems with programming, these pins can help you pinpoint anomalies in the ICC communication by testing or checking the ICC signals. Pin 1 2 Signal GND Power Description This pin is marked with a white dot. The external power supply value can be checked here. It is an unregulated 12 V DC power supply. Its value should be in the range 13.5 V to 23 V depending on the current load. The VCC is regulated at 5 V +/- 5%. This is the operational amplifier output that follows the voltage value selected by the W1 jumper. It should be equal to: your application VDD voltage value if W1 is in the VDD position, 5 V if W1 is in the 5 V position, 3.3 V if W1 is in the 3.3 V position. 5 ICCSEL_VPP This signal may be at 0 V, 5 V or 12 V . This test point is used during factory test. You do not have to check it. Table 1 Test pins
3 4
VCC VCC_a
22/34
Appendix B: Troubleshooting
B.2
Error messages The following sections explain the cause of some of the commoner error messages.
B.2.1
PC parallel port cable not connected Most communication failures between the host PC running STVP7 and the STICK interface board stem from problems in the parallel port connection. To prevent communication problems, when setting up your parallel port connection, ensure that: You use the parallel cable provided with your STICKusing a longer parallel cable may cause malfunctions. Connect the cable directly between the host PC and STICK interface board the insertion of additional cables or switch boxes between the host PC and the interface board may cause malfunctions. You remove any parallel port dongles. Ensure LPT1 address is in the range 03BC-03BF or 0378-037F or 0278-027F. Ensure that printer port LPT1 is not disabled in your PC. For example, in the IBM ThinkPad, you can select infrared printing (LPT) port on.
B.3
Problem on supply voltages When you have supply voltage problems the green LED will not come on. To find the cause of the problem: Check that the AC/DC power supply adaptor is firmly connected to both the main power supply and to the STICK interface board. To check that the main power supply is on, disconnect ICC cable and measure the voltage at test pin 2 at location TP1 (see Test pins on page 22). This pin should have unregulated DC value in the range 18 V to 21 V.
Note:
Check that the W1 jumper is set on one of the three positions, see Section 2.2 on page 8. If it is set on the VDD position, check that the ICC cable is connected properly and that your applications VDD is connected to ICC connector pin 7. Your application VDD must be in the range 2.4 V to 5 V. On test pin 4 at location TP1 (see Test pins on page 22), you must have the same voltage value that you selected with the W1 jumper. Check that there is 5 V on test pin 3 at location TP1 (see Test pins on page 22).
23/34
Appendix B: Troubleshooting
If you have made all of these checks and you still get the Problem on supply voltages message, contact your ST distributor or sales office (see Product Support on page 30) in order to have your STICK repaired. B.4 Cannot communicate with the device Check that: The ICC cable is well connected. You have selected the right ST7 device. The ICC signals are clear and within the following ranges: ICCDATA: This application signal must not drive more than 1 mA. ICCCLK: This application must not drive more than 1 mA. ICCRESET: This application must not drive more than 5 mA. ICCSEL_VPP: The pull-down resistor must not be lower than 10 kOhm.
You have selected the right programming mode in the main menu Configure window > programming mode list, see Section 2.3 on page 9. Remember that: If you use ICP OPT Enable mode, check that your application clock circuitry does match the CLOCK SOURCE and OSCTYPE options already programmed in ST7 Flash microcontroller option byte. For devices out of factory you have to check these values in datasheet. If you dont know these values you have to select ICP OPT Disable. ICP OPT Disable mode, ensure that external source clock is a square wave signal from 0 V to VDD. If not, you have to connect ICCOSC safe clock (ICC connector pin 9) to the OSC1 pin of the ST7Flash microcontroller in your application
24/34
Appendix B: Troubleshooting
25/34
Appendix C: Glossary
APPENDIX C: GLOSSARY
This appendix gives a brief definition of acronyms and names used in this manual. ex-factory Ex-factory, when applied to microcontrollers, means that they are direct from the factory and retain their default settings. This is particularly pertinent important when applied to option bytes. HDFlash High density FLASH memory is based on FLASH technology. The HDFlash is used for microcontrollers with 4K up to 60Kbytes of FLASH memory. The HDFlash is programmed byte by byte but erased by sector. ICC protocol In-Circuit Communication protocol is a way of exchanging data between an ST7 Flash microcontroller and an external system (i.e. PC) using minimum hardware and ST7 I/Os in the user application. In the ST7 Flash microcontrollers, this protocol is handled by the ICC monitor. ICC monitor Software that handles the ICC protocol, embedded in a reserved memory area of the ST7 Flash microcontroller. At RESET, using specific signal sequence, the ST7 jumps to this ICC monitor which allows it to download programs in RAM and to execute them. This feature is used to implement the ICP functionality. ICP In-Circuit Programming. This is programming the ST7 FLASH memory while ST7 Flash microcontroller is plugged into the application board. ICT In-Circuit Testing. This is testing ST7 Flash micro and/or your application through the ST7 Flash microcontroller while it is plugged into the application board. ICD In-Circuit Debugging. This is debugging your application while the ST7 Flash microcontroller is plugged into the application board. ST7 Flash microcontroller ST7 Flash microcontroller with electrically erasable memory that can be either XFlash memory or HDFlash.
26/34
Appendix C: Glossary
STICK ST In-circuit Communication Kit. STVP7 ST7 Visual Programmer. This software programs runs on a PC. It has a graphical Windows interface and supports different types of ST7 programming hardware (STICK, EPBs, DVPs). XFlash Extended FLASH memory is based on EEPROM technology. XFlash provides extended features such as byte re-programming (by means of byte erasing) and data EEPROM capability. The XFlash microcontrollers are available between 1K to 16 Kbytes.
27/34
APPENDIX D: SCHEMATICS
VCC
1 3 5 7
TP1 C36 C38 C31 C28 C27 C26 C25 180pF 180pF 180pF 180pF 180pF 180pF 180pF GND
1 1 1 1 1 1 1
RS5 10K
2 4 6 8
R9 10K
2 2 2 2 2 2 2
1 2 3 4 5 2 VCC MW1X5C
LED_Green
GND GND 2
LD1 1
1 RS6 7 5 3 1 7 RS4 5 3 1 33
J1 1 14 2 15 3 16 4 17 5 18 6 19 7 20 8 21 9 22 10 23 11 24 12 25 13 NSTROBE NAUTF DATA0 NERROR DATA1 INIT DATA2 NSELIN DATA3 GND DATA4 GND DATA5 GND DATA6 GND DATA7 GND ACK GND BUSY GND PEND GND SLCT GND GND
1
8 6 4 2 8 6 4 2 33
Rnautf D0 Rnerror D1
C29 100pF
33
U6 1A1 1A2 1A3 1A4 2A1 2A2 2A3 2A4 1G 2G 74VHCT244 pcSTATUS pcDATAIN 1Y1 1Y2 1Y3 1Y4 2Y1 2Y2 2Y3 2Y4 18 16 14 12 9 7 5 3
D1
D3 D4
RS1 7 5 3 1
2 4 6 8
8 6 4 2
D5 D6 Rbusy
ICCSEL_VPP
VDD_APPLI EN_OSC
Power
VCC_a C5 4.7nF U2 3 1
1
J2 1 2 3
2
2.2nF
P6KE24A
100nF
JACK_2.5mm
1
2 3 6 7
BNX002
C3
C2
100nF 2
+ C1 U1
220MF
C4 4.7MF 16V
C8
100nF
5 L272D
2.2nF 2
enVPP
1
U9A
2
100nF
GND Power VDD_APPLI 2 VCC 8 6 4 2 RS3 GND R7 100 1 7 5 3 1 10K C23 100nF 5V 3.3V W1 1 3 5 2 4 6 U7B 3 2
C12 4.7nF
GND
74HC4051
GND
40mA max
R4 1 180-1W 2
1
(5V)
1
VCC_a R8 1 22K
1
74VHC126_a
GND
MW2X3C
13 14
1
+ 6
R_VCC_a
1.2W
L272D
GND
A B
VEE
C
12
GND
C13
Z1
C14
B PSG
VCC
13 14 15 12 1 5 2 4 6 11 10 9
X0 X1 X2 X3 X4 X5 X6 X7 INH A B C
SUBD25C_F_COUDE
C10 C6 C15 C16 C18 C24 180pF 180pF 180pF 180pF 180pF 180pF
1 3 5 7
GND
U10 R15
R14 47 1.2K
T3 MMBT2907
2
enSEL
U7A
11
Appendix D: Schematics
Rev C of 2
28/34
10
pcACK
pcACK
U9C
pcDOUT
pcDOUT
pcCLKen
pcCLKen
74VHC126_a
4
pcRW
1
pcPULSES VCC_a 2
U9B 1 2
pcRESET 74VHC14_a
pcRESET
13
C35 180pF
ICC connector
pcCLKen V2
4
2 4 6 8 10 U8A Q V3 5 3 CLK
CL PR
1 3 5 7 9 V4
10 1
GND Q 74VHC74_a 6
R2
PR
U8B Q 9
2
3
HEADER 5x2/SM
CL
R6
5 U3B
4
6 74VHC125_a pcPULSES
3
10
PR
EN_OSC Q
1
CL
6 74VHC74_a
13
CLK
VCC_a GND V6
10
U5B
PR
pcRW
12 11
D CLK
CL
Q
13
8 74VHC74_a VCC_a 1
RS7-1 2 33 3
RS7-2 4 33
1
VCC VCC_a
C19
2 2 2
C9
C20
C30
C7
100nF
100nF
100nF
29/34
B C D E
Appendix D: Schematics
74VHC126_a
ICCSEL_VPP
VCC_a
D1 BAR42
pcDATAIN
pcDATAIN
Schottky
RS7-3 5 33 6 ICCCLK
pcSTATUS
pcSTATUS
VDD_APPLI
Power GND
JP1
R12 5.6K
GND
T2 MMBT2907
1 GND D CLK 8 11
12
3.3K
U3C
U4E
10
D2 BAR42
100
C11
74VHC14_a
pcACK
Schottky
RS7-4 12 U3D 11 74VHC125_a 7 33 8 ICCDATA
33pF
GND
C37 180pF
Rev C 2 of 2
GND
Product Support
PRODUCT SUPPORT
If you experience any problems with this product or if you need spare parts or repair, contact the distributor or ST sales office where you purchased the product. Getting prepared before you call Collect the following information about the product before contacting ST or your distributor: 1 2 3 Name of the company where you purchased the programmer kit. Date of purchase. Order Code: Refer to the side of your programmer kit box. The order code will depend on the region for which it was ordered (i.e. the UK, Continental Europe or the USA). Serial Number: The serial number is located on a label on the programming board. Target Device: The sales type of the ST7 microcontroller you are using in your development.
4 5
Canada and East Coast STMicroelectronics Lexington Corporate Center 10 Maguire Road, Building 1, 3rd floor Lexington, MA 02421 Phone: 781-402-2650 Mid West STMicroelectronics 1300 East Woodfield Road, Suite 410 Schaumburg, IL 60173 Phone: 847-585-3000
30/34
Product Support
West coast STMicroelectronics, Inc. 28202 Cabot Road Suite 650 Laguna Niguel, CA Phone: (949) 347-0717 Europe France (33-1) 47407575 Germany (49-89) 460060 U.K. (44-1628) 890800 Asia/Pacific Region Japan (81-3) 3280-4120 Hong-Kong (852) 2861 5700 Sydney (61-2) 9580 3811 Taipei (886-2) 2378-8088 Software updates You can get software updates from the ST Internet web site http://mcu.st.com. For information on firmware and hardware revisions, call your distributor or ST using the contact list given above.
31/34
Index
A
application voltage selection ..................................... 9 definition of protocol ..............................26 signal description .....................................6 ICD (In-Circuit Debugging) ..............................5 ICP (In-Circuit Programming) ..........................5 ICT (In-Circuit Testing) ....................................5 In Circuit Programming (ICP) programming in ICP mode.....................16
B
board schematics .......................................... 28
M
memory programming HDFlash.................................................16 XFlash ...................................................16
C
CD-ROM ......................................................... 8 circuitry.......................................................... 28
P
parallel connection restrictions/requirements .........................9 programming board setting up .................................................9 programming mode selecting ................................................11 programming modes descriptions ...........................................12 how to correctly determine ....................12 ICP.........................................................12 ICP OPT Disable ...................................12 ICP OPT Enable ....................................12 importance of.........................................11 setting ....................................................11
D
definitions ...................................................... 26 delivery checklist ............................................. 8
E
EMC compliancy requirements for.................................... 20 error messages ............................................. 23
F
finished goods manipulation of...................................... 20 safety requirements .............................. 20
S
safety requirements .......................................20 schemas ........................................................28 setting up the STICK .......................................9 software installing...................................................8 updates..................................................31 ST7 Visual Programmer (STVP7) installing...................................................8 typical programming session .................16 support contact numbers for...............................30 for programming board ..........................30 information required...............................30
G
glossary......................................................... 26
H
hardware setting up ................................................ 9 supplied................................................... 8
I
ICC connector pinout ..................................... 6
32/34
Index
setting with W1 jumper ............................9
T W
terminology ................................................... 26 test pins......................................................... 22 working environment recommendations........20
V
voltage
33/34
3 4
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without the express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics. Intel is a U.S. registered trademark of Intel Corporation. Microsoft, Windows and Windows NT are U.S. registered trademarks of Microsoft Corporation.
http://www.st.com