Intel IQ80332 manual Debugging Out of Flash, Building an Executable File From Example Code

Models: IQ80332

1 68
Download 68 pages 34.25 Kb
Page 61
Image 61

Intel® IQ80332 I/O Processor

Getting Started and Debugger

B.5 Debugging Out of Flash

JTAG debuggers can be used on two levels; with or without the source code. When the Flash is programmed, the debugger can monitor the executable code, halt it, step through it, and monitor the memory and registers. The executable code is disassembled so that the assembly code can be examined.

Debugging with source code allows the user to examine the C code that is being executed. This requires that the source code is available and linked by the debugger to the executable code that is running on the evaluation board.

B.6 Building an Executable File From Example Code

1.Launch CodeLab EDE and open “Project80332”.

2.Select “codelab EDE, Rebuild Project”.

Note: A project can have more than one solution, but in this example, there is only one solution for the project, so there is no difference between “Build Project” and “Build Solution” in this example.

Note: Rebuild cleans and builds. Clean deletes the old .o files in the project and build compiles, links, and produces the executable files.

3. When there are errors, carefully go back through Section B.3.2, “Configuration”.

Evaluation Platform Board Manual

61

Page 61
Image 61
Intel IQ80332 manual Debugging Out of Flash, Building an Executable File From Example Code