User`s manual

5.7.5 Clearing the Trace Information .................................................................................................................. 131
5.7.6 Saving the Trace Information in a File....................................................................................................... 131
5.7.7 Viewing the [Editor] Window.................................................................................................................... 131
5.7.8 Trimming the Source.................................................................................................................................. 131
5.7.9 Temporarily Stopping Trace Acquisition................................................................................................... 132
5.7.10 Extracting Records from the Acquired Information................................................................................... 132
5.7.11 Analyzing Statistical Information............................................................................................................... 139
5.7.12 Extracting Function Calls from the Acquired Trace Information............................................................... 141
5.8 Analyzing Performance......................................................................................................................................... 142
5.8.1 Opening the [Performance Analysis] Window........................................................................................... 142
5.8.2 Setting Conditions for Measurement.......................................................................................................... 143
5.8.3 Starting Performance Data Acquisition...................................................................................................... 143
5.8.4 Deleting a Measurement Condition............................................................................................................ 143
5.8.5 Deleting All Measurement Conditions....................................................................................................... 143
Section 6 Tutorial [SH-2A]................................................................................................................145
6.1 Introduction........................................................................................................................................................... 145
6.2 Running the High-performance Embedded Workshop......................................................................................... 146
6.3 Setting up Synchronized Debugging..................................................................................................................... 146
6.4 Setting up the Emulator......................................................................................................................................... 150
6.5 Setting the [Configuration] Dialog Box................................................................................................................ 151
6.6 Checking the Operation of the Target Memory for Downloading........................................................................ 152
6.7 Downloading the Tutorial Program ...................................................................................................................... 154
6.7.1 Downloading the Tutorial Program............................................................................................................ 154
6.7.2 Displaying the Source Program.................................................................................................................. 155
6.8 Setting a PC Breakpoint........................................................................................................................................ 156
6.9 Setting Registers ................................................................................................................................................... 158
6.10 Executing the Program.......................................................................................................................................... 160
6.11 Reviewing Breakpoints......................................................................................................................................... 163
6.12 Referring to Symbols ............................................................................................................................................ 164
6.13 Viewing Memory.................................................................................................................................................. 165
6.14 Watching Variables............................................................................................................................................... 166
6.15 Displaying Local Variables................................................................................................................................... 169
6.16 Stepping Through a Program................................................................................................................................ 170
6.16.1 Executing [Step In] Command................................................................................................................... 170
6.16.2 Executing [Step Out] Command ................................................................................................................ 172
6.16.3 Executing [Step Over] Command .............................................................................................................. 174
6.17 Forced Breaking of Program Executions.............................................................................................................. 176
6.18 Break Function...................................................................................................................................................... 177
6.18.1 PC Break Function ..................................................................................................................................... 177
6.19 Hardware Break Function ..................................................................................................................................... 181
6.19.1 Setting the Sequential Break Condition...................................................................................................... 187
6.20 Trace Functions..................................................................................................................................................... 191
6.20.1 Displaying the [Trace] Window................................................................................................................. 191
6.20.2 Internal Trace Function.............................................................................................................................. 191
6.20.3 AUD Trace Function.................................................................................................................................. 193
6.21 Stack Trace Function ............................................................................................................................................ 197
6.22 Performance Measurement Function .................................................................................................................... 199
6.22.1 Performance Measurement Function.......................................................................................................... 199
6.23 Download Function to the Flash Memory Area.................................................................................................... 201
Section 7 Tutorial [SH-4A]................................................................................................................209
7.1 Introduction........................................................................................................................................................... 209
7.2 Running the High-performance Embedded Workshop......................................................................................... 210
7.3 Setting up Synchronized Debugging..................................................................................................................... 210
7.4 Setting up the Emulator......................................................................................................................................... 214
7.5 Setting the [Configuration] Dialog Box................................................................................................................ 215
7.6 Checking the Operation of the Target Memory for Downloading........................................................................ 216