Document Number: 274069003US September, 2005 5
Intel
®
IQ80332 I/O Processor Evaluation Platform Board Manual
Contents
B Getting Started and Debugger ...................................................................................................53
B.1 Introduction .........................................................................................................................53
B.1.1 Purpose .................................................................................................................53
B.1.2 Necessary Hardware and Software .......................................................................53
B.1.3 Related Documents ...............................................................................................53
B.1.4 Related Web Sites .................................................................................................54
B.2 Setup ..................................................................................................................................55
B.2.1 Hardware Setup.....................................................................................................55
B.2.2 Software Setup ......................................................................................................56
B.3 New Project Setup ..............................................................................................................57
B.3.1 Creating a New Project..........................................................................................57
B.3.2 Configuration .........................................................................................................58
B.4 Flashing with JTAG.............................................................................................................59
B.4.1 Overview................................................................................................................59
B.4.2 Using Flash Programmer.......................................................................................60
B.5 Debugging Out of Flash......................................................................................................61
B.6 Building an Executable File From Example Code ..............................................................61
B.7 Running the Code|Lab Debugger .......................................................................................62
B.7.1 Launching and Configuring Debugger ...................................................................62
B.7.2 Manually Loading and Executing an Application Program.....................................62
B.7.3 Displaying Source Code ........................................................................................63
B.7.4 Using Breakpoints..................................................................................................63
B.7.5 Stepping Through the Code...................................................................................64
B.7.6 Setting Code|Lab Debug Options ..........................................................................64
B.8 Exploring the Code|Lab Debug Windows...........................................................................65
B.8.1 Toolbar Icons .........................................................................................................65
B.8.2 Workspace Window...............................................................................................65
B.8.3 Source Code..........................................................................................................65
B.8.4 4 Debug and Console Windows ............................................................................65
B.8.5 Memory Window ....................................................................................................65
B.8.6 Registers Window..................................................................................................66
B.8.7 Watch Window.......................................................................................................66
B.8.8 Variables Window ..................................................................................................66
B.9 Debugging Basics...............................................................................................................67
B.9.1 Overview................................................................................................................67
B.9.2 Hardware and Software Breakpoints .....................................................................67
B.9.2.1 Software Breakpoints.............................................................................67
B.9.2.2 Hardware Breakpoints ...........................................................................67
B.9.3 C.9.3 Exceptions/Trapping ....................................................................................68