STMicroelectronics
ST7-EPB
Programming board
UM0028
User manual
Rev 4
June 2006
www.st.com
BLANK
UM0028
User manual
ST7-EPB
Programming board
Introduction
Thanks for choosing ST7! This manual will help you setup and start using your ST7-EPB programming
board.
ST7-EPB programming boards allow you to program ST7 microcontrollers that have EPROM, EEPROM
and FLASH memories. Your programming board links, via parallel port, to a host PC running ST7 Visual
Programmer (STVP7) software. This software interface allows you to customize and control the
programming of an application to your ST7.
The layout of your programming board varies depending on the type of EPB you have ordered, as each
programming board is designed to program a different sub-family of ST7 MCUs.
Some programming boards also support either In-Circuit Programming (ICP), or In Situ Programming
(ISP) of your ST7 while it is mounted on your application board.
Note:
A complete listing of the ST7 family of programming tools, including the devices and
programming modes that they support is provided in ST7 Visual Programmer (STVP7°
Release Notes.
Figure 1.
Programming board with ICC cable
Parallel port
(P1 connector)
Programming
sockets
ICC cable
ICC connector
(10-pin, HE-10 connector)
June 2006
UM0028 Rev 4
3/15
www.st.com
Introduction
ST7-EPB
About the user manuals...
This manual will help you setup your ST7-EPB programming board and connect it to your PC. Here, you
will find:
■
Setup instructions
■
Information about in-circuit programming connections
For information about the hardware and software intended for use with your programming board, refer to
the following documents that are included with it:
■
ST7 Visual Programmer online help - program your MCU
■
ST7 Programming Board Descriptions - a complete list of programming boards, including the
devices and programming modes they support
■
In-Circuit Programming Considerations - information about setting up your application board for incircuit programming
■
ST7xxxx Datasheet - programming information that is specific to your MCU
Host PC system requirements
Both the hardware and software that you will use to program your ST7 have been designed to operate
with:
■
Microsoft® Windows® 2000 or XP®.
■
Intel® Pentium (or compatible) processor with minimum speed of 133 MHz.
■
Minimum RAM of 32 MB (64 MB recommended).
■
60 MB of free hard disk space to install all of the ST7 tools.
Note:
Windows® 2000 and XP® users must have administrator privileges to install STVP7.
Getting assistance
For more information, application notes, FAQs and software updates relevant to all the ST microcontroller
families, check out the CD-ROM or our website:
www.st.com/mcu
For assistance on all ST microcontroller subjects, or for help using your programming board, refer to the
contact list provided in Product Support on page 14. We’ll be glad to help you.
4/15
UM0028 Rev 4
ST7-EPB
Contents
1
2
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1
Delivery Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2
Setting up your ST7-EPB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3
Using the programming sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4
Using an in-circuit programming connection . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.5
Additional information about programming in ISP mode . . . . . . . . . . . . . . . . 10
Hardware Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1
Parallel port connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.2
About jumpers on the ST7 EPB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Appendix A Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Appendix B Safety Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Appendix C Product Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
UM0028 Rev 4
5/15
1 Getting Started
1
ST7-EPB
Getting Started
Your ST7-EPB programming board is equipped with the sockets you will need to program a
sub-family of ST7 MCUs. In addition, some programming boards also support connections
for In-Circuit Programming (ICP) or In Situ Programming (ISP).
To help you get started programming with your EPB, the following sections provide:
●
●
●
●
●
1.1
Section 1.1 – a checklist of components delivered with your ST7-EPB
Section 1.2 – instructions for setting up your programming board
Section 1.3 – instructions on the use of programming sockets
Section 1.4 – instructions on setting up a connection for in-circuit programming
Section 1.5 – additional notes about in situ programming
Delivery Checklist
The following items are delivered with your programming board (see Figure 2):
1.
One ST7MDTxx-EPB programing board.
2.
One power supply
3.
One parallel cable
Optional
4. One 10-pin, HE-10 type ribbon cable with programming boards that support ICP or ISP
Figure 2.
Parts delivered with ST7-EPBs (not to scale)
1
ST7-EPBs come in several types, which support the programming of different families of ST7 and
package types. The sockets and connectors on your programming board will vary depending on the
type of ST7-EPB you have ordered, and may not correspond exactly to the version shown here.
3
2
6/15
UM0028 Rev 4
ST7-EPB
1 Getting Started
Figure 2.
Parts delivered with ST7-EPBs (not to scale)
Optional
4
1.2
Setting up your ST7-EPB
To setup your ST7-EPB programming board:
Note:
1.
Shut down and power-off the host PC.
2.
Connect one end of the supplied parallel cable to the EPB’s P1 connector and the
other end to one of the host PC’s parallel ports (LPT1 or LPT2).
Be sure to use the parallel cable provided with your kit — using a longer parallel cable may
cause malfunctions.
Connect the cable directly between the host PC and the programming board — inserting
additional cables or switch boxes between the host PC and the programming board may
cause malfunctions.
If a dongle (a hardware key required by some software packages) is already connected to
the PC’s parallel port, it should not interfere with the programming board. However, if a
malfunction of the board occurs, please remove the dongle and reconnect your EPB.
1. Connect the power supply to the programming board. Ensure that the power supply is
adapted to the mains voltage and outlet type used in your country.
Note:
The board can be supplied from the integrated power supply provided with the board, or
from an external +15 VDC / 0.5 A power supply.
2. Power on the host PC.
1.3
Using the programming sockets
All ST7-EPBs come with one or more sockets for programming. The sockets that are
available to you for programming will vary depending on the packages for the ST7 subfamily that your programming board supports.
Regardless of the type of socket, when installing an ST7 for programming you must ensure
that pin 1 of the ST7 corresponds with pin 1 of the socket.
To install your ST7:
1.
Caution:
Set up the EPB as described in Section 1.2 on page 7.
2.
Identify the socket for your device package on the programming board.
3.
Open the socket, or lift the lever (for ZIF sockets) and place the device into the socket
with pin 1 matching the pin 1 indicator on the programming board.
Take care when placing the device into a socket so as not to damage the device or the
board. Forcing the MCU into the socket may result in damage to the socket.
UM0028 Rev 4
7/15
1 Getting Started
Figure 3.
ST7-EPB
Installing MCU in a ZIF socket
Pin 1 indicator
Pin
Pin 1 indicator
4.
Lock the device in place by lowering the lever again.
Use ST7 Visual Programmer to program your device. For more detailed information about
its use, refer to the software’s online help.
1.4
Using an in-circuit programming connection
Some ST7-EPB programmers allow in-circuit programming (ICP) of supported ST7 Flash
microcontrollers, thanks to the In-Circuit Communication (ICC) protocol developed for ST7.
This section provides information to help you setup your application
HE-10 type connector
board for in-circuit programming of your ST7.
To take advantage of ICP you must have an ICC connector (10-pin
HE-10 type) installed on your application board allowing you to
connect it to your programming board with the provided ICC cable
(10-pin ribbon cable). This connection is illustrated in Figure 4.
Figure 4.
8/15
In-Circuit Communication interface
UM0028 Rev 4
ST7-EPB
Note:
1 Getting Started
When using the ST7MDTS1-EPB, the VDD_APPLI is not connected to the ST7. When
setting up your application for in-circuit programming, refer to the ICP Interface diagram in
the In-CIrcuit Programming section of the ST7SCR Datasheet, instead of the diagram
provided above.
Using the ICC protocol for in-circuit programming requires that a minimum of 4 and as many
as 6 pins of your ST7 be connected to your programming board (see Table 1). Additional
notes about these connections are provided in this section.
Table 1.
ICC connection requirements
ST7 pin
Connects to...
ICCDATA
ICC input serial data pin
ICCDATA
ICCCLK
ICC output serial clock pin
ICCCLK
RESET
Device reset
ICCRESET
Programming voltage
ICCSEL/VPP
Main clock input for external
ICCOSC
VDD
Device power supply
VDD_APPLI
VSS
Device power supply (ground)
GND
ICCSEL/VPP
OSC1 or OSCIN
#
# Optional connection for ST7MDTxx-EPB, see text.
Note:
For specific ICC connection requirements for microcontroller introduced after the publication
of this document, please refer to the microcontroller datasheet.
Isolation of ICCDATA and ICCCLK pins
From the moment that your ST7-EPB is plugged into the application board, the ICCDATA
and ICCCLK pins must not be used by other application devices, even when you are not
programming the ST7. If the application uses these pins as inputs, isolation such as a serial
resistor must be implemented to prevent other application devices from forcing a signal on
either of these pins. The application board must not drive current in excess of 1mA.
If the ICCDATA and ICCCLK pins are only used as outputs by the application, no signal
isolation is necessary.
For ST7 without an ICCSEL pin, during normal operation the ICCCLK pin must be pulled-up
internally or externally (10KΩ pull-up required in noisy environments). This is to avoid
entering ICC mode unintentionally during a reset.
Isolation of the RESET pin
During an ICC session, your ST7-EPB must control the ST7’s RESET pin. No external reset
can be generated by the application. This can lead to a conflict if the application reset
circuitry signal exceeds 5mA (push-pull output or pull-up resistor
很抱歉,暂时无法提供与“ST7MDTH1-EPB/US”相匹配的价格&库存,您可以联系我们找货
免费人工找货