Go to the source code of this file.
◆ COMMAND_HANDLER() [1/2]
COMMAND_HANDLER |
( |
hl_transport_jtag_command |
| ) |
|
◆ COMMAND_HANDLER() [2/2]
COMMAND_HANDLER |
( |
hl_transport_reset_command |
| ) |
|
◆ hl_constructor()
static void hl_constructor |
( |
void |
| ) |
|
|
static |
◆ hl_jtag_transport_select()
◆ hl_swd_transport_select()
◆ hl_transport_init()
Definition at line 161 of file hla_transport.c.
References ERROR_FAIL, ERROR_OK, get_current_target(), get_current_transport(), hl_interface_init_target(), hl_interface_open(), HL_TRANSPORT_JTAG, HL_TRANSPORT_SWD, HL_TRANSPORT_UNKNOWN, LOG_DEBUG, LOG_ERROR, and transport::name.
◆ transport_is_hla()
bool transport_is_hla |
( |
void |
| ) |
|
◆ hl_jtag_transport
Initial value:= {
.name = "hla_jtag",
}
int hl_interface_override_target(const char **targetname)
static int hl_transport_init(struct command_context *cmd_ctx)
static int hl_jtag_transport_select(struct command_context *cmd_ctx)
Definition at line 209 of file hla_transport.c.
Referenced by transport_is_hla().
◆ hl_jtag_transport_command_handlers
Initial value:= {
{
.name = "jtag",
.help = "perform jtag tap actions",
.usage = "",
},
{
.
name =
"jtag_ntrst_delay",
.handler = hl_transport_jtag_command,
.usage = "",
},
}
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
static const struct command_registration hl_transport_jtag_subcommand_handlers[]
Definition at line 31 of file hla_transport.c.
Referenced by hl_jtag_transport_select().
◆ hl_swd_transport
Initial value:= {
.name = "hla_swd",
}
static int hl_swd_transport_select(struct command_context *cmd_ctx)
Definition at line 209 of file hla_transport.c.
Referenced by transport_is_hla().
◆ hl_swd_transport_command_handlers
Initial value:= {
{
.name = "swd",
.help = "SWD command group",
.usage = "",
},
}
static const struct command_registration hl_swd_transport_subcommand_handlers[]
Definition at line 31 of file hla_transport.c.
◆ hl_swd_transport_subcommand_handlers
Initial value:= {
{
.name = "newdap",
.handler = handle_jtag_newtap,
.help = "declare a new SWD DAP",
.usage = "basename dap_type ['-irlen' count] "
"['-enable'|'-disable'] "
"['-expected_id' number] "
"['-ignore-version'] "
"['-ignore-bypass'] "
"['-ircapture' number] "
"['-ir-bypass' number] "
"['-mask' number]",
},
}
Definition at line 31 of file hla_transport.c.
◆ hl_transport_jtag_subcommand_handlers
◆ hl_transports