Advertisement

Quick Links

Introduction
Thanks for choosing ST7! This manual will help you set up and start using your ST7-EMU3
emulator.
The ST7-EMU3 emulator is the latest generation of ST7 emulators. In combination with the
ST7 debugging and programming software, it gives you unprecedented control of
application development - from building and debugging your applications to programming
your ST7 microcontroller.
The ST7-EMU3 emulator gives you start-to-finish control of application development by
providing you with emulation and in-circuit communication (ICC) configurations. The ST
Micro Connect box is your common hardware interface for emulation and in-circuit
debugging and programming.
In the emulation configuration, your emulator's probe and ST7 Visual Develop (STVD7)
software allow you to build and debug your application software. This configuration gives
you the most complete range of debugging features, including advanced breakpoints and
performance analysis.
In the in-circuit communication configuration, the ICC Add-on and STVD7 allow you to
debug your application while it runs on your ST7, and to program your ST7 microcontroller
with ST7 Visual Programmer (STVP7).
Figure 1.
ST7-EMU3 emulator configurations
Host PC running
STVD7 or STVP7
Connects via Parallel,
USB or 10 MHz
Ethernet connection
ST Micro Connect box
March 2009
Probe
ICC Add-on
ST7
Rev 4
UM0034
User Manual
ST7-EMU3
series emulator
Emulation configuration
STVD7
ST Micro Connect box
Probe
-or-
In-circuit communication
configuration
STVD7 or STVP7
ST Micro Connect box
ICC Add-on
ST7 in your application
www.st.com
1/39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ST7-EMU3 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST ST7-EMU3 Series

  • Page 1 ST7 microcontroller. The ST7-EMU3 emulator gives you start-to-finish control of application development by providing you with emulation and in-circuit communication (ICC) configurations. The ST Micro Connect box is your common hardware interface for emulation and in-circuit debugging and programming.
  • Page 2: Table Of Contents

    ST Micro Connect box ........
  • Page 3 Voltage selector ......... . . 28 Sharing ST Micro Connect with ICC Add-on and EMU3 probe ..28 Appendix A EMC conformity and safety requirements.
  • Page 4: Overview

    For more information, application notes, FAQs and software updates for all the ST microcontroller families, check out the CD-ROM or our website: www.st.com For assistance on all ST microcontroller subjects, or for help using your emulator, refer to the contact list provided in Product support.
  • Page 5: Getting Started With St7-Emu3

    – The ST7 Assembler-Linker software with user manual in Adobe® Acrobat® PDF format. – Software demonstration packages, including C compilers and toolchains by Cosmic and Metrowerks. The ST Microcontrollers Mini-ROM with a presentation of the ST family of microcontrollers. 5/39...
  • Page 6 Getting Started with ST7-EMU3 ST7-EMU3 series emulator Figure 2. Parts delivered with the ST7-EMU3 emulator (not to scale) (10) 6/39...
  • Page 7: Quick Set Up For Emulation Configuration

    ST7-EMU3 series emulator Getting Started with ST7-EMU3 Quick set up for emulation configuration Connect your PC to your ST Micro Connect box via parallel, USB or Ethernet port. For more details refer toChapter 3: Connectivity on page For Ethernet connections, you must assign your ST Micro Connect box an IP address.
  • Page 8: Quick Set Up For In-Circuit Communication Configuration

    Getting Started with ST7-EMU3 ST7-EMU3 series emulator Quick set up for in-circuit communication configuration Connect your PC to your ST Micro Connect box via the parallel or USB ports. Ethernet is not supported for in-circuit debugging and programming. For more details refer to...
  • Page 9: Connectivity

    Connectivity Connectivity The ST Micro Connect box provides three possible connections to the host PC: parallel port, USB and Ethernet. The type of connection that you use will be determined, in part, by the configuration you choose for your EMU3 emulator.
  • Page 10: Connecting To The Parallel Port

    Select the parallel ports menu (this may be listed under I/O ports). Change the Mode of the LPT port that you have chosen for your ST Micro Connect box (i.e. either LPT1 or LPT2) to one of the compatible modes listed in Table 1 on page 9.
  • Page 11: Usb Port

    Set the connection type in STVD7 or STVP7 For USB port connections, plug the USB cable into the USB port of the ST Micro Connect box (as shown in Figure 9) and connect the other end into the PC’s USB port. Once the ST Micro Connect box is connected and powered-on for the first time, your PC will automatically look for a USB device driver.
  • Page 12: Ethernet Connection

    For Ethernet connections, you must first give your ST Micro Connect box an IP address in order for it to be recognized as a device on your network. If your ST Micro Connect box has not been assigned an IP address, refer to Section 3.3.1...
  • Page 13 ST Micro Connect box. Connect it to your network using an Ethernet connection. 12. Ensure that no application board is connected to your ST Micro Connect box, then reboot it by switching it off and then on again. When rebooted, your network will recognize the device by its new IP address.
  • Page 14: Emulation Configuration

    Read/Write on-the-fly feature allows you to intrusively read or write to memory while executing your application. Easily upgradable – the PLDs and firmware of the ST Micro Connect and the EMU3 probe are updated automatically by STVD7. Easily expandable – you can change the emulation target (i.e. the type of ST7 to be emulated) easily and economically by changing the target emulation board (TEB) in the EMU3 probe.
  • Page 15: System Architecture

    The Target Emulation Module consisting of: – The ST Micro Connect Box, which contains the common resources for communication between the PC and emulation hardware. It links to a host PC via parallel, USB or Ethernet ports, and to the probe by way of two 80-wire flat cables.
  • Page 16: St Micro Connect Box

    ST7-EMU3 series emulator ST Micro Connect box The ST Micro Connect box is a common hardware target interface for a range of ST7. It connects to your application via the EMU3 probe (emulation configuration) or the ICC Add- on (in-circuit communication configuration). Depending on the configuration and your PC’s operating system, it allows you to connect your PC via parallel port, USB port or Ethernet connection.
  • Page 17 ST7-EMU3 series emulator Emulation configuration Figure 17. ST Micro Connect box front panel Ports for two 80-pin flat SMB input trigger ST Micro Connect cables connection port ST MICRO CONNECT ‚ EMU3 EMULATOR RESET RUN Ext Link WAIT OUT1 OUT2 .
  • Page 18: Probe Connection Cables

    4.3.2 Probe connection cables The ST Micro Connect box connects to your EMU3 probe via the two 80-wire flat cables coming from the front panel. When you receive your emulator, the ST Micro Connect box and the probe should already be connected (see Figure 19).
  • Page 19: Power Supply

    Frequency: 50 to 60 Hz 4.3.4 Output and Input triggers Your ST Micro Connect box has two output triggers (OUT1, OUT2), and one input trigger (IN), which are available via SUB-click connectors located on the front panel (see Figure 17). Both input and output signals are at TTL level.
  • Page 20 Emulation configuration ST7-EMU3 series emulator Figure 20. Output trigger action modes Pulse output trigger Period of time between event provoking pulse action pulse lasting one processor cycle 2nd toggle 4th toggle 6th toggle Toggle output trigger action action action 1st toggle...
  • Page 21: Emu3 Probe

    (TEB) in the EMU3 probe. TEBs can be ordered independently. For information about the TEB to choose, refer to the ST Product and Tool Selection Guide. Installing and changing the TEB is described in detail in the ST7xxxx- EMU3 Probe User Guide provided with your probe.
  • Page 22: Analyzer Input Connector

    Emulation configuration ST7-EMU3 series emulator 4.4.3 Analyzer input connector An analyzer input connector is located on the EMU3 probe as shown in Figure 21. The analyzer input connector allows you to use 8 external input signals (TTL level). The connector has nine pins—one ground pin (the right-most pin) and eight input signal pins (1-...
  • Page 23: Sharing St Micro Connect With Emu3 Probe And Icc Add-On

    ICC Add-on for in-circuit communication. You can use the same ST Micro Connect box in both cases if you follow these guidelines: Use only one connection at a time, either the EMU3 probe or ICC add-on connection.
  • Page 24: In-Circuit Communication Configuration

    23). In the in-circuit communication configuration, the ICC Add-on serves as the hardware interface for connecting your ST Micro Connect box to the ST7 on your application board. During application development, STVD7 software running on your PC provides an integrated development environment that allows you to debug your application while it runs on an ST7 that has debug modules.
  • Page 25: Icc Connection Requirements

    ST7-EMU3 series emulator In-circuit communication configuration Figure 23. In-circuit communication configuration Host PC Running ST7 Visual Develop (STVD7) Emulator-to-PC Connects via parallel ST7 Visual Programmer and USB ports (STVP7) ST Micro Connect box Interface between PC and application boa ICC connection via ‘Ext Link’...
  • Page 26 In-circuit communication configuration ST7-EMU3 series emulator Figure 25. ICC interface Table 3. ICC connection requirements ST7 pin Description Connects to ICC ICCDATA ICC input/output serial data pin ICCDATA ICCCLK ICC output serial clock pin ICCCLK RESET Device reset ICCRESET ICCSEL/VPP...
  • Page 27 ST7-EMU3 series emulator In-circuit communication configuration Isolation of the RESET pin During an ICC session, you must ensure that the emulator controls the ST7’s RESET pin so that no external reset is 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 <1k).
  • Page 28: Icc Add-On

    ST7-EMU3 series emulator ICC Add-on The ICC Add-on is the hardware link between your ST Micro Connect box and the the ST7 on your application board. It connects to the ST Micro Connect box via the 26-pin ‘Ext Link’ connection on the front panel, and plugs directly into your application board by way of a standard HE10 connector.
  • Page 29: Appendix Aemc Conformity And Safety Requirements

    Before every contact with the emulator, the operator must touch the surface of the grounded worktable just behind the rear panel of the ST Micro Connect box. All manipulation of finished must be done at such a grounded worktable.
  • Page 30: Appendix B Troubleshooting

    (when you click the Debug button to load your application into the emulator). Ensure that: The parallel cable is connected between the ST Micro Connect box and to the PC parallel port (LPT1 or LPT2) that you specified when installing STVD7.
  • Page 31 This error means that ST Micro Connect cannot communicate with the emulation hardware in the EMU3 probe. Ensure that: Error 41001 The flat cables linking the EMU3 probe and the ST Micro Connect EMU3 Probe (or one of its boards) is box are properly connected (i.e. not twisted or disconnected).
  • Page 32: Appendix C Glossary

    CEB (Common emulation board) One of three boards that make up the EMU3 probe. It provides the link between the probe and the ST Micro Connect box, and is common to all EMU3 probes. DEB (Dedicated emulation board) One of three boards that make up the EMU3 probe. The DEB is specific to ST7. This board provides the link between the TEB and the CEB.
  • Page 33 ST7-EMU3 series emulator Glossary C (Inter-integrated circuit) A protocol for a bus that can be connected to multiple integrated circuits and that allows any one of them to initiate data transfer. ICC (In-circuit communication) A device communication protocol that is stored in the ST7 microcontroller’s system memory.
  • Page 34 Glossary ST7-EMU3 series emulator PC (Program counter) The CPU register that holds the address of the next instruction or operand that the CPU will use. PLD (Programmable logic device) An integrated circuit that can be programmed to perform complex functions.
  • Page 35 ST7-EMU3 series emulator Glossary TQFP (Thin quad flat package) A family of integrated circuit packages for surface mounted assembly. This type of package has a square, flat shape and pins on all four sides. TTL (Transistor to transistor logic) A bipolar technology where a transistor output is connected directly to the transistor input of the next stage, rather than connecting through a resistor or diode.
  • Page 36: Appendix D Product Support

    You can order extra components, such as sockets and adapters, from STMicroelectronics, from the component manufacturer or from a distributor. To help you find what you need, a listing of accessories for STMicroelectronics development tools is available on the STMicroelectronics internet site, www.st.com. D.2.1 Sockets Complete documentation and ordering information for P/TQFP sockets from Yamaichi, Ironwood, CAB and Enplas are provided on their respective internet sites.
  • Page 37: Getting Prepared Before You Call

    (i.e. the UK, Continental Europe or the USA). Serial number: The serial number is found located on the rear panel of the ST Micro Connect box and is also listed on the Global Reference card provided with the emulator.
  • Page 38 Revision Description – Added Chapter 2 – Software installation 01-Nov-2002 – Added Section 4.11 – Set up instructions for ST Micro Connect – Removed sections containing STVD7 user instructions – Updated Section 1, Section 5 – In-Circuit Programming (ICP) 01-Jun-2003 –...
  • Page 39 No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

Table of Contents