4
Debugging Features
Page 30
4.
On the CodeWarrior debugger interface a new menu (
“inDART-
HCS12”
) will be created. From this menu, select
“Load”
and locate the
file your project is based on.
4.3 Breakpoints and Trace
CodeWarrior offers a variety of tools for analyzing the program flow:
breakpoints (both simple and complex), watchpoints and a trace buffer. All
these features are implemented by taking advantage of the target
microcontroller’s debug peripheral.
However, depending on the details of the debug peripheral embedded in the
specific microcontroller you are working with, some debug features may or
may not be available.
i
Note: the number of available hardware breakpoints depends on
the details of the debug peripheral embedded in the specific
microcontroller you are working with, and on its settings.
i
Note: when setting an instruction breakpoint on a RAM location, a
software breakpoint is set (the opcode present at that location is
automatically replaced by the “BGND” Assembly instruction).
Therefore, no hardware breakpoints are wasted.