To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding. Renesas Electronics website: http://www.renesas.
Notice 1. 2. 3. 4. 5. 6. 7. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office.
User’s Manual SuperH™ Family E10A-USB Emulator Additional Document for User’s Manual Supplementary Information on Using the SH7125 and SH7124 Renesas Microcomputer Development Environment System SuperH™ Family / SH/Tiny Series E10A-USB for SH7125 HS7125KCU01HE Rev.4.00 2007.04 2010.01 Rev.3.
Rev. 4.00 Jan.
Notes regarding these materials 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document. 2.
Regulatory Compliance Notices European Union Regulatory Notices on Electromagnetic Compatibility CE Certifications: This product complies with the following European EMC standards. • EMC Directive 2004/108/EC EN 55022 Class A WARNING: This is a Class A product. In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures. EN 55024 Information for Traceability: • Authorized representative Name: Renesas Technology Corp.
United States Regulatory Notices on Electromagnetic Compatibility FCC Certifications: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
Contents Section 1 Connecting the Emulator with the User System..................................1 1.1 1.2 1.3 1.4 1.5 Components of the Emulator ............................................................................................ 1 Connecting the Emulator with the User System ............................................................... 2 Installing the H-UDI Port Connector on the User System ................................................ 2 Pin Assignments of the H-UDI Port Connector..........
Section 1 Connecting the Emulator with the User System Section 1 Connecting the Emulator with the User System 1.1 Components of the Emulator The E10A-USB emulator supports the SuperH™ family SH/Tiny series (SH7125 group or SH7124 group). Table 1.1 lists the components of the emulator. Table 1.1 Components of the Emulator Classification Component Hardware Appearance Quantity Emulator box 1 User system interface cable User system interface cable 1 USB cable 1 1 Remarks HS0005KCU01H: Depth: 65.
Section 1 Connecting the Emulator with the User System 1.2 Connecting the Emulator with the User System To connect the E10A-USB emulator (hereinafter referred to as the emulator), the H-UDI port connector must be installed on the user system to connect the user system interface cable. When designing the user system, refer to the recommended circuit between the H-UDI port connector and the MCU. In addition, read the E10A-USB emulator user's manual and hardware manual for the related device. Table 1.
Section 1 Connecting the Emulator with the User System Signal Input/ Output*1 1 TCK Input 28 20 2 _TRST Input 32 23 3 TDO Output 26 16 4 _ASEBRKAK Input/ 45 33 Pin No. *2 *2 SH7125 Pin No. SH7124 Pin No. / _ASEBRK output 5 TMS Input 31 22 6 TDI Input 27 18 7 _RES Output 39 27 8 N.C. 9 (GND) 11 UVCC 10, 12, GND *2 Note User reset *4 Output and 13 14 GND *3 Output Notes: 1. Input to or output from the user system. 2.
Section 1 Connecting the Emulator with the User System 1.5 1.5.1 Recommended Circuit between the H-UDI Port Connector and the MCU Recommended Circuit (14-Pin Type) Figure 1.2 shows a recommended circuit for connection between the H-UDI port connector and the MCU when the emulator is in use. Notes: 1. Do not connect anything to the N.C. pins of the H-UDI port connector. 2. The _ASEMD0 pin must be 0 when the emulator is connected and 1 when the emulator is not connected, respectively.
Section 1 Connecting the Emulator with the User System When the circuit is connected as shown in figure 1.2, the switches of the emulator are set as SW2 TM = 1 and SW3 = 1. For details, refer to section 3.8, Setting the DIP Switches, in the SuperH Family E10A-USB Emulator User’s Manual. Vcc = I/O power supply All pulled-up at 4.
Section 1 Connecting the Emulator with the User System Rev. 4.00 Jan.
Section 2 Software Specifications when Using the SH7125 or SH7124 Section 2 Software Specifications when Using the SH7125 or SH7124 Group 2.1 Differences between the MCU and the Emulator 1. When the emulator system is initiated, it initializes the general registers and part of the control registers. The initial values of the MCU are undefined. When the emulator is initiated from the workspace, a value to be entered is saved in a session. Table 2.
Section 2 Software Specifications when Using the SH7125 or SH7124 5. Memory Access during User Program Execution During execution of the user program, memory is accessed by the following two methods, as shown in table 2.2. Table 2.2 Memory Access during User Program Execution Method Description H-UDI read/write The stopping time of the user program is short because memory is accessed by the dedicated bus master. Short break This method is not used in this product. (Do not set short break.
Section 2 Software Specifications when Using the SH7125 or SH7124 Table 2.4 Watchdog Timer Register Register Name Usage Register WTCSR (W) Write Watchdog timer control/status register WTCNT (W) Write Watchdog timer counter WTCSR(R) Read Watchdog timer control/status register WTCNT(R) Read Watchdog timer counter ⎯ Customization of the I/O-register definition file After the I/O-register definition file is created, the MCU’s specifications may be changed.
Section 2 Software Specifications when Using the SH7125 or SH7124 Table 2.5 Multiplexed Functions MCU Function 1 Function 2 SH7125 group FWE _ASEBRKAK/_ASEBRK PA3/_IRQ1/RXD1 _TRST PA4/_IRQ2/TXD1 TMS PA7/TCLKB/SCK2 TCK PA8/TCLKC/RXD2 TDI SH7124 group PA9/TCLKD/TXD2/POE8 TDO FWE _ASEBRKAK/_ASEBRK PA3/_IRQ1/RXD1 _TRST PA4/_IRQ2/TXD1 TMS PA7/TCLKB/SCK2 TCK PA8/TCLKC/RXD2 TDI PA9/TCLKD/TXD2/POE8 TDO The emulator pins are multiplexed with other pins.
Section 2 Software Specifications when Using the SH7125 or SH7124 2.2 2.2.1 Specific Functions for the Emulator when Using the SH7125 or SH7124 Group Event Condition Functions The emulator is used to set event conditions for the following function: • Break of the user program Table 2.6 lists the types of Event Condition. Table 2.
Section 2 Software Specifications when Using the SH7125 or SH7124 Table 2.7 lists the combinations of conditions that can be set under Ch1 to Ch10. Table 2.
Section 2 Software Specifications when Using the SH7125 or SH7124 Sequential Setting: Using the [Combination action (Sequential PtoP)] dialog box specifies the sequential condition. Table 2.8 Conditions to Be Set Classification Item [Ch1, 2, 3] list box Sets the sequential condition and the start or end of performance measurement using Event Conditions 1 to 3. [Ch4, 5] list box Description Don’t care Sets no sequential condition or the start or end of performance measurement.
Section 2 Software Specifications when Using the SH7125 or SH7124 The program is executed up to the condition of Ch1 and halted. Here, the condition is satisfied in the order of Ch3 -> 2 -> 1. Figure 2.1 [Source] Window at Execution Halted (Sequential Break) If the sequential condition, performance measurement start/end, or point-to-point for the internal trace is set, conditions of Event Condition to be used will be disabled.
Section 2 Software Specifications when Using the SH7125 or SH7124 5. If the settings of the Event condition or the sequential conditions are changed during execution of the program, execution will be suspended. (The number of clocks to be suspended during execution of the program is a maximum of about 52 bus clocks (Bφ). If the bus clock (Bφ) is 10.0 MHz, the program will be suspended for 5.2 μs.) 6.
Section 2 Software Specifications when Using the SH7125 or SH7124 5. If an address of a BREAKPOINT cannot be correctly set in the ROM or external flash memory area, a mark z will be displayed in the [BP] area of the address on the [Source] or [Disassembly] window by refreshing the [Memory] window, etc. after Go execution. However, no break will occur at this address. When the program halts with the event condition, the mark z disappears. 2.2.
SuperH™ Family E10A-USB Emulator Additional Document for User's Manual Supplementary Information on Using the SH7125 and SH7124 Publication Date: Rev.1.00, February 28, 2006 Rev.4.00, January 13, 2010 Published by: Sales Strategic Planning Div. Renesas Technology Corp. Edited by: Customer Support Department Global Strategic Communication Div. Renesas Solutions Corp. ©2010. Renesas Technology Corp., All rights reserved. Printed in Japan.
Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan RENESAS SALES OFFICES http://www.renesas.com Refer to "http://www.renesas.com/en/network" for the latest and detailed information. Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501 Renesas Technology Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K.
SuperH™ Family E10A-USB Emulator Additional Document for User’s Manual Supplementary Information on Using the SH7125 and SH7124 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REJ10J1271-0400 REJ10J1271-0300