3.2.1.1.3 Unwrapping AVR Events

To RECEIVE an AVR event from the EDBG, an AVR_EVT packet must be sent (i.e.: polling for events) in the same manner as described for responses.

Table 3-9. Wrapping AVR_EVT
FieldSizeDescription
AVR_EVT1 byte0x82

The response to this send is:

Table 3-10. Unwrapping AVR_EVT
FieldSizeDescription
AVR_EVT1 byte0x82
Size2 byte, MSB firstNumber of event bytes
EventN bytesEnveloped AVR event

Size of 0x0000 indicates that no event data is available, and the rest of the packet is ignored.