6.30 Emulation Logic
This section describes the steps to use a third party debugger. The debug capabilities and features for DSP are as shown below.
For TI’s latest debug and emulation information see :
http://tiexpressdsp.com/wiki/index.php?title=Category:Emulation
DSP:
- Basic Debug
- Execution Control
- System Visibility
- Real-Time Debug
- Interrupts serviced while halted
- Low/non-intrusive system visibility while running
- Advanced Debug
- Global Start
- Global Stop
- Specify targeted memory level(s) during memory accesses
- HSRTDX (High Speed Real Time Data eXchange)
- Advanced System Control
- Subsystem reset via debug
- Peripheral notification of debug events
- Cache-coherent debug accesses
- Analysis Actions
- Stop program execution
- Generate debug interrupt
- Benchmarking with counters
- External trigger generation
- Debug state machine state transition
- Combinational and Sequential event generation
- Analysis Events
- Program event detection
- Data event detection
- External trigger Detection
- System event detection (i.e. cache miss)
- Debug state machine state detection
- Analysis Configuration
- Application access
- Debugger access
Table 6-110 DSP Debug Features
Category |
Hardware Feature |
Availability |
Basic Debug |
Software breakpoint |
Unlimited |
Hardware breakpoint |
Up to 10 HWBPs, including: |
4 precise(1) HWBPs inside DSP core and one of them is associated with a counter. |
2 imprecise(1) HWBPs from AET. |
4 imprecise(1) HWBPs from AET which are shared for watch point. |
Analysis |
Watch point |
Up to 4 watch points, which are shared with HWBPs, and can also be used as 2 watch points with data (32 bits) |
Watch point with Data |
Up to 2, Which can also be used as 4 watch points. |
Counters/timers |
1x64-bits (cycle only) + 2x32-bits (watermark counters) |
External Event Trigger In |
1 |
External Event Trigger Out |
1 |
(1) Precise hardware breakpoints will halt the processor immediately prior to the execution of the selected instruction. Imprecise breakpoints will halt the processor some number of cycles after the selected instruction depending on device conditions.