
iv
Debugger Part
Section 1 Overview ...........................................................................................1
Section 2 Preparation before Use ......................................................................3
2.1 Method for Activating High-performance Embedded Workshop..................................... 3
2.1.1 Creating a New Workspace (Toolchain Not Used)..............................................4
2.1.2 Creating a New Workspace (Toolchain Used).......................................................8
2.1.3 Selecting an Existing Workspace...........................................................................12
2.2 Connecting the Emulator ..................................................................................................13
2.3 Re-connecting the Emulator..............................................................................................14
2.4 Ending the Emulator .........................................................................................................14
Section 3 Debugging .........................................................................................15
3.1 Setting the Environment for Emulation ............................................................................ 15
3.1.1 Opening the [Configuration Properties] Dialog Box ........................................... 15
3.1.2 Settings Associated with the Pin Function Controller .........................................17
3.1.3 Selecting the Interface to be Connected...............................................................19
3.1.4 Opening the [Memory Mapping] Dialog Box...................................................... 20
3.1.5 Changing the Memory Map Setting..................................................................... 21
3.2 Downloading a Program ................................................................................................... 22
3.2.1 Downloading a Program ......................................................................................22
3.2.2 Viewing the Source Code .................................................................................... 22
3.2.3 Viewing the Assembly-Language Code............................................................... 25
3.2.4 Modifying the Assembly-Language Code ........................................................... 26
3.2.5 Viewing a Specific Address................................................................................. 26
3.2.6 Viewing the Current Program Counter Address .................................................. 26
3.3 Viewing the Current Status...............................................................................................27
3.4 Reading and Displaying the Emulator Information Regularly.......................................... 28
3.4.1 Opening the [Extended Monitor] Window .......................................................... 28
3.4.2 Selecting Items to be Displayed...........................................................................29
3.5 Displaying Memory Contents in Realtime........................................................................ 30
3.5.1 Opening the [Monitor] Window .......................................................................... 30
3.5.2 Changing the Monitor Settings ............................................................................ 32
3.5.3 Temporarily Stopping Update of the Monitor .....................................................32
3.5.4 Deleting the Monitor Settings.............................................................................. 32
3.5.5 Monitoring Variables........................................................................................... 32
3.5.6 Hiding the [Monitor] Window ............................................................................. 33
3.5.7 Managing the [Monitor] Window........................................................................ 34
3.6 Looking at Variables......................................................................................................... 35
3.6.1 [Watch] Window..................................................................................................35
3.7 Using the Event Points...................................................................................................... 37
3.7.1 Setting a Software Breakpoint .............................................................................38
3.7.2 Setting an On-Chip Breakpoint............................................................................ 40
3.7.3 Settings an On-Emulator Breakpoint ...................................................................43
3.7.4 Editing Event Points ............................................................................................46
3.7.5 Modifying Event Points .......................................................................................46
3.7.6 Enabling an Event Point.......................................................................................46
3.7.7 Disabling an Event Point .....................................................................................46
3.7.8 Deleting an Event Point ....................................................................................... 46
3.7.9 Deleting All Event Points ....................................................................................47
3.7.10 Viewing the Source Line for an Event Point ....................................................... 47
3.8 Viewing the Trace Information......................................................................................... 48
Kommentare zu diesen Handbüchern