42 .help =
"declare a new SWD DAP",
51 .help =
"SWD command group",
63 .help =
"Create a new TAP instance named basename.tap_type, "
64 "and appends it to the scan chain.",
65 .usage =
"basename tap_type '-irlen' count "
66 "['-expected_id' number]",
71 .handler = hl_transport_jtag_command,
77 .handler = hl_transport_jtag_command,
81 .name =
"arp_init-reset",
83 .handler = hl_transport_reset_command,
87 .name =
"tapisenabled",
99 .handler = hl_transport_jtag_command,
105 .handler = hl_transport_jtag_command,
116 .handler = hl_transport_jtag_command,
127 .help =
"perform jtag tap actions",
132 .
name =
"jtag_ntrst_delay",
134 .handler = hl_transport_jtag_command,
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
static int register_commands(struct command_context *cmd_ctx, const char *cmd_prefix, const struct command_registration *cmds)
Register one or more commands in the specified context, as children of parent (or top-level commends,...
struct esp_usb_jtag __attribute__
int hl_interface_init_target(struct target *t)
int hl_interface_open(enum hl_transports tr)
int hl_interface_override_target(const char **targetname)
int hl_interface_init_reset(void)
int jim_hl_newtap(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
static int hl_swd_transport_select(struct command_context *cmd_ctx)
static const struct command_registration hl_swd_transport_command_handlers[]
COMMAND_HANDLER(hl_transport_jtag_command)
static struct transport hl_swd_transport
static const struct command_registration hl_transport_jtag_subcommand_handlers[]
static struct transport hl_jtag_transport
static void hl_constructor(void)
static int hl_transport_init(struct command_context *cmd_ctx)
static int hl_jtag_transport_select(struct command_context *cmd_ctx)
static const struct command_registration hl_jtag_transport_command_handlers[]
bool transport_is_hla(void)
static const struct command_registration hl_swd_transport_subcommand_handlers[]
int jim_jtag_tap_enabler(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
int jim_jtag_configure(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
#define LOG_ERROR(expr ...)
#define LOG_DEBUG(expr ...)
Wrapper for transport lifecycle operations.
const char * name
Each transport has a unique name, used to select it from among the alternatives.
struct target * get_current_target(struct command_context *cmd_ctx)
struct transport * get_current_transport(void)
Returns the transport currently being used by this debug or programming session.
int transport_register(struct transport *new_transport)
Registers a transport.