From 465f86d2c3ea79ad4a332844a0649cb0e0036e05 Mon Sep 17 00:00:00 2001 From: sys64738 Date: Sun, 25 Jul 2021 15:39:24 +0000 Subject: [PATCH] Update 'USB config & command protocol' --- USB-config-%26-command-protocol.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/USB-config-%26-command-protocol.md b/USB-config-%26-command-protocol.md index e955193..86c3980 100644 --- a/USB-config-%26-command-protocol.md +++ b/USB-config-%26-command-protocol.md @@ -143,16 +143,16 @@ The I2C command format used here is based heavily on the one of [I2C-Tiny-USB](h ## Mode 3 (JTAG pinout scanner) (not yet implemented) -* `0x30`: Get status: no argument bytes, one result byte +* `0x33`: Get status: no argument bytes, one result byte * `0x00`: idle * `0x01`: scan busy * `0x02`: scan failed * `0x03`: scan successful -* `0x31`: Get scan result (only if status is `0x03`): no argument bytes, 5 result bytes +* `0x34`: Get scan result (only if status is `0x03`): no argument bytes, 5 result bytes * Result: pin numbers of TCK, TMS, TDI, TDO, TRST -* `0x32`: Start scan (only valid if status is not `0x01`): two argument bytes (start and end pin numbers, inclusive), no result bytes +* `0x35`: Start scan (only valid if status is not `0x01`): two argument bytes (start and end pin numbers, inclusive), no result bytes ## Mode 4 (SUMP logic analyzer) -* `0x40`: Get overclocking state: no argument bytes, one result byte (overclocking off/on (resp. `0x00` or nonzero) (or amount, device-dependent, depending on what future devices may bring?)) -* `0x41`: Set overclocking state: one argument byte, no result bytes (same format as `0x40`) \ No newline at end of file +* `0x43`: Get overclocking state: no argument bytes, one result byte (overclocking off/on (resp. `0x00` or nonzero) (or amount, device-dependent, depending on what future devices may bring?)) +* `0x44`: Set overclocking state: one argument byte, no result bytes (same format as `0x40`) \ No newline at end of file