forked from auracaster/openocd
Add IPDBG JtagHost functionality to OpenOCD
IPDBG are utilities to debug IP-cores. It uses JTAG for transport to/from the FPGA. The different UIs use TCP/IP as transport. The JtagHost makes the bridge between these two. Comparable to the bridge between GDB and the in-circuit- debugging-unit of a micro controller. Change-Id: Ib1bc10dcbd4ea426e492bb7b2d85c1ed1b7a8d5a Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: http://openocd.zylin.com/5938 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
3d46346e07
commit
e05cbb4e4f
@@ -45,6 +45,9 @@
|
||||
#include "svf/svf.h"
|
||||
#include "xsvf/xsvf.h"
|
||||
|
||||
/* ipdbg are utilities to debug IP-cores. It uses JTAG for transport. */
|
||||
#include "server/ipdbg.h"
|
||||
|
||||
/** The number of JTAG queue flushes (for profiling and debugging purposes). */
|
||||
static int jtag_flush_queue_count;
|
||||
|
||||
@@ -1975,7 +1978,12 @@ static int jtag_select(struct command_context *ctx)
|
||||
if (retval != ERROR_OK)
|
||||
return retval;
|
||||
|
||||
return xsvf_register_commands(ctx);
|
||||
retval = xsvf_register_commands(ctx);
|
||||
|
||||
if (retval != ERROR_OK)
|
||||
return retval;
|
||||
|
||||
return ipdbg_register_commands(ctx);
|
||||
}
|
||||
|
||||
static struct transport jtag_transport = {
|
||||
|
||||
Reference in New Issue
Block a user