User`s manual

Table Of Contents
iv
3.5 Online Help..........................................................................................................................23
Section 4 Preparation before Use ......................................................................25
4.1 Method for Activating High-performance Embedded Workshop.....................................25
4.1.1 Creating a New Workspace (Toolchain Not Used).............................................. 26
4.1.2 Creating a New Workspace (Toolchain Used).......................................................30
4.1.3 Selecting an Existing Workspace........................................................................... 34
4.2 Connecting the Emulator .....................................................................................................35
4.3 Reconnecting the Emulator..................................................................................................36
4.4 Ending the Emulator............................................................................................................36
Section 5 Debugging .........................................................................................37
5.1 Setting the Environment for Emulation ............................................................................38
5.1.1 Opening the [Configuration Properties] Dialog Box ...........................................38
5.1.2 Selecting an MCU Not Included in the List......................................................... 40
5.1.3 Selecting the Interface to be Connected...............................................................41
5.1.4 Opening the [Memory Mapping] Dialog Box......................................................42
5.1.5 Changing the Memory Map Setting..................................................................... 43
5.2 Downloading a Program ...................................................................................................44
5.2.1 Downloading a Program ...................................................................................... 44
5.2.2 Viewing the Source Code ....................................................................................45
5.2.3 Viewing the Assembly-Language Code............................................................... 48
5.2.4 Modifying the Assembly-Language Code ........................................................... 49
5.2.5 Viewing a Specific Address................................................................................. 49
5.2.6 Viewing the Current Program Counter Address ..................................................49
5.3 Viewing the Current Status ...............................................................................................50
5.4 Reading and Displaying the Emulator Information Regularly.......................................... 51
5.4.1 Opening the [Extended Monitor] Window ..........................................................51
5.4.2 Selecting Items to be Displayed...........................................................................52
5.5 Displaying Memory Contents in Realtime........................................................................ 53
5.5.1 Opening the [Monitor] Window .......................................................................... 53
5.5.2 Changing the Monitor Settings ............................................................................55
5.5.3 Temporarily Stopping Update of the Monitor .....................................................55
5.5.4 Deleting the Monitor Settings.............................................................................. 55
5.5.5 Monitoring Variables...........................................................................................55
5.5.6 Hiding the [Monitor] Window.............................................................................56
5.5.7 Managing the [Monitor] Window ........................................................................ 57
5.6 Viewing the Variables....................................................................................................... 58
5.6.1 [Watch] Window.................................................................................................. 58
5.7 Using the Event Points...................................................................................................... 60
5.7.1 Software Breakpoints........................................................................................... 60
5.7.2 Event Points .........................................................................................................60
5.7.3 Event Detection System.......................................................................................60
5.7.4 Signals to Indicate Bus States and Areas............................................................. 61
5.7.5 Opening the [Event] Window .............................................................................. 62
5.7.6 Setting Software Breakpoints...............................................................................62
5.7.7 Setting Event Points.............................................................................................64
5.7.8 Setting Trigger Points .......................................................................................... 72
5.7.9 Editing Event Points ............................................................................................ 73
5.7.10 Modifying Event Points.......................................................................................73
5.7.11 Enabling an Event Point.......................................................................................73
5.7.12 Disabling an Event Point .....................................................................................73
5.7.13 Deleting an Event Point .......................................................................................73