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.
| Field | Size | Description |
|---|---|---|
| DATA_SAMPLER | 1 byte | 0x8A |
| SAMPLE_SAM_PC | 1 byte | 0x02 |
| ENABLE | 1 byte |
0x00: disable 0x01: enable |
| BURST | 1 byte | Number of samples per loop (1 to 16) |
| ADDRESS | 4 byte |
Address to poll, MSB first. Must be >= 0x20000000 |
| FLAGS | 4 byte |
Bits 1:0: destination:
|
Response:
| Field | Size | Description |
|---|---|---|
| DATA_SAMPLER | 1 byte | 0x8A |
| SAMPLE_SAM_PC | 1 byte | 0x02 |
| Status | 1 byte |
Status code 0x00: OK 0xFF: Error |
