Summary of the content on the page No. 1
REJ10J1147-0100
TM
SuperH Family E10A-USB Emulator
Additional Document for User’s Manual
Supplementary Information on Using the SH7343
Renesas Microcomputer Development Environment System
TM
SuperH Family
E10A-USB for SH7343 HS7343KCU01HE
Rev.1.00
Revision Date: Nov. 02, 2005
Summary of the content on the page No. 2
Summary of the content on the page No. 3
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. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammabl
Summary of the content on the page No. 4
Summary of the content on the page No. 5
Contents Section 1 Connecting the Emulator with the User System................................1 1.1 Components of the Emulator ............................................................................................1 1.2 Connecting the Emulator with the User System ...............................................................2 1.3 Installing the H-UDI Port Connector on the User System ................................................3 1.4 Pin Assignments of the H-UDI Port Connecto
Summary of the content on the page No. 6
ii
Summary of the content on the page No. 7
Section 1 Connecting the Emulator with the User System 1.1 Components of the Emulator The E10A-USB emulator supports the SH7343. Table 1.1 lists the components of the emulator. Table 1.1 Components of the Emulator Classi- Quan- fication Component Appearance tity Remarks Hard- Emulator box 1 HS0005KCU01H: Depth: 65.0 mm, Width: 97.0 mm, ware Height: 20.0 mm, Mass: 72.9 g or HS0005KCU02H: Depth: 65.0 mm, Width: 97.0 mm, Height: 20.0 mm, Mass: 73.7 g User system interface 1 14-pi
Summary of the content on the page No. 8
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 MPU. In addition, read the E10A-USB emulator user's manual and hardware manual for the related device. Table 1.2 shows the type number of the emulator, the
Summary of the content on the page No. 9
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 Screw Hirose Electric Co., Ltd. type DX10M-36SE, Lock-pin type DX10G1M-36SE 14-pin connector 2514-6002 Minnesota Mining & 14-pin straight type Manufacturing Ltd. Note: When designing the 36-pin connector layout on the user board, do
Summary of the content on the page No. 10
M2.6 x 0.45 Pin Pin Input/ SH7343 Input/ SH7343 No. *1 Note No. Signal *1 Pin No. Note Signal Output Pin No. Output AUDCK Output Y13 Input 1 19 TMS W15 20 GND 2 GND *2 Output AA14 21 /TRST Input 3 AUDATA0 W14 *4 4 GND 22 (GND) Output V14 23 TDI Input V15 5 AUDATA1 6 24 GND GND Output TDO AUDATA2 AB14 25 Output Y14 7 26 GND 8 GND Input/ W13 /ASEBRK / *2 9 AUDATA3 Output 27 AA13 BRKACK output 28 GND 10 GND *2 11 /AUDSYNC Output V13 29 Output UVCC V16 30 12 GND GND *2 31 /RESETP Output V16 User re
Summary of the content on the page No. 11
Input/ SH7343 1 Pin No. Signal Output* Pin No. Note AB15 1 Input TCK *2 W14 2 Input /TRST Y14 3 Output TDO *2 4 Input/ AA13 /ASEBRK / output BRKACK 5 Input W15 TMS 6 Input V15 TDI *2 7 Output V16 User reset /RESETP *5 Output AB17 /RESETA Output E11 /RESETMFI 8 N.C. 9 *4 (GND) 11 Output UVCC 10, 12, GND and 13 14 *3 GND Output 1. Input to or output from the user system. Notes: 2. The symbol (/) means that the signal is active-low. 3. The emulator monitors the GND signal of the user system
Summary of the content on the page No. 12
1.5 Recommended Circuit between the H-UDI Port Connector and the MPU 1.5.1 Recommended Circuit (36-Pin Type) Figure 1.3 shows a recommended circuit for connection between the H-UDI and AUD port connectors (36 pins) and the MPU 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 MPMD pin must be 0 when the emulator is connected and 1 when the emulator is not connected, respectively. (1) When the emulator is used: MPMD = 0 (
Summary of the content on the page No. 13
When the circuit is connected as shown in figure 1.3, 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. VccQ = 2.85-V I/O power supply All pulled-up at 4.7 kΩ or more VccQ VccQ VccQ VccQ VccQ VccQ H-UDI port connector (36-pin type) SH7343 1 2 GND AUDCK AUDCK 4 3 GND AUDATA0 AUDATA0 5 6 GND AUDATA1 AUDATA1 7 8 AUDATA2 GND AUDATA2 10 9 GND AUDATA3 AUDATA3 12 11 AUD
Summary of the content on the page No. 14
1.5.2 Recommended Circuit (14-Pin Type) Figure 1.4 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. Notes: 1. Do not connect anything to the N.C. pins of the H-UDI port connector. 2. The MPMD pin must be 0 when the emulator is connected and 1 when the emulator is not connected, respectively. (1) When the emulator is used: MPMD = 0 (2) When the emulator is not used: MPMD = 1 Figures 1.3 shows an exampl
Summary of the content on the page No. 15
When the circuit is connected as shown in figure 1.4, 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. VccQ = 2.85-V I/O power supply All pulled-up at 4.7 kΩ or more VccQ VccQ VccQ VccQ VccQ VccQ H-UDI port connector SH7343 (14-pin type) 1 TCK TCK 9 2 TRST (GND) TRST 3 10 TDO TDO GND ASEBRK 4 ASEBRK/BRKACK / BRKACK 12 5 TMS GND TMS 6 13 TDI GND TDI 7 14 RESET GN
Summary of the content on the page No. 16
10
Summary of the content on the page No. 17
Section 2 Software Specifications when Using the SH7343 2.1 Differences between the SH7343 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 SH7343 registers are undefined. When the emulator is initiated from the workspace, a value to be entered is saved in a session. Table 2.1 Register Initial Values at Emulator Link Up Register Emulator at Link U
Summary of the content on the page No. 18
3. Low-Power States (Sleep, Software Standby, Module Standby, U Standby, and R Standby) For low-power consumption, the SH7343 has sleep, software standby, module standby, U standby, and R standby states. The sleep, software standby, and module standby states are switched using the SLEEP instruction. When the emulator is used, the sleep and software standby states can be cleared with either the normal clearing function or with the [STOP] button, and a break will occur. Note: The memory mus
Summary of the content on the page No. 19
8. Cache Operation during User Program Break When cache is enabled, the emulator accesses the memory by the following methods: • At memory write: Writes through the cache, then issues a single write to outside. The LRU is not updated. • At memory read: Reads memory from the cache. The LRU is not updated. Therefore, when memory read or write is performed during user program break, the cache state does not change. • At breakpoint set: Disables the instruction cache. 9. Port G The AUD pin
Summary of the content on the page No. 20
12. Memory Access during Break In the enabled MMU, when a memory is accessed and a TLB error occurs during break, it can be selected whether the TLB exception is controlled or the program jumps to the user exception handler in [TLB Mode] in the [Configuration] dialog box. When [TLB miss exception is enable] is selected, a “Communication Timeout error” will occur if the TLB exception handler does not operate correctly. When [TLB miss exception is disable] is selected, the program does not j