Renesas SH7058 User Manual Page 1

Browse online or download User Manual for Unknown Renesas SH7058. Renesas SH7058 User`s manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 297
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - SH7058 E6000H Emulator

SH7058 E6000H EmulatorUser’s ManualRenesas Microcomputer Development Environment System SuperH™ Family / SH7050 Series HS7058EPH60HE Rev.6.00 Revisi

Page 2

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

Page 3

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

Page 4

21 MCU in the emulatorUser systemHD151015FWEMD2MD1MD0FWEMD2MD1MD0EPIS20LVTH16244A Figure 3.3 User System Interface Circuits (1) TDOUser systemTCKTR

Page 5 - IMPORTANT INFORMATION

22 MCU in the emulatorUser systemLVTH16374EPIS20VHC244HD151015ALVCH16374AHC14 AHC14PF14/_BACKPF15/_BREQNMI NMI_BACK_BREQ_RES_RES_HSTBY_HSTBYPVcc147 k

Page 6 - DISCLAIMER

23 User systemPLLVccPLLCAPPLLVssPLLVcLPLLCAPPLLVssVss3 VccPVcc1PVcc2VccEPIS20300 Ω200 Ω1 kΩ22 kΩ470 pF0.022 µF3 Vcc3 Vcc5 Vcc0.1 µF0.01 µFVccNCNCXTAL

Page 7

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

Page 8 - SAFETY PAGE

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

Page 9

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

Page 10 - Warnings on Emulator Usage

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

Page 11 - CAUTION

28 Evaluation chip boardUser system interface boardScrewIC socket connectorIC socketUser systemPin 1Spacer Figure 3.9 Connection Using the HS7058EC

Page 12

29 Tolerance: ±0.3 unless otherwise specified Figure 3.11 Recommended Mount Pad Dimensions of the User System IC Socket

Page 13

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

Page 14 - About This Manual

30 Connection Using the HS7058ECB61H WARNING Always switch OFF the emulator and user system before connecting or disconnecting any CABLES.

Page 15 - Contents

31 Evaluation chip boardScrews (M2 x 8 mm)SpacerBoardIC socketUser system Figure 3.12 Connection Using the HS7058ECB61H Unit: mmTolerance: ±0.5 mm8

Page 16

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

Page 17

33 Connection Using the Dedicated Connector WARNING Always switch OFF the emulator and user system before connecting or disconnecting any CABL

Page 18

34 Evaluation chip boardConnector: WD-200P-VF85-N(manufactured by Japan Aviation Electronics Industry, Ltd.) Figure 3.15 Connection Using the De

Page 19

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

Page 20

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

Page 21 - SH7058 Hardware Part

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

Page 22

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

Page 23

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

Page 24 - USB adapter

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

Page 25

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

Page 26

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

Page 27

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

Page 28

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

Page 29 - 1.3 System Configuration

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

Page 30

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

Page 31

46 3.5.2 Low Power-Consumption Mode (Sleep, Software Standby, and Hardware Standby) For reduced power consumption, the MCU has sleep, software stand

Page 32

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

Page 33

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

Page 34

49 Section 4 Diagnostic Test Procedure This section describes the diagnostic test procedure using the E6000H diagnostic program. 4.1 System Set-Up

Page 35

i Preface Thank you for purchasing the E6000H emulator. CAUTION Read this manual before using the emulator product. Incorrect operation or con

Page 36 - Enlarged

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

Page 37

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

Page 38

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

Page 39

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

Page 40

54 4. Basic Function 01) GO to BREAK ...OK 02) RESET GO ...

Page 41

55 10. G/A Parallel RAM Monitor 01) PRAM Monitor (BYTE) ...OK 02) PRAM Monitor (WORD) ...

Page 42

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

Page 43

Debugger Part

Page 45

1 Section 1 Overview The Debugger Part includes the following information. Table 1.1 Debugger Part Contents Section Title Content 2 Preparation

Page 46

ii About This Manual This manual is comprised of two parts: Hardware Part and Debugger Part. Hardware Part: Preparation before use, hardware specif

Page 48

3 Section 2 Preparation before Use 2.1 Method for Activating High-performance Embedded Workshop To activate the High-performance Embedded Workshop

Page 49

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

Page 50

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

Page 51

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

Page 52

7 4. Set the configuration file name. The configuration file saves the state of High-performance Embedded Workshop except for the emulator. Figur

Page 53

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

Page 54

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

Page 55

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

Page 56

11 4. Set the configuration file name. The configuration file saves the state of High-performance Embedded Workshop except for the emulator. Figu

Page 57

iii Contents SH7058 Hardware Part Section 1 Overview... 1

Page 58

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

Page 59

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

Page 60

14 2.3 Re-connecting the Emulator When the emulator is disconnected, re-connection is possible by using the following methods. Select [Debug -> C

Page 61

15 Section 3 Debugging This section describes the debugging operations and their related windows and dialog boxes. 3.1 Setting the Environment for

Page 62

16 [General] page [Device] Selects the target MCU to be emulated. See the hardware manual for details. [Mode] Selects the operating mode for emulat

Page 63

17 [General] page (cont) [Driver] Displays the E6000H driver that is currently installed. [Change driver in start up] When this box is checked, sel

Page 64

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

Page 65

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

Page 66

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

Page 67

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

Page 68

iv SH7059 Hardware Part Section 1 Overview ...1 1.1 Notes

Page 69

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

Page 70

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

Page 71

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

Page 72

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

Page 73

26 3.3 Viewing the Current Status Choose [View -> CPU -> Status] or click the [View Status] toolbar button ( ) to open the [Status] window and

Page 74

27 3.4 Reading and Displaying the Emulator Information Regularly Use the [Extended Monitor] window to know the changing information on the emulator

Page 75

28 3.4.2 Selecting Items to be Displayed Selecting [Properties…] from the popup menu displays the [Extended Monitor Configuration] dialog box. Figu

Page 76

29 3.5 Displaying Memory Contents in Realtime Use the [Monitor] window to monitor the memory contents during user program execution. In the Monitor

Page 77

30 [Name]: Decides the name of the monitor window. [Options]: Sets monitor conditions. [Address]: Sets the start address for monitoring. [Siz

Page 78

31 Figure 3.13 [Monitor] Window During user program execution, the display is updated according to the setting value of the auto-update interval.

Page 79 - SH7059 Hardware Part

v Debugger Part Section 1 Overview... 1 Section 2 Prepar

Page 80

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]

Page 81

33 3.5.7 Managing the [Monitor] Window Selecting [Display -> CPU -> Monitor -> Windows Select…] displays the [Windows Select] dialog box. I

Page 82

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

Page 83

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

Page 84

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

Page 85

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.

Page 86

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

Page 87

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

Page 88

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

Page 89

41 [Address]: Sets address bus conditions. [Don’t Care]: Selects no address bus condition. [Address]: Sets an address bus value. [Use mask]:

Page 90

vi 3.8.2 Acquiring Trace Information ... 46 3.8.3 Specifying Trace Acqu

Page 91

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

Page 92

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

Page 93

44 [Address]: Sets address conditions. [Don’t Care]: Selects no address bus condition. [Address]: Select this button to set the address bus va

Page 94

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

Page 95

46 3.8 Viewing the Trace Information The emulator acquires the results of each instruction execution into the trace buffer as trace information and

Page 96

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

Page 97

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

Page 98

49 (1) [Condition] page Figure 3.25 [Trace Acquisition Properties] Dialog Box ([Condition] Page) [Sequential Trace Stop]: Use this option to set

Page 99

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

Page 100

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

Page 101

vii 4.16.3 Displaying Trace Information by the Conditional Trace Function ...116 4.16.4 Statistics...

Page 102 - ALVCH16244A

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

Page 103 - MCU in the emulator

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

Page 104

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

Page 105

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

Page 106

56 [Don't care]: Detects no read/write condition when this box is checked. [Setting]: Detects the specified read/write condition. [RD]: Read

Page 107

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

Page 108

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

Page 109

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

Page 110

60 [To]: Enter the maximum value of the time stamp range. Set filtering conditions and then press the [OK] button. This starts filtering accord

Page 111

61 3.8.13 Analyzing Statistical Information Choose [Statistic] from the popup menu to open the [Statistic] dialog box and analyze statistical inform

Page 114 - Connector: WD-200P-VF85-N

62 This dialog box allows the user to analyze statistical information concerning the trace information. Set the target of analysis in [Item] and the

Page 115 - Tolerance: ±0.1 mm

63 3.9 Analyzing Performance Use the performance analysis function to measure the rate of execution time. The performance analysis function does not

Page 116

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

Page 117

65 3.9.1 Opening the [Performance Analysis] Window Choose [View -> Performance -> Performance Analysis] or click the [PA] toolbar button () to

Page 118

66 3.9.2 Setting Conditions for Measurement Conditions for measurement can be displayed and changed in the [Performance Analysis] window. Select a p

Page 119

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

Page 120

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

Page 121

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.

Page 122

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

Page 123

71 (4) Access Count Of Specified Range Measurement Figure 3.39 Access Count Of Specified Range Measurement Settings [Range Name]: The name of the

Page 124

SH7058 Hardware Part

Page 125

72 (5) Called Count Of Specified Range Measurement Figure 3.40 Called Count Of Specified Range Measurement Settings [Range Name]: The name of the

Page 126

73 3.9.3 Starting Performance Data Acquisition Executing the user program clears the result of previous measurement and automatically starts measuri

Page 127

74 3.10 Profiling Function 3.10.1 Enabling the Profile Choose [View->Performance->Profile] to open the [Profile] window. Choose [Enable Profil

Page 128

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

Page 129

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

Page 130

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

Page 131

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

Page 132

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

Page 134

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

Page 136

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

Page 137 - Debugger Part

83 4.3 Downloading the Tutorial Program 4.3.1 Downloading the Tutorial Program Download the object program to be debugged. • Select [Download modu

Page 138

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-

Page 139 - Section 1 Overview

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

Page 140

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

Page 141

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

Page 142

88 Figure 4.8 [Editor] Window (Break Status)

Page 143

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

Page 144

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]

Page 145

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

Page 146

1 Section 1 Overview 1.1 Notes on Usage CAUTION READ the following warnings before using the emulator product. Incorrect operation will damag

Page 147

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

Page 148

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

Page 149

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

Page 150

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

Page 151 - 2.2 Connecting the Emulator

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

Page 152 - 2.4 Ending the Emulator

97 4.12 Stepping Through a Program The High-performance Embedded Workshop provides a range of step menu commands that allow efficient program debug

Page 153 - Section 3 Debugging

98 Figure 4.21 [Editor] Window (Step In) • The highlighted line moves to the first statement of the sort function in the [Editor] window.

Page 154 - [General] page

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

Page 155

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

Page 156

101 4.13 Forced Breaking of Program Executions The High-performance Embedded Workshop can force a break during the execution of a program. • Cance

Page 157

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

Page 158

102 4.15 Break Function The emulator provides break functions by software breaks, on-chip breaks, and on-emulator breaks. Software breakpoints, on

Page 159 - 3.2 Downloading a Program

103 Figure 4.31 [Breakpoint Properties] Dialog Box

Page 160

104 • Click the [Edit…] button to display the [Software Break] dialog box. Figure 4.32 [Software Break] Dialog Box • Use the [Editor] window to

Page 161

105 The software breakpoint that has been set is displayed in the [Event] window. Figure 4.33 [Event] Window (Software Breakpoint Setting) Note:

Page 162

106 The program runs until it stops at the breakpoint that has been set. Figure 4.34 [Editor] Window at Execution Stop (Software Break)

Page 163 - , e.g., #PC+0x100

107 The [Status] window displays the following contents: Figure 4.35 Displayed Contents of the [Status] Window (Software Break) Note: The items t

Page 164

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

Page 165

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

Page 166

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

Page 167

111 4.16.1 Displaying Trace Information by the Free Trace Function The free trace function allows continuous acquisition of trace information from

Page 168

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

Page 169

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

Page 170

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

Page 171

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

Page 172 - 3.6 Looking at Variables

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 [

Page 173

116 4.16.3 Displaying Trace Information by the Conditional Trace Function The conditional trace function only acquires trace information at the addr

Page 174 - 3.7 Using the Event Points

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

Page 175

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 [

Page 176

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

Page 177

120 (7) To start statistical analysis of the specified condition, press the [Result] button. The number of write operations that satisfies the condi

Page 178

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

Page 179

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

Page 180

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

Page 181

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

Page 182

124 4.18 Performance Analysis Function Performance analysis by the emulator is available in the following modes: • Time Of Specified Range Measure

Page 183

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

Page 184

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

Page 185

127 4.19 Profiling Function The profiling function allows the user measure the performance for each of the functions. (1) Select [Profile] from the

Page 186

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

Page 187

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

Page 188

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

Page 189

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

Page 190

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

Page 191

132 4.20 Monitor Function The emulator allows monitoring of the contents of specified addresses in memory during execution of the user program. In

Page 192

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

Page 193

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

Page 194

135 Section 5 Software Specifications and Notes Specific to This Product This section describes the software specifications and notes specific to t

Page 195

136 These access types have the following characteristics. Table 5.3 Characteristics of Displaying and Modifying Contents of Memory Access Type Tar

Page 196

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

Page 197

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

Page 198

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

Page 199

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

Page 200

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

Page 201 - 3.9 Analyzing Performance

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

Page 202

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

Page 203

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-

Page 204

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

Page 205

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

Page 206

146 Table 6.1 Error Messages at Initiation Error Message Description and Solution There is no configuration file. The configuration file that is

Page 207

147 Table 6.1 Error Messages at Initiation (cont) Error Message Description and Solution Can’t find firmware file Firmware open Error Firmware Dow

Page 209

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

Page 210

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

Page 211

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

Page 212 - 3.10 Profiling Function

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

Page 213

152 Table A.1 GUI Menus (cont) Menu Option Shortcut Toolbar Button Remarks Setup Customize… Customize the High-performance Embedded Workshop

Page 214

153 Appendix B Command Lines Table B.1 lists the High-performance Embedded Workshop commands. Table B.1 High-performance Embedded Workshop Command

Page 215

154 Table B.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 29 DISASSEMBLE DA Disassembles memory c

Page 216 - 3.11 [Profile-Chart] Window

155 Table B.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 67 PROFILE_SAVE PS Saves profiling resu

Page 217

156 Table B.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 105 WATCH_ADD WA Adds a watch item 106

Page 218

Renesas Microcomputer Development Environment System User's ManualSH7058 E6000H EmulatorPublication Date: Rev.

Page 219 - Section 4 Tutorial

Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japanhttp://www.renesas.comRefer to

Page 220

SH7058 E6000H Emulator User’s Manual

Page 221

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

Page 222

8 E6000HemulatorPCIFHost computerUSBUSB adapter Figure 1.8 System Configuration Using a USB Adapter

Page 223

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

Page 224 - 4.5 Setting Registers

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

Page 225 - 4.6 Executing the Program

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

Page 226

12 2.2.3 Connecting the External Probe CAUTION Check the external probe direction and connect the external probe to the emulator station correc

Page 227

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

Page 228 - 4.7 Reviewing Breakpoints

14 Evaluation chip boardCrystal oscillator terminalsCrystaloscillatorEnlarged viewX1 X2 Figure 2.4 Installing the Crystal Oscillator External

Page 229 - 4.8 Referring to Symbols

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

Page 230 - 4.9 Viewing Memory

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

Page 231 - 4.10 Watching Variables

17 Section 3 Hardware Specifications 3.1 Environmental Conditions CAUTION Observe the conditions listed in table 3.1 when using the emulator.

Page 233

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

Page 234

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

Page 235

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

Page 236

21 MCU in the emulatorUser systemHD151015FWEMD2MD1MD0FWEMD2MD1MD0EPM7256AEALVCH16244A Figure 3.3 User System Interface Circuits (1) TDOUser systemT

Page 237

22 MCU in the emulatorUser systemLVTH16374EPM7128AEVHC244HD151015LVT16244AHC14 AHC14PF14/_BACKPF15/_BREQNMI NMI_BACK_BREQ_RES_RES_HSTBY _HSTBYPVcc147

Page 238

23 User systemPLLVccPLLCAPPLLVssPLLVcLPLLCAPPLLVssVss3 VccPVcc1PVcc2VccEPM7128AE300 Ω200 Ω1 kΩ22 kΩ470 pF0.022 F3 Vcc3 Vcc5 Vcc0.1 F0.01 FVccNCNCXTAL

Page 239

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

Page 240 - 4.15 Break Function

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

Page 241

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

Page 242

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

Page 243

I IMPORTANT INFORMATION READ FIRST • READ this user's manual before using this emulator product. • KEEP the user's manual handy for future

Page 244

28 Evaluation chip boardUser system interface boardScrewIC socket connectorIC socketUser systemPin 1Spacer Figure 3.9 Connection Using the HS7058EC

Page 245

29 Tolerance: ±0.3 unless otherwise specified Figure 3.11 Recommended Mount Pad Dimensions of the User System IC Socket

Page 246

30 Connection Using the HS7058ECB61H WARNING Always switch OFF the emulator and user system before connecting or disconnecting any CABLES.

Page 247

31 Evaluation chip boardScrews (M2 x 8 mm)SpacerBoardIC socketUser system Figure 3.12 Connection Using the HS7058ECB61H Unit: mmTolerance: ±0.5 mm8

Page 248 - 4.16 Trace Functions

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

Page 249

33 Connection Using the Dedicated Connector WARNING Always switch OFF the emulator and user system before connecting or disconnecting any CABL

Page 250

34 Evaluation chip boardConnector: WD-200P-VF85-N(manufactured by Japan Aviation Electronics Industry, Ltd.) Figure 3.15 Connection Using the De

Page 251

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

Page 252

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

Page 253

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

Page 254

II LIMITED WARRANTY Renesas warrants its emulator products to be manufactured in accordance with published specifications and free from d

Page 255

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

Page 256

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

Page 257

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

Page 258

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

Page 259

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

Page 260 - 4.17 Stack Trace Function

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

Page 261

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

Page 262

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

Page 263

46 3.5.2 Low Power-Consumption Mode (Sleep, Software Standby, and Hardware Standby) For reduced power consumption, the MCU has sleep, software stand

Page 264

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

Page 265 - 4.19 Profiling Function

III State Law: Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages,

Page 266

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

Page 267

49 Section 4 Diagnostic Test Procedure This section describes the diagnostic test procedure using the E6000H diagnostic program. 4.1 System Set-Up

Page 268

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

Page 269

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

Page 270 - 4.20 Monitor Function

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

Page 271

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

Page 272 - 4.21 What Next?

54 4. Basic Function 01) GO to BREAK ...OK 02) RESET GO ...

Page 273 - 5.2 Debugging Platform

55 10. G/A Parallel RAM Monitor 01) PRAM Monitor (BYTE) ...OK 02) PRAM Monitor (WORD) ...

Page 276 - 5.5 Event Functions

IV SAFETY PAGE READ FIRST • READ this user's manual before using this emulator product. • KEEP the user's manual handy for future reference

Page 278 - 5.7 Monitor Function

1 Section 1 Overview 1.1 Notes on Usage CAUTION READ the following warnings before using the emulator product. Incorrect operation will damag

Page 279

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

Page 280 - 5.9 Profiling Function

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

Page 281 - 5.11 Downloading a Program

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

Page 282 - 5.12 Tutorial Program

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

Page 283 - Section 6 Error Messages

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

Page 284

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

Page 285

8 E6000HemulatorPCIFHost computerUSBUSB adapter Figure 1.8 System Configuration Using a USB Adapter

Page 286

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

Page 287 - Appendix A Menus

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

Page 288

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

Page 289 - Table A.1 GUI Menus (cont)

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

Page 290

12 2.2.3 Connecting the External Probe CAUTION Check the external probe direction and connect the external probe to the emulator station correc

Page 291 - Appendix B Command Lines

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

Page 292

14 Evaluation chip boardCrystal oscillator terminalsCrystaloscillatorEnlarged viewX1 X2 Figure 2.4 Installing the Crystal Oscillator External

Page 293

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

Page 294

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

Page 295 - User's Manual

17 Section 3 Hardware Specifications 3.1 Environmental Conditions CAUTION Observe the conditions listed in table 3.1 when using the emulator.

Page 296 - RENESAS SALES OFFICES

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

Page 297 - User’s Manual

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

No comments