Update 'USB config & command protocol'
parent
b3e4368f70
commit
337686846d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue