C2000 Debugger | 8
©
1989-2023
Lauterbach
DSP specific Implementations
Trigger
A bidirectional trigger system allows the following two events:
•
Trigger an external system (e.g. logic analyzer) if the program execution is stopped.
•
Stop the program execution if an external trigger is asserted.
For more information refer to the
command.
If a DEBUG INTERFACE (LA-7701) is used the trigger system has the following restrictions:
•
After starting the application there is a delay until the trigger system is working. The delay
depends on the host system and the JTAG frequency. It will be typically between 25 and 100
s.
•
If a terminal window is open the response time of the trigger system is undefined. It is
recommended not to use the trigger system and terminal window at the same time.
Breakpoints
Software Breakpoints
If a software breakpoint is used, the original code at the breakpoint location is temporarily patched by a
breakpoint code. There is no restriction in the number of software breakpoints.
On-chip Breakpoints for Instructions
If on-chip breakpoints are used, the resources to set the breakpoints are provided by the CPU. Those CPU
resources only allow to set single address instruction breakpoints.
On-chip Breakpoints for Data
To stop the CPU after a read or write access to a memory location on-chip breakpoints are required. In the
DSP notation these breakpoints are called watch points (WP).