M32100T-EZ-E SDI Emulator System for M32R Family User's Manual Rev.2.
Keep safety first in your circuit designs! • Renesas Technology Corporation and Renesas Solutions Corporation put the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage.
Preface The M32100T-EZ-E is an emulator system using the internal debug interface SDI (Scalable Debug Interface) of the M32R Family MCUs. Using with the emulator debugger PD32RM included in this product package, it is possible to develop programs for MCUs on which the SDI is mounted. This user's manual mainly describes specifications of the M32100T-EZ-E emulator system and how to setup it. For details on the emulator debugger, refer to PD32RM release notes and online help.
Contents Chapter 1. Precautions for Safety ........................................................................................... 5 1.1 Safety Symbols and Meanings .............................................................................. 6 Chapter 2. Preparation .......................................................................................................... 13 2.1 Terminology ........................................................................................................ 14 2.
Chapter 1. Precautions for Safety This chapter describes precautions for using this product safely and properly. For precautions of the emulator and emulator debugger, refer to each user's manual. 1.1 Safety Symbols and Meanings ..................................................................................................... 6 WARNING Warnings for AC Power Supply .................................................................................. 7 Warnings to Be Taken for This Product ................
Chapter 1. Precautions for Safety In both the user's manual and on the product itself, several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons, or damage to your properties. This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read this chapter before using this product. 1.
WARNING Warnings for AC Power Supply: • Power is supplied via the USB interface cable. Therefore, do not try to modify or forcibly insert it. It may cause electric shock and/or fire. • Do not supply power from the host machine to which this product is connected to other device(s). • If you smell a strange odor, hear an unusual sound, or see smoke coming from this product, then disconnect power immediately by unplugging the AC power cable from the outlet.
CAUTION Cautions for Power Supply: • Power is supplied from the host machine to this product via the USB interface cable. • Switch on and off this product by the USB interface cable. Cautions for Powering Up Sequence: • When turning on power, activate the emulator first and then the target system. • When turning off power, deactivate the target system first and then the emulator. • Always wait for about 10 seconds after turning off the power before turning it on again.
IMPORTANT Notes on Product Information: • For the information about this product, visit the Renesas Tool Homepage. http://www.renesas.com/eng/products/mpumcu/toolhp/mcu/m32r_e.htm • For the user registration for this product, use the registration form created when installing the emulator debugger. To registered users, the latest information about this product is delivered by e-mail.
IMPORTANT Note on Target Program Execution in Real-time: • The DMA controller for the emulator incorporated in the MCU is used for the memory references/ settings during target program execution. Therefore, for the memory references/settings during target program execution, the bus-cycle by the DMA controller occurs. Note on Specifying Breakpoints: • Due to the MCU's architecture, the following addresses cannot be set as a breakpoint.
IMPORTANT Notes on Target System: • The power to the MCU can be turned off and back on again during target program execution. However, because the emulator makes various settings on the MCU after it is powered back on again, it takes a little longer time than when not using the emulator before the MCU can start running the program after being powered up again. • In systems where the power is frequently turned off and back on again, the program may not operate normally.
MEMO ( 12 / 42 )
Chapter 2. Preparation This chapter describes the package components, the system configuration and the preparation for using this product for the first time. 2.1 Terminology ................................................................................................................................ 14 2.2 Package Components ................................................................................................................... 15 2.3 System Configuration of the M32100T-EZ-E .................
Chapter 2. Preparation 2.1 Terminology Some specific words used in this user's manual are defined as follows: Emulator system This means an emulator system built around the M32100T-EZ-E emulator. The M32100T-EZ-E emulator system is configured with an emulator, host machine, emulator debugger and target board. Emulator (M32100T-EZ-E) This means an emulator for the M32R Family MCUs on which the debug interface SDI (Scalable Debug Interface) is mounted.
2.2 Package Components The M32100T-EZ-E package consists of the following items. When unpacking, check to see if it contains all of these items. Item Quantity M32100T-EZ-E emulator 1 USB interface cable (1.8 m) 1 SDI MCU control interface cable (10-pin 1.
2.3 System Configuration of the M32100T-EZ-E Because the M32100T-EZ-E uses a debug interface SDI (Scale Debug Interface) built in the MCU, JTAG connection is available, which can directly control the MCU installed in the target board. (1) JTAG Connection The system configuration when using the M32100T-EZ-E by JTAG connection is shown below.
2.4 Name of Each Part Here explains the name and function of each part. (1) Names and Functions of Parts on the Upper Panel Emulator M32100T-EZ-E Target status LEDs System status LEDs Figure 2.2 Name of each part on the upper panel 1. System status LEDs The system status LEDs indicate the M32100T-EZ-E emulator's power supply, firmware operating status, etc. Table 2.1 lists the definitions of the system status LEDs. Table 2.
2. Target status LEDs The target status LEDs indicate the status of the target MCU's operation and the target board's power supply, etc. Table 2.2 lists the definitions of the target status LEDs. Take note of the fact that the target status LEDs cannot show the MCU status properly after the emulator is powered on until the emulator debugger gets started. Table 2.2 Definitions of the target status LEDs Name POWER RUN ON/OFF Meaning OFF Power is not supplied to the target board.
(2) Names and Functions of Parts on the Side Panel Reset control switch Figure 2.3 Name of each part on the side panel 1. Reset control switch The reset control switch selects the status of the /RESET signal to the target MCU after the emulator power is turned on until the emulator debugger gets started. Table 2.3 shows the switch functions. It is always recommended to set this switch to LOW. Table 2.
(4) Names and Functions of Parts on the Rear Panel USB interface connector Maintenance switch Figure 2.5 Name of each part on the rear panel 1. Maintenance switch If this switch is pressed within 2 seconds after turning on the power, the emulator switches to maintenance mode for downloading firmware. In maintenance mode you can only download firmware. Emulator status in the mode can be checked by the system status LEDs. Take note of the fact that the emulator has no reset switch. 2.
Chapter 3. Setup This chapter describes switch settings required for using this product and how to connect this product to the host machine and the target system. 3.1 Connecting the Host Machine ..................................................................................................... 22 3.2 Connecting the Target System ..................................................................................................... 23 (1) Connecting the SDI Interface Connector ..............................
Chapter 3. Setup Figure 3.1 shows how to setup the M32100T-EZ-E. Install the emulator debugger before setting up the M32100T-EZ-E. For installing the emulator debugger, refer to the PD32RM release notes. Connect the target board. Connect the host machine. * By connecting the USB interface cable, power is supplied to the M32100T-EZ-E. Figure 3.1 Setup procedure 3.1 Connecting the Host Machine The emulator is connected to the host machine via the USB interface. Figure 3.
3.2 Connecting the Target System The M32100T-EZ-E supports JTAG connection to connect to the target board. To connect the emulator to the target board using the JTAG connection method, you should have the SDI MCU control interface connector on the target board. Connect the M32100T-EZ-E connector to the SDI interface connector on the target board using the provided cable. (1) Connecting the SDI Interface Connector Figure 3.
J1: Open when connecting the emulator, in other cases, 1-2 short J2: 1-2 short when connecting the emulator, in other cases, 2-3 short Figure 3.4 Sample circuit of the SDI MCU control interface The following must be observed in designing a target system when you connect the SDI MCU control interface connector to the target system. (1) Connect the target MCU so that it is the first device seen from the SDI MCU control interface connector (JTAG connector).
(3) Emulator Side Circuit Diagram Figure 3.5 shows the circuit diagram in the emulator of the SDI trace interface part, and Table 3.3 lists the explanation of the circuit diagram. Figure 3.5 Circuit diagram of the emulator side of the SDI interface Table 3.3 Parts in the emulator Part No.
MEMO ( 26 / 42 )
Chapter 4. Usage This chapter describes from turning on the power of this product to starting up the emulator debugger. 4.1 Turning on the Power Supply ...................................................................................................... 28 (1) Checking the Connections of the System ............................................................................. 28 (2) Turning On/Off the Power Supply........................................................................................
Chapter 4. Usage 4.1 Turning on the Power Supply (1) Checking the Connections of the System Before turning on the power, check the connections of the host machine, communications interface cable, emulator and target system. (2) Turning On/Off the Power Supply • • • • When turning on, activate the M32100T-EZ-E first and then the target system. When turning off, deactivate the target system first and then the M32100T-EZ-E.
4.2 Downloading Firmware (1) When It is Necessary to Download Firmware It is necessary to download the firmware in the occasions listed below. Generally, these are detected when the emulator debugger starts up, then downloading the firmware is started.
MEMO ( 30 / 42 )
Chapter 5. Specifications This chapter describes specifications of this product. 5.1 Specifications ..............................................................................................................................
Chapter 5. Specifications 5.1 Specifications Table 5.1 lists specifications of the M32100T-EZ-E. Table 5.1 Specifications of the M32100T-EZ-E Applicable MCU Emulation memory M32R MCUs integrating SDI whose operation verification has been completed by Renesas Technology *1 Capacity RAM used as emulation memory. *2 Software break Implemented by internal resource of MCU or instruction replacement. *2 Communications interface USB 1.
Chapter 6. Troubleshooting This chapter describes how to troubleshoot when this product does not work properly. 6.1 Flowchart to Remedy Troubles ................................................................................................... 34 6.2 When the Emulator Debugger Does Not Start up Properly......................................................... 35 (1) When the LED Display of the M32100T-EZ-E is Abnormal ...............................................
Chapter 6. Troubleshooting 6.1 Flowchart to Remedy Troubles Figure 6.1 shows the flowchart to remedy troubles from when the emulator is activated until the emulator debugger gets started. Check this while the target system is disconnected. Turning on the emulator system LED display of the emulator Not normal 1. Check the emulator system connections. See, "3.2 Connecting the Target System" (page 23). Display normal 2. Redownload the firmware. See "4.2 Downloading Firmware" (page 29). 3.
6.2 When the Emulator Debugger Does Not Start Up Properly (1) When the LED Display of the M32100T-EZ-E is Abnormal Table 6.1 LED's abnormal display and its checkpoints Error LEDs do not light up. Connection to the target system - Checkpoint Check that the USB interface cable is properly connected. See the M32100T-EZ-E User's Manual. The SAFE or ERROR LED of "STATUS OF SYSTEM" remains lit. - The POWER LED of "STATUS OF USER" does not light up. Connected ( 35 / 42 ) Turn on the power again. See "4.
(2) Errors Occur When the Emulator Debugger Starts Up Table 6.2 Checkpoints of errors when starting up the emulator debugger Error Checkpoint • Communication ERROR. Can't send data. Check that the serial number of the emulator is displayed in the MCU tab of the Init dialog box of the emulator debugger. • The version of PD32RM and the firmware Download the proper firmware. See "4.2 Downloading Firmware" (page 29). on the target are not same. (1) Check that the reset pin of the target system is pulled up.
Chapter 7. Maintenance and Guarantee This chapter describes how to maintenance, repair provisions and how to request for repair. 7.1 Maintenance................................................................................................................................. 38 7.2 Guarantee ..................................................................................................................................... 38 7.3 Repair Provisions ............................................................
Chapter 7. Maintenance and Guarantee 7.1 Maintenance If dust or dirt collects on any equipment of your emulation system, wipe it off with a dry soft cloth. Do not use thinner or other solvents because these chemicals can cause the equipment's surface coating to separate. 7.2 Guarantee The product presented here has passed Renesas's product inspection.
7.4 How to Request for Repair If your M32100T-EZ-E is found faulty, follow the procedure below to send your product for repair. Customers Write down the necessary information in the "M32100T-EZ-E Repair Request Sheet" attached hereto, then send it along with the M32100T-EZ-E for repair to your local distributor. Make sure that information in the M32100T-EZ-E Repair Request Sheet is written in as much detail as possible to facilitate repair.
MEMO ( 40 / 42 )
M32100T-EZ-E User's Manual Rev.2.