OpenOCD
|
Go to the source code of this file.
Functions | |
COMMAND_HANDLER (handle_swim_newtap_command) | |
static void | swim_constructor (void) |
int | swim_read_mem (uint32_t addr, uint32_t size, uint32_t count, uint8_t *buffer) |
int | swim_reconnect (void) |
int | swim_system_reset (void) |
static int | swim_transport_init (struct command_context *cmd_ctx) |
static int | swim_transport_select (struct command_context *cmd_ctx) |
int | swim_write_mem (uint32_t addr, uint32_t size, uint32_t count, const uint8_t *buffer) |
bool | transport_is_swim (void) |
Variables | |
struct adapter_driver * | adapter_driver |
static struct transport | swim_transport |
static const struct command_registration | swim_transport_command_handlers [] |
static const struct command_registration | swim_transport_subcommand_handlers [] |
COMMAND_HANDLER | ( | handle_swim_newtap_command | ) |
Definition at line 52 of file swim.c.
References alloc_printf(), jtag_tap::chip, CMD_ARGC, CMD_ARGV, jtag_tap::dotted_name, jtag_tap::enabled, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, jtag_tap_init(), LOG_DEBUG, LOG_ERROR, and jtag_tap::tapname.
int swim_read_mem | ( | uint32_t | addr, |
uint32_t | size, | ||
uint32_t | count, | ||
uint8_t * | buffer | ||
) |
Definition at line 29 of file swim.c.
References addr, buffer, count, swim_driver::read_mem, size, and adapter_driver::swim_ops.
Referenced by stm8_adapter_read_memory(), and stm8_read_u8().
int swim_reconnect | ( | void | ) |
Definition at line 45 of file swim.c.
References swim_driver::reconnect, and adapter_driver::swim_ops.
Referenced by stm8_examine().
int swim_system_reset | ( | void | ) |
Definition at line 22 of file swim.c.
References swim_driver::srst, and adapter_driver::swim_ops.
Referenced by stm8_reset_assert().
|
static |
|
static |
Definition at line 114 of file swim.c.
References LOG_DEBUG, NULL, register_commands(), and swim_transport_command_handlers.
int swim_write_mem | ( | uint32_t | addr, |
uint32_t | size, | ||
uint32_t | count, | ||
const uint8_t * | buffer | ||
) |
Definition at line 37 of file swim.c.
References addr, buffer, count, size, adapter_driver::swim_ops, and swim_driver::write_mem.
Referenced by stm8_adapter_write_memory(), and stm8_write_u8().
bool transport_is_swim | ( | void | ) |
Definition at line 150 of file swim.c.
References get_current_transport(), and swim_transport.
Referenced by adapter_assert_reset(), adapter_deassert_reset(), adapter_resets(), and stlink_dap_init().
|
extern |
|
static |
Definition at line 121 of file swim.c.
Referenced by transport_is_swim().
|
static |
Definition at line 52 of file swim.c.
Referenced by swim_transport_select().
|
static |