From 337686846d4482bb17be2f2e6f91e915224e5146 Mon Sep 17 00:00:00 2001 From: sys64738 Date: Sun, 1 Aug 2021 23:06:55 +0000 Subject: [PATCH] Update 'USB config & command protocol' --- USB-config-%26-command-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/USB-config-%26-command-protocol.md b/USB-config-%26-command-protocol.md index ccb29c1..99b33eb 100644 --- a/USB-config-%26-command-protocol.md +++ b/USB-config-%26-command-protocol.md @@ -189,7 +189,7 @@ Commands: * `0x34`: Get scan result (only if status is finished): no argument bytes, 8\*x (JTAG) or 6\*x (SWD) result bytes * result: for each match: * JTAG: all bytes: pin numbers of TCK, TMS, TDI, TDO, nTRST, IR length, # of pins toggled, "possibly a short-circuit" warning flag - * SWD: swclk, swdio pin numbers (bytes), manufacturer and part numbers (16 bits each, little-endian) + * SWD: swclk, swdio pin numbers (bytes), ID code (4 bytes, little-endian) * `0x35`: Start scan (only valid if status is not `0x01`): three argument bytes (scan type, start and end pin numbers (inclusive)), no result bytes * `0x36`: Get pin range: no argument bytes, two result bytes (min and max pin numbers, like start/end pins as in `0x35`) * `0x37`: Force-stop scan. No argument or result bytes, sets mode to idle.