6Board Manual
Intel® IQ80321 I/O Processor Evaluation Platform
Contents
B.7.6 Setting Code|Lab Debug Options..........................................................................99
B.8 Exploring the Code |Lab Debug Wind ows .........................................................................100
B.8.1 Toolbar Icons .......................................... ..................... ...................... ..................100
B.8.2 Workspace Window.............................................................................................100
B.8.3 Source Code........................................................................................................100
B.8.4 Debug and Console Windows ............................................................................. 100
B.8.5 Memory Window..................................................................................................100
B.8.6 Registers Window................................................................................................101
B.8.7 Watch Window.....................................................................................................101
B.8.8 Variables Window................................................................................................101
B.9 Debuggi ng Basics.............................................................................................................102
B.9.1 Overview..............................................................................................................102
B.9.2 Hardware and Software Breakpoints...................................................................102
B.9.2.1 Software Breakpoints...........................................................................102
B.9.2.2 Hardware Breakpoints .........................................................................102
B.9.3 Exceptions/Trapping ............................................................................................103
C Getting Started and Debugger .................................................................................................105
C.1 Introduction.......................................................................................................................105
C.1.1 Purpose ...............................................................................................................105
C.1.2 Necessary Hardware and Software .....................................................................105
C.1.3 Related Documents.............................................................................................105
C.1.4 Related Web Sites...............................................................................................106
C.2 Setup ................................................................................................................................107
C.2.1 Hardware Setup...................................................................................................107
C.2.2 Software Setup ............................................................... ..................... ................108
C.3 New Project Setup.................................................... ..................... ..................... ..............109
C.3.1 Creating a New Project................................................... ..................... ................109
C.3.2 Configuration .......................................................................................................110
C.4 Flashing with JTAG......................................... ...................... .......................................... ..111
C.4.1 Overview..............................................................................................................111
C.4.2 Using Flash Programmer....................................................................... ..............112
C.5 Debugging Out of Flash....................................................................................................113
C.6 Building an Executable File From Example Code ............................................................113
C.7 Running the Code|Lab Debugger .....................................................................................114
C.7.1 Launching and Configuring Debugger. ................................................................114
C.7.2 Manu ally Loadi ng and Executing an Applicat ion Program ..................................114
C.7.3 Displaying Source Code....................................... ...................... ..................... ....115
C.7.4 Using Breakpoints.......................................... ........................................... ...........115
C.7.5 Steppi ng Through the Code................................................................................. 116
C.7.6 Setting Code|Lab Debu g Options ........................................................................116
C.8 Exploring the Code|Lab Debug Windows .........................................................................117
C.8.1 Toolbar Icons........................................................ ...................... ..................... ....117
C.8.2 Worksp ace Window.............................................................................................117
C.8.3 Source Code........................................................................................................117
C.8.4 4 Debug and Console Windows ........................... ...................... ..................... ....117
C.8.5 Memory Window..................................................................................................117
C.8.6 Registers Window................................................................................................118
C.8.7 Watch Wi ndow .....................................................................................................118
C.8.8 Variables Window................................................................................................118