From b3e4368f70bc27727ec620a8ef788c8aacf44a76 Mon Sep 17 00:00:00 2001 From: sys64738 Date: Sun, 1 Aug 2021 02:15:45 +0000 Subject: [PATCH] Update 'USB config & command protocol' --- USB-config-%26-command-protocol.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/USB-config-%26-command-protocol.md b/USB-config-%26-command-protocol.md index 8461c04..ccb29c1 100644 --- a/USB-config-%26-command-protocol.md +++ b/USB-config-%26-command-protocol.md @@ -178,10 +178,12 @@ additional peripheral ops * Scan types: * JTAG: 0 * SWD: 1 + * (SBW: 2) +Commands: * `0x33`: Get status: no argument bytes, one result byte - * `0x0x`: scan busy (type: x, eg. 0x00 = JTAG busy, 0x01 = SWD busy) + * `0x0x`: scan busy (type: `x`, eg. 0x00 = JTAG busy, 0x01 = SWD busy, `x` < 0x7f) * `0x7f`: idle * `0b1xxxxxxx`: scan finished, `0bxxxxxxx` matches found * `0x34`: Get scan result (only if status is finished): no argument bytes, 8\*x (JTAG) or 6\*x (SWD) result bytes