Download ICD-12 Target Interface

Transcript
Freescale Semiconductor, Inc.
G e tt in g St ar t e d w it h Co d e W a rr i o r a n d I CD - 12 , a n d m o r e. ..
How to Set Breakpoints in Non Volatile Memory
Figure 2.15
Hardware Breakpoint Configuration
If your application is loaded in RAM, breakpoints are software breakpoints. In this
case the Hardware Breakpoint module gives you the possibility to debug with
breakpoints and watchpoint (only one watchpoint is available).
NOTE
In Automatic mode, the HC12 and HCS12 hardware breakpoint
modules allow only two breakpoints (or one watchpoint) at the same
time. If you are debugging your code in FLASH, you can not set
more than two breakpoints or one watchpoint.
Some actions like “stepping over” or “stepping out” use one internal
breakpoint and therefore reduce your amount of hardware breakpoint
to one.
NOTE
If you are using a Motorola HC12 derivative and would like to set
hardware breakpoints in Banked Memory Location, set the Continue
on illegal break check box.
WARNING!
The M68HC812A4 does not have any Hardware Breakpoint module.
ICD-12 Target Manual
For More Information: www.freescale.com
21