Skip to content
Snippets Groups Projects
Commit a1609e5a authored by Øyvind Harboe's avatar Øyvind Harboe
Browse files

Removed unused interface_jtag_set_end_state and wrote down some notes on...

Removed unused interface_jtag_set_end_state and wrote down some notes on TCP/IP client/server scheme.
parent 79e257a2
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,13 @@ interface support: ...@@ -95,6 +95,13 @@ interface support:
The following tasks have been suggested for adding new JTAG interfaces: The following tasks have been suggested for adding new JTAG interfaces:
- TCP driver: allow client/server for remote JTAG interface control. - 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 @section thelistswd Serial Wire Debug
......
...@@ -120,7 +120,6 @@ extern int interface_jtag_add_runtest(int num_cycles, tap_state_t endstate); ...@@ -120,7 +120,6 @@ extern int interface_jtag_add_runtest(int num_cycles, tap_state_t endstate);
* approperiate * approperiate
*/ */
extern int interface_jtag_add_reset(int trst, int srst); 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_sleep(uint32_t us);
extern int interface_jtag_add_clocks(int num_cycles); extern int interface_jtag_add_clocks(int num_cycles);
extern int interface_jtag_execute_queue(void); extern int interface_jtag_execute_queue(void);
......
...@@ -59,12 +59,6 @@ int interface_jtag_execute_queue(void) ...@@ -59,12 +59,6 @@ int interface_jtag_execute_queue(void)
extern int jtag_check_value(uint8_t *captured, void *priv); 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) int interface_jtag_add_ir_scan(int num_fields, const scan_field_t *fields, tap_state_t state)
{ {
/* synchronously do the operation here */ /* synchronously do the operation here */
......
...@@ -532,12 +532,6 @@ static __inline void scanFields(int num_fields, const scan_field_t *fields, tap_ ...@@ -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) int interface_jtag_add_ir_scan(int num_fields, const scan_field_t *fields, tap_state_t state)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment