5a800479d7a160d7088c642980cee396543b8ffa
[openocd.git] / doc / manual / jtag / drivers / remote_bitbang.txt
1 /** @remote_bitbangpage OpenOCD Developer's Guide
2
3 The remote_bitbang JTAG driver is used to drive JTAG from a remote process. The
4 remote_bitbang driver communicates via TCP or UNIX sockets with some remote
5 process using an ASCII encoding of the bitbang interface. The remote process
6 presumably then drives the JTAG however it pleases. The remote process should
7 act as a server, listening for connections from the openocd remote_bitbang
8 driver.
9
10 The remote bitbang driver is useful for debugging software running on
11 processors which are being simulated.
12
13 The bitbang interface consists of the following functions.
14
15 blink on
16 Blink a light somewhere. The argument on is either 1 or 0.
17
18 read
19 Sample the value of tdo.
20
21 write tck tms tdi
22 Set the value of tck, tms, and tdi.
23
24 reset trst srst
25 Set the value of trst, srst.
26
27 An additional function, quit, is added to the remote_bitbang interface to
28 indicate there will be no more requests and the connection with the remote
29 driver should be closed.
30
31 These five functions are encoded in ascii by assigning a single character to
32 each possible request. The assignments are:
33
34 B - Blink on
35 b - Blink off
36 R - Read request
37 Q - Quit request
38 0 - Write 0 0 0
39 1 - Write 0 0 1
40 2 - Write 0 1 0
41 3 - Write 0 1 1
42 4 - Write 1 0 0
43 5 - Write 1 0 1
44 6 - Write 1 1 0
45 7 - Write 1 1 1
46 r - Reset 0 0
47 s - Reset 0 1
48 t - Reset 1 0
49 u - Reset 1 1
50
51 The read response is encoded in ascii as either digit 0 or 1.
52
53 */

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)