1 /** @remote_bitbangpage OpenOCD Developer's Guide
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
10 The remote bitbang driver is useful for debugging software running on
11 processors which are being simulated.
13 The bitbang interface consists of the following functions.
16 Blink a light somewhere. The argument on is either 1 or 0.
19 Sample the value of tdo.
22 Set the value of tck, tms, and tdi.
25 Set the value of trst, srst.
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.
31 These five functions are encoded in ascii by assigning a single character to
32 each possible request. The assignments are:
51 The read response is encoded in ascii as either digit 0 or 1.