R0E530640MCU00 User’s Manual Contents
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 10 of 229
3.13 Single-Stepping a Program .........................................................................................................................48
3.13.1 Executing Step In Command.......................................................................................................49
3.13.2 Executing the Step Out Command ..............................................................................................50
3.13.3 Executing the Step Over Command ............................................................................................51
3.14 Forcibly Breaking a Program.......................................................................................................................52
3.15 Hardware Break Facility ..............................................................................................................................53
3.15.1 Stopping a Program when It Executes a Specified Address .......................................................53
3.16 Stopping a Program when It Accesses Memory .........................................................................................54
3.17 Trace Facility ...............................................................................................................................................55
3.17.1 Showing the Trace Information Acquired by Fill Until Stop .........................................................56
3.17.2 Showing the Trace Information Acquired by Fill around TP........................................................59
3.17.3 Showing a Function Execution History ........................................................................................61
3.17.4 Filter Facility.................................................................................................................................63
3.18 Stack Trace Facility .....................................................................................................................................65
3.19 What Next?..................................................................................................................................................66
4. Preparing to Debug.................................................................................................................................................67
4.1 Starting the High-performance Embedded Workshop ...............................................................................67
4.2 Creating a New Workspace (Toolchain Unused).......................................................................................68
4.3 Creating a New Workspace (Toolchain Used)...........................................................................................70
4.4 Opening an Existing Workspace ................................................................................................................73
4.5 Connecting the Emulator............................................................................................................................74
4.5.1 Connecting the Emulator .............................................................................................................74
4.5.2 Reconnecting the Emulator .........................................................................................................74
4.6 Disconnecting the Emulator .......................................................................................................................75
4.6.1 Disconnecting the Emulator.........................................................................................................75
4.7 Quitting the High-performance Embedded Workshop ...............................................................................75
4.8 Setting Up the Debug.................................................................................................................................76
4.8.1 Specifying a Download Module ...................................................................................................76
4.8.2 Setting Up Automatic Execution of Command Line Batch Files..................................................77
5. Debugging Functions..............................................................................................................................................78
5.1 Setting Up the Emulation Environment .........................................................................................................79
5.1.1 Setting Up the Emulator at Startup..............................................................................................79
5.1.2 Setting Up the Target MCU .........................................................................................................80
5.1.3 Setting Up the System .................................................................................................................82
5.1.4 Creating a Memory Map ..............................................................................................................84
5.1.5 Setting Up Flash ROM Overwrite ................................................................................................85
5.1.6 Setting the Warning of Exceptional Events .................................................................................86
5.1.7 Setting Option board....................................................................................................................86
5.1.8 Showing Progress in Boot-up Processing ...................................................................................87
5.2 Downloading a Program.............................................................................................................................89
5.2.1 Downloading a Program ..............................................................................................................89
5.2.2 Showing the Source Code...........................................................................................................89
5.2.3 Turning columns in all source files off..........................................................................................91
5.2.4 Turning columns in one source file off.........................................................................................91
5.2.5 Showing Assembly Language Code............................................................................................92
5.2.6 Correcting Assembly Language Codes .......................................................................................93
5.3 Displaying Memory Contents in Real Time................................................................................................94
5.3.1 Displaying Memory Contents in Real Time .................................................................................94
5.3.2 Setting RAM Monitor Update Intervals ........................................................................................95
5.3.3 Clearing RAM Monitor Access History.........................................................................................95
5.3.4 Clearing RAM Monitor Error Detection Data ...............................................................................95
5.4 Showing the Current Status .......................................................................................................................96
5.4.1 Showing the Emulator Status ......................................................................................................96
5.4.2 Showing the Emulator Status in the Status Bar...........................................................................97