SuperH Family E10A Emulator Additional Document for User’s Manual SH7729R E10A HS7729RKCM02HE Renesas Microcomputer Development Environment System SuperH Family / SH7700 Series Specific Guide for the SH7729R E10A Emulator Rev.1.00 2003.12.
Cautions 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 Emulator with the User System .....................................................4 Installing the H-UDI Port Connector on the User System ................................................5 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 SH7729R E10A emulator supports the SH7729R and SH7709S. Table 1.1 lists the components of the emulator.
Table 1.1 Components of the Emulator (HS7729RKCM01H, HS7729RKCM02H, HS7729RKCI01H, or HS7729RKCI02H) Classification Component Hardware Card emulator Appearance Quantity 1 PC PC Card (PCMCIA) or (PCI) Software User system interface cable 1 Ferrite core (connected with the user interface cable) 1 Remarks HS7729RKCM01H (PCMCIA: 14-pin type): Depth: 85.6 mm, Width: 54.0 mm, Height: 5.0 mm, Mass: 27.0 g HS7729RKCM02H (PCMCIA: 36-pin type): Depth: 85.6 mm, Width: 54.0 mm, Height: 5.0 mm, Mass: 28.
For EMI countermeasure, use the ferrite core by connecting the user interface cable. When the user interface cable is connected with the emulator or user system, connect the ferrite core in the user system as shown in figure 1.1. Host computer (PC with PC card slot) User system E10A emulator Insert PC Card Emulator H-UDI Micro Computer Development System PC Card HITACHI User system connector Ferrite core PC card slot User interface cable Figure 1.
1.2 Connecting the E10A Emulator with the User System To connect the E10A 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 emulator user's manual and hardware manual for the related device. Table 1.
1.3 Installing the H-UDI Port Connector on the User System Table 1.3 shows the recommended H-UDI port connectors for the emulator. Table 1.3 Recommended H-UDI Port Connectors Connector Type Number Manufacturer Specifications 36-pin connector DX10M-36S Hirose Electric Co., Ltd. Screw type DX10M-36SE, DX10G1M-36SE 14-pin connector 2514-6002 Lock-pin type Minnesota Mining & Manufacturing Ltd.
SH7729R, SH7709S Pin No. Input/ FPBPOutput *1 208 240 Note Pin No. Signal 1 2 3 AUDATA0 4 GND 5 AUDATA1 6 GND 7 AUDATA2 8 GND 9 AUDATA3 10 GND SH7729R, SH7709S Pin No. FPBPNote 208 240 Pin No.
Pin No. Signal Input/ Output* 1 1 TCK 2* 2 /TRST 3 TDO 4* 2 5 TMS Input 6 TDI 7*2 /RESETP 11 Not connected 8 to 10 GND SH7729R, SH7709S Pin No. FP-208 BP-240 Input 139 H18 Input 136 J19 Output 120 N18 /ASEBRKAK Output 128 L18 137 H16 Input 138 H17 Output 193 C7 Note 12 to 13 14*3 GND Output Notes: 1. Input to or output from the user system. 2. The slash (/) means that the signal is active-low. 3.
1.5 Recommended Circuit between the H-UDI Port Connector and the MPU 1.5.1 Recommended Circuit (36-Pin Type) Figure 1.4 shows a recommended circuit for connection between the H-UDI port connector (36 pins) and the MPU. Notes: 1. Do not connect anything to the N.C. pins of the H-UDI port connector. 8 2. Note that the processing of the /ASEMD0 pin differs depending on whether the emulator is used or not.
3.3 V 3.3 V H-UDI port connector (36-pin type) 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 GND N.C. GND AUDATA0 GND AUDATA1 GND AUDATA2 GND AUDATA3 GND AUDSYNC GND N.C. GND N.C. GND TCK GND GND GND GND TMS TRST TDI TDO GND ASEBRKAK GND N.C. GND RESET GND GND GND AUDCK 4.7 kΩ SH7729R, SH7709S (FP-208C) 4.
1.5.2 Recommended Circuit (14-Pin Type) Figure 1.5 shows a recommended circuit for connection between the H-UDI port connector (14 pins) and the MPU. Notes: 1. Do not connect anything to the N.C. pins of the H-UDI port connector. 2. Note that the processing of the /ASEMD0 pin differs depending on whether the emulator is used or not. In addition, the /ASEMD0 pin must be switched on the board because it is not controlled by the emulator.
Section 2 Specifications of the SH7729R E10A Emulator’s Software 2.1 Differences between the SH7729R, SH7709S, 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 SH7729R and SH7709S registers are undefined. Table 2.
3. Low-Power States (Sleep, Software Standby, and Module Standby) For low-power consumption, the SH7729R and SH7709S have sleep, software standby, and module standby states. The sleep, software standby, and module standby states are switched using the SLEEP instruction. When the emulator is used, only the sleep state can be cleared with either the normal clearing function or with the [STOP] button, and a break will occur.
When a one-byte memory is read from the command-line window, the stopping time will be about 35 ms. 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 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.
10. UBC When [User] is specified in the [UBC mode] list box in the [Configuration] dialog box, the UBC can be used in the user program. Do not use the UBC in the user program as it is used by the E10A emulator when [EML] is specified in the [UBC mode] list box in the [Configuration] dialog box. 11. MFI Boot Mode When the MFI boot mode is used, be sure to allocate the boot program from the top of MFRAM. 12.
• The internal I/O registers can be accessed from the [IO] window. However, note the following when accessing the SDMR register of the bus-state controller. Before accessing the SDMR register, specify addresses to be accessed in the I/O-register definition file (SH7729R.IO) and then activate the HEW. After the I/O-register definition file is created, the MPU’s specification may be changed.
2.2.2 Break Condition Functions In addition to BREAKPOINT functions, the emulator has Break Condition functions. Three types of conditions can be set under Break Condition 1, 2, 3. Table 2.5 lists these conditions of Break Condition. Table 2.5 Types of Break Conditions Break Condition Type Description Address bus condition (Address) Breaks when the SH7729R or SH7709S address bus value or the program counter value matches the specified value.
Table 2.6 lists the combinations of conditions that can be set under Break Condition 1, 2, 3. Table 2.
2.2.3 Trace Functions Table 2.7 shows the trace functions. Table 2.7 Trace Functions Function Description Internal trace Branch instruction trace functions which are built into the chip. This function displays the branch source and branch destination addresses and enables a realtime trace. AUD trace* Realtime trace This function is operational when the AUD pin is connected to the emulator.
Table 2.8 Type Name and AUD Function Type Name AUD Function HS7729RKCM01H Not available HS7729RKCM02H Available HS7729RKCI01H Not available HS7729RKCI02H Available Notes: 1. In the internal trace of the SH7729R and SH7709S, trace acquisition of the eight latest branch instructions is enabled.
2.2.4 Notes on Using the JTAG Clock (TCK) and AUD Clock (AUDCK) 1. When JTAG clock (TCK) is used, set the JTAG clock (TCK) frequency to lower than the frequency of half of the CPU clock. 2. Set the AUD clock (AUDCK) frequency to 50 MHz or below for PCMCIA and PCI cards. The upper limit of the AUD clock must be lower than the CPU clock and the lower limit must be the quarter of the CPU clock. 2.2.5 Notes on Setting the [Breakpoint] Dialog Box 1.
according to the VP_MAP table. However, for addresses out of the range of the VP_MAP table, the address to which a BREAKPOINT is set depends on the SH7729R or SH7709S MMU status during command input. Even when the VP_MAP table is modified after BREAKPOINT setting, the address translated when the BREAKPOINT is set valid. 10. When the [Physical] option is selected in the [Memory area] group box in the [General] page of the [Configuration] dialog box, a BREAKPOINT is set to a physical address.
4. If a PC break address condition is set to the slot instruction after a delayed branch instruction, user program execution cannot be terminated before the slot instruction execution; execution stops before the branch destination instruction. 5. A break will not occur with the execution counts specified on the execution of the multi-step instruction. 2.2.
SuperH Family E10A Emulator Additional Document for User's Manual Specific Guide for the SH7729R E10A Emulator Publication Date: Rev.1.00, December 3, 2003 Published by: Sales Strategic Planning Div. Renesas Technology Corp. Edited by: Technical Documentation & Information Department Renesas Kodaira Semiconductor Co., Ltd. 2003 Renesas Technology Corp. All rights reserved. Printed in Japan.
SuperH Family E10A Emulator Additional Document for User’s Manual REJ10B0067-0100H