dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 325

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
11.4.4
Different features in the above blocks of the Enhanced OnCE module can be used together and
programmed in different manners for handling complex as well as simpler debugging problems. This
section demonstrates how to best program the above modules and what triggering is available. It also
shows what actions are allowed once a particular debug event or set of events has occurred.
11.4.4.1
The 24-bit step counter can be used in the two manners presented below. If not needed for either of these,
it can be used to create a 40-bit Capture Counter as shown in Section 11.4.4.3, “Capture Counter,” on page
11-20.
11.4.4.1.1
In its simplest usage, the Step Counter can be used for full speed execution of a programmable number of
clock cycles before performing an action. In this case, the Breakpoint Unit still generate a Breakpoint Unit
Trigger for everything except halting the core and entering the Debug processing state. This is the
configuration used, for example, when single stepping.
In another simple usage, the Step Counter can be used for full speed execution of a programmable number
of clock cycles before performing an action. In this case, the Breakpoint Unit can now generate a
Breakpoint Unit Trigger for halting the core upon this trigger and entering the Debug processing state.
11.4.4.1.2
Table 11-7 lists the possible actions when using the Step Counter.
Freescale SemiconductorJTAG and Enhanced On-Chip Emulation (Enhanced OnCE)
Figure 11-8. Step Counter — Started upon Exiting Debug State with Breakpoint Active
Effectively Using the Debug Port
Using the Step Counter
Usage upon Exiting the Debug Processing State
Step Counter Actions
Figure 11-7. Step Counter — Started upon Exiting Debug State
Exit Debug State
Exit Debug State
Breakpoint Unit Trigger
Step Counter
Step Counter
24-Bit
24-Bit
Enhanced OnCE and the Processing States
Halt Trace
Buffer
Select
Action
Select
Action
Core
Halt
Core
Halt
11-13

Related parts for dsp56800e