St7 EPB User Manual
St7 EPB User Manual
St7 EPB User Manual
User Manual
Release 3.1
April 2004
Ref: DOC-ST72WIN-EPBJ/LPT
INSTRUCTIONS FOR USE—WARNING
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 Safety Requirements on page 13 for relevant safety
information
1. Life support devices or systems are those 2. A critical component is any component of a life
which (a) are intended for surgical implant into support device or system whose failure to
the body, or (b) support or sustain life, and whose perform can reasonably be expected to cause the
failure to perform, when properly used in failure of the life support device or system, or to
accordance with instructions for use provided affect its safety or effectiveness.
with the product, can be reasonably expected to
result in significant injury to the user.
Table of Contents
Chapter 1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1 About the user manuals... ............................................................................. 5
1.2 Host PC system requirements ...................................................................... 5
1.3 Getting assistance ........................................................................................ 5
Product Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Software updates ...................................................................................................... 14
Hardware spare parts ............................................................................................... 14
Contact List ............................................................................................................... 15
3/16
1 - Introduction ST7-EPB User Manual
1 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 Programing Board Descriptions.
Parallel port
(P1 connector)
Programming
sockets
ICC cable
ICC connector
(10-pin, HE-10 connector)
Note: The ST7 EPB is meant to program small numbers of microcontrollers (i.e. prototypes in the
development stage). For mass production programming, it is recommended that you use the
appropriate gang programmer.
4/16
ST7-EPB User Manual 1 - Introduction
• 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 STVP7.
5/16
2 - Getting Started ST7-EPB User Manual
2 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:
• Section 2.1 – a checklist of components delivered with your ST7-EPB
• Section 2.2 – instructions for setting up your programming board
• Section 2.3 – instructions on the use of programming sockets
• Section 2.4 – instructions on setting up a connection for in-circuit programming
• Section 2.5 – additional notes about in situ programming
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.
6/16
ST7-EPB User Manual 2 - Getting Started
2 3
Optional
3 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.
7/16
2 - Getting Started ST7-EPB User Manual
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.
Pin 1 indicator
Pin 1
Pin 1 indicator
8/16
ST7-EPB User Manual 2 - Getting Started
Use the ST7 Visual Programmer to program your device. For more detailed
information about using ST7 Visual Programmer, refer to the software’s online
help.
9/16
2 - Getting Started ST7-EPB User Manual
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.
ICCSEL/VPP pin
The application pull-down resistor must not be lower than 10kΩ.
10/16
ST7-EPB User Manual 2 - Getting Started
ICCOSC pin #
The ICCOSC pin of the ICC connector must be connected to the ST7’s OSC1 or
OSCIN pin if the clock is not provided by the application, or if the application clock
source is not programmed in the option byte. This connection allows you to start
your ICP session using the ICP OPT Disable programming mode. In this mode,
your ST7-EPB provides a clock source to initiate communication with the ST7 at a
frequency of 16MHz.
For ST7 devices with multi-oscillator capability, when the ICCOSC pin is
connected, the OSC2 pin should be grounded.
Caution: For all versions of the following EPBs, the ICCOSC pin must not be connect to the device’s
OSCIN pin:
• ST7MDTU2-EPB • ST7MDTU5-EPB
• ST7MDTU3-EPB
If your application provides a clock signal and you are certain that it is programmed
in the ST7’s option byte, you can start your ICP session using the ICP OPT Enable
programming mode. In this mode, your application clock source provides the clock
signal for initiating communication with your ST7 and ICCOSC is not connected to
your ST7.
Your ST7-EPB programming board provides a clock signal when using both the
ICP OPT Disable and ICP OPT Enable programming modes. If you start your ICP
session using ICP OPT Enable, the clock signal provided by the programmer may
conflict with the application clock and can cause a communication failure with your
ST7. To avoid this we recommend installing a jumper on the connection between
ICCOSC and the ST7. This jumper is removed when starting in the ICP OPT
Enable programming mode. If the user requires a clock signal from the
programming board in order to start in the ICP OPT Disable mode, the jumper is
left in place.
VDD_APPLI pin
This pin is used by the programming tool’s power supply follower, which adapts the
voltage of the tool’s signals to your application’s VDD.
The VDD_APPLI pin must be connected when using any ST7MDTxx-EPB
programmer with ICP capability, except the ST7MDTS1-EPB.
11/16
3 - Hardware Features ST7-EPB User Manual
3 HARDWARE FEATURES
12/16
ST7-EPB User Manual Appendix A Safety Requirements
13/16
Product Support ST7-EPB User Manual
PRODUCT SUPPORT
If you experience any problems with this product, contact the distributor or the
STMicroelectronics sales office where you purchased the product. Phone numbers
for major sales regions are provided in the Contact List, below.
In addition, at our Internet site mcu.st.com, you will find a complete listing of ST
sales offices and distributors, as well as documentation, software downloads and
user discussion groups to help you answer questions and stay up to date with our
latest product developments.
Software updates
All our latest software and related documentation are available for download from
the ST Internet site, mcu.st.com.
14/16
ST7-EPB User Manual Product Support
Contact List
North America
West coast
STMicroelectronics, Inc.
1060 E. Brokaw Road
San Jose, CA 95131
Phone: (408) 452-8585
Note: For American and Canadian customers seeking technical support the US/
Canada is split in 3 territories. According to your area, contact the appropriate
sales office from the list above and ask to be transferred to an 8-bit
microcontroller Field Applications Engineer.
Europe
Asia/Pacific Region
15/16
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.
1
STMicroelectronics products are not authorized for use as critical components in life support devices or systems without the express written
approval of STMicroelectronics.
6
The ST logo is a registered trademark of STMicroelectronics
©2004 STMicroelectronics - All Rights Reserved.
Purchase of I2C Components by STMicroelectronics conveys a license under the Philips I2C Patent. Rights to use these components in an
I2C system is granted provided that the system conforms to the I2C Standard Specification as defined by Philips.
STMicroelectronics Group of Companies
Australia - Brazil - Canada - China - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan
Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A.
www.st.com
16