Programmer Interface: Data¶
The CDM module generates only one type of event packets: CPU debug stall packets.
These packets contain the data in the form of stall payload word.
CPU Debug Stall packet¶
A CPU Debug Stall Packet encapsulates a breakpoint or watchpoint event. Whenever the program counter in the CPU core matches with the watchpoint/breakpoint address, CPU core stalls and this event packet is generated. It notifies the debugger, i.e. GDB that CPU has reached a breakpoint or watchpoint condition and the CPU core is stalled.
The following fields in the header of the DI packet are set:
FLAGS.TYPEis set toEVENTFLAGS.TYPE_SUBis set to 0
| payload word | description |
|---|---|
| 0 |
Bit ‘0’: Logic 1 indicates the debugger that the CPU core is stalled. |