0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
UM0034

UM0034

  • 厂商:

    STMICROELECTRONICS(意法半导体)

  • 封装:

  • 描述:

    UM0034 - Getting Started - STMicroelectronics

  • 数据手册
  • 价格&库存
UM0034 数据手册
UM0034 User Manual ST7-EMU3 series emulator 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 Emulation configuration STVD7 ST Micro Connect box Probe ICC Add-on -orST7 In-circuit communication configuration ST Micro Connect box Probe STVD7 or STVP7 ST Micro Connect box ICC Add-on ST7 in your application Connects via Parallel, USB or 10 MHz Ethernet connection March 2009 Rev 4 1/39 www.st.com Contents ST7-EMU3 series emulator Contents 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1 1.2 1.3 About the user manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Host PC system requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Getting assistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 Getting Started with ST7-EMU3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1 2.2 2.3 Delivery check list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Quick set up for emulation configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Quick set up for in-circuit communication configuration . . . . . . . . . . . . . . . 8 3 Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.1 Parallel port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.1.1 3.1.2 Connecting to the parallel port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Changing the parallel port set up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.2 3.3 USB port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.2.1 Connecting to the USB port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Ethernet connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.3.1 Assigning an IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4 Emulation configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.1 4.2 4.3 Emulation features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 System architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 ST Micro Connect box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.3.1 4.3.2 4.3.3 4.3.4 Physical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Probe connection cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Output and Input triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.4 EMU3 probe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.4.1 4.4.2 4.4.3 4.4.4 Target emulation board (TEB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Application board connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Analyzer input connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Application power supply follower . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.5 Sharing ST Micro Connect with EMU3 probe and ICC Add-on . . . . . . . . 23 2/39 ST7-EMU3 series emulator Contents 4.6 4.7 Automatic firmware updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Emulator functional limitations and discrepancies . . . . . . . . . . . . . . . . . . 23 4.7.1 4.7.2 4.7.3 Voltage limitation for I2C peripheral . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Memory emulation limitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Limitations and discrepancies for specific MCUs or families of MCUs . 23 5 In-circuit communication configuration . . . . . . . . . . . . . . . . . . . . . . . . 24 5.1 5.2 5.3 5.4 System architecture and development features . . . . . . . . . . . . . . . . . . . . 24 ICC connection requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 ICC Add-on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.3.1 Voltage selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Sharing ST Micro Connect with ICC Add-on and EMU3 probe . . . . . . . . 28 Appendix A EMC conformity and safety requirements. . . . . . . . . . . . . . . . . . . . 29 Appendix B Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Appendix C Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Appendix D Product support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 D.1 D.2 Software updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Hardware spare parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 D.2.1 D.2.2 Sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 D.3 Getting prepared before you call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 3/39 Overview ST7-EMU3 series emulator 1 1.1 Overview About the user manuals This manual will help you set up your ST7-EMU3 emulator and connect it to your PC. Here, you will find: ● ● ● Quick set up instructions for the emulation and in-circuit communication configurations Detailed hardware information A troubleshooting guide for your emulator For information about the hardware and software intended for use with your emulator, refer to the following documents that are included with it: ● ● ● ● ● ST7-EMU3 Probe user guide- for instructions about connecting your ST7MDTxx-EMU3 emulator to your application board. ST7-EMU3 Emulation Characteristics- for a detailed description of characteristics specific to your ST7MDTxx-EMU3’s Target Emulation Board (TEB). ST7 Visual Develop on-line help- build and debug your application software. ST7 Visual Programmer on-line help - program your ST7. ST7xxxx Datasheet - ICC connection information that is specific to your ST7. 1.2 Host PC system requirements Both the hardware and software components of the ST7-EMU3 emulator have been designed to operate with: ● ● ● ● One of the following operating systems: Microsoft® Windows® 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: To install STVD7 and STVP7, Windows® 2000, NT® and XP® users must have administrator privileges. 1.3 Getting assistance 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. We’ll be glad to help you. 4/39 ST7-EMU3 series emulator Getting Started with ST7-EMU3 2 Getting Started with ST7-EMU3 Your ST7-EMU3 emulator can be configured for emulation, as well as in-circuit debugging and programming of your ST7 microcontroller. To help you get started, the following sections provide: Section 1.1 – a checklist of components included with your emulator Section 1.2 – quick set up instructions for the emulation configuration Section 1.3 – quick set up instructions for the in-circuit communication configuration 2.1 Delivery check list The ST7-EMU3 emulator comes with (refer to Figure 2): 1. 2. 3. 4. 5. 6. 7. 8. 9. ● One ST Micro Connect box. One EMU3 probe containing a target emulation board (TEB) corresponding to the ST7 you wish to emulate. One DC power supply for the ST Micro Connect box. Two 80-wire flat cables and two ferrite clips. Three trigger cables. One 9-wire, analyzer-input cable. One parallel cable and one USB cable for emulator-PC connection, One DB9F/DB9M serial cable (not shown) for Ethernet configuration. One ICC Add-on (STMC ICC board, ICC cable with HE10 connectors). Device adapters (refer to the ST7xxxx-EMU3 Probe User Guide). This manual ST7xxxx-EMU3 Probe User Guide ST7 ASM Quick Reference Guide ST Product and Tool Selection Guide The Microcontroller Development Tools CD-ROM with all the software you need to run your ST7-EMU3 emulator, including: – – – – The ST7 Visual Develop (STVD7) software with user manual in Adobe® Acrobat® PDF format. The ST7 Visual Programmer (STVP7) software, which includes an online help file to get you started. 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. All ST7-EMU3 emulator s also come with the following documentation: ● ● ● ● ● The ST Microcontrollers Mini-ROM with a presentation of the ST family of microcontrollers. 5/39 Getting Started with ST7-EMU3 Figure 2. ST7-EMU3 series emulator Parts delivered with the ST7-EMU3 emulator (not to scale) (1) (2) (3) (4) x2 (5) (6) x3 (8) (7) (9) (10) 6/39 ST7-EMU3 series emulator Getting Started with ST7-EMU3 2.2 Quick set up for emulation configuration 1. Connect your PC to your ST Micro Connect box via parallel, USB or Ethernet port. For more details refer toChapter 3: Connectivity on page 9. For Ethernet connections, you must assign your ST Micro Connect box an IP address. For instructions refer to Section 3.3: Ethernet connection on page 12. Caution: Before connecting your emulator and your application board, make sure that both your ST Micro Connect box and the application board are powered OFF. Connect your PC Figure 4. Fasten the ferrite clips Figure 3. ST Micro Connect box ST Micro Connect box (back panel) Parallel Ethernet USB EMU3 probe 2. 3. Fasten ferrite clips to the 80-wire flat cables connecting the ST Micro Connect box to your EMU3 probe (see Figure 4). Connect your application board to the EMU3-probe. You can use the emulator without connecting to your application board. For details about connecting to your application board refer to your ST7xxxx-EMU3 Probe User Guide provided with your emulator. Caution: Never have your application board powered on while the emulator is powered off—this can cause serious damage to the emulator. 4. 5. 6. Connect the power supply to your ST Micro Connect box. For power supply information, refer to Section 4.3.3: Power supply on page 19. Power up your ST Micro Connect box. Power up your application. Caution: You must always power up your emulator and your application board before running your application executable in STVD7. Doing otherwise will result in an erroneous emulation. 7/39 Getting Started with ST7-EMU3 ST7-EMU3 series emulator 2.3 Quick set up for in-circuit communication configuration 1. 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 Chapter 3 on page 9. Caution: In order to use the ICC Add-on you must design your application board with an HE10 connector linked to the microcontroller in your application. The pins connected to the HE10 connector must use a signal voltage of 3.3 or 5 V. For more information refer to Section 5.2: ICC connection requirements on page 25. Connect your PC ST Micro Connect box (back panel) Figure 6. Select voltage Figure 5. Parallel USB ICC Add-on 2. Select the voltage (3.3 or 5 V) with the selector switch on the board of your ICC add-on. For more information on voltage specifications, refer to Section 5.3: ICC Add-on on page 28. Plug the ICC Add-on into the ‘Ext Link’ on your ST Micro Connect box. Plug the ICC Add-on into the HE10 connector on your application board. Power up your ST Micro Connect box. Power up your application. Plug in the ACC Add-on Two 80-wire flat cables (not used) 3. 4. 5. 6. Figure 7. ST7 HE10 connector 8/39 ST7-EMU3 series emulator Connectivity 3 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. In the in-circuit communication configuration, you can use either the USB or the parallel port. Ethernet is not supported in this configuration. In the emulation configuration you can use the Ethernet, USB or parallel port. When you start your emulation, in-circuit debugging or in-circuit programming sessions, you will have to set the connection type in STVD7 or STVP7. In STVD7, set the port in the Debug Instrument Settings window (Debug Instrument>Target Settings). When programming your ST7 with STVP7, set the port in the Configuration window (Configure>Configure ST7 Visual Programmer). For more information refer to your software's online help. The following sections provide you with information about supported connections, as well as how to connect your PC via: ● ● ● Section 3.1 – Parallel port Section 3.2 – USB port Section 3.3 – Ethernet port 3.1 Parallel port Your EMU3 emulator supports the parallel port connection modes listed in Table 1, when using either the emulation or the in-circuit communication configurations. Table 1. Supported parallel port connection modes Operating systems Compatible parallel port modes EMU3 emulator configuration Emulation, In-circuit Communication Windows® 98, Millennium, ECP(1), Bidirectional, Compatible, SPP, Nibble, Centronics or EPP. NT®4, 2000, XP 1. ECP mode is normally chosen as a default mode as it provides the best performance. 9/39 Connectivity ST7-EMU3 series emulator 3.1.1 Connecting to the parallel port Figure 8. Parallel port connection between ST Micro Connect box and PC 1 To LPT1 or LPT2 ST Micro Connect box view of rear panel 2 3 Set the connection type in STVD7 or STVP7 Parallel port connector To connect your emulator to your PC, connect the end of the parallel cable with the ferrite to the ST Micro Connect’s rear panel 25-pin SUB-D connector (see Figure 8). Connect the other end of the parallel cable to one of the PC’s parallel ports (LPT1 or LPT2). Be sure to use the parallel cable provided with your emulator. Using a longer parallel cable may cause emulator malfunctions. The use of switch boxes between the parallel port connector of your PC and the emulator is not recommended. 3.1.2 Changing the parallel port set up Under certain circumstances, you may receive the following error message: Connection Error (LPT1/LPT2): Interconnection failure. Verify your input/output cable. This may mean that the setup of the LPT1 or LPT2 port on your PC is not compatible with the emulator. To set up the port correctly: 1. 2. 3. 4. 5. Shut down and restart your PC in order to enter the BIOS setup. Follow the messages displayed on the screen and when prompted, press the key required to enter the BIOS setup (usually a function key or the ESC key). 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. Save your changes and exit the BIOS setup. 10/39 ST7-EMU3 series emulator Connectivity 3.2 USB port Your EMU3 emulator supports USB connection in both the emulation and in-circuit communication configurations, when using Windows® 98, Millenium, 2000 and XP®. 3.2.1 Connecting to the USB port Figure 9. USB connection between ST Micro Connect box and PC 1 To USB port on PC ST Micro Connect box view of rear panel 2 USB connector 3 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. 11/39 Connectivity ST7-EMU3 series emulator 3.3 Ethernet connection Your EMU3 emulator supports 10 MHz Ethernet connections when set up in the emulation configuration. When you program with the ICC Add-on, use the parallel or the USB port. 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 on page 12 for detailed instructions. Figure 10. Ferrite for Ethernet cable Connect a ferrite as close as possible to the end of the cable that will be plugged into your ST Micro Connect box Once you have assigned an IP address to the ST Micro Connect box, connect it to your network using the Ethernet connector on the rear panel. To reduce signal noise, you should attach the provided ferrite to your Ethernet cable as shown in Figure 8. The ferrite should be placed as close as possible to the end that is plugged into your ST Micro Connect box. The Ethernet cable is not provided with your EMU3 emulator. 3.3.1 Assigning an IP address To give your ST Micro Connect box an IP address do the following: 1. Connect the provided serial cable between the serial port of your ST Micro Connect and a serial port on your PC (either COM1 or COM2). Note: To set the IP address, you must use a direct serial cable like the one provided (i.e. the PCside Receive Data pin (Rx) connects directly to the emulator-side Rx pin and the PC-side Transmit Data pin (Tx) connects directly to the emulator-side Tx pin). You cannot use a serial cable with an inverted connection (Rx pin connected to Tx pin). 2. 3. From Windows, open a Hyperterminal window. This is done by selecting Start>Programs>Accessories>Communications>Hyperterminal. If the Hyperterminal software is not installed on your system, you will have to install it from your Windows® CD-ROM, by selecting Start>Settings>Control Panel>Add/Remove Programs>Windows Setup, and clicking on the Hyperterminal option. The Connection Description dialog box will open. Type in the name you wish to give to the new connection configuration and click OK, as shown in Figure 11. When the Connect To dialog box opens, select the serial port on your PC that you connected the serial cable to in Step 1. Click OK.. When the COM1 Properties dialog box opens, configure the COM port properties as shown in Figure 13. Click OK. When the Hyperterminal console opens, type ipaddr at the prompt, followed by the IP address you wish to assign to your ST Micro Connect box. Remember that this IP 4. 5. 6. 7. 12/39 ST7-EMU3 series emulator Connectivity address must be unique on your network. In Figure 14, we have used 164.129.123.244 as the IP address. Press the Enter key on your keyboard. Figure 11. Hyperterminal new connection Figure 12. Connecting to a COM port 8. 9. The Hyperterminal console will indicate that the IP address has been set, and will also report the submask. At the prompt type nvsave, and press Enter, to save your configuration (Figure 14). Figure 13. Configuring the COM port Figure 14. Configuration saved Assign the IP address Save the configuration 10. The Hyperterminal console will indicate that your configuration has been saved 11. Exit the Hyperterminal console and disconnect the serial cable between your host PC and the 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. 13/39 Emulation configuration ST7-EMU3 series emulator 4 Emulation configuration In the emulation configuration, the ST7-EMU3 emulator provides you with a full range of emulation features to make building and debugging your application fast and easy. The following sections provide information about the emulation configuration, including descriptions of: ● ● ● ● ● ● ● Section 4.2 – system architecture Section 4.1 – overall emulation features Section 4.3 – ST Micro Connect box features Section 4.4 – EMU3 probe features Section 4.5 – the dual configuration capability Section 4.6 – automatic firmware updating Section 4.7 – product limitations and discrepancies 4.1 Emulation features The features described below are common to all ST7 EMU3 emulators: ● ● ● ● ● Link to host PC via USB, 10 MHz Ethernet and parallel port connections. 2.5 to 5.5 V operating voltage (refer to your ST7xxxx Datasheet). Programmable internal CPU clock with frequency up to 24 MHz, depending on your ST7 (see your ST7xxxx Datasheet). 256k x 112-bit real-time trace (address, data and control buses). Advanced breakpoints based on a 4-level logical sequencer that allows you to perform specific actions upon the occurrence of an event or series of events. Advanced breakpoints functionality provides flexibility of use, permits simple or multi-level breakpoint conditions, control of trace recording and triggering of output signals. 9 external input triggers, which are recorded in the trace and can be used as signal events in the advanced breakpoints. Input triggers include: – – 1 input trigger via SUB-click connector on the ST Micro Connect box 8 input triggers on analyzer input ● ● ● 2 output triggers via SUB-click connectors on the ST Micro Connect box. Full access to entire 64 KB of ST7 memory. Read/write privileges on the entire memory space (see Section 4.7.2 on page 23, regarding limitations). Granularity of memory mapping is 1. 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. ● ● ● 14/39 ST7-EMU3 series emulator Emulation configuration 4.2 System architecture Figure 15. Emulation configuration Host PC Running ST7 Visual Develop (STVD7) Emulator-to-PC Connection via parallel port, USB port or Ethernet ST Micro Connect box Interface between PC and EMU3 probe Connects via two 80-wire flat cables EMU3 probe Houses 3 emulation boards: • CEB - common to all EMU3 probes • DEB - ST7 MCU specific • TEB - specific to an ST7 or family of ST7s Interface with application board Connects via device adapters or flex cables provided with your emulator The ST7-EMU3 emulator is composed of: ● ST7 Visual Develop (STVD7): software from which you can configure and control your emulator, and debug your application. It runs on your PC, which you connect to your emulator via a parallel, USB or Ethernet connection. 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. The probe, which contains the active emulation hardware including the target emulation board (TEB). The target emulation board has the specific resources necessary to emulate an individual ST7, or family of ST7 microcontrollers. It also permits the connection to your application board. ● – ● ● ● Flex connectors which are furnished in your emulator’s connection kit and provide the connection between your emulator’s TEB and your application board. Adapters which may be necessary for some device packages, when connecting to your application board. Sockets which you must install on your application board, allowing you to connect your emulator to the application in place of your ST7. 15/39 Emulation configuration ST7-EMU3 series emulator 4.3 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 Addon (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. Figure 16. ST Micro Connect box 4.3.1 Physical characteristics Front panel On the front panel of the ST Micro Connect box you will find: ● ● ● ● ● On/Off switch for the emulator, input and output trigger connectors, emulator status LEDs, 26-pin ‘Ext Link,’ for ICC connection, ports for two 80-pin flat cables that connect the ST Micro Connect box to the EMU3 probe. The three emulator status LEDs on the front panel of the ST Micro Connect box indicate the state of the development tool during emulation: ● Reset (Red)—indicates that the ST7 emulation chip is being reset. In addition, there is one LED on the EMU3 probe, near the ST Micro Connect connectors, that lights when data is being communicated between the ST Micro Connect box and the EMU3 probe. Wait (Yellow)—indicates that emulator is in halt or wait for interrupt mode. Run (Green)—indicates that the ST7 application is running (the ST7 is not in RESET, WFI or HALT mode). ● ● 16/39 ST7-EMU3 series emulator Figure 17. ST Micro Connect box front panel Emulation configuration SMB input trigger connection port Ports for two 80-pin flat ST Micro Connect cables ST MICRO CONNECT ‚ EMU3 EMULATOR RESET RUN WAIT Ext Link ............. ............. OUT1 IN OUT2 OFF ON Triggers 26-pin Ext Link for ICC connection Power On/Off switch and Power on LED Two SMB output trigger connection ports Emulator status LEDs Rear panel The rear panel houses the following connectors: ● ● ● ● ● RS232 serial connector. USB port connector. Ethernet connector. parallel port connector. power input connector. Figure 18. ST Micro Connect box back panel ® SERIAL USB ETHERNET RX TX PARALLEL PWR +5V@8A ..... .... . . . ..... ..... .. .......... .. .. . RS232 connector LEDs Ethernet connector Parallel port connector Power supply connector USB connector 17/39 Emulation configuration ST7-EMU3 series emulator 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). Figure 19. Connecting the 80-pin cables to the EMU3 probe Micro Connect ports Upper cable (long) 1&2 Lower cable (short) ST Micro Connect box EMU3 probe To disconnect or reconnect the cables, do the following: To disconnect the probe 1. 2. Power off your application board and the ST Micro Connect box. Unplug the long, 80-wire flat cable that is connected to port number 2 on top of the probe. Grasp the sides of the plug, squeeze to release the two metal locks and pull upwards, unplugging the cable from the port. Unplug the short, 80-wire flat cable that is connected to port number 1 in the same manner. 3. To reconnect the probe Plug the 80-wire flat cables back into their ports. ● ● The short 80-wire flat cable (bottom) always plugs into port number 1. The long 80-wire flat cable (top) always plugs into port number 2 (see Figure 19). 18/39 ST7-EMU3 series emulator Emulation configuration 4.3.3 Power supply The power supply for your emulator connects to the rear panel of the ST7 Micro Connect box (see Figure 18). When you connect the power supply be sure to: 1. Ensure that the operating voltage (110 Volts/220 Volts), which is indicated on the label on the power supply, matches your mains supply. Contact your dealer if this voltage does not correspond to your mains supply. Connect the external power supply provided with the emulator to the rear panel of the ST Micro Connect box using the 5-pin DIN connector. Plug the power supply into the mains using the supply cable provided. AC voltage: 100 V to 240 V Frequency: 50 to 60 Hz 2. 3. 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. Advanced Breakpoints in STVD7, allow you to define an event based on input signals (see also Section 4.4.3 on page 22), and program signals to the output triggers. The following trigger output modes (schematically represented in Figure 20) are supported: ● ● ● ● Output a pulse—where a signal of value 1 is sent during exactly one memory cycle. Toggle—where the signal value is changed from 0 to 1 or from 1 to 0. Set the output high —where the output signal is set equal to 1. Set the output low—where the output signal is set equal to 0. Several examples of how to program Advanced Breakpoints to control the sending of signals to the output triggers are given in STVD7’s online help and user manual. 19/39 Emulation configuration Figure 20. Output trigger action modes Pulse output trigger Period of time between event provoking pulse action ST7-EMU3 series emulator pulse lasting one processor cycle 2nd toggle action 4th toggle action 6th toggle action Toggle output trigger 1st toggle action 3rd toggle action 5th toggle action Set output high/low set output low set output low set output high set output low (no action as output already low) set output high 20/39 ST7-EMU3 series emulator Emulation configuration 4.4 EMU3 probe The EMU3 probe (Figure 21) has a modular design that allows you to emulate the full range of ST7. This design is based on: 1. 2. an interchangeable, target emulation board (TEB) that is specific to the ST7 or family of ST7s that you want to emulate. a common emulation board (CEB) and a dedicated emulation board (DEB) that are common to all ST7. The TEB connects to the DEB, which is housed in your EMU3 probe. The probe connects to your application board during emulation via a flex adapter and socket. In addition, an analyzer input connector allows the connection of external devices, or input signals from your application hardware. More information about these connections is provided in the ST7xxxx-EMU3 Probe User Guide. Figure 21. EMU3 probe Micro Connect ports EMU3 probe Analyzer input connector Access for flex adapter for connection to the application board 4.4.1 Target emulation board (TEB) To reconfigure your EMU3 probe to emulate another ST7 or family of ST7s, simply install the appropriate target emulation board (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 ST7xxxxEMU3 Probe User Guide provided with your probe. 4.4.2 Application board connectors Connectors on the TEB allow you to connect your probe to your application board, using the appropriate flex adapter and socket. How you connect your EMU3 probe to your application board depends on the ST7 and its package. Different application connectors are provided with your emulator, depending on the MCUs supported by its probe. For a list of connectors provided with your probe and detailed installation instructions, refer to the ST7xxxx-EMU3 Probe User Guide provided with your probe. 21/39 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 (18), as shown in Figure 22. Figure 22. Analyzer probe input connections 87654321 GND 1 ground pin (GND) and 8 male input pins (1-8) A specially-adapted 9-wire cable is included to connect your application or an external device (such as an oscilloscope or multi-meter) to these inlets. Each wire is color-coded as summarized in Table 2: Table 2. Analyzer input pin-wire correspondence Analyzer input pin Ground (GND) 1 2 3 4 5 6 7 8 Wire color Black Brown Red Orange Yellow Green Blue Purple Grey 4.4.4 Application power supply follower Your emulator is equipped with an automatic power supply follower, which converts your application power to the range supported by the emulator. The emulator’s internal power supply regulator supports a VDD voltage up to 5.5 V. The lower limit of the range depends on the ST7 you are emulating. For more information, refer to your ST7xxxx Datasheet. If your application’s voltage lies outside of the range supported by your emulator or your ST7, the emulator’s power supply follower will convert the voltage to within the appropriate range – for example, even if the application voltage is 6 V, it will be limited by the emulator to 5.5 V. 22/39 ST7-EMU3 series emulator Emulation configuration 4.5 Sharing ST Micro Connect with EMU3 probe and ICC Add-on Your ST Micro Connect box is the main component for using both the EMU3 probe for emulation and the 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. When switching from the EMU3 probe to the ICC Add-on, follow the procedure below. Switch off the application board. Switch off the ST Micro Connect box. Disconnect the EMU3 probe from the application board socket. Place your ST7 in its socket on the application board. Plug the ICC cable into the HE10 connector on your application board. Switch on the ST Micro Connect box. Switch on the application board. Switching from EMU3 probe configuration to ICC Add-on configuration: 1. 2. 3. 4. 5. 6. 7. 4.6 Automatic firmware updates The ST Micro Connect box and EMU3 probe have been designed so that their respective firmware is updated automatically. Your emulator firmware may require updating if you have changed the TEB or if you update your version of STVD7. The update is done automatically if you start a debugging session and STVD7 detects an old firmware version. For more information refer to the STVD7 User Manual. 4.7 4.7.1 Emulator functional limitations and discrepancies Voltage limitation for I2C peripheral For all target ST7s, if the I2C peripheral is used, you must limit the pull-up resistor to 1.5 kOhms. 4.7.2 Memory emulation limitation The memory zones listed below can only be configured as RAM, ROM, Non-existent memory (NEM), vectors or stack. ● ● from 0x00E0 to 0x00FF from 0xEBE0 to 0xFFE0 4.7.3 Limitations and discrepancies for specific MCUs or families of MCUs Specific MCUs or families of MCUs may be subject to emulation limitations or discrepancies. You will find information about these specific limitations in STVD7’s Discrepancies window. For more information refer to the STVD7 User Manual. 23/39 In-circuit communication configuration ST7-EMU3 series emulator 5 In-circuit communication configuration In the in-circuit communication configuration, the ST7-EMU3 emulator provides the capability to program your application to your microcontroller and to debug your application as it runs on your ST7. The following sections provide information about: ● ● ● ● Section 5.1 – the system architecture Section 5.2 – ICC connection requirements Section 5.3 – ICC Add-on features Section 5.4 – the ST Micro Connect boxes’ dual configuration capability 5.1 System architecture and development features The ST7-EMU3 emulator comes with an in-circuit communication (ICC) Add-on. This connection device allows users to take advantage of the ICC protocol for in-circuit programming (ICP) and debugging (ICD) on ST7s with XFLASH or HDFLASH memory. In conjunction with ST7 Visual Pr-ogrammer (STVP7) and ST7 Visual Develop (STVD7) software, this device makes it possible to program your application software to the ST7 on your application board and then debug your application while it runs on your ST7 (see Figure 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. STVD7’s in-circuit debugging features include advanced breakpoints, as well as trace recording for MCUs with a memory trace controller (MTC) module. For more information about in-circuit debugging with STVD7, refer to the STVD7 User Manual provided with your software package. Once you have finalized your application, STVP7 software provides a graphical interface for verifying memory sectors, checking the settings of the option bytes and programming the MCU. For more information about programming with STVP7, refer to the STVP7 online help provided with your software package. 24/39 ST7-EMU3 series emulator In-circuit communication configuration Figure 23. In-circuit communication configuration Host PC Running ST7 Visual Develop (STVD7) or ST7 Visual Programmer (STVP7) Emulator-to-PC Connects via parallel and USB ports ST Micro Connect box Interface between PC and application boa ICC connection via ‘Ext Link’ Application board interface ICC Add-on Uses signal voltage of 3.3 or 5 volts Connects to your application board via the ICC connector ST7 with debug module 5.2 ICC connection requirements To take advantage of ICC, you must integrate an ICC connector into your application hardware when you start developing your application. To help you implement ICP and ICD in the development of your application, this section provides a summary of points you should consider when installing an ICC connector. Figure 24. In-circuit communication connector To connect to your application board for ICP and ICD, you need to install a 10-pin, HE-10 type connector (also called an ICC connector) and ensure the appropriate connections to your ST7. This connector receives the ICC cable and relays the signals required for ICP and ICD to your ST7. Using the ICC protocol requires that a minimum of 4 and as many as 6 pins of your ST7 be relayed to the ICC connector. These connection requirements are illustrated in Figure 25, below and summarized in Figure 4. 25/39 In-circuit communication configuration Figure 25. ICC interface ST7-EMU3 series emulator Table 3. ICC connection requirements Description ICC input/output serial data pin ICC output serial clock pin Device reset Programming voltage Main clock input for external Device power supply Device power supply (ground) Connects to ICC ICCDATA ICCCLK ICCRESET ICCSEL/VPP ICCOSC Not connected GND ST7 pin ICCDATA ICCCLK RESET ICCSEL/VPP OSC1 or OSCIN VDD VSS Isolation of ICCDATA and ICCCLK pins As soon as the emulator’s ICC Add-on is plugged into the application board the ICCDATA and ICCCLK pins must not be used by other application devices, even if an ICC session is not in progress. 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. 26/39 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 Microcontrollers to obtain a complete online selection guide, 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. D.1 Software updates All our latest software and related documentation are available for download from the STMicroelectronics internet site, www.st.com. If you are using software from a third-party tool provider, please refer to the third-party for software product support and downloads. D.2 Hardware spare parts Your development tool comes with the hardware you need to set it up, connect it to your PC and connect to your application. However, some components can be bought separately if you need additional ones. 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. D.2.2 Connectors Complete documentation and ordering information for SAMTEC connectors is provided on their internet site. 36/39 ST7-EMU3 series emulator Product support D.3 Getting prepared before you call Collect the following information about the product before contacting STMicroelectronics or your distributor: 1. 2. 3. 4. Name of the company where you purchased the product. Date of purchase. Order code: Refer to the side your emulators box. The order code depends on the region in which is was ordered (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. TEB (target emulation board) hardware and firmware versions: The hardware and firmware versions can be found by opening an STVD7 session, entering the debug context and selecting Help > About from the main menu. The TEB version numbers are given in the Target box – scroll downwards until you find the TEB version (hardware) and TEB PLD version (firmware). Target device: The sales type of the ST microcontroller you are using in your application. 5. 6. 37/39 Revision history ST7-EMU3 series emulator Revision history Table 6. Date 01-Nov-2002 Document revision history Revision 2.0 Description – Added Chapter 2 – Software installation – 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) – Changed Section 3 – to connectivity chapter describing configuration of connection to host PC – Updated Section 1, Section 5 – In-Circuit Debugging (ICD) – – – – Added Table 1 – ST7-EMU3 User Manual revision history Updated Section 3.3 – Ferrite installation for Ethernet Corrected Section 3.3, Section 2.1 – Serial cable specification Added Section 5.2 – In-Circuit Communication (ICC) connection requirements 01-Jun-2003 3.0 01-Sep-2003 3.1 01-Sep-2004 3.2 12-Mar-2009 4 – Revalidated. Reformatted. First Chapter split between cover page and Chapter 1. 38/39 ST7-EMU3 series emulator Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. 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. UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. © 2009 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 39/39
UM0034 价格&库存

很抱歉,暂时无法提供与“UM0034”相匹配的价格&库存,您可以联系我们找货

免费人工找货