Update 'Mode 3: debug interface pinout detector'

Triss 2021-08-17 22:21:44 +00:00
parent a161b1b363
commit 4691707d72
1 changed files with 2 additions and 2 deletions

@ -4,7 +4,7 @@ The implementation is lifted from [JTAGenum](https://github.com/cyphunk/JTAGenum
## Pinout
Any pin marked as "test pin" below can be probed. Actual pins probed depends on the command used to scan, see [dmctl](https://git.lain.faith/sys64738/DapperMime-JTAG/wiki/dmctl#jtag-scan).
Any pin marked as "test pin" below can be probed. Actual pins probed depends on the command used to scan, see [dpctl](dpctl#jtag-scan).
### Raspberry Pico
@ -36,6 +36,6 @@ On the Raspberry Pico, 20 pins can be used:
## Usage
This mode is controlled entirely through [dmctl](https://git.lain.faith/sys64738/DapperMime-JTAG/wiki/dmctl#jtag-scan).
This mode is controlled entirely through [dpctl](dpctl#jtag-scan).
Time spent scanning is proportional to `n_pins_probed nCr n_pins_in_itf`, i.e. `n_pins_probed!/(n_pins_probed-n_pins_in_itf)!`. For JTAG, `n_pins_in_itf` is equal to 5, for SWD, it is 2. `n_pins_probed` depends on the `start` and `end` arguments passed to `dmctl`.