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 SH-4A, SH4AL-DSP E200F Emulator Additional Document for User’s Manual Supplementary Information on Using the SH7781 Renesas Microcomputer Development Environment System SuperH™ Family E200F for SH7781 R0E877810EMU00E Rev.2.00 2008.
Rev. 2.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.
Rev. 2.00 Jan.
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 ............................................................... 3 Installing the H-UDI Port Connector on the User System ................................................ 4 Pin Assignments of the H-UDI Port Connector ..........
Rev. 2.00 Jan.
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 E200F emulator supports the SH7781. Table 1.1 lists the components of the emulator. Table 1.1 Components of the Emulator Classification Component Hardware Appearance Quantity Remarks Emulator main unit 1 R0E0200F2EMU00: Depth: 185.0 mm, Width: 130.0 mm, Height: 45.0 mm, Mass: 321.0 g AC adapter 1 Input: 100 to 240 V Output: 12 V 4.0 A Depth: 120.
Section 1 Connecting the Emulator with the User System Table 1.1 Components of the Emulator (cont) Classification Component Software E200F emulator setup program, Appearance Quantity Remarks 1 R0E0200F0EMU00S, SH-4A, SH4AL-DSP E200F Emulator User’s Manual, R0E0200F0EMU00J, R0E0200F0EMU00E, Supplementary Information on Using the SH7781* R0E877810EMU00J, R0E877810EMU00E (provided on a CD-R) Note: Additional document for the MPUs supported by the emulator is included.
Section 1 Connecting the Emulator with the User System 1.2 Connecting the Emulator with the User System To connect the E200F 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.
Section 1 Connecting the Emulator with the User System 1.3 Installing the H-UDI Port Connector on the User System Table 1.2 shows the recommended H-UDI port connectors for the SH7781 E200F emulator. Table 1.2 Recommended H-UDI Port Connector Connector Type Number Manufacturer Specifications 38-pin connector 2-5767004-2 Tyco Electronics AMP K.K.
Section 1 Connecting the Emulator with the User System Pin No. Input/ Output *1 Signal 1 N.C. 2 N.C. SH7781 Pin No. Port 1 Port 2 Note (GND)*4 Input/ Output *1 Pin No. Signal 20 N.C. 21 _TRST *2 22 N.C. 3 MPMD 4 N.C. 23 N.C. 5 _UCON (GND)*3 24 AUDATA3 6 AUDCK 25 N.C. 7 N.C. 26 AUDATA2 8 _ASEBRK/ 27 N.C. 28 AUDATA1 29 N.C. 30 AUDATA0 31 N.C. 32 AUDSYNC 33 N.C. 34 N.C. 35 N.C. 36 N.C. 37 N.C. 38 N.C.
Section 1 Connecting the Emulator with the User System 1.5 Recommended Circuit between the H-UDI Port Connector and the MPU 1.5.1 Recommended Circuit (38-Pin Type) Figure 1.2 shows a recommended circuit for connection between the H-UDI port connector (38 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.
Section 1 Connecting the Emulator with the User System VDDQ 3.3V VDDQ VDDQ All pulled-up at 4.7 kΩ or more H-UDI port connector AUDCK AUDSYNC AUDATA0 AUDATA1 AUDATA2 AUDATA3 SH7781 6 15 TDI 19 TDO _ASEBRK/BRKAC K 11 8 UVC C UVCC _AUD UCON(GND) GND N.
Section 1 Connecting the Emulator with the User System 1.5.2 Restriction on Component Mounting Components mounted around the user system connector must be no higher than a limit (5 mm). The H-UDI probe connector on the emulator is of the straight (plug) type. Direction to draw the H-UDI/AUD probe E200F H-UDI/AUD probe 5 37 20 2-5767004-2 1 2- 5767 004- 2 2 38 50 Target system Odd pins Even pins Figure 1.3 Restriction on Component Mounting Rev. 2.00 Jan.
Section 2 Software Specifications when Using the SH7781 Section 2 Software Specifications when Using the SH7781 2.1 Differences between the SH7781 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 SH7781 registers 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 SH7781 3. Low-Power States (Sleep and Module Standby) For low-power consumption, the SH7781 has sleep and module standby states. The sleep and module standby states are switched using the SLEEP instruction. When the emulator is used, the sleep state can be cleared with either the normal clearing function or with the [STOP] button, and a break will occur. Note: The memory must not be accessed or modified in sleep state. 4.
Section 2 Software Specifications when Using the SH7781 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.
Section 2 Software Specifications when Using the SH7781 11. 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.
Section 2 Software Specifications when Using the SH7781 ⎯ Verify In the [IO] window, the verify function of the input value is disabled. 14. Illegal Instructions If illegal instructions are executed by STEP-type commands, the emulator cannot go to the next program counter. 15. [Reset CPU] and [Reset Go] in the [Debug] Menu When a reset is issued from [Reset CPU] or [Reset Go] in the [Debug] menu, the clock pulse generator or system controller is not initialized. Rev. 2.00 Jan.
Section 2 Software Specifications when Using the SH7781 2.2 Specific Functions for the Emulator when Using the SH7781 In the SH7781, a reset must be input when the emulator is activated. 2.2.1 Notes on Using the Trace Functions The emulator supports the trace functions listed in table 2.4. Table 2.
Section 2 Software Specifications when Using the SH7781 addresses. If the previously output address is the same as the upper 16 bits, the lower 16 bits are output. If it matches the upper 24 bits, the lower 8 bits are output. If it matches the upper 28 bits, the lower 4 bits are output. The emulator regenerates the 32-bit address from these differences and displays it in the [Trace] window.
Section 2 Software Specifications when Using the SH7781 2.2.3 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 of the specified address. Accordingly, it can be set only to the internal RAM area.
Section 2 Software Specifications when Using the SH7781 9. When the [Virtual] option is selected in the [Memory area] group box in the [General] page of the [Configuration] dialog box, a BREAKPOINT is set to a virtual address. A BREAKPOINT is set after enabling the SH7781 MMU upon program execution. After setting, the MMU is returned to the original state. When an ASID value is specified, the BREAKPOINT is set to the virtual address corresponding to the ASID value.
Section 2 Software Specifications when Using the SH7781 2.2.6 Note on Setting the PPC_MODE Command In the [Configuration] dialog box, if [User] is set while the [PPC mode] list box has been set, Ch1 and Ch2 of the performance analysis function and options 1 and 2 of the profile function cannot be used. Rev. 2.00 Jan.
Section 3 Preparing to Connect the Trace Unit Section 3 Preparing to Connect the Trace Unit 3.1 Connecting the E200F Trace Unit with the User System To use the external bus trace function in the emulator, the emulator and the user system must be connected via the external bus trace unit (R0E0200F0ETU00). Install the trace unit connector on the user system for connection of the trace unit, referring to section 3.2, Installing the Trace Unit Connector, in this manual.
Section 3 Preparing to Connect the Trace Unit 3.2.2 Pin Assignments of the User System Connector Pin assignment on the user system (connector is installed) 179 1 180 2 Probe direction Figure 3.1 Pin Assignments of the User System Connector 3.2.3 Recommended Foot Pattern 2-φ1.05NTH 4.76 Pin 1 Pin 179 2-φ2.2NTH 0.64 Screw hole 1.45 3.09 7.62 1.05 4.76 58.48 Pin 2 0.31 0.50 Pin 180 Unit: mm Figure 3.2 Recommended Foot Pattern (on which the Connector is Installed) Rev. 2.00 Jan.
Section 3 Preparing to Connect the Trace Unit 3.2.4 Restrictions on Component Installation Fastens the trace unit board and the user system E200F trace unit board 16 mm User system Connector (QTH-090-04-L-D-A) 13 mm Screw Figure 3.3 Restrictions on Component Installation 3.2.5 Pin Assignments of the Trace Unit Connector Table 3.2 shows the pin assignments of the trace unit connector. Rev. 2.00 Jan.
Section 3 Preparing to Connect the Trace Unit Table 3.2 Pin Assignments of the Trace Unit Connector Connector in the user system: QTH-090-04-L-D-A; Samtec (180 pins) Pin No.
Section 3 Preparing to Connect the Trace Unit Table 3.2 Pin Assignments of the Trace Unit Connector (cont) Connector in the user system: QTH-090-04-L-D-A; Samtec (180 pins) Pin No.
Section 3 Preparing to Connect the Trace Unit Table 3.2 Pin Assignments of the Trace Unit Connector (cont) Connector in the user system: QTH-090-04-L-D-A; Samtec (180 pins) Pin No.
Section 3 Preparing to Connect the Trace Unit Table 3.2 Pin Assignments of the Trace Unit Connector (cont) Connector in the user system: QTH-090-04-L-D-A; Samtec (180 pins) Pin No. I/O Connector Pin Name SH7781 Signal Name Meaning of Signal Note 82 IO UD-P33 N.C. *1 83 IO UD-P34 N.C. *1 Not connected N.C. *1 Not connected N.C. *1 Not connected N.C. *1 Not connected N.C.
Section 3 Preparing to Connect the Trace Unit Table 3.2 Pin Assignments of the Trace Unit Connector (cont) Connector in the user system: QTH-090-04-L-D-A; Samtec (180 pins) Pin No. I/O Connector Pin Name SH7781 Signal Name Meaning of Signal 109 I GND GND GND 110 I GND GND GND 111 112 113 114 115 116 IO IO IO IO IO IO UD-P56 UD-P57 UD-P58 UD-P59 UD-P60 UD-P61 N.C. *1 Not connected N.C. *1 Not connected N.C. *1 Not connected N.C. *1 Not connected N.C. *1 Not connected N.C.
Section 3 Preparing to Connect the Trace Unit Table 3.2 Pin Assignments of the Trace Unit Connector (cont) Connector in the user system: QTH-090-04-L-D-A; Samtec (180 pins) Pin No.
Section 3 Preparing to Connect the Trace Unit Table 3.2 Pin Assignments of the Trace Unit Connector (cont) Connector in the user system: QTH-090-04-L-D-A; Samtec (180 pins) Pin No. I/O Connector Pin Name SH7781 Signal Name Meaning of Signal 146 I UCONTP25 IRQ/_IRL5/ FD5/MODE4 IRQ/_IRL5/FD5/ MODE4 147 I UCONTP26 IRQ/_IRL6/ FD6/MODE6 IRQ/_IRL6/FD6/ MODE6 148 I UCONTP27 IRQ/_IRL7/ FD7 IRQ/_IRL7/FD7 149 I UCONTP28 N.C. *1 Not connected 150 I UCONTP29 N.C.
Section 3 Preparing to Connect the Trace Unit Table 3.2 Pin Assignments of the Trace Unit Connector (cont) Connector in the user system: QTH-090-04-L-D-A; Samtec (180 pins) Pin No. I/O Connector Pin Name SH7781 Signal Name Meaning of Signal 165 I CS2IN-N _CS2 Area selection 2 Connect _CS of SH7781. Fix unused _CS to high level. 166 I CS3IN-N _CS3 Area selection 3 Connect _CS of SH7781. Fix unused _CS to high level. 167 I CS4IN-N _CS4 Area selection 4 Connect _CS of SH7781.
Section 3 Preparing to Connect the Trace Unit 3.2.6 Layout of the Trace Unit Connector When designing the user system, there are restrictions on the position to install the trace unit connector. Figure 3.4 shows the external dimensions of the trace unit. The size of the printed-circuit board of the E200F trace unit is 90 mm × 125 mm. The size of components around the user system connector must not exceed the limit on component installation (the height must be 10 mm or less).
Section 3 Preparing to Connect the Trace Unit Notes: 1. The external bus trace interface connector installed on the user system must be as close to the MPU as possible. 2. Wiring pattern of clock lines (CLKOUT) The followings are notes on wiring of clock lines for the E200F trace interface signals. Take them into consideration when designing the user system to embed suitable clock lines. 3.2.7 (a) Clock lines must be as short as possible.
Section 3 Preparing to Connect the Trace Unit to be set. For details, refer to section 5.1.8, Changing the Memory Map Setting, in the SH-4A, SH4AL-DSP E200F Emulator User's Manual. 3.2.8 Description of Emulation Memory Control Signal When the CS signal of the MPU is connected directly to the memory or used to generate the CS signal of the memory, connect the EM0OUT-N signal (pin 173) of the external bus connector instead of the CS signal of the MPU.
SH-4A, SH4AL-DSP E200F Emulator Additional Document for User's Manual Supplementary Information on Using the SH7781 Publication Date: Rev.1.00, April 4, 2005 Rev.2.00, January 28, 2008 Published by: Sales Strategic Planning Div. Renesas Technology Corp. Edited by: Customer Support Department Global Strategic Communication Div. Renesas Solutions Corp. ©2008. 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.
SH-4A, SH4AL-DSP E200F Emulator Additional Document for User’s Manual Supplementary Information on Using the SH7781 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REJ10J1422-0200