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....................................................................................................................................................... 10
2.2.1 Internal Trace Function................................................................................................................................ 10
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..................................................................................................... 14
2.3 Break Function........................................................................................................................................................ 15
2.4 Performance Measurement Function ...................................................................................................................... 15
2.4.1 Function for Measuring the Number of Cycles from Point to Point............................................................. 15
2.5 Memory Access Functions...................................................................................................................................... 16
2.6 Stack Trace Function .............................................................................................................................................. 19
2.7 User-interrupt Open Function during User Program Break .................................................................................... 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....................................................................................................................................................................... 26
3.4 Installing Emulator’s Software ............................................................................................................................... 26
3.5 Connecting the Emulator to the Host Computer ..................................................................................................... 27
3.6 Connecting the Emulator to the User System ......................................................................................................... 29
3.7 Connecting System Ground .................................................................................................................................... 33
3.8 Interface Circuits in the Emulator........................................................................................................................... 34
3.9 System Check.......................................................................................................................................................... 37
Section 4 Preparations for Debugging.................................................................................................47
4.1 Method for Activating High-performance Embedded Workshop........................................................................... 47
4.1.1 Creating a New Workspace (Toolchain Not Used)...................................................................................... 48
4.1.2 Creating a New Workspace (Toolchain Used)............................................................................................. 52
4.1.3 Selecting an Existing Workspace................................................................................................................. 57
4.2 Creating a Project for Synchronized Debugging..................................................................................................... 59
4.2.1 Adding a New Project .................................................................................................................................. 59
4.2.2 Adding an Existing Project........................................................................................................................... 61
4.3 Setting at Emulator Activation................................................................................................................................ 62
4.3.1 Setting at Emulator Activation..................................................................................................................... 62
4.3.2 Downloading a Program............................................................................................................................... 64
4.4 Debug Sessions....................................................................................................................................................... 65
4.4.1 Selecting a Session....................................................................................................................................... 65
4.4.2 Adding and Removing Sessions................................................................................................................... 66
4.4.3 Saving Session Information.......................................................................................................................... 69
4.5 Connecting the Emulator ........................................................................................................................................ 70
4.6 Reconnecting the Emulator..................................................................................................................................... 71
4.7 Ending a Session with the Emulator ....................................................................................................................... 72
Section 5 Debugging............................................................................................................................73
5.1 Setting up Synchronized Debugging....................................................................................................................... 73
5.1.1 Opening the [Synchronized debug] Dialog Box........................................................................................... 73
5.1.2 [Synchronization session] List Box.............................................................................................................. 74