User`s guide
Debugging for DSP56800E
Using the DSP56800E Simulator
212
Targeting MC56F83xx/DSP5685x Controllers
code on a simulated DSP56800E architecture without installing any additional
hardware.
The simulator simulates the DSP56800E processor, not the peripherals. In order to use
the simulator, you must select a connection that uses the simulator as your debugging
protocol from the
Remote Debugging panel.
NOTE
The simulator also enables the DSP56800E menu for retrieving the
machine cycle count and machine instruction count when debugging.
Cycle/Instruction Count
From the menu bar of the Metrowerks CodeWarrior window, select DSP56800E >
Cycle/Instruction count
. The following window appears (Figure 8.14):
Figure 8.14 Simulator Cycle/Instruction Count
NOTE Cycle counting is not accurate while single stepping through source
code in the debugger. It is only accurate while running. Thus, the
cycle counter is more of a profiling tool than an interactive tool.
Press the
Reset button to zero out the current machine-cycle and machine-instruction
readings.