Update 'USB config & command protocol'
parent
3af2a3e0e2
commit
465f86d2c3
|
@ -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`)
|
||||
* `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`)
|
Loading…
Reference in New Issue