English
Language : 

R0E417250MCU00 Datasheet, PDF (10/228 Pages) Renesas Technology Corp – E100 Emulator MCU Unit for H8SX/1700 Series
R0E417250MCU00 User’s Manual
Contents
3.14 Forcibly Breaking Program Execution .........................................................................................................51
3.15 Hardware Break Facility ..............................................................................................................................52
3.15.1 Stopping a Program when It Executes the Instruction at a Specified Address ...........................52
3.16 Stopping a Program when It Accesses Memory .........................................................................................53
3.17 Tracing Facility ............................................................................................................................................54
3.17.1 Showing the Information Acquired in “Fill Until Stop” Tracing .....................................................55
3.17.2 Showing the Information Acquired in “Fill around TP” Tracing....................................................58
3.17.3 Showing a History of Function Execution ....................................................................................60
3.17.4 Filtering Facility ............................................................................................................................62
3.18 Stack Trace Facility .....................................................................................................................................64
3.19 What Next? ..................................................................................................................................................65
4. Preparation for Debugging......................................................................................................................................66
4.1 Starting the High-performance Embedded Workshop ...............................................................................66
4.2 Creating a New Workspace (Toolchain Unused).......................................................................................67
4.3 Creating a New Workspace (with a Toolchain in Use)...............................................................................69
4.4 Opening an Existing Workspace ................................................................................................................72
4.5 Connecting the Emulator............................................................................................................................73
4.5.1 Connecting the Emulator.....................................................................................................................73
4.5.2 Reconnecting the Emulator .........................................................................................................73
4.6 Disconnecting the Emulator .......................................................................................................................74
4.6.1 Disconnecting the Emulator.........................................................................................................74
4.7 Quitting the High-performance Embedded Workshop ...............................................................................74
4.8 Making Debugging-Related Settings..........................................................................................................75
4.8.1 Specifying a Module for Downloading .........................................................................................75
4.8.2 Setting Up Automatic Execution of Command Line Batch Files..................................................76
5. Debugging Functions..............................................................................................................................................77
5.1 Setting Up the Emulation Enviroment ........................................................................................................79
5.1.1 Emulator Settings During Booting up...........................................................................................79
5.1.2 Setting Up the Target MCU .........................................................................................................80
5.1.3 Setting Up the System .................................................................................................................82
5.1.4 Setting up the Memory Map.........................................................................................................85
5.1.5 Setting for Overwriting Blocks of the Flash ROM ........................................................................87
5.1.6 Settings to Request Notification of Exceptional Events...............................................................88
5.1.7 Viewing the Progress of Boot-Up Processing..............................................................................89
5.2 Downloading a Program.............................................................................................................................91
5.2.1 Downloading a Program ..............................................................................................................91
5.2.2 Viewing the Source Code ............................................................................................................91
5.2.3 Turning columns in all source files off..........................................................................................93
5.2.4 Turning columns off for one source file........................................................................................93
5.2.5 Viewing Assembly Language Code .............................................................................................94
5.2.6 Correcting Assembly Language Code .........................................................................................95
5.3 Viewing Memory Data in Real Time...........................................................................................................96
5.3.1 Viewing Memory Data in Real Time ............................................................................................96
5.3.2 Setting the Update Interval for RAM Monitoring ..........................................................................97
5.3.3 Clearing RAM Monitoring Access History....................................................................................97
5.3.4 Clearing RAM Monitoring Error Detection Data...........................................................................97
5.4 Viewing the Current Status ........................................................................................................................98
5.4.1 Viewing the Emulator Status........................................................................................................98
5.4.2 Viewing the Emulator Status in the Status Bar............................................................................99
5.5 Periodically Reading Out and Showing the Emulator Status ...................................................................100
5.5.1 Periodically Reading Out and Showing the Emulator Information.............................................100
5.5.2 Selecting the Items to Be Displayed ..........................................................................................101
5.6 Using Software Breakpoints.....................................................................................................................102
5.6.1 Using Software Breakpoints ......................................................................................................102
5.6.2 Adding and Removing Software Breakpoints ............................................................................102
5.6.3 Enabling and Disabling Software Breakpoints...........................................................................104
5.7 Using Events ............................................................................................................................................106
5.7.1 Using Events..............................................................................................................................106
5.7.2 Adding Events............................................................................................................................106
5.7.3 Removing Events.......................................................................................................................112
5.7.4 Registering Events.....................................................................................................................114
5.7.5 Creating Events for Each Instance of Usage or Reusing Events ..............................................116
REJ10J1831-0200 Rev.2.00 Jun.1, 2009
Page 10 of 228