Renesas H8S/2276 Manual de usuario

Busca en linea o descarga Manual de usuario para No Renesas H8S/2276. Renesas H8S/2276 User`s manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 236
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 1 - H8S/2214 E6000 Emulato

Revision Date: Feb. 21, 2006 Renesas Microcomputer Development Environment SystemH8S Family / H8S/2200 Series HS2214EPI62HE-U2 Rev.

Pagina 2

VI 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.

Pagina 3

80 (4) [1] to [4] pages Sets a range trace. This is only available when the free trace mode is disabled. Select either of the following four modes: [

Pagina 4

81 • Point to Point Acquires trace information in the specified range. Figure 5.34 Range Trace Setting (Point to Point) [Start Address]: Addre

Pagina 5 - IMPORTANT INFORMATION

82 • Range Only acquires the trace information that satisfies the specified condition. Figure 5.35 Range Trace Setting (Range) [Range Event]: S

Pagina 6 - DISCLAIMER

83 • Event Acquires trace information, controlling the start and end of trace acquisition with the specified condition. Figure 5.36 Range Trace S

Pagina 7

84 5.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

Pagina 8 - SAFETY PAGE

85 (1) [General] page Set the range for searching. Figure 5.37 [Trace Find] Dialog Box ([General] Page) [Trace search range]: Sets the range for

Pagina 9

86 (2) [Address] page Set an address condition. Figure 5.38 [Trace Find] Dialog Box ([Address] Page) [Don't care]: Detects no address when t

Pagina 10 - CAUTION

87 (3) [Data] page Set a data condition. Figure 5.39 [Trace Find] Dialog Box ([Data] Page) [Don't care]: Detects no data when this box is ch

Pagina 11 - Introduction

88 (4) [R/W] page Select the type of access cycles. Figure 5.40 [Trace Find] Dialog Box ([R/W] Page) [Don't care]: Detects no read/write con

Pagina 12 - About This Manual

89 (5) [Area] page Select the area being accessed. The selection is not available when a time stamp is acquired. Figure 5.41 [Trace Find] Dialog B

Pagina 13 - Contents

i Introduction The E6000 emulator is an advanced realtime in-circuit emulator, which allows programs to be developed and debugged for the H8S family

Pagina 14

90 (6) [Status] page Select the status of a bus. The selection is not available when a time stamp is acquired. Figure 5.42 [Trace Find] Dialog Box

Pagina 15

91 (7) [Probes] page Select the status of four probe signals. The selection is not available when a time stamp is acquired. Figure 5.43 [Trace Fin

Pagina 16

92 (8) [IRQ7-0] page Select the status of IRQ signals. The selection is not available when a time stamp is acquired. Figure 5.44 [Trace Find] Dial

Pagina 17

93 (9) [Timestamp] page Specify the time stamp value for bus cycles. The specification is not available when a time stamp is acquired. Figure 5.45

Pagina 18

94 5.8.7 Viewing the [Editor] Window The [Editor] window corresponding to the selected trace record can be displayed in the following two ways: • S

Pagina 19 - Emulator Debugger Part

95 5.8.12 Extracting Records from the Acquired Information Use the filtering function to extract the records you need from the acquired trace inform

Pagina 20

96 (1) [General] page Set the range for filtering. Figure 5.46 [Trace Filter] Dialog Box ([General] Page) [Don't care other pages]: Only sel

Pagina 21 - 1.1 Features

97 (2) [Address] page Set address conditions. Figure 5.47 [Trace Filter] Dialog Box ([Address] Page) [Don't care]: Detects no address when t

Pagina 22 - 1.2 Warnings

98 (3) [Data] page Set a data condition. Figure 5.48 [Trace Filter] Dialog Box ([Data] Page) [Don't care]: Detects no data when this box is

Pagina 23 - 1.3 Environmental Conditions

99 (4) [R/W] page Select the type of access cycles. Figure 5.49 [Trace Filter] Dialog Box ([R/W] Page) [Don't care]: Detects no read/write c

Pagina 24

ii About This Manual This manual contains the following information. Emulator Debugger Part: Preparation before use, E6000 emulator functions, debu

Pagina 25 - 2.1 Emulator Preparation

100 (5) [Area] page Select the area being accessed. The selection is not available when a time stamp is acquired. Figure 5.50 [Trace Filter] Dialo

Pagina 26 - IC socket

101 (6) [Status] page Select the status of a bus. The selection is not available when a time stamp is acquired. Figure 5.51 [Trace Filter] Dialog

Pagina 27 - POWER RUN

102 (7) [Probes] page Select the status of four probe signals. The selection is not available when a time stamp is acquired. Figure 5.52 [Trace Fi

Pagina 28 - GND (inside)

103 (8) [IRQ7-0] page Select the status of IRQ signals. The selection is not available when a time stamp is acquired. Figure 5.53 [Trace Filter] D

Pagina 29 - 2.6 Hardware Interface

104 (9) [Timestamp] page Specify the time stamp value for bus cycles. The specification is not available when a time stamp is acquired. Figure 5.54

Pagina 30 - Trigger output

105 5.8.13 Calculating the Difference in Time Stamping Select [Timestamp Difference…] from the popup menu to calculate the time difference between t

Pagina 31

106 5.8.14 Analyzing Statistical Information Choose [Statistic] from the popup menu to open the [Statistic] dialog box and analyze statistical infor

Pagina 32 - 2.7 System Check

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

Pagina 33

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

Pagina 34

109 Table 5.8 Mode Settings for Measurement Point Page 1 2 3 4 5 6 7 8 Time Of Specified Range Measurement Ο Ο Ο Ο Ο Ο Ο Ο Start Point To En

Pagina 35

iii Contents Emulator Debugger Part Section 1 Overview...

Pagina 36

110 5.9.1 Opening the [Performance Analysis] Window Choose [View -> Performance -> Performance Analysis] or click the [PA] toolbar button () t

Pagina 37 - 2.8 Communication Problems

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

Pagina 38

112 (1) Time Of Specified Range Measurement Figure 5.61 Time Of Specified Range Settings [Range Name]: The name of the range to be measured [Rang

Pagina 39 - 3.1 Debugging Features

113 (2) Start Point To End Point Measurement Figure 5.62 Start Point To End Point Measurement Settings [Range Name]: The name of the range to be

Pagina 40

114 Notes: 1. When [Time Out] is selected in the Start Point To End Point Measurement mode, the execution time will not be measured correctly. 2.

Pagina 41

115 (3) Start Range To End Range Measurement Figure 5.63 Start Range To End Range Measurement Settings [Range Name]: The name of the range to be

Pagina 42 - 3.3 Hardware Features

116 (4) Access Count Of Specified Range Measurement Figure 5.64 Access Count Of Specified Range Measurement Settings [Range Name]: The name of th

Pagina 43 - 3.5 Online Help

117 (5) Called Count Of Specified Range Measurement Figure 5.65 Called Count Of Specified Range Measurement Settings [Range Name]: The name of th

Pagina 44

118 5.9.3 Selecting the Address Detection Mode and Resolution In measurement of hardware performance, there are two types of address detection modes

Pagina 45

119 Section 6 Tutorial 6.1 Introduction The following describes the main functions of the emulator by using a tutorial program. The tutorial prog

Pagina 46

iv 3.3.3 Probes ... 23 3.4 Stack Trac

Pagina 47

120 6.2 Running the High-performance Embedded Workshop Open a workspace by following the procedure listed in section 4.1.3, Selecting an Existing W

Pagina 48

121 6.3 Downloading the Tutorial Program 6.3.1 Downloading the Tutorial Program Download the object program to be debugged. • Select [Download m

Pagina 49

122 6.3.2 Displaying the Source Program The High-performance Embedded Workshop allows the user to debug a user program at the source level. • Doub

Pagina 50

123 6.4 Setting a Software Breakpoint A software breakpoint is a simple debugging function. The [Editor] window provides a very simple way of setti

Pagina 51

124 6.5 Setting Registers Set a value of the program counter before executing the program. • Select [Registers] from the [CPU] submenu of the [Vie

Pagina 52

125 6.6 Executing the Program Execute the program as described in the following: • To execute the program, select [Go] from the [Debug] menu, or c

Pagina 53

126 Figure 6.8 [Editor] Window (Break Status)

Pagina 54

127 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] m

Pagina 55

128 6.7 Reviewing Breakpoints The user can see all the breakpoints set in the program in the [Event] window. • Select [Eventpoints] from the [Code

Pagina 56 - 4.4 Ending the Emulator

129 6.8 Referring to Symbols The [Label] window can be used to display the information on symbols in modules. Select [Label] from the [Symbol] subm

Pagina 57 - Section 5 Debugging

v 5.7.12 Disabling an Event Point...73 5.7.13 Deleting an Event

Pagina 58

130 6.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] w

Pagina 59

131 6.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

Pagina 60

132 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 s

Pagina 61

133 The user can click mark ‘+’ at the left side of array a in the [Watch] window to watch all the elements. Figure 6.18 [Watch] Window (Displayin

Pagina 62

134 6.11 Displaying Local Variables The user can display local variables in a function using the [Locals] window. For example, we will examine the

Pagina 63

135 6.12 Stepping Through a Program The High-performance Embedded Workshop provides a range of step menu commands that allow efficient program debu

Pagina 64 - 5.2 Downloading a Program

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

Pagina 65

137 6.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

Pagina 66

138 6.12.3 Executing the [Step Over] Command The [Step Over] executes a function call as a single step and stops at the next statement of the main

Pagina 67

139 6.13 Forced Breaking of Program Executions The High-performance Embedded Workshop can force a break in the execution of a program. • Cancel al

Pagina 68

vi 6.16.2 Displaying a Trace (when Time Stamping is Available) ...156 6.16.3 Statistics...

Pagina 69

140 6.15 Break Function The emulator’s break functions are of two types: software breaks and breaks at event points. software breakpoints and even

Pagina 70

141 Figure 6.31 [Breakpoint/Event Properties] Dialog Box • Check the [Software Break] radio button in the [Type] group box. • Use the [Editor]

Pagina 71

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

Pagina 72

143 • Close the [Event] window. • To stop the tutorial program at the breakpoint, select [Reset Go] from the [Debug] menu. The program runs until i

Pagina 73

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

Pagina 74

145 6.15.2 Breaking Execution at Event Points Setting up of an event point on event channel 1 (Ch1) such that a break is triggered when the event p

Pagina 75

146 Figure 6.36 [General] Page ([Breakpoint/Event Properties] Dialog Box) • Click the [OK] button. The [Event] window is displayed, as shown bel

Pagina 76

147 Select [Reset Go] from the [Debug] menu to stop the tutorial program at breakpoints. The program runs then stops at the condition specified under

Pagina 77

148 The [Status] window displays the following contents. Figure 6.39 Displayed Contents of the [Status] Window Refer to the [Watch] window for the

Pagina 78 - 5.6 Viewing the Variables

149 6.16 Trace Functions The trace functions of the emulator use the realtime trace buffer, which is able to store the information on up to 32,768

Pagina 79

vii Appendix D Diagnostic Test Procedure ... 209 D.1 System Set-Up for Test Program Execu

Pagina 80 - 5.7 Using the Event Points

150 6.16.1 Displaying a Trace (when Time Stamping is not Available) The method used to specify an address as an event condition for the tracing of

Pagina 81

151 (2) Register an address as an event condition for trace acquisition. Click the [Add…] button in the [Trace Events] group box on the [General] pag

Pagina 82

152 (4) The event that has been set is now displayed in the [Event] combo box of the [Trace Events] group box on the [General] page of the [Trace Acq

Pagina 83

153 (5) To enable the event condition that has been set, uncheck the [Free Trace] check box on the [General] page. This will add pages [1] to [4] to

Pagina 84

154 (6) Select page [1] and click the [Range] radio button in the [Conditions] group box. This will display the [Range Event] combo box and the [Edit

Pagina 85

155 (7) Select the event you have registered from the [Range Event] combo box. The event is now enabled. Click the [OK] button to complete the trace

Pagina 86

156 (10) Remove the event points that have been set and clear the trace information. Click the right-hand mouse button on the [Event] window to displ

Pagina 87

157 (5) The event that has been set in the [Event] combo box of the [Trace Events] group box on the [General] page of the [Trace Acquisition] dialog

Pagina 88

158 (7) To enable the event condition that has been set, uncheck the [Free Trace] check box on the [General] page. This will add pages [1] to [4] (se

Pagina 89

159 (11) Select [Reset Go] from the [Debug] menu. Processing stops when the break condition is satisfied, and the [Trace] window then displays the f

Pagina 91

160 6.16.3 Statistics The number of times the internal RAM has been written to can be included in the acquired trace information. (1) Make the setti

Pagina 92

161 (4) Select R/W in the [Item] combo box and enter WR in the [Start] edit box. After that, click the [New] button. “R/W=WR” is now displayed in th

Pagina 93

162 (5) Then, select Area from the [Item] combo box and enter RAM in the [Start] edit box. After that, click the [Add] button; the new condition is

Pagina 94

163 (6) To start statistical analysis of the specified condition, press the [Result] button. The number of write operations that satisfy the conditi

Pagina 95

164 6.16.4 Function Calls This mechanism is used to only collect trace information on the function calls. (1) Make the setting such that a break occ

Pagina 96

165 6.17 Stack Trace Function The emulator uses the information on the stack to display the function call history. Notes: 1. This function can be

Pagina 97

166 Figure 6.61 [Stack Trace] Window Figure 6.61 shows that the position of the program counter is currently at the selected line of the sort() f

Pagina 98

167 6.18 Performance Measurement Function Performance measurement by the emulator is in the following modes: • Time Of Specified Range Measurement

Pagina 99

168 (3) Select the line of the [Performance Analysis] window that has 1 in its [No] column and click the right-hand mouse button to display a popup m

Pagina 100

169 (6) Click the [Settings…] button in the [Common Settings of Performance(PA1-8)] group box to display the [Common Settings of Performance(PA1-8)]

Pagina 101

Emulator Debugger Part

Pagina 102

170 6.19 Monitor Function The emulator allows monitoring of the content of specified addresses in memory during execution of the user program. In t

Pagina 103

171 (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

Pagina 104

172 (3) Click the [OK] button to open the [Monitor] window. Figure 6.71 [Monitor] Window (4) Select [Reset Go] from the [Debug] menu. When the con

Pagina 105

173 Section 7 Hardware Specifications Specific to This Product This section describes the hardware specifications on the H8S/2214 E6000 emulator. 7

Pagina 106

174 7.1.2 Operating Voltage and Frequency Specifications Table 7.1 shows the MCU operating voltage and frequency specifications supported by the E60

Pagina 107

175 7.2 User System Interface All user system interface signals are directly connected to the MCU in the emulator with no buffering except for tho

Pagina 108

176 RESET and NMI: The RESET and NMI signals are input to the MCU through the emulator control circuit. The rising/falling time of these signals must

Pagina 109

177 7.3 Differences between MCU and Emulator When the emulator is turned on or initialized, or the system is reset, there are some differences in th

Pagina 111

179 Section 8 Software Specifications Specific to This Product This section describes the software specifications of the H8S/2214 E6000 emulator. 8

Pagina 114

180 8.1.3 [Configuration Properties] Dialog Box ([General] Page) Items that can be set in this dialog box are listed below. Figure 8.1 [Configura

Pagina 115

181 [General] page [Device] Selects the MCU to be emulated. To use an MCU not included in the list, select [Custom] to specify the functions require

Pagina 116

182 [General] page (cont) [Break on access error] When this box is checked, a break (the user program stops) occurs if your program accesses an acce

Pagina 117

183 Table 8.2 Environment for the H8S/2214 E6000 Emulator CPU 2000 Debugging Platform [Device] Option [Mode] Option [Clock] Option Expansion Hardw

Pagina 118

184 8.1.4 [Configuration Properties] Dialog Box ([Custom] Page) Items that can be set in this dialog box are listed below. Figure 8.2 [Configurat

Pagina 119

185 [Custom Device] page [ROM] Specify the internal ROM area size. None: - 32kB: Sets the internal ROM area to be 32 kbytes (H’000000 to H’007FFF).

Pagina 120

186 [Custom Device] page (cont) [Modules] Check this box to validate on-chip peripherals. Enable DTC: Uses a part of the internal RAM as DTCRAM. Ena

Pagina 121

187 8.1.5 Memory Mapping Function This emulator supports four blocks of user memory. These can be 256 kbytes or 1 Mbyte each, depending on the SIMM

Pagina 122

188 (2) [Platform] Sheet Selecting the [Platform] tab on the [Status] window displays this sheet. Table 8.4 [Platform] Sheet Items [Item] Column [

Pagina 123

189 8.1.7 Extended Monitor Function Selecting [View -> CPU -> Extended Monitor] or clicking the [Extended Monitor] toolbar button displays the

Pagina 124

1 Section 1 Overview 1.1 Features • The breakpoint, memory map, performance, and trace can be set through the dialog box. ⎯ Intuitive user interf

Pagina 125

190 8.1.8 Signals to Indicate Bus States and Areas The following tables show examples of signals to indicate the bus states and areas that can be ac

Pagina 126

191 8.1.11 Trace Information Selecting [View -> Code -> Trace] or clicking the [Trace] toolbar button displays the [Trace] window. Trace inform

Pagina 127

192 8.1.12 Searching for a Trace Record While using the emulator, the [Trace Find] dialog box has the following pages: Table 8.9 [Trace Find] Dialo

Pagina 128 - 5.9 Analyzing Performance

193 [Don't care]: Detects no IRQ input condition when this box is checked. [Setting]: Detects the specified IRQ input condition. [IRQ7] to [IR

Pagina 129

194 • [IRQ7-0] page Select the status of IRQ signals. The selection is not available when a time stamp is acquired. Figure 8.4 [Trace Filter] Dia

Pagina 130

195 8.2 Notes on Usage of the H8S/2214 E6000 Emulator There are the following notes on usage of the emulator. 8.2.1 Environment for Execution of th

Pagina 131

196 8.2.4 Using the Internal RAM Area as External Addresses When the RAME bit in SYSCR is 0, the internal RAM area can be used external addresses. N

Pagina 132

197 Appendix A I/O File Format High-performance Embedded Workshop formats the [IO] window based on information it finds in an I/O Register definiti

Pagina 133

198 Example: ; H8S/2655 Series I/O Register Definitions File [Modules] BaseAddress=0 Module1=Power_Down_Mode_Registers Module2=DMA_Channel_Common

Pagina 134

199 A.2 File format (Bit Field Supported) Each module name must be defined in the [Modules] definition section and the numbering of each module must

Pagina 135

2 1.2 Warnings CAUTION READ the following warnings before using the emulator product. Incorrect operation will damage the user system and the emu

Pagina 136

200 Example: ; H8S/2655 Series I/O Register Definitions File [Modules] FileVersion=2 BaseAddress=0 Module1=Power_Down_Mode_Registers Module2=DMA_

Pagina 137

201 Appendix B Menus Table B.1 shows GUI menus. Table B.1 GUI Menus Menu Option Shortcut Toolbar Button Remarks View Difference Opens the

Pagina 138

202 Table G.1 GUI Menus (cont) Menu Option Shortcut Toolbar Button Remarks View (cont) Gra-phic Image… Shift + Ctrl + G Opens the [Image] wind

Pagina 139 - 6.1 Introduction

203 Table G.1 GUI Menus (cont) Menu Option Shortcut Toolbar Button Remarks Debug (cont) Step In F11 Executes a block of user program before b

Pagina 140

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

Pagina 141

205 Appendix C Command Lines Table C.1 lists the High-performance Embedded Workshop commands. Table C.1 High-performance Embedded Workshop Command

Pagina 142

206 Table H.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 34 GENERATE_MAKE_ FILE GM Creates a makefi

Pagina 143

207 Table H.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 73 SUBMIT SU Executes a command file 74

Pagina 145 - 6.6 Executing the Program

209 Appendix D Diagnostic Test Procedure This section describes the diagnostic test procedure using the E6000 test program. D.1 System Set-Up for

Pagina 146

3 1.3 Environmental Conditions CAUTION Observe the conditions listed in table 1.1 when using the emulator. Failure to do so will cause illegal o

Pagina 147

210 D.2 Diagnostic Test Procedure Using Test Program Insert the CD-R (HS2214EPI62SR supplied with the emulator) into the CD-ROM drive of the host co

Pagina 148 - 6.7 Reviewing Breakpoints

211 The following messages are displayed during test. This test consists of steps 1 to 18. Message Description E6000 H8S/2214_62 Emulator Tests Vx.x

Pagina 149 - 6.8 Referring to Symbols

212 04) Testing Trace memory : A) Decode Test page [H'000 - H'04f] (Lower 32 K) ...OK B) Marching Test page [H'000 - H'04f] (

Pagina 150 - 6.9 Viewing Memory

213 13) Testing Emulation RAM Trace : A) Free Trace ...OK B) Range Trace ...OK C) Point to Point Trace .

Pagina 151 - 6.10 Watching Variables

Renesas Microcomputer Development Environment System User's Manual H8S/2214 E6000 EmulatorPublication Date: 1st

Pagina 152

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

Pagina 153

H8S/2214 E6000 Emulator User's Manual

Pagina 155

5 Section 2 Preparation before Use 2.1 Emulator Preparation Unpack the emulator and prepare it for use as follows: WARNING READ the reference s

Pagina 156

6 2.3 Connecting to the User System To connect the emulator to a user system, proceed as follows: • Connect the user system interface cable head to

Pagina 157

7 • Screw the cable head to the socket with the screws provided. Progressively tighten the screws in the sequence shown in figure 2.4 until all are

Pagina 158

8 2.4 Power Supply 2.4.1 AC Adapter The AC adapter supplied with the emulator must be used at all times. 2.4.2 Polarity Figure 2.6 shows the polarity

Pagina 159 - 6.14 Resetting the MCU

9 2.6 Hardware Interface All signals are directly connected to the MCU in the emulator with no buffering with the exception of those listed in sectio

Pagina 160 - 6.15 Break Function

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

Pagina 161

10 The interface circuit for the external probe 1 is shown in figure 2.8. 10 kExternal probe 1, 2, 3, 4HD15101522VccΩΩ Figure 2.8 Interface Circuit

Pagina 162

11 2.6.6 Voltage Follower Circuit CAUTION 1. Do not connect the user system interface cable to the emulator without user system connection.

Pagina 163 - • Close the [Event] window

12 2.7 System Check When the software is executed, use the procedure below to check that the emulator is connected correctly. Here, use the worksp

Pagina 164

13 5. The [Welcome!] dialog box is displayed. Figure 2.12 [Welcome!] Dialog Box To use a workspace for the tutorial, select the [Browse to anoth

Pagina 165

14 When no compiler package or that of a different version is installed, the following message box will be displayed. Figure 2.14 Message Box 6.

Pagina 166

15 7. Set up the emulator. During this process, the following dialog box is displayed. Figure 2.16 [Connecting] Dialog Box

Pagina 167

16 8. When "Connected" is displayed in the [Output] window of the High-performance Embedded Workshop, the emulator initiation is completed

Pagina 168

17 2.8 Communication Problems The following message box will be displayed when the emulator power is turned off or the PC interface cable is not corr

Pagina 170

19 Section 3 E6000 Emulator Functions 3.1 Debugging Features 3.1.1 Breakpoints The emulator provides a comprehensive range of alternative types of

Pagina 172

20 3.1.5 Bus Monitoring The emulator incorporates a bus monitoring function that monitors and displays the contents of the accessed area in High-perf

Pagina 173

21 3.2.2 Range Channels The range channels can be set up to be triggered on a combination of one or more of the following: • Address or address rang

Pagina 174

22 3.3 Hardware Features 3.3.1 Memory The emulator provides standard emulation memory as the substitute for on-chip ROM memory and on-chip RAM memory

Pagina 175

23 3.3.2 Clocks The clock can be specified as emulator internal clock or target clock. The frequencies that can be specified as the emulator interna

Pagina 177

25 Section 4 Preparation before Use 4.1 Method for Activating High-performance Embedded Workshop To activate the High-performance Embedded Worksho

Pagina 178

26 4.1.1 Creating a New Workspace (Toolchain Not Used) 1. In the [Welcome!] dialog box that is displayed when the High-performance Embedded Worksho

Pagina 179

27 2. Creation of a new workspace is started. The following dialog box is displayed. Figure 4.3 [New Project Workspace] Dialog Box [Workspace Na

Pagina 180

28 3. Select the target platform of the session file. The following dialog box is displayed. Figure 4.4 [New Project – Step 7] Dialog Box The t

Pagina 181

29 4. Set the configuration file name. Figure 4.5 [New Project – Step 8] Dialog Box If multiple target platforms were selected in the [New Proje

Pagina 182

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

Pagina 183

30 4.1.2 Creating a New Workspace (Toolchain Used) 1. In the [Welcome!] dialog box that is displayed when the High-performance Embedded Workshop i

Pagina 184

31 2. Creation of a new workspace is started. The following dialog box is displayed. Figure 4.7 [New Project Workspace] Dialog Box [Workspace Na

Pagina 185 - 6.17 Stack Trace Function

32 3. Make the required setting for the toolchain. When the setting has been completed, the following dialog box is displayed. Figure 4.8 [New

Pagina 186

33 4. Set the configuration file name. Figure 4.9 [New Project – Step 8] Dialog Box If multiple target platforms were selected in the [New Proje

Pagina 187

34 4.1.3 Selecting an Existing Workspace 1. In the [Welcome!] dialog box that is displayed when the High-performance Embedded Workshop is activate

Pagina 188

35 4.2 Connecting the Emulator Select either of the following two ways to connect the emulator: (a) Connecting the emulator after the setting at em

Pagina 189

36 4.3 Reconnecting the Emulator When the emulator is disconnected, use the following way for reconnection: Select [Debug -> Connect] or click t

Pagina 190 - 6.19 Monitor Function

37 Section 5 Debugging This section describes the debugging operations and their related windows and dialog boxes. Refer to the High-performance Em

Pagina 191

38 5.1 Setting the Environment for Emulation 5.1.1 Opening the [Configuration Properties] Dialog Box Selecting [Setup -> Emulator -> System…]

Pagina 192 - 6.20 What Next?

39 [General] page [Device] Selects the MCU to be emulated. To use an MCU not included in the list, select CUSTOM to specify the functions required f

Pagina 193

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

Pagina 194

40 5.1.2 Selecting an MCU Not Included in the List Selecting [Custom] in [Device] of the [Configuration Properties] dialog box adds the [Custom Devi

Pagina 195 - 7.2 User System Interface

41 5.1.3 Selecting the Interface to be Connected Checking [Change driver in start up] on the [Configuration Properties] dialog box allows a selectio

Pagina 196

42 5.1.4 Opening the [Memory Mapping] Dialog Box Selecting [Setup -> Emulator -> Memory Resource…] or clicking the [Emulator Memory Resource]

Pagina 197

43 5.1.5 Changing the Memory Map Setting Clicking the [Add…] button on the [Memory Mapping] dialog box or clicking the [Modify…] button after select

Pagina 198

44 5.2 Downloading a Program This section describes how to download a program and view it as source code or assembly-language mnemonics. Note: Afte

Pagina 199

45 5.2.2 Viewing the Source Code To view a source file’s code, double-click on its icon in the file tree, or right-click on the source file and sele

Pagina 200

46 Source Address column When a program is downloaded, an address for the current source file is displayed on the Source address column. These addres

Pagina 201 - [General] page

47 To switch off a column in all source files 1. Right-click on the [Editor] window or select the [Edit] menu. 2. Click the [Define Column Forma

Pagina 202 - [General] page (cont)

48 5.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

Pagina 203

49 5.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

Pagina 204

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

Pagina 205 - [Custom Device] page

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

Pagina 206 - [Custom Device] page (cont)

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

Pagina 207

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

Pagina 208

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

Pagina 209

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

Pagina 210

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

Pagina 211 - 8.1.11 Trace Information

56 5.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]

Pagina 212

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

Pagina 213

58 5.6 Viewing the Variables This section describes how you can look at variables in the source program. 5.6.1 [Watch] Window You can view any value

Pagina 214

59 2. Read the memory content directly from the High-performance Embedded Workshop to update the values without halting the user program since the b

Pagina 215

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

Pagina 216

60 5.7 Using the Event Points The emulator has the event point function that performs breaking, tracing, and execution time measurement by specifyi

Pagina 217 - Appendix A I/O File Format

61 A maximum of eight points can be used as a combination in a sequence. The program is activated or halted by an occurrence of the previous event in

Pagina 218

62 Table 5.2 Area Signals Acquired by the Emulator Area Trace Display (Status) Description On-chip ROM ROM ROM On-chip RAM RAM RAM On-chip I/O

Pagina 219

63 Select [Add...] or the software breakpoint displayed in this window and then select [Edit...] from the popup menu to display the [Breakpoint/Event

Pagina 220

64 5.7.7 Setting Event Points On the [Event] sheet, the settings for event points are displayed, modified, and added. Figure 5.21 [Event] Window (

Pagina 221 - Appendix B Menus

65 (1) [General] page The address and data conditions are set. Figure 5.22 [Breakpoint/Event Properties] Dialog Box ([General] Page) [Type]: Se

Pagina 222 - Table G.1 GUI Menus (cont)

66 [Data Compare]: Sets the data condition. [Compare]: Checking this box compares data. [Use Mask]: Sets a mask condition (available when [Compar

Pagina 223

67 (2) [Bus/Area] page Use this page to set the bus status and the memory area being accessed. Figure 5.23 [Breakpoint/Event Properties] Dialog B

Pagina 224

68 (3) [Signals] page Use this page to set external signals. Figure 5.24 [Breakpoint/Event Properties] Dialog Box ([Signals] Page) [Probe4]: De

Pagina 225 - Appendix C Command Lines

69 [Probe1]: Detects the status of the input probe signal 1 [High]: Detects the high level of the input probe signal [Low]: Detects the low le

Pagina 226

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

Pagina 227

70 [Required number of event occurrences]: Allows a 16-bit pass count to be set. The event must occur the specified number of times before the action

Pagina 228

71 The state where the condition is satisfied is retained until the user program is stopped or the event point is reset. When the condition on the ev

Pagina 229

72 5.7.8 Setting Trigger Points The trigger point is an event to output a trigger when the specified address has been accessed. Up to four trigger po

Pagina 230

73 Notes: 1. When the condition set for the trigger output (1 to 4) is satisfied, the high-level signal will be output from the corresponding pin (

Pagina 231 - Message Description

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

Pagina 232

75 [Status]: Bus status during this cycle; DTC operation, PROG (prefetch), Data (CPU data access cycle), Refresh (refresh cycle), or DMAC (DMAC cycl

Pagina 233

76 5.8.3 Specifying Trace Acquisition Conditions The capacity of the trace buffer is limited. When the buffer becomes full, the oldest trace informa

Pagina 234 - H8S/2214 E6000 Emulator

77 [Suppress]: Acquires no trace information of the specified types of bus cycle. [Time Stamp]: Sets a condition for time stamping. [Clock]: Selec

Pagina 235 - RENESAS SALES OFFICES

78 (2) [Stop] page Sets trace stop conditions. It is possible to set trace stop conditions with and without delay, with both allowed simultaneously.

Pagina 236

79 (3) [Delayed Stop] page Sets trace stop conditions. It is possible to set trace stop conditions with and without delay, with both allowed simultan

Comentarios a estos manuales

Sin comentarios