REJ10B0135-0100H SuperH Family E10A-USB Emulator Additional Document for User’s Manual E10A-USB for SH7616 HS7616KCU01HE Renesas Microcomputer Development Environment System SuperH Family / SH7600 Series Supplementary Information on Using the SH7616 Rev.1.00 Revision Date: Jun.
Keep safety first in your circuit designs! 1. Renesas Technology Corp. puts 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.
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 E10A-USB 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 ....................
ii
Section 1 Connecting the Emulator with the User System 1.1 Components of the Emulator The E10A-USB emulator supports the SH7616. 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 USB cable 1 1 Remarks HS0005KCU01H: Depth: 65.0 mm, Width: 97.0 mm, Height: 20.0 mm, Mass: 72.9 g or HS0005KCU02H: Depth: 65.0 mm, Width: 97.0 mm, Height: 20.0 mm, Mass: 73.
1.2 Connecting the E10A-USB 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.
Pin No. Input/ Output*1 Note SH7616 Pin No. 1 Signal TCK Input 30 2* 2 /TRST Input 32 3 TDO Output 28 4 N.C. 5 TMS Input 31 6 TDI Input 29 7*2 /RESETP Output 8 8 N.C. 9*5 11*4 (GND) UVCC Output 10, 12, GND and 13 Output GND 14*3 Notes: 1. Input to or output from the user system. 2. The slash (/) means that the signal is active-low. 3. The emulator monitors the GND signal of the user system and detects whether or not the user system is connected. 4.
1.5 Recommended Circuit between the H-UDI Port Connector and the MPU 1.5.1 Recommended Circuit Figure 1.2 shows a recommended circuit for connection between the H-UDI and AUD port connectors (14 pins) and the MPU when the emulator is in use. Figure 1.3 shows a circuit for connection when UVCC is not connected. Notes: 1. Do not connect anything to the N.C. pins of the H-UDI port connector. 4 2.
When the circuit is connected as shown in figure 1.2, the switches of the emulator are set as SW2 = 1 and SW3 = 1. For details, refer to section 3.8, Setting the DIP Switches, in the Debugger Part TM of the SuperH Family E10A-USB Emulator User’s Manual. VccQ = 3.3 V (I/O power supply) VccQ Pulled-up at 4.7 kΩ or more (all) VccQ VccQ VccQ VccQ VccQ H-UDI port connector (14-pin type) TCK 9 (GND) 10 GND TRST TDO SH7616 1 TCK 2 TRST 3 TDO N.C. 4 12 13 GND GND 14 GND TMS TDI RESET N.C.
When the circuit is connected as shown in figure 1.3, the switches of the emulator are set as SW2 = 0 and SW3 = 1. For details, refer to section 3.8, Setting the DIP Switches, in the Debugger Part TM of the SuperH Family E10A-USB Emulator User’s Manual. VccQ = 3.3 V (I/O power supply) Pulled-up at 4.7 kΩ or more (all) VccQ VccQ VccQ VccQ VccQ H-UDI port connector (14-pin type) TCK 9 (GND) 10 GND TRST TDO SH7616 1 TCK 2 TRST 3 TDO N.C. 4 12 13 GND GND 14 GND TMS TDI RESET N.C. N.C.
Section 2 Specifications of the Software when Using the SH7616 2.1 Differences between the SH7616 and the Emulator 1. When the emulator system is initiated, it initializes the general registers and part of the control registers as shown in table 2.1. The initial values of the actual SH7616 registers are undefined. When the emulator is initiated from the workspace, a value to be entered is saved in a session. Table 2.
3. Low-Power States (Sleep and Standby) For low-power consumption, the SH7616 has sleep and standby modes. The sleep and standby modes are switched using the SLEEP instruction. The sleep mode can be cleared by either normal clearing or by the satisfaction of a break condition (including BREAK key input), and the user program breaks. The standby mode can be cleared with the normal clearing function, and after the standby mode is cleared, the user program operates correctly.
7. Memory Access during User Program Break The emulator can download the program for the flash memory area (refer to section 6.22, TM Download Function to the Flash Memory Area, in the Debugger Part of the SuperH Family E10A-USB Emulator User’s Manual). Other memory write operations are enabled for the RAM area. Therefore, an operation such as memory write or BREAKPOINT should be set only for the RAM area. 8.
11. Illegal Instructions If illegal instructions are executed by STEP-type commands, the emulator cannot go to the next program counter. 12. Interrupts While the emulator is executing the user program, any interrupt to the SH7616 can be used. While the emulator is waiting for command input, interrupts are not processed. However, if an edge sensitive interrupt occurs in command input wait state, the emulator holds the interrupt and executes the interrupt processing routine when the GO command is entered. 13.
2.2.1 Break Condition Functions In the emulator, four break conditions can be set (Break Condition 1,2,3,4). Table 2.3 lists the items that can be specified for each. Table 2.3 Types of Break Conditions Break Condition Type Description Address bus condition (Address) Breaks when the SH7616 address bus value matches the specified value. Data bus condition (Data) Breaks when the SH7616 data bus value matches the specified value. Byte, word, or longword can be specified as the access data size.
Table 2.5 lists the combinations of conditions that can be set under BREAKCONDITION_SET commands. Table 2.5 Commands for Setting Software Breakpoints Condition Address Bus Condition ( option) Channel Break Condition 1,2 Break Condition 3,4 Data Condition ( option) O O Access Type Condition ( option), Read or Count Condition Write Condition ( ( option) option) O X O O O X Note: O: Can be set by the BREAKCONDITION_SET command.
2.2.4 Notes on Setting the [Breakpoint] Dialog Box 1. When an odd address is set, the next lowest even address is used. 2. A BREAKPOINT is accomplished by replacing instructions. Accordingly, it can be set only to the RAM area.
2.2.5 Notes on Setting the [Break Condition] Dialog Box and BREAKCONDITION_SET Command 1. When [Go to cursor], [Step In], [Step Over], or [Step Out] is selected, the settings of Break Condition 4 are disabled. 2. Break Condition 4 is disabled when an instruction to which a BREAKPOINT has been set is executed. Accordingly, do not set a BREAKPOINT to an instruction which satisfies Break Condition 4. 3.
SuperH Family E10A-USB Emulator Additional Document for User's Manual Supplementary Information on Using the SH7616 Publication Date: Rev.1.00, June 30, 2004 Published by: Sales Strategic Planning Div. Renesas Technology Corp. Edited by: Technical Documentation & Information Department Renesas Kodaira Semiconductor Co., Ltd. 2004. 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 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, United Kingdom Tel: <44> (1628) 585 100, Fax: <44> (1628) 585 900 Renesas Technology Europe GmbH Dornacher Str.
SuperH Family E10A-USB Emulator Additional Document for User’s Manual