aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-10-20 15:54:53 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-10-20 15:54:53 +0200
commita1609e5ad1b8df67f216d2f7c43db82c420db373 (patch)
tree4ab3cb71dff077d2e563d66b3b51b00cded54f1d
parent79e257a209cbb827557a752572a0b3c6d3b149c6 (diff)
downloadriscv-openocd-a1609e5ad1b8df67f216d2f7c43db82c420db373.zip
riscv-openocd-a1609e5ad1b8df67f216d2f7c43db82c420db373.tar.gz
riscv-openocd-a1609e5ad1b8df67f216d2f7c43db82c420db373.tar.bz2
Removed unused interface_jtag_set_end_state and wrote down some notes on TCP/IP client/server scheme.
-rw-r--r--TODO7
-rw-r--r--src/jtag/minidriver.h1
-rw-r--r--src/jtag/minidummy/minidummy.c6
-rw-r--r--src/jtag/zy1000/zy1000.c6
4 files changed, 7 insertions, 13 deletions
diff --git a/TODO b/TODO
index a57ed24..0d88812 100644
--- a/TODO
+++ b/TODO
@@ -95,6 +95,13 @@ interface support:
The following tasks have been suggested for adding new JTAG interfaces:
- TCP driver: allow client/server for remote JTAG interface control.
+This requires a client and a server. The server is built into the
+normal OpenOCD and takes commands from the client and executes
+them on the interface returning the result of TCP/IP. The client
+is an OpenOCD which is built with a TCP/IP minidriver. The use
+of a minidriver is required to capture all the jtag_add_xxx()
+fn's at a high enough level and repackage these cmd's as
+TCP/IP packets handled by the server.
@section thelistswd Serial Wire Debug
diff --git a/src/jtag/minidriver.h b/src/jtag/minidriver.h
index 07fed01..b7c01ab 100644
--- a/src/jtag/minidriver.h
+++ b/src/jtag/minidriver.h
@@ -120,7 +120,6 @@ extern int interface_jtag_add_runtest(int num_cycles, tap_state_t endstate);
* approperiate
*/
extern int interface_jtag_add_reset(int trst, int srst);
-extern int interface_jtag_set_end_state(tap_state_t endstate);
extern int interface_jtag_add_sleep(uint32_t us);
extern int interface_jtag_add_clocks(int num_cycles);
extern int interface_jtag_execute_queue(void);
diff --git a/src/jtag/minidummy/minidummy.c b/src/jtag/minidummy/minidummy.c
index 3c08435..2cab0f5 100644
--- a/src/jtag/minidummy/minidummy.c
+++ b/src/jtag/minidummy/minidummy.c
@@ -59,12 +59,6 @@ int interface_jtag_execute_queue(void)
extern int jtag_check_value(uint8_t *captured, void *priv);
-int interface_jtag_set_end_state(tap_state_t state)
-{
- return ERROR_OK;
-}
-
-
int interface_jtag_add_ir_scan(int num_fields, const scan_field_t *fields, tap_state_t state)
{
/* synchronously do the operation here */
diff --git a/src/jtag/zy1000/zy1000.c b/src/jtag/zy1000/zy1000.c
index e56f6d2..f45bff5 100644
--- a/src/jtag/zy1000/zy1000.c
+++ b/src/jtag/zy1000/zy1000.c
@@ -532,12 +532,6 @@ static __inline void scanFields(int num_fields, const scan_field_t *fields, tap_
}
}
-int interface_jtag_set_end_state(tap_state_t state)
-{
- return ERROR_OK;
-}
-
-
int interface_jtag_add_ir_scan(int num_fields, const scan_field_t *fields, tap_state_t state)
{