User`s manual

Table of Contents
Section 1 Overview................................................................................................................................1
1.1 Warnings................................................................................................................................................................... 3
1.2 Environmental Conditions ........................................................................................................................................ 4
1.3 Components .............................................................................................................................................................. 5
Section 2 Emulator Functions................................................................................................................7
2.1 Overview................................................................................................................................................................... 7
2.2 Trace Functions......................................................................................................................................................... 9
2.2.1 Internal Trace Function .................................................................................................................................. 9
2.2.2 AUD Trace Function.................................................................................................................................... 10
2.2.3 Memory Output Function of Trace Data...................................................................................................... 14
2.2.4 Useful Functions of the [Trace] Window..................................................................................................... 15
2.3 Break Function........................................................................................................................................................ 15
2.4 Performance Measurement Function ...................................................................................................................... 16
2.4.1 Function for Measuring the Number of Cycles from Point to Point............................................................. 16
2.4.2 Profiling Function ........................................................................................................................................ 16
2.5 Memory Access Functions...................................................................................................................................... 17
2.6 Stack Trace Function .............................................................................................................................................. 19
2.7 Function for Releasing Interrupts to the User during User Program Breaks........................................................... 19
2.8 Online Help............................................................................................................................................................. 19
Section 3 Preparation before Use.........................................................................................................21
3.1 Emulator Preparation .............................................................................................................................................. 21
3.2 Emulator Hardware Configuration.......................................................................................................................... 22
3.3 CD-R....................................................................................................................................................................... 27
3.4 Installing Emulator’s Software ............................................................................................................................... 27
3.5 Connecting the Emulator to the Host Computer ..................................................................................................... 28
3.6 Connecting the Emulator to the User System ......................................................................................................... 30
3.7 Connecting System Ground .................................................................................................................................... 35
3.8 Setting the DIP Switches......................................................................................................................................... 36
3.9 Interface Circuits in the Emulator........................................................................................................................... 42
3.10 Setting up the Emulator........................................................................................................................................... 47
3.10.1 Setting up at Purchasing the Emulator or Updating the Version of Software .............................................. 48
3.10.2 Setting up the Emulator by Using the License Tool to Add a Device Group............................................... 53
3.11 System Check.......................................................................................................................................................... 58
Section 4 Preparations for Debugging.................................................................................................73
4.1 Method for Activating High-performance Embedded Workshop........................................................................... 73
4.1.1 Creating the New Workspace (Toolchain Not Used)................................................................................... 74
4.1.2 Creating the New Workspace (Toolchain Used).......................................................................................... 78
4.1.3 Selecting an Existing Workspace................................................................................................................. 83
4.2 Setting at Emulator Activation................................................................................................................................ 85
4.2.1 Setting at Emulator Activation..................................................................................................................... 85
4.2.2 Downloading a Program............................................................................................................................... 87
4.2.3 Setting the Writing Flash Memory Mode..................................................................................................... 88
4.3 Debug Sessions....................................................................................................................................................... 96
4.3.1 Selecting a Session....................................................................................................................................... 96
4.3.2 Adding and Removing Sessions................................................................................................................... 98
4.3.3 Saving Session Information........................................................................................................................ 101
4.4 Connecting the Emulator ...................................................................................................................................... 102
4.5 Reconnecting the Emulator................................................................................................................................... 103
4.6 Ending the Emulator ............................................................................................................................................. 103
Section 5 Debugging..........................................................................................................................105