Renesas SuperH HS7630KCM02HE User Manual
Renesas SuperH HS7630KCM02HE User Manual

Renesas SuperH HS7630KCM02HE User Manual

Superh family e10a emulator

Advertisement

Quick Links

To our customers,
Old Company Name in Catalogs and Other Documents
st
On April 1
, 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:
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry.
http://www.renesas.com
st
April 1
, 2010
Renesas Electronics Corporation

Advertisement

Table of Contents
loading

Summary of Contents for Renesas SuperH HS7630KCM02HE

  • Page 1 On April 1 , 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.
  • Page 2 Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as “Specific”...
  • Page 3 SuperH™ Family E10A Emulator Additional Document for User’s Manual SH7630 E10A HS7630KCM02HE Renesas Microcomputer Development Environment System SuperH™ Family / SH7600 Series Specific Guide for the SH7630 E10A Emulator Rev.1.0 2003.07...
  • Page 4 Renesas Technology Corporation without notice due to product improvements or other reasons. It is therefore recommended that customers contact Renesas Technology Corporation or an authorized Renesas Technology Corporation product distributor for the latest product information before purchasing a product listed herein.
  • Page 5: Table Of Contents

    Section 1 Connecting the Emulator with the User System ...1 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 Arrangement of the H-UDI Port Connector... 5 Recommended Circuit between the H-UDI Port Connector and the MPU ...
  • Page 7: Section 1 Connecting The Emulator With The User System

    Section 1 Connecting the Emulator with the User System Components of the Emulator The SH7630 E10A emulator supports the SH7630. Table 1.1 lists the components of the emulator.
  • Page 8 Table 1.1 Components of the Emulator (HS7630KCM01H, HS7630KCM02H, HS7630KCI01H, or HS7630KCI02H) Classi- fication Component Hard- Card emulator ware User system interface cable Ferrite core (connected with the user interface cable) Soft- SH7630 E10A ware emulator setup program, SH Family E10A Emulator User’s Manual, and Specific Guide to the...
  • Page 9 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 Card...
  • Page 10: Connecting The E10A Emulator With The User System

    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.
  • Page 11: Installing The H-Udi Port Connector On The User System

    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 36-pin connector DX10M-36S DX10M-36SE, DX10G1M-36SE 14-pin connector 2514-6002 Note: When the 36-pin connector is used, do not connect any components under the H-UDI connector.
  • Page 12 Input/ Signal Output AUDCK Output AUDATA0 Output AUDATA1 Output AUDATA2 Output AUDATA3 Output /AUDSYNC Output Input 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.
  • Page 13 Input/ Pin No. Signal Output* Input /TRST Input Output /ASEBRKAK Output Input Input /RESETP Output connected 8 to 10 12 to 13 Output Notes: 1. Input to or output from the user system. 2. The slash (/) means that the signal is active-low. 3.
  • Page 14: Recommended Circuit Between The H-Udi Port Connector And The Mpu

    Recommended Circuit between the H-UDI Port Connector and the 1.5.1 Recommended Circuit (36-Pin Type) Figure 1.4 shows a recommended circuit between the H-UDI port connector (36 pins) and the MPU. Notes: 1. Do not connect anything to the N.C. pin of the H-UDI port connector. 2.
  • Page 15 VccQ (3.3 V) H-UDI port connector (36-pin type) AUDCK AUDATA0 AUDATA1 AUDATA2 AUDATA3 AUDSYNC N.C. N.C. TRST ASEBRKAK RESET N.C. Figure 1.4 Recommended Circuit for Connection between the H-UDI Port Connector and VccQ (3.3 V) 4.7 k 4.7 k Reset signal MPU (36-Pin Type) SH7630 AUDCK...
  • Page 16: Recommended Circuit (14-Pin Type)

    1.5.2 Recommended Circuit (14-Pin Type) Figure 1.5 shows a recommended circuit between the H-UDI port connector and the MPU. Notes: 1. Do not connect anything to the N.C. pin of the H-UDI port connector. The processing of the /ASEMD0 pin differs depending on whether the emulator is used or not.
  • Page 17 H-UDI port connector (14-pin type) TRST ASEBRKAK RESET Figure 1.5 Recommended Circuit for Connection between the H-UDI Port Connector and VccQ (3.3 V) VccQ (3.3 V) 4.7 k 4.7 k Reset signal MPU (14-Pin Type) SH7630 TRST ASEBRKAK RESETP ASEMD0...
  • Page 19: Section 2 Specifications Of The Sh7630 E10A Emulator's Software

    Section 2 Specifications of the SH7630 E10A Emulator’s Differences between the SH7630 and the Emulator 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 SH7630 registers are undefined. Table 2.1 Register Initial Values at Emulator Power-On Register R0 to R14...
  • Page 20 Reset Signals The SH7630 reset signals are only valid during emulation started with clicking the GO or STEP- type button. If these signals are input from the user system in command input wait state, they are not sent to the SH7630. Note: Do not break the user program when the /RESETP and /WAIT signals are being low.
  • Page 21 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.
  • Page 22: Specific Functions For The Sh7630 E10A Emulator

    Illegal Instructions If illegal instructions are executed by STEP-type commands, the emulator cannot go to the next program counter. Specific Functions for the SH7630 E10A Emulator The SH7630 E10A emulator does not support the following function: MMU-related functions (The SH7630 does not mount the MMU.) VPMAP-related command Virtual and Physical specification in the [Configuration] window Virtual and Physical specification on the command-line function...
  • Page 23 Table 2.4 Types of Break Conditions Break Condition Type Address bus condition (Address) Data bus condition (Data) Bus state condition (Bus State) Internal I/O break condition Count Note: When U-RAM is accessed from the P0 space, the I-bus must be selected, and when accessed from the P2 space, the L-bus must be selected.
  • Page 24: Trace Functions

    Table 2.5 lists the combinations of conditions that can be set under Break Condition 1, 2, 3. Table 2.5 Dialog Boxes for Setting Break Conditions Type Address Bus Condition Dialog Box (Address) [Break Condition 1] dialog box [Break Condition 2] dialog box [Break Condition 3] dialog box...
  • Page 25 AUD Trace Functions: This function is operational when the AUD pin of the device is connected to the emulator. Table 2.8 shows the AUD trace acquisition mode that can be set in each trace function. Table 2.8 AUD Trace Acquisition Mode Type Mode Continuous...
  • Page 26 To set the AUD trace acquisition mode, click the [Trace] window with the right mouse button and select [Setting] from the pop-up menu to display the [Acquisition] dialog box. The AUD trace acquisition mode can be set in the [AUD mode1] or [AUD mode2] group box in the [Trace mode] page of the [Acquisition] dialog box.
  • Page 27 (a) Branch Trace Function The branch source and destination addresses and their source lines are displayed. Branch trace can be acquired by selecting the [Branch trace] check box in the [AUD function] group box of the [Trace mode] page. The branch type can be selected in the [AUD Branch trace] page. Figure 2.2 [AUD Branch trace] Page (b) Window Trace Function Memory access in the specified range can be acquired by trace.
  • Page 28 Note: When the [L-bus] or [I-bus] radio button is selected, the following bus cycles will be traced. L-bus: A bus cycle generated by the CPU is acquired. A bus cycle is also acquired when the cache has been hit. I-bus: A bus cycle generated by the CPU or DMA is acquired. A bus cycle is not acquired when the cache has been hit.
  • Page 29 (c) Software Trace Function Note: This function can be supported with SHC compiler V7.0 and later. When a specific instruction is executed, the PC value at execution and the contents of one general register are acquired by trace. Describe the Trace(x) function (x is a variable name) to be compiled and linked beforehand.
  • Page 30: Notes On Using The Jtag Clock (Tck) And Aud Clock (Audck)

    Internal Trace Function: This function is activated by selecting the [Internal trace] radio button in the [Trace type] group box of the [Trace mode] page. See figure 2.1, [Trace mode] Page. The internal trace functions are also activated by selecting each check box on the [Branch trace] page. Notes: 1.
  • Page 31: Notes On Setting The [Break Condition] Dialog Box And Breakcondition_Set Command

    6. When a BREAKPOINT is set to the slot instruction of a delayed branch instruction, the PC value becomes an illegal value. Accordingly, do not set a BREAKPOINT to the slot instruction of a delayed branch instruction. 7. When a BREAKPOINT is set to the cacheable area, the cache block containing the BREAKPOINT address is filled immediately before and after user program execution.
  • Page 32: Notes On Setting The Ubc_Mode Command

    2.2.7 Notes on Setting the UBC_MODE Command In the [Configuration] window, if [User] is set while the [UBC mode] list box has been set, the STEP-type commands that use Break Condition 2 for implementation cannot be used. 2.2.8 Performance Measurement Function The SH7630 E10A emulator supports the performance measurement function.
  • Page 33 Figure 2.4 [Performance Analysis] Dialog Box Measurement range One of the following ranges can be specified. This depends on the item selected for [Mode] in the [Performance Analysis] dialog box. 1. From the start to the end of the user program execution (When Normal Break is selected for [Mode]) From the satisfaction of the condition set in Break Condition 1 to the satisfaction of the condition set in Break Condition 2 (When Break condition 1->2 is selected for...
  • Page 34 Step execution is not possible when Break condition 1->2 or Break condition 2->1 is selected for the PERFORMANCE_SET command or in [Mode] of the [Performance Analysis] dialog box. When Break condition 1->2 or Break condition 2->1 is selected in [Mode] of the [Performance Analysis] dialog box, specify one or more items for measurement.
  • Page 35 Table 2.10 Measurement Item Selected Name Disabled Elapsed time Number of execution states Branch instruction counts Number of execution instructions DSP-instruction execution counts Instruction/data conflict cycle Other conflict cycles than instruction/data Exception/interrupt counts Data-TLB miss cycle Instruction-TLB miss cycle Interrupt counts Number of BL=1 instructions Number of MD=1 instructions Instruction cache-miss counts...
  • Page 36 Table 2.10 Measurement Item (cont) Selected Name Cacheable area instruction access cycle Cacheable area data access cycle Access counts other than instruction/data Non-cacheable area access counts Non-cacheable area instruction access counts Non-cacheable area data access counts Cacheable area access counts Cacheable area instruction access counts Cacheable area data access counts Each measurement condition is also counted when conditions in table 2.11 are generated.
  • Page 37 Specific Guide for the SH7630 E10A Emulator Publication Date: Rev.1.00, July 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.
  • Page 38 SuperH™ Family E10A Emulator Additional Document for User’s Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REJ10B0015-0100H...

Table of Contents