SH7058 E6000H EmulatorUser’s ManualRenesas Microcomputer Development Environment System SuperH™ Family / SH7050 Series HS7058EPH60HE Rev.6.00 Revisi
VI Warnings on Emulator Usage Warnings described below apply as long as you use this emulator. Be sure to read and understand the warnings below befo
20 T1 tAD TW T2 tCSD1VOLVOH tRSD1tOE tRSD2 tRDS tACC tAStRDHtWSD2tWRtWSD1 tCSD2 tWDH tWDDCKA21 to A0_CSn_RD (When read)_WRx (When written)D15 to D
21 MCU in the emulatorUser systemHD151015FWEMD2MD1MD0FWEMD2MD1MD0EPIS20LVTH16244A Figure 3.3 User System Interface Circuits (1) TDOUser systemTCKTR
22 MCU in the emulatorUser systemLVTH16374EPIS20VHC244HD151015ALVCH16374AHC14 AHC14PF14/_BACKPF15/_BREQNMI NMI_BACK_BREQ_RES_RES_HSTBY_HSTBYPVcc147 k
23 User systemPLLVccPLLCAPPLLVssPLLVcLPLLCAPPLLVssVss3 VccPVcc1PVcc2VccEPIS20300 Ω200 Ω1 kΩ22 kΩ470 pF0.022 µF3 Vcc3 Vcc5 Vcc0.1 µF0.01 µFVccNCNCXTAL
24 MCU in the emulatorPA (15:0) PA (15:0)PB (15:0)PC (15:0)PD (13:0) PD (13:0)PB (15:0)PC (15:0)User systemPC4PC4VHC24422 kΩPVcc1 Figure 3.7 User S
25 PG (3:1)PE (15:0) PE (15:0)AN (31:0) AN (31:0)SN74S1053NSUser systemPG (3:1)PF14, PF9PF (7:0)PF14, PF9PF (7:0)FGφFGφPH (15:0)PH (15:0)PJ (15:0)PJ
26 3.3.2 Delay Time with the User System Interface The delay time is generated on the timing of the _RES signal when it is input to the MCU from the
27 Installing IC Socket 1. Installing IC Socket Install the IC socket for each package to the user system. After checking the location of pin 1 on
28 Evaluation chip boardUser system interface boardScrewIC socket connectorIC socketUser systemPin 1Spacer Figure 3.9 Connection Using the HS7058EC
29 Tolerance: ±0.3 unless otherwise specified Figure 3.11 Recommended Mount Pad Dimensions of the User System IC Socket
VII CAUTION Place the emulator station and evaluation chip board so that the trace cables are not bent or twisted. A bent or twisted cable
30 Connection Using the HS7058ECB61H WARNING Always switch OFF the emulator and user system before connecting or disconnecting any CABLES.
31 Evaluation chip boardScrews (M2 x 8 mm)SpacerBoardIC socketUser system Figure 3.12 Connection Using the HS7058ECB61H Unit: mmTolerance: ±0.5 mm8
32 Unit: mm1.0 x 19 = 19.04-Ø1.3Through hole1.021.323.0 ± 0.03Ø0.5 Figure 3.14 Recommended Mount Pad Dimensions of the User System IC Socket
33 Connection Using the Dedicated Connector WARNING Always switch OFF the emulator and user system before connecting or disconnecting any CABL
34 Evaluation chip boardConnector: WD-200P-VF85-N(manufactured by Japan Aviation Electronics Industry, Ltd.) Figure 3.15 Connection Using the De
35 6.083.0100.0Hole for a connector (NTH) × 430.126.25100.0Unit: mmTolerance: ±0.1 mm Figure 3.17 Location for Mounting the Connector in the User S
36 3.4.2 Pin Assignment on the User System Interface Connector Table 3.5 lists the pin assignment on the user system interface connector of HS7059EP
37 Table 3.5 Pin Assignment on HS7059EPH60H (cont) User I/F 1 Pin No. Signal Name User I/F 1 Pin No. Signal Name 49 GND 75 GND 50 PD12/PULS4
38 Table 3.5 Pin Assignment on HS7059EPH60H (cont) User I/F 1 Pin No. Signal Name User I/F 1 Pin No. Signal Name 101 3Vcc 127 GND 102 PL6/ADE
39 Table 3.5 Pin Assignment on HS7059EPH60H (cont) User I/F 1 Pin No. Signal Name User I/F 1 Pin No. Signal Name 153 N.C. 177 GND 154 PK1/TO8
VIII CAUTION This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules
40 Table 3.5 Pin Assignment on HS7059EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 1 GND 31 PH9/D9 2 GND 32 CK
41 Table 3.5 Pin Assignment on HS7059EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 61 GND 90 N.C. 62 PVcc2 91
42 Table 3.5 Pin Assignment on HS7059EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 119 AN23 146 GND 120 AVss 1
43 Table 3.5 Pin Assignment on HS7059EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 173 PA12/TIO5A 187 PC2/TxD2
44 3.4.3 Precautions on Connecting the User System When connecting the evaluation chip board to the user system, note the following: 1. Secure the
45 3.5 Support of the Target MCU 3.5.1 Memory Space The MCU has a 4-Gbyte memory space in its architecture. On-Chip Flash Memory Area • Access to t
46 3.5.2 Low Power-Consumption Mode (Sleep, Software Standby, and Hardware Standby) For reduced power consumption, the MCU has sleep, software stand
47 3.5.6 A/D Converter The A/D converter has AVcc, AVss, AVref, and _ADTRG pins as well as the analog input pins. As the A/D converter operates with
48 3.5.8 Different Initial Values of Registers in the Emulator Note that the emulator initializes some general or control registers whenever the sys
49 Section 4 Diagnostic Test Procedure This section describes the diagnostic test procedure using the E6000H diagnostic program. 4.1 System Set-Up
i Preface Thank you for purchasing the E6000H emulator. CAUTION Read this manual before using the emulator product. Incorrect operation or con
50 Figure 4.1 [Misc] Page 5. Turn on the E6000H emulator power switch. Note: To execute the diagnostic program, firstly turn on the power of th
51 4.2 Test Item of the Diagnostic Program Table 4.1 shows the test items of this diagnostic program. Table 4.1 Test Items of the Diagnostic Progr
52 4.3 Diagnostic Test Procedure Using the Diagnostic Program Insert the CD-R (HS7058EPH60SR supplied with the E6000H) into the CD-ROM drive of the
53 The following messages are displayed during the test. There are 14 steps in this test (when a PCI interface board is used, the time for the test w
54 4. Basic Function 01) GO to BREAK ...OK 02) RESET GO ...
55 10. G/A Parallel RAM Monitor 01) PRAM Monitor (BYTE) ...OK 02) PRAM Monitor (WORD) ...
56 Normal stopped at Tue Feb 04 16:54:23 2005 Shows the time when the diagnostic program has ended. Tests run for 0h:2min:18s Shows the execution t
Debugger Part
1 Section 1 Overview The Debugger Part includes the following information. Table 1.1 Debugger Part Contents Section Title Content 2 Preparation
ii About This Manual This manual is comprised of two parts: Hardware Part and Debugger Part. Hardware Part: Preparation before use, hardware specif
2
3 Section 2 Preparation before Use 2.1 Method for Activating High-performance Embedded Workshop To activate the High-performance Embedded Workshop
4 2.1.1 Creating a New Workspace (Toolchain Not Used) 1. In the [Welcome!] dialog box that is displayed when the High-performance Embedded Workshop
5 2. Creation of a new workspace is started. The following dialog box is displayed. Figure 2.3 [New Project Workspace] Dialog Box [Workspace Nam
6 3. Select the target platform of the session file. The following dialog box is displayed. Figure 2.4 [New Project – Step 7] Dialog Box The ta
7 4. Set the configuration file name. The configuration file saves the state of High-performance Embedded Workshop except for the emulator. Figur
8 2.1.2 Creating a New Workspace (Toolchain Used) 1. In the [Welcome!] dialog box that is displayed when the High-performance Embedded Workshop is
9 2. Creation of a new workspace is started. The following dialog box is displayed. Figure 2.7 [New Project Workspace] Dialog Box [Workspace Nam
10 3. Make the required setting for the toolchain. When the setting has been completed, the following dialog box is displayed. Figure 2.8 [New
11 4. Set the configuration file name. The configuration file saves the state of High-performance Embedded Workshop except for the emulator. Figu
iii Contents SH7058 Hardware Part Section 1 Overview... 1
12 2.1.3 Selecting an Existing Workspace 1. In the [Welcome!] dialog box that is displayed when the High-performance Embedded Workshop is activate
13 2.2 Connecting the Emulator Select either of the following two ways to connect the emulator: (a) Connecting the emulator after the setting at emu
14 2.3 Re-connecting the Emulator When the emulator is disconnected, re-connection is possible by using the following methods. Select [Debug -> C
15 Section 3 Debugging This section describes the debugging operations and their related windows and dialog boxes. 3.1 Setting the Environment for
16 [General] page [Device] Selects the target MCU to be emulated. See the hardware manual for details. [Mode] Selects the operating mode for emulat
17 [General] page (cont) [Driver] Displays the E6000H driver that is currently installed. [Change driver in start up] When this box is checked, sel
18 3.1.2 Using the Emulation RAM Use the [ERam] page of the [Configuration Properties] dialog box to make settings for the emulation RAM. 16 and 24
19 [ERam] page [User] The emulation RAM is not used in the emulator. [Mode] [Emulation Memory] The emulation RAM is used in the emulator. [allocate
20 3.1.3 Selecting the Interface to be Connected Checking [Change driver in start up] on the [Configuration Properties] dialog box allows a selectio
21 3.2 Downloading a Program This section describes how to download a program and view it as source code or assembly-language mnemonics. Note: After
iv SH7059 Hardware Part Section 1 Overview ...1 1.1 Notes
22 In this window, the following items are shown on the left as information on lines. • 1st column (Line Number column): A line number for the sourc
23 To switch off a column in all source files 1. Click the right-hand mouse button on the [Editor] window or select the [Edit] menu. 2. Click th
24 3.2.3 Viewing the Assembly-Language Code If you have a source file open, right-click to open the pop-up menu and select the [View Disassembly] op
25 3.2.4 Modifying the Assembly-Language Code You can modify the assembly-language code by double-clicking on the instruction that you want to chang
26 3.3 Viewing the Current Status Choose [View -> CPU -> Status] or click the [View Status] toolbar button ( ) to open the [Status] window and
27 3.4 Reading and Displaying the Emulator Information Regularly Use the [Extended Monitor] window to know the changing information on the emulator
28 3.4.2 Selecting Items to be Displayed Selecting [Properties…] from the popup menu displays the [Extended Monitor Configuration] dialog box. Figu
29 3.5 Displaying Memory Contents in Realtime Use the [Monitor] window to monitor the memory contents during user program execution. In the Monitor
30 [Name]: Decides the name of the monitor window. [Options]: Sets monitor conditions. [Address]: Sets the start address for monitoring. [Siz
31 Figure 3.13 [Monitor] Window During user program execution, the display is updated according to the setting value of the auto-update interval.
v Debugger Part Section 1 Overview... 1 Section 2 Prepar
32 3.5.6 Hiding the [Monitor] Window When using the Monitor function to monitor the value of a variable from the [Watch] window, hide the [Monitor]
33 3.5.7 Managing the [Monitor] Window Selecting [Display -> CPU -> Monitor -> Windows Select…] displays the [Windows Select] dialog box. I
34 3.6 Looking at Variables This section describes how you can look at variables in the source program. 3.6.1 [Watch] Window You can view any value
35 Notes: 1. This function can be set per variable or per element or body for structures of data. 2. The color of an [R] in the [Name] column cha
36 3.7 Using the Event Points The emulator has the event point function to support breakpoints of the following three types. Software breakpoints: E
37 3.7.1 Setting a Software Breakpoint Use the [Software] sheet on the [Event] window to display, change, or add settings for software breakpoints.
38 To add a new software breakpoint, select an empty line from the list box on the [Software Break] page and click the [Edit…] button. To change exis
39 3.7.2 Setting an On-Chip Breakpoint Use the [On Chip] sheet on the [Event] window to display, change, or add settings for on-chip breakpoints. Se
40 List box: Displays the current settings for each of the channels. R shown as a channel number indicates the reset point of a sequential break. If
41 [Address]: Sets address bus conditions. [Don’t Care]: Selects no address bus condition. [Address]: Sets an address bus value. [Use mask]:
vi 3.8.2 Acquiring Trace Information ... 46 3.8.3 Specifying Trace Acqu
42 3.7.3 Settings an On-Emulator Breakpoint Use the [On Emulator] sheet on the [Event] window to display, change, or add settings for on-emulator br
43 The user can set more complex break conditions in the [On Emulator Break Channel n] dialog box by a combination of conditions provided on pages [A
44 [Address]: Sets address conditions. [Don’t Care]: Selects no address bus condition. [Address]: Select this button to set the address bus va
45 [Count]: Sets a satisfaction count condition. When [Don’t Care] has been selected, the satisfaction count is defined as 1. 3.7.4 Editing Event P
46 3.8 Viewing the Trace Information The emulator acquires the results of each instruction execution into the trace buffer as trace information and
47 [Data]: Data in byte, word, or longword units, displayed as 2-digit, 4-digit, or 8-digit hexadecimal [R/W]: Whether the cycle was for reading, w
48 3.8.3 Specifying Trace Acquisition Conditions The capacity of the trace buffer is limited. When the buffer becomes full, the oldest trace informa
49 (1) [Condition] page Figure 3.25 [Trace Acquisition Properties] Dialog Box ([Condition] Page) [Sequential Trace Stop]: Use this option to set
50 List box: Displays the current settings for each of the channels. If no setting has been made for a channel, only the channel number is displayed
51 (2) [Other] page Figure 3.26 [Trace Acquisition] Dialog Box ([Other] Page) [When trace-buffer full]: Selects an action to take when the trace
vii 4.16.3 Displaying Trace Information by the Conditional Trace Function ...116 4.16.4 Statistics...
52 [Clock/8]: Time stamping is in terms of the number of bus-clock cycles, i.e., is synchronized with 1/8 cycle of the internal clock signal (φ). [S
53 (3) [Trace Acquisition Condition Channel n] dialog box Use this dialog box to set pass points and a reset point for a sequential trace stop, and c
54 [Start]: Set the start address. [End]: Set the end address. [f()…]: The address range of a function can be set by [Start] and [End]. [Outp
55 3.8.4 Searching for a Trace Record Use the [Trace Find] dialog box to search for a trace record. To open this dialog box, choose [Find...] from t
56 [Don't care]: Detects no read/write condition when this box is checked. [Setting]: Detects the specified read/write condition. [RD]: Read
57 3.8.6 Saving the Trace Information in a File Select [Save...] from the popup menu to open the [Save As] file dialog box, which allows the user to
58 3.8.11 Extracting Records from the Acquired Information Use the filtering function to extract the records you need from the acquired trace inform
59 [Range]: Specify an address range. [From]: Enter a single address value or the start of the address range. [To]: Enter the end of the
60 [To]: Enter the maximum value of the time stamp range. Set filtering conditions and then press the [OK] button. This starts filtering accord
61 3.8.13 Analyzing Statistical Information Choose [Statistic] from the popup menu to open the [Statistic] dialog box and analyze statistical inform
viii
62 This dialog box allows the user to analyze statistical information concerning the trace information. Set the target of analysis in [Item] and the
63 3.9 Analyzing Performance Use the performance analysis function to measure the rate of execution time. The performance analysis function does not
64 Table 3.2 Mode Settings for Measurement Point Measurement Mode 1 2 3 4 5 6 7 8 Time Of Specified Range Measurement Ο Ο Ο Ο Ο Ο Ο Ο Start
65 3.9.1 Opening the [Performance Analysis] Window Choose [View -> Performance -> Performance Analysis] or click the [PA] toolbar button () to
66 3.9.2 Setting Conditions for Measurement Conditions for measurement can be displayed and changed in the [Performance Analysis] window. Select a p
67 (1) Time Of Specified Range Measurement Figure 3.36 Time Of Specified Range Settings [Range Name]: The name of the range to be measured [Range
68 (2) Start Point To End Point Measurement Figure 3.37 Start Point To End Point Measurement Settings [Range Name]: The name of the range to be m
69 [Count]: The count-up value used in measurement of the execution count. A break occurs every time the execution count exceeds the count-up value.
70 (3) Start Range To End Range Measurement Figure 3.38 Start Range To End Range Measurement Settings [Range Name]: The name of the range to be m
71 (4) Access Count Of Specified Range Measurement Figure 3.39 Access Count Of Specified Range Measurement Settings [Range Name]: The name of the
SH7058 Hardware Part
72 (5) Called Count Of Specified Range Measurement Figure 3.40 Called Count Of Specified Range Measurement Settings [Range Name]: The name of the
73 3.9.3 Starting Performance Data Acquisition Executing the user program clears the result of previous measurement and automatically starts measuri
74 3.10 Profiling Function 3.10.1 Enabling the Profile Choose [View->Performance->Profile] to open the [Profile] window. Choose [Enable Profil
75 3.10.4 [List] Sheet Figure 3.41 [Profile] Window ([List] Sheet) This window displays the address and size of a function or a global variable, t
76 3.10.5 [Tree] Sheet Figure 3.42 [Profile] Window ([Tree] Sheet) This window displays the relation of function calls in a tree structure. Display
77 • Not trace the function call Stops tracing function calls while profile data is acquired. This menu is used when acquiring profile data of the p
78 3.11 [Profile-Chart] Window Figure 3.43 [Profile-Chart] Window This window displays the relation of calls for a specific function. This window
79 • Multiple View If the [Profile-Chart] window is going to be opened when it has already been opened, selects whether another window is to be open
81 Section 4 Tutorial 4.1 Introduction This section describes the main functions of the emulator by using a tutorial program. The tutorial program i
82 4.2 Running the High-performance Embedded Workshop Open a workspace by following the procedure listed in section 2.1.3, Selecting an Existing Wor
83 4.3 Downloading the Tutorial Program 4.3.1 Downloading the Tutorial Program Download the object program to be debugged. • Select [Download modu
84 4.3.2 Displaying the Source Program The High-performance Embedded Workshop allows the user to debug a user program at the source level. • Double-
85 4.4 Setting a Software Breakpoint A software breakpoint is a simple debugging function. The [Editor] window provides a very simple way of settin
86 4.5 Setting Registers Set a value in the program counter before executing the program. • Select [Registers] from the [CPU] submenu of the [View
87 4.6 Executing the Program Execute the program as described in the following: • To execute the program, select [Go] from the [Debug] menu, or cl
88 Figure 4.8 [Editor] Window (Break Status)
89 The user can see the cause of the break that occurred last time in the [Status] window. • Select [Status] from the [CPU] submenu of the [View] me
90 4.7 Reviewing Breakpoints The user can see all the breakpoints set in the program in the [Event] window. • Select [Eventpoints] from the [Code]
91 4.8 Referring to Symbols The [Label] window can be used to display the information on symbols in modules. Select [Label] from the [Symbol] subme
1 Section 1 Overview 1.1 Notes on Usage CAUTION READ the following warnings before using the emulator product. Incorrect operation will damag
92 4.9 Viewing Memory When the label name is specified, the user can view the memory contents that the label has been registered in the [Memory] wi
93 4.10 Watching Variables As the user steps through a program, it is possible to watch that the values of variables used in the user program are c
94 The user can also add a variable to the [Watch] window by specifying its name. • Click the [Watch] window with the right-hand mouse button and se
95 The user can click mark ‘+’ at the left side of array a in the [Watch] window to watch all the elements. Figure 4.18 [Watch] Window (Displaying
96 4.11 Displaying Local Variables The user can display local variables in a function by using the [Locals] window. For example, we will examine t
97 4.12 Stepping Through a Program The High-performance Embedded Workshop provides a range of step menu commands that allow efficient program debug
98 Figure 4.21 [Editor] Window (Step In) • The highlighted line moves to the first statement of the sort function in the [Editor] window.
99 4.12.2 Executing the [Step Out] Command The [Step Out] command steps out of the called function and stops at the next statement of the calling s
100 4.12.3 Executing the [Step Over] Command The [Step Over] executes a function call in a single step and stops at the next statement of the main
101 4.13 Forced Breaking of Program Executions The High-performance Embedded Workshop can force a break during the execution of a program. • Cance
2 1.2 Emulator Hardware Components The emulator consists of an E6000H station and an evaluation chip board. By installing a user system interface bo
102 4.15 Break Function The emulator provides break functions by software breaks, on-chip breaks, and on-emulator breaks. Software breakpoints, on
103 Figure 4.31 [Breakpoint Properties] Dialog Box
104 • Click the [Edit…] button to display the [Software Break] dialog box. Figure 4.32 [Software Break] Dialog Box • Use the [Editor] window to
105 The software breakpoint that has been set is displayed in the [Event] window. Figure 4.33 [Event] Window (Software Breakpoint Setting) Note:
106 The program runs until it stops at the breakpoint that has been set. Figure 4.34 [Editor] Window at Execution Stop (Software Break)
107 The [Status] window displays the following contents: Figure 4.35 Displayed Contents of the [Status] Window (Software Break) Note: The items t
108 4.15.2 On-Chip Break Function Setting of an on-chip breakpoint on channel 8 such that a break is triggered when the break condition has been sa
109 • Make the following settings in the group boxes on the [Address] page: Uncheck the [Don’t Care] checkbox. Then use the [Editor] window to refe
110 4.16 Trace Functions The trace functions of the emulator use the realtime trace buffer, which can store the information of up to 128-k bus cycl
111 4.16.1 Displaying Trace Information by the Free Trace Function The free trace function allows continuous acquisition of trace information from
3 1.2.1 E6000H Station Components (A Part of Photos may be Different from Real Appearances) The names of the components on the front/rear panel of t
112 (2) Set a software breakpoint at the address on the line that has ‘p_sam->s0=a[0];’ within the tutorial function (refer to section 4.15.1, Sof
113 4.16.2 Displaying Trace Information by the Trace Stop Function While the trace stop function is in use, acquisition of trace information stops
114 (3) An address must be set as the condition. Uncheck [Don’t Care] on the [Address] page of the [Trace Acquisition Condition Channel 1] dialog bo
115 (4) Items that have been set are displayed in the list box on the [Condition] page of the [Trace Acquisition Properties] dialog box. Click the [
116 4.16.3 Displaying Trace Information by the Conditional Trace Function The conditional trace function only acquires trace information at the addr
117 4.16.4 Statistics The number of times the on-chip RAM has been written to can be included in the acquired trace information. (1) Delete all the
118 (5) Select [R/W] in the [Item] combo box and enter WR in the [Start] edit box. Then, click the [New] button. “R/W=WR” will be displayed in the [
119 (6) Then, select [SZ] from the [Item] combo box and enter L in the [Start] edit box. Then, click the [Add] button; the new condition is now adde
120 (7) To start statistical analysis of the specified condition, press the [Result] button. The number of write operations that satisfies the condi
121 4.16.5 Function Calls This mechanism is only used to collect trace information on the function calls. (1) Make the setting so that a break occur
4 Rear Panel: Figure 1.3 E6000H Station: Rear Panel (a) Power switch: Turning this switch to I (input) supplies power to the emulator (E60
122 4.17 Stack Trace Function The emulator uses the information on the stack to display the function call history. Notes: 1. This function can be
123 • Select [Reset Go] from the [Debug] menu. • After the break in program execution, select [Stack Trace] from the [Code] submenu of the [View] m
124 4.18 Performance Analysis Function Performance analysis by the emulator is available in the following modes: • Time Of Specified Range Measure
125 (3) Select the line in the [Performance Analysis] window that has 1 in its [No] column and click the right-hand mouse button to display a popup
126 Note: The addresses figured out in the [Input Function Range] dialog box are just for reference. In some cases, the end address of a function ma
127 4.19 Profiling Function The profiling function allows the user measure the performance for each of the functions. (1) Select [Profile] from the
128 (2) To enable the profiling function, click the right-hand mouse button on the [Profile] window to show the popup menu and select [Enable Profile
129 (3) Set an on-chip breakpoint by an address condition at the line which includes “delete p_sam;” in the tutorial function (see section 4.15.2, On
130 (5) The [Profile] window is shown below. Figure 4.63 [Profile] Window ([List] Sheet) (6) Click the [Tree] tab on the [Profile] window to disp
131 (7) Click the right-hand mouse button on the [Profile] window and select [View Profile-Chart] to open the [Profile-Chart] window. Figure 4.65
5 1.2.2 Evaluation Chip Board Configuration The names of the components on the evaluation chip board of the emulator are listed below. Figure 1.4
132 4.20 Monitor Function The emulator allows monitoring of the contents of specified addresses in memory during execution of the user program. In
133 (2) Set the items in the [Monitor Setting] dialog box as follows: • Enter monitor1 in the [Name] edit box. • Set the parameters in the [Options
134 (3) Click the [OK] button to open the [Monitor] window. Figure 4.68 [Monitor] Window (4) Select [Reset Go] from the [Debug] menu. When the
135 Section 5 Software Specifications and Notes Specific to This Product This section describes the software specifications and notes specific to t
136 These access types have the following characteristics. Table 5.3 Characteristics of Displaying and Modifying Contents of Memory Access Type Tar
137 5.3.2 Monitor Function • Up to eight points or 256 bytes in total can be specified for the monitor function. • The monitor function is implemen
138 5.5 Event Functions 5.5.1 Software Breakpoints • A software breakpoint is realized by replacing the instruction at the specified address with a
139 5.5.3 On-Emulator Break • A break will occur several cycles after a condition is satisfied. • The address and data conditions are satisfied on
140 5.6 Trace Functions 5.6.1 Displaying the Trace Information • The same hardware resource is used for acquisition of time stamps and the IRQ sign
141 5.8 Performance Analysis Function 5.8.1 Errors An error will be included in the measured performance as follows: • ±one-resolution error (±20-n
6 1.2.3 Configuration of User System Interface Board The names of the components of the user system interface board are given below. Figure 1.5 C
142 5.9 Profiling Function • If there is no stack information file (extension is ‘.sni’) that is output from the optimizing linkage editor, only the
143 5.10 Input Format 5.10.1 Entering Masks Address bus conditions and data bus conditions can be input with masks. Addresses can be masked in 1-, 3-
144 5.12 Tutorial Program 5.12.1 Downloading the Tutorial Program The setting of the emulation RAM is applied in the area in which downloading of th
145 Section 6 Error Messages 6.1 Error Messages of the Emulator 6.1.1 Error Messages at Emulator Initiation The emulator displays error messages
146 Table 6.1 Error Messages at Initiation Error Message Description and Solution There is no configuration file. The configuration file that is
147 Table 6.1 Error Messages at Initiation (cont) Error Message Description and Solution Can’t find firmware file Firmware open Error Firmware Dow
148
149 Appendix A Menus Table A.1 shows GUI menus. Table A.1 GUI Menus Menu Option Shortcut Toolbar Button Remarks View Command Line Ctrl + L
150 Table A.1 GUI Menus (cont) Menu Option Shortcut Toolbar Button Remarks View (cont) Gra-phic Image… Shift + Ctrl + G Opens the [Image] wind
151 Table A.1 GUI Menus (cont) Menu Option Shortcut Toolbar Button Remarks Debug (cont) Step In F11 Executes a block of user program before b
7 1.3 System Configuration The emulator must be connected to a host computer (via the selected PC interface board). 1.3.1 System Configuration Using
152 Table A.1 GUI Menus (cont) Menu Option Shortcut Toolbar Button Remarks Setup Customize… Customize the High-performance Embedded Workshop
153 Appendix B Command Lines Table B.1 lists the High-performance Embedded Workshop commands. Table B.1 High-performance Embedded Workshop Command
154 Table B.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 29 DISASSEMBLE DA Disassembles memory c
155 Table B.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 67 PROFILE_SAVE PS Saves profiling resu
156 Table B.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 105 WATCH_ADD WA Adds a watch item 106
Renesas Microcomputer Development Environment System User's ManualSH7058 E6000H EmulatorPublication Date: Rev.
Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japanhttp://www.renesas.comRefer to
SH7058 E6000H Emulator User’s Manual
1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the cus
8 E6000HemulatorPCIFHost computerUSBUSB adapter Figure 1.8 System Configuration Using a USB Adapter
9 Section 2 Preparation before Use 2.1 Description on Emulator Usage This section describes the preparation before use of the emulator. Figure 2.1
10 2.2 Emulator Connection 2.2.1 Connecting the User System WARNING Always switch OFF the emulator and user system before connecting or discon
11 2.2.2 Connecting the User System Interface Board WARNING Always switch OFF the emulator and user system and check pin numbers on the connect
12 2.2.3 Connecting the External Probe CAUTION Check the external probe direction and connect the external probe to the emulator station correc
13 2.2.4 Selecting the Clock This emulator supports three types of clock for the target MCU: a crystal oscillator attached on the evaluation chip bo
14 Evaluation chip boardCrystal oscillator terminalsCrystaloscillatorEnlarged viewX1 X2 Figure 2.4 Installing the Crystal Oscillator External
15 2.2.5 Connecting the System Ground CAUTION Separate the frame ground from the signal ground at the user system. When the frame ground is co
16 Emulator power supply cableUser system power supply cableGroundOutlet100-V to 240-V AC power Figure 2.6 Connecting the Frame Ground 2.2.6 PC In
17 Section 3 Hardware Specifications 3.1 Environmental Conditions CAUTION Observe the conditions listed in table 3.1 when using the emulator.
18 3.2 Emulator External Dimensions and Mass Figures 3.1 shows the external dimensions and mass of the E6000H emulator. Figure 3.1 External D
19 3.3 User System Interface Circuit 3.3.1 User System Interface Circuit The circuits that interface the MCU in the emulator to the user system inc
20 T1 tAD TW T2 tCSD1VOLVOH tRSD1tOE tRSD2 tRDS tACC tAStRDHtWSD2tWRtWSD1 tCSD2 tWDH tWDDCKA21 to A0_CSn_RD (When read)_WRx (When written)D15 to D
21 MCU in the emulatorUser systemHD151015FWEMD2MD1MD0FWEMD2MD1MD0EPM7256AEALVCH16244A Figure 3.3 User System Interface Circuits (1) TDOUser systemT
22 MCU in the emulatorUser systemLVTH16374EPM7128AEVHC244HD151015LVT16244AHC14 AHC14PF14/_BACKPF15/_BREQNMI NMI_BACK_BREQ_RES_RES_HSTBY _HSTBYPVcc147
23 User systemPLLVccPLLCAPPLLVssPLLVcLPLLCAPPLLVssVss3 VccPVcc1PVcc2VccEPM7128AE300 Ω200 Ω1 kΩ22 kΩ470 pF0.022 F3 Vcc3 Vcc5 Vcc0.1 F0.01 FVccNCNCXTAL
24 MCU in the emulatorPA (15:0) PA (15:0)PB (15:0)PC (15:0)PD (13:0) PD (13:0)PB (15:0)PC (15:0)User systemPC4 PC4VHC24422 kΩPVcc1 Figure 3.7 User
25 PG (3:1)PE (15:0) PE (15:0)AN (31:0) AN (31:0)SN74S1053NSUser systemPG (3:1)PF14, PF9PF (7:0)PF14, PF9PF (7:0)FG FGPH (15:0) PH (15:0)PJ (15:0) PJ
26 3.3.2 Delay Time with the User System Interface The delay time is generated on the timing of the _RES signal when it is input to the MCU from the
27 Installing IC Socket 1. Installing IC Socket Install the IC socket for each package to the user system. After checking the location of pin 1 on
I IMPORTANT INFORMATION READ FIRST • READ this user's manual before using this emulator product. • KEEP the user's manual handy for future
28 Evaluation chip boardUser system interface boardScrewIC socket connectorIC socketUser systemPin 1Spacer Figure 3.9 Connection Using the HS7058EC
29 Tolerance: ±0.3 unless otherwise specified Figure 3.11 Recommended Mount Pad Dimensions of the User System IC Socket
30 Connection Using the HS7058ECB61H WARNING Always switch OFF the emulator and user system before connecting or disconnecting any CABLES.
31 Evaluation chip boardScrews (M2 x 8 mm)SpacerBoardIC socketUser system Figure 3.12 Connection Using the HS7058ECB61H Unit: mmTolerance: ±0.5 mm8
32 Unit: mm1.0 x 19 = 19.04-Ø1.3Through hole1.021.323.0 ± 0.03Ø0.5 Figure 3.14 Recommended Mount Pad Dimensions of the User System IC Socket
33 Connection Using the Dedicated Connector WARNING Always switch OFF the emulator and user system before connecting or disconnecting any CABL
34 Evaluation chip boardConnector: WD-200P-VF85-N(manufactured by Japan Aviation Electronics Industry, Ltd.) Figure 3.15 Connection Using the De
35 6.083.0100.0Hole for a connector (NTH) × 430.126.25100.0Unit: mmTolerance: ±0.1 mm Figure 3.17 Location for Mounting the Connector in the User S
36 3.4.2 Pin Assignment on the User System Interface Connector Table 3.5 lists the pin assignment on the user system interface connector of HS7058EP
37 Table 3.5 Pin Assignment on HS7058EPH60H (cont) User I/F 1 Pin No. Signal Name User I/F 1 Pin No. Signal Name 49 GND 75 GND 50 PD12/PULS4
II LIMITED WARRANTY Renesas warrants its emulator products to be manufactured in accordance with published specifications and free from d
38 Table 3.5 Pin Assignment on HS7058EPH60H (cont) User I/F 1 Pin No. Signal Name User I/F 1 Pin No. Signal Name 101 3Vcc 127 GND 102 PL6/ADE
39 Table 3.5 Pin Assignment on HS7058EPH60H (cont) User I/F 1 Pin No. Signal Name User I/F 1 Pin No. Signal Name 153 N.C. 177 GND 154 PK1/TO8
40 Table 3.5 Pin Assignment on HS7058EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 1 GND 31 PH9/D9 2 GND 32 CK
41 Table 3.5 Pin Assignment on HS7058EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 61 GND 90 N.C. 62 PVcc2 91
42 Table 3.5 Pin Assignment on HS7058EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 119 AN23 146 GND 120 AVss 1
43 Table 3.5 Pin Assignment on HS7058EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 173 PA12/TIO5A 187 PC2/TxD2
44 3.4.3 Precautions on Connecting the User System When connecting the evaluation chip board to the user system, note the following: 1. Secure the
45 3.5 Support of the Target MCU 3.5.1 Memory Space The MCU has a 4-Gbyte memory space in its architecture. On-Chip Flash Memory Area • Access to t
46 3.5.2 Low Power-Consumption Mode (Sleep, Software Standby, and Hardware Standby) For reduced power consumption, the MCU has sleep, software stand
47 3.5.6 A/D Converter The A/D converter has AVcc, AVss, Avref, and _ADTRG pins as well as the analog input pins. As the A/D converter operates with
III State Law: Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages,
48 3.5.8 Different Initial Values of Registers in the Emulator Note that the emulator initializes some general or control registers whenever the sys
49 Section 4 Diagnostic Test Procedure This section describes the diagnostic test procedure using the E6000H diagnostic program. 4.1 System Set-Up
50 Figure 4.1 [Misc] Page 5. Turn on the E6000H emulator power switch. Note: To execute the diagnostic program, firstly turn on the power of th
51 4.2 Test Item of the Diagnostic Program Table 4.1 shows the test items of this diagnostic program. Table 4.1 Test Items of the Diagnostic Progr
52 4.3 Diagnostic Test Procedure Using the Diagnostic Program Insert the CD-R (HS7058EPH60SR supplied with the E6000H) into the CD-ROM drive of the
53 The following messages are displayed during the test. There are 13 steps in this test (when a PCI interface board is used, the time for the test w
54 4. Basic Function 01) GO to BREAK ...OK 02) RESET GO ...
55 10. G/A Parallel RAM Monitor 01) PRAM Monitor (BYTE) ...OK 02) PRAM Monitor (WORD) ...
56
SH7059 Hardware Part
IV SAFETY PAGE READ FIRST • READ this user's manual before using this emulator product. • KEEP the user's manual handy for future reference
1 Section 1 Overview 1.1 Notes on Usage CAUTION READ the following warnings before using the emulator product. Incorrect operation will damag
2 1.2 Emulator Hardware Components The emulator consists of an E6000H station and an evaluation chip board. By installing a user system interface bo
3 1.2.1 E6000H Station Components (A Part of Photos may be Different from Real Appearances) The names of the components on the front/rear panel of t
4 Rear Panel: Figure 1.3 E6000H Station: Rear Panel (a) Power switch: Turning this switch to I (input) supplies power to the emulator (E60
5 1.2.2 Evaluation Chip Board Configuration The names of the components on the evaluation chip board of the emulator are listed below. Figure 1.4
6 1.2.3 Configuration of User System Interface Board The names of the components of the user system interface board are given below. Figure 1.5 C
7 1.3 System Configuration The emulator must be connected to a host computer (via the selected PC interface board). 1.3.1 System Configuration Using
8 E6000HemulatorPCIFHost computerUSBUSB adapter Figure 1.8 System Configuration Using a USB Adapter
9 Section 2 Preparation before Use 2.1 Description on Emulator Usage This section describes the preparation before use of the emulator. Figure 2.1
V WARNING Observe the precautions listed below. Failure to do so will result in a FIRE HAZARD and will damage the user system and the emula
10 2.2 Emulator Connection 2.2.1 Connecting the User System WARNING Always switch OFF the emulator and user system before connecting or discon
11 2.2.2 Connecting the User System Interface Board WARNING Always switch OFF the emulator and user system and check pin numbers on the connect
12 2.2.3 Connecting the External Probe CAUTION Check the external probe direction and connect the external probe to the emulator station correc
13 2.2.4 Selecting the Clock This emulator supports three types of clock for the target MCU: a crystal oscillator attached on the evaluation chip bo
14 Evaluation chip boardCrystal oscillator terminalsCrystaloscillatorEnlarged viewX1 X2 Figure 2.4 Installing the Crystal Oscillator External
15 2.2.5 Connecting the System Ground CAUTION Separate the frame ground from the signal ground at the user system. When the frame ground is co
16 Emulator power supply cableUser system power supply cableGroundOutlet100-V to 240-V AC power Figure 2.6 Connecting the Frame Ground 2.2.6 PC In
17 Section 3 Hardware Specifications 3.1 Environmental Conditions CAUTION Observe the conditions listed in table 3.1 when using the emulator.
18 3.2 Emulator External Dimensions and Mass Figures 3.1 shows the external dimensions and mass of the E6000H emulator. Figure 3.1 External D
19 3.3 User System Interface Circuit 3.3.1 User System Interface Circuit The circuits that interface the MCU in the emulator to the user system inc
Comments to this Manuals