ToolStick-F321DC
6.7. Single-Stepping Through Firmware
The IDE supports the ability to
1.If there is already not a breakpoint set on line of code that increments the Num_LED_Flashes variable, set the breakpoint using the steps described in Section 6.6.
2.Start the processor using the “Go” button and wait till it stops on the breakpoint.
3.Select View → Debug Windows → Disassembly. The disassembly window will appear on the
4.To execute one assembly instruction at a time, click the “Step” button on the toolbar or select the Debug → Step menu option. The highlighted line in the disassembly window indicates the next instruction to be executed. The blue line marker in the editor window will stay on the same .C source line until all of the assembly instructions are completed.
The disassembly window has three columns. The left column is the address of the instruction in Flash. The middle column is the instruction in hex. The right column is the disassembled instruction. The Disassembly debug window and the capability to
Rev. 0.1 | 11 |