S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
179
Chapter 6
S12Z Debug (S12ZDBGV2) Module
6.1
Introduction
The DBG module provides on-chip breakpoints and trace buffer with flexible triggering capability to allow
non-intrusive debug of application software. The DBG module is optimized for the S12Z architecture and
allows debugging of CPU module operations.
Typically the DBG module is used in conjunction with the BDC module, whereby the user configures the
DBG module for a debugging session over the BDC interface. Once configured the DBG module is armed
and the device leaves active BDM returning control to the user program, which is then monitored by the
DBG module. Alternatively the DBG module can be configured over a serial interface using SWI routines.
6.1.1
Glossary
Table 6-1. Revision History Table
Revision
Number
Revision
Date
Sections
Affected
Description Of Changes
2.04
19.APR.2012
Documented DBGTB read dependency on PROFILE bit
2.05
23.MAY.2012
General
Formatting changes to support DBGV3 from single source
2.06
10.SEP.2012
Added NOTE about PC trace buffer entries for Comp D timestamps
2.07
18.OCT.2012
General
Formatting corrections
2.08
16.NOV.2012
Modified step over breakpoint information
2.09
19.DEC.2012
General
Formatting corrections
2.10
28.JUN.2013
General
Section 6.3.2.1
Section 6.3.2.5
Emphasized need to set TSOURCE for tracing or profiling
Corrected DBGCDM write access dependency
Corrrected ARM versus PTACT dependency
Modified DBGTBH read access dependencies
2.11
15.JUL.2013
Added explicit names to state control register bit fields
Table 6-2. Glossary Of Terms
Term
Definition
COF
Change Of Flow.
Change in the program flow due to a conditional branch, indexed jump or interrupt
PC
Program Counter