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.TYPE is set to EVENT
  • FLAGS.TYPE_SUB is set to 0
Table 36 CPU Debug Stall Packet Structure
payload word description
0

stall

Bit ‘0’: Logic 1 indicates the debugger that the CPU core is stalled.