Skip to content

Commit ad893b6

Browse files
committed
rtxlink: support for different address lengths in CAT peek command
1 parent a94e46f commit ad893b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rtxlink.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ Following the opcode there are two bytes containing the resource ID and N bytes
7171
#### Peek Requests
7272

7373
A peek request allow the client to read the content of the host internal memory at a given address. The command frame has a fixed length of six bytes, with the opcode set to 0x50 (ASCII character 'P').
74-
After the command opcode, there is one byte of data length and four bytes of address. The host replies to a peek request with a data response packet or, in case of failures, an ack frame reporting an
75-
error code.
74+
The command opcode byte is followed by one byte specifiying the number of bytes to read and by the start address for the read operation. The length of the address depends on the host architecture and
75+
it can be either 2, 4 or 8 bytes long; any other length is considered invalid. The host replies to a peek request with a data response packet or, in case of failures, an ack frame reporting an error code.
7676

7777
| 0 | 1 | 2 | 3 | 4 | 5 |
7878
|:---:|:---:|:----:|:----:|:----:|:----:|

0 commit comments

Comments
 (0)