3.4.4 SAM PC Sampler

Used to poll a single location (typically PC) in memory on an ARM-based target device. Generally faster than the DATA_SAMPLING function.

Table 3-43. SAM PC Sampler
FieldSizeDescription
DATA_SAMPLER1 byte0x8A
SAMPLE_SAM_PC1 byte0x02
ENABLE1 byte

0x00: disable

0x01: enable

BURST1 byteNumber of samples per loop (1 to 16)
ADDRESS4 byte

Address to poll, MSB first.

Must be >= 0x20000000

FLAGS4 byte
Bits 1:0: destination:
  • b00: send to DGI as data
  • b01: send to HID (reserved)
  • b10: send to DGI as print
  • b11: reserved

Response:

Table 3-44. SAM PC Sampler response
FieldSizeDescription
DATA_SAMPLER1 byte0x8A
SAMPLE_SAM_PC1 byte0x02
Status1 byte

Status code

0x00: OK

0xFF: Error