OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | device_config |
struct | pending_scan_result |
Macros | |
#define | JLINK_MAX_SPEED 12000 |
#define | JLINK_TAP_BUFFER_SIZE 2048 |
#define | MAX_PENDING_SCAN_RESULTS 256 |
#define | SWO_MAX_FREQ_DEV 0.03 |
Functions | |
struct device_config | __attribute__ ((packed)) |
static bool | adjust_swd_buffer_size (void) |
static bool | calculate_swo_prescaler (unsigned int traceclkin_freq, uint32_t trace_freq, uint16_t *prescaler) |
static uint32_t | calculate_trace_buffer_size (void) |
COMMAND_HANDLER (jlink_handle_config_command) | |
COMMAND_HANDLER (jlink_handle_config_ip_address_command) | |
COMMAND_HANDLER (jlink_handle_config_mac_address_command) | |
COMMAND_HANDLER (jlink_handle_config_reset_command) | |
COMMAND_HANDLER (jlink_handle_config_target_power_command) | |
COMMAND_HANDLER (jlink_handle_config_usb_address_command) | |
COMMAND_HANDLER (jlink_handle_config_write_command) | |
COMMAND_HANDLER (jlink_handle_emucom_read_command) | |
COMMAND_HANDLER (jlink_handle_emucom_write_command) | |
COMMAND_HANDLER (jlink_handle_free_memory_command) | |
COMMAND_HANDLER (jlink_handle_hwstatus_command) | |
COMMAND_HANDLER (jlink_handle_jlink_jtag_command) | |
COMMAND_HANDLER (jlink_handle_target_power_command) | |
COMMAND_HANDLER (jlink_usb_command) | |
static int | config_trace (bool enabled, enum tpiu_pin_protocol pin_protocol, uint32_t port_size, unsigned int *trace_freq, unsigned int traceclkin_freq, uint16_t *prescaler) |
static void | cpy_ip (uint8_t *dst, uint8_t *src) |
static bool | detect_swo_freq_and_prescaler (struct jaylink_swo_speed speed, unsigned int traceclkin_freq, unsigned int *trace_freq, uint16_t *prescaler) |
static void | fill_buffer (uint8_t *buf, uint32_t val, uint32_t len) |
static int | jaylink_log_handler (const struct jaylink_context *ctx, enum jaylink_log_level level, const char *format, va_list args, void *user_data) |
static void | jlink_clock_data (const uint8_t *out, unsigned out_offset, const uint8_t *tms_out, unsigned tms_offset, uint8_t *in, unsigned in_offset, unsigned length) |
Queue data to go out and in, flushing the queue as many times as necessary. More... | |
static void | jlink_end_state (tap_state_t state) |
static int | jlink_execute_command (struct jtag_command *cmd) |
static void | jlink_execute_pathmove (struct jtag_command *cmd) |
static int | jlink_execute_queue (void) |
static void | jlink_execute_runtest (struct jtag_command *cmd) |
static void | jlink_execute_scan (struct jtag_command *cmd) |
static void | jlink_execute_sleep (struct jtag_command *cmd) |
static void | jlink_execute_stableclocks (struct jtag_command *cmd) |
static void | jlink_execute_statemove (struct jtag_command *cmd) |
static int | jlink_flush (void) |
static int | jlink_init (void) |
static int | jlink_khz (int khz, int *jtag_speed) |
static int | jlink_open_device (uint32_t ifaces, bool *found_device) |
static void | jlink_path_move (int num_states, tap_state_t *path) |
static void | jlink_queue_data_in (uint32_t len) |
static void | jlink_queue_data_out (const uint8_t *data, uint32_t len) |
static int | jlink_quit (void) |
static int | jlink_register (void) |
static void | jlink_reset (int trst, int srst) |
static int | jlink_reset_safe (int trst, int srst) |
static void | jlink_runtest (int num_cycles) |
static int | jlink_speed (int speed) |
static int | jlink_speed_div (int speed, int *khz) |
static void | jlink_stableclocks (int num_cycles) |
static void | jlink_state_move (void) |
static int | jlink_swd_init (void) |
static void | jlink_swd_queue_cmd (uint8_t cmd, uint32_t *dst, uint32_t data, uint32_t ap_delay_clk) |
static void | jlink_swd_read_reg (uint8_t cmd, uint32_t *value, uint32_t ap_delay_clk) |
static int | jlink_swd_run_queue (void) |
static int | jlink_swd_switch_seq (enum swd_special_seq seq) |
static void | jlink_swd_write_reg (uint8_t cmd, uint32_t value, uint32_t ap_delay_clk) |
static void | jlink_tap_init (void) |
static bool | jlink_usb_location_equal (struct jaylink_device *dev) |
static int | poll_trace (uint8_t *buf, size_t *size) |
static bool | read_device_config (struct device_config *cfg) |
static int | select_interface (void) |
static void | show_config (struct command_invocation *cmd) |
static void | show_config_ip_address (struct command_invocation *cmd) |
static void | show_config_mac_address (struct command_invocation *cmd) |
static void | show_config_target_power (struct command_invocation *cmd) |
static void | show_config_usb_address (struct command_invocation *cmd) |
static bool | string_to_ip (const char *s, uint8_t *ip, int *pos) |
Variables | |
struct pending_scan_result | __attribute__ |
static uint8_t | caps [JAYLINK_DEV_EXT_CAPS_SIZE] |
static struct device_config | config |
static struct jaylink_connection | conn |
static struct jaylink_connection | connlist [JAYLINK_MAX_CONNECTIONS] |
static struct jaylink_device_handle * | devh |
static enum jaylink_target_interface | iface = JAYLINK_TIF_JTAG |
uint8_t | ip_address [4] |
static struct jaylink_context * | jayctx |
struct adapter_driver | jlink_adapter_driver |
static const struct command_registration | jlink_command_handlers [] |
static const struct command_registration | jlink_config_subcommand_handlers [] |
static const struct command_registration | jlink_emucom_subcommand_handlers [] |
static struct jtag_interface | jlink_interface |
static enum tap_state | jlink_last_state = TAP_RESET |
static const struct command_registration | jlink_subcommand_handlers [] |
static const struct swd_driver | jlink_swd |
static const char *const | jlink_transports [] = { "jtag", "swd", NULL } |
static enum jaylink_jtag_version | jtag_command_version |
uint8_t | mac_address [6] |
static struct pending_scan_result | pending_scan_results_buffer [MAX_PENDING_SCAN_RESULTS] |
static int | pending_scan_results_length |
static int | queued_retval |
uint8_t | reserved_1 [3] |
uint8_t | reserved_2 [24] |
uint8_t | reserved_3 [8] |
uint8_t | reserved_4 [202] |
static uint32_t | serial_number |
uint8_t | subnet_mask [4] |
static unsigned int | swd_buffer_size = JLINK_TAP_BUFFER_SIZE |
static unsigned | tap_length |
uint32_t | target_power |
static uint8_t | tdi_buffer [JLINK_TAP_BUFFER_SIZE] |
static uint8_t | tdo_buffer [JLINK_TAP_BUFFER_SIZE] |
static struct device_config | tmp_config |
static uint8_t | tms_buffer [JLINK_TAP_BUFFER_SIZE] |
static bool | trace_enabled |
static enum jaylink_usb_address | usb_address |
static bool | use_serial_number |
static bool | use_usb_address |
static bool | use_usb_location |
struct device_config __attribute__ | ( | (packed) | ) |
|
static |
Definition at line 454 of file jlink.c.
References caps, devh, JLINK_TAP_BUFFER_SIZE, LOG_DEBUG, LOG_ERROR, MIN, and swd_buffer_size.
Referenced by config_trace(), and jlink_init().
|
static |
Definition at line 1252 of file jlink.c.
References TPIU_ACPR_MAX_SWOSCALER.
Referenced by config_trace().
|
static |
Definition at line 1228 of file jlink.c.
References caps, devh, ERROR_FAIL, and LOG_ERROR.
Referenced by config_trace().
COMMAND_HANDLER | ( | jlink_handle_config_command | ) |
Definition at line 1681 of file jlink.c.
References caps, CMD, CMD_ARGC, command_print(), ERROR_OK, and show_config().
COMMAND_HANDLER | ( | jlink_handle_config_ip_address_command | ) |
Definition at line 1573 of file jlink.c.
References caps, CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), cpy_ip(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, ip_address, device_config::ip_address, show_config_ip_address(), string_to_ip(), subnet_mask, device_config::subnet_mask, and tmp_config.
COMMAND_HANDLER | ( | jlink_handle_config_mac_address_command | ) |
Definition at line 1486 of file jlink.c.
References addr, caps, CMD, CMD_ARGC, CMD_ARGV, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, device_config::mac_address, show_config_mac_address(), and tmp_config.
COMMAND_HANDLER | ( | jlink_handle_config_reset_command | ) |
COMMAND_HANDLER | ( | jlink_handle_config_target_power_command | ) |
Definition at line 1448 of file jlink.c.
References caps, CMD, CMD_ARGC, CMD_ARGV, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, show_config_target_power(), device_config::target_power, and tmp_config.
COMMAND_HANDLER | ( | jlink_handle_config_usb_address_command | ) |
Definition at line 1416 of file jlink.c.
References caps, CMD, CMD_ARGC, CMD_ARGV, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, show_config_usb_address(), tmp_config, and device_config::usb_address.
COMMAND_HANDLER | ( | jlink_handle_config_write_command | ) |
Definition at line 1633 of file jlink.c.
References caps, CMD, command_print(), config, devh, ERROR_FAIL, ERROR_OK, LOG_ERROR, read_device_config(), and tmp_config.
COMMAND_HANDLER | ( | jlink_handle_emucom_read_command | ) |
Definition at line 1754 of file jlink.c.
References caps, CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), devh, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, hexify(), length, and LOG_ERROR.
COMMAND_HANDLER | ( | jlink_handle_emucom_write_command | ) |
Definition at line 1694 of file jlink.c.
References caps, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, devh, dummy, ERROR_COMMAND_ARGUMENT_INVALID, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, length, LOG_ERROR, LOG_WARNING, and unhexify().
COMMAND_HANDLER | ( | jlink_handle_free_memory_command | ) |
Definition at line 1017 of file jlink.c.
References caps, CMD, command_print(), devh, ERROR_FAIL, and ERROR_OK.
COMMAND_HANDLER | ( | jlink_handle_hwstatus_command | ) |
Definition at line 991 of file jlink.c.
References CMD, command_print(), devh, ERROR_FAIL, ERROR_OK, and status.
COMMAND_HANDLER | ( | jlink_handle_jlink_jtag_command | ) |
Definition at line 1041 of file jlink.c.
References CMD, CMD_ARGC, CMD_ARGV, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, and jtag_command_version.
COMMAND_HANDLER | ( | jlink_handle_target_power_command | ) |
Definition at line 1084 of file jlink.c.
References caps, CMD, CMD_ARGC, CMD_ARGV, command_print(), devh, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, and ERROR_OK.
COMMAND_HANDLER | ( | jlink_usb_command | ) |
Definition at line 965 of file jlink.c.
References CMD, CMD_ARGC, CMD_ARGV, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, usb_address, and use_usb_address.
|
static |
Definition at line 1296 of file jlink.c.
References adjust_swd_buffer_size(), calculate_swo_prescaler(), calculate_trace_buffer_size(), caps, detect_swo_freq_and_prescaler(), devh, ERROR_FAIL, ERROR_OK, LOG_DEBUG, LOG_ERROR, LOG_INFO, SWO_MAX_FREQ_DEV, TPIU_PIN_PROTOCOL_ASYNC_UART, and trace_enabled.
|
static |
Definition at line 1565 of file jlink.c.
Referenced by COMMAND_HANDLER().
|
static |
Definition at line 1270 of file jlink.c.
References SWO_MAX_FREQ_DEV, and TPIU_ACPR_MAX_SWOSCALER.
Referenced by config_trace().
|
static |
Definition at line 2070 of file jlink.c.
References buf_set_u32(), and tap_length.
Referenced by jlink_queue_data_in(), and jlink_queue_data_out().
|
static |
Definition at line 486 of file jlink.c.
References LOG_LVL_DEBUG, LOG_LVL_DEBUG_IO, LOG_LVL_ERROR, LOG_LVL_WARNING, and log_vprintf_lf().
Referenced by jlink_init().
|
static |
Queue data to go out and in, flushing the queue as many times as necessary.
out | A pointer to TDI data, if NULL, old stale data will be used. |
out_offset | A bit offset for TDI data. |
tms_out | A pointer to TMS data, if NULL, zeroes will be emitted. |
tms_offset | A bit offset for TMS data. |
in | A pointer to store TDO data to, if NULL the data will be discarded. |
in_offset | A bit offset for TDO data. |
length | Amount of bits to transfer out and in. |
Definition at line 1994 of file jlink.c.
References buf_set_buf(), pending_scan_result::buffer, pending_scan_result::buffer_offset, ERROR_OK, pending_scan_result::first, jlink_flush(), JLINK_TAP_BUFFER_SIZE, pending_scan_result::length, length, MAX_PENDING_SCAN_RESULTS, pending_scan_results_buffer, pending_scan_results_length, tap_length, tdi_buffer, and tms_buffer.
Referenced by jlink_execute_scan(), jlink_init(), jlink_path_move(), jlink_stableclocks(), and jlink_state_move().
|
static |
Definition at line 864 of file jlink.c.
References LOG_ERROR, state, tap_is_state_stable(), and tap_set_end_state().
Referenced by jlink_execute_runtest(), jlink_execute_scan(), jlink_execute_statemove(), and jlink_runtest().
|
static |
Definition at line 250 of file jlink.c.
References cmd, ERROR_JTAG_QUEUE_FAILED, ERROR_OK, jlink_execute_pathmove(), jlink_execute_runtest(), jlink_execute_scan(), jlink_execute_sleep(), jlink_execute_stableclocks(), jlink_execute_statemove(), JTAG_PATHMOVE, JTAG_RUNTEST, JTAG_SCAN, JTAG_SLEEP, JTAG_STABLECLOCKS, JTAG_TLR_RESET, and LOG_ERROR.
Referenced by jlink_execute_queue().
|
static |
Definition at line 141 of file jlink.c.
References cmd, jlink_path_move(), and LOG_DEBUG_IO.
Referenced by jlink_execute_command().
|
static |
Definition at line 279 of file jlink.c.
References cmd, ERROR_OK, jlink_execute_command(), jlink_flush(), and jtag_command_queue.
|
static |
Definition at line 124 of file jlink.c.
References cmd, jlink_end_state(), jlink_runtest(), and LOG_DEBUG_IO.
Referenced by jlink_execute_command().
|
static |
Definition at line 150 of file jlink.c.
References bit_copy(), cmd, scan_field::in_value, jlink_clock_data(), jlink_end_state(), jlink_state_move(), jtag_scan_type(), LOG_DEBUG, LOG_DEBUG_IO, NULL, scan_field::num_bits, scan_field::out_value, TAP_DRSHIFT, tap_get_end_state(), tap_get_state(), TAP_IRSHIFT, tap_set_state, tap_state_name(), and tap_state_transition().
Referenced by jlink_execute_command().
|
static |
Definition at line 243 of file jlink.c.
References cmd, jlink_flush(), jtag_sleep(), and LOG_DEBUG_IO.
Referenced by jlink_execute_command().
|
static |
Definition at line 118 of file jlink.c.
References cmd, jlink_stableclocks(), and LOG_DEBUG_IO.
Referenced by jlink_execute_command().
|
static |
Definition at line 133 of file jlink.c.
References cmd, jlink_end_state(), jlink_state_move(), and LOG_DEBUG_IO.
Referenced by jlink_execute_command().
|
static |
Definition at line 2036 of file jlink.c.
References buf_set_buf(), pending_scan_result::buffer, pending_scan_result::buffer_offset, devh, ERROR_JTAG_QUEUE_FAILED, ERROR_OK, pending_scan_result::first, jlink_last_state, jlink_tap_init(), jtag_command_version, jtag_debug_state_machine(), pending_scan_result::length, LOG_DEBUG_IO, LOG_ERROR, pending_scan_results_buffer, pending_scan_results_length, tap_length, tdi_buffer, tdo_buffer, and tms_buffer.
Referenced by jlink_clock_data(), jlink_execute_queue(), jlink_execute_sleep(), jlink_init(), and jlink_reset_safe().
|
static |
Definition at line 627 of file jlink.c.
References adapter_get_required_serial(), adapter_get_speed_khz(), adjust_swd_buffer_size(), caps, config, conn, devh, ERROR_JTAG_INIT_FAILED, ERROR_OK, iface, jayctx, jaylink_log_handler(), jlink_clock_data(), jlink_flush(), jlink_open_device(), jlink_register(), jlink_reset(), jlink_speed(), jlink_tap_init(), jtag_command_version, jtag_sleep(), length, LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING, NULL, read_device_config(), select_interface(), serial, serial_number, tmp_config, use_serial_number, and use_usb_address.
|
static |
|
static |
Definition at line 544 of file jlink.c.
References adapter_usb_get_location(), devh, devs, ERROR_JTAG_INIT_FAILED, ERROR_OK, jayctx, jlink_usb_location_equal(), LOG_ERROR, LOG_WARNING, serial_number, usb_address, use_serial_number, use_usb_address, and use_usb_location.
Referenced by jlink_init().
|
static |
Definition at line 888 of file jlink.c.
References jlink_clock_data(), LOG_ERROR, NULL, tap_get_state(), tap_set_end_state(), tap_set_state, tap_state_name(), and tap_state_transition().
Referenced by jlink_execute_pathmove().
|
static |
Definition at line 2097 of file jlink.c.
References fill_buffer(), tap_length, and tms_buffer.
|
static |
Definition at line 2084 of file jlink.c.
References bit_copy(), fill_buffer(), tap_length, tdi_buffer, and tms_buffer.
Referenced by jlink_swd_run_queue(), and jlink_swd_switch_seq().
|
static |
|
static |
|
static |
Definition at line 940 of file jlink.c.
References devh, and LOG_DEBUG.
Referenced by jlink_init(), and jlink_reset_safe().
|
static |
Definition at line 958 of file jlink.c.
References jlink_flush(), and jlink_reset().
|
static |
Definition at line 920 of file jlink.c.
References jlink_end_state(), jlink_stableclocks(), jlink_state_move(), tap_get_end_state(), tap_get_state(), and TAP_IDLE.
Referenced by jlink_execute_runtest().
|
static |
Definition at line 296 of file jlink.c.
References caps, devh, ERROR_JTAG_DEVICE_ERROR, ERROR_JTAG_NOT_IMPLEMENTED, ERROR_OK, JLINK_MAX_SPEED, LOG_ERROR, and LOG_INFO.
Referenced by jlink_init().
|
static |
|
static |
Definition at line 910 of file jlink.c.
References jlink_clock_data(), NULL, tap_get_state(), and TAP_RESET.
Referenced by jlink_execute_stableclocks(), and jlink_runtest().
|
static |
Definition at line 875 of file jlink.c.
References jlink_clock_data(), NULL, tap_get_end_state(), tap_get_state(), tap_get_tms_path(), tap_get_tms_path_len(), and tap_set_state.
Referenced by jlink_execute_scan(), jlink_execute_statemove(), and jlink_runtest().
|
static |
|
static |
Definition at line 2212 of file jlink.c.
Referenced by jlink_swd_read_reg(), and jlink_swd_write_reg().
|
static |
Definition at line 1955 of file jlink.c.
References cmd, jlink_swd_queue_cmd(), and SWD_CMD_RNW.
|
static |
Definition at line 2156 of file jlink.c.
References pending_scan_result::ack, buf_get_u32(), buffer, devh, ERROR_FAIL, ERROR_OK, ERROR_WAIT, pending_scan_result::first, jlink_queue_data_out(), jlink_tap_init(), length, LOG_DEBUG, LOG_ERROR, NULL, parity(), parity_u32(), pending_scan_results_buffer, pending_scan_results_length, queued_retval, SWD_ACK_FAULT, SWD_ACK_OK, SWD_ACK_WAIT, tap_length, tdi_buffer, tdo_buffer, and tms_buffer.
|
static |
Definition at line 2105 of file jlink.c.
References DORMANT_TO_JTAG, DORMANT_TO_SWD, ERROR_FAIL, ERROR_OK, jlink_queue_data_out(), JTAG_TO_DORMANT, JTAG_TO_SWD, LINE_RESET, LOG_DEBUG, LOG_ERROR, swd_seq_dormant_to_jtag, swd_seq_dormant_to_jtag_len, swd_seq_dormant_to_swd, swd_seq_dormant_to_swd_len, swd_seq_jtag_to_dormant, swd_seq_jtag_to_dormant_len, swd_seq_jtag_to_swd, swd_seq_jtag_to_swd_len, swd_seq_line_reset, swd_seq_line_reset_len, swd_seq_swd_to_dormant, swd_seq_swd_to_dormant_len, swd_seq_swd_to_jtag, swd_seq_swd_to_jtag_len, SWD_TO_DORMANT, and SWD_TO_JTAG.
|
static |
Definition at line 1949 of file jlink.c.
References cmd, jlink_swd_queue_cmd(), NULL, and SWD_CMD_RNW.
|
static |
Definition at line 1986 of file jlink.c.
References pending_scan_results_length, tap_length, tdi_buffer, and tms_buffer.
Referenced by jlink_flush(), jlink_init(), and jlink_swd_run_queue().
|
static |
Definition at line 519 of file jlink.c.
References adapter_usb_location_equal(), and LOG_WARNING.
Referenced by jlink_open_device().
|
static |
|
static |
Definition at line 355 of file jlink.c.
References devh, LOG_ERROR, device_config::target_power, and device_config::usb_address.
Referenced by COMMAND_HANDLER(), and jlink_init().
|
static |
Definition at line 376 of file jlink.c.
References caps, devh, ERROR_JTAG_INIT_FAILED, ERROR_OK, iface, LOG_ERROR, and NULL.
Referenced by jlink_init().
|
static |
Definition at line 1194 of file jlink.c.
References caps, cmd, command_print(), show_config_ip_address(), show_config_mac_address(), show_config_target_power(), and show_config_usb_address().
Referenced by COMMAND_HANDLER().
|
static |
Definition at line 1129 of file jlink.c.
References cmd, command_print(), config, device_config::ip_address, device_config::subnet_mask, and tmp_config.
Referenced by COMMAND_HANDLER(), and show_config().
|
static |
Definition at line 1154 of file jlink.c.
References cmd, command_print(), config, device_config::mac_address, and tmp_config.
Referenced by COMMAND_HANDLER(), and show_config().
|
static |
Definition at line 1172 of file jlink.c.
References cmd, command_print(), config, target_power, device_config::target_power, and tmp_config.
Referenced by COMMAND_HANDLER(), and show_config().
|
static |
Definition at line 1120 of file jlink.c.
References cmd, command_print(), config, tmp_config, and device_config::usb_address.
Referenced by COMMAND_HANDLER(), and show_config().
|
static |
Definition at line 1540 of file jlink.c.
Referenced by COMMAND_HANDLER().
struct pending_scan_result __attribute__ |
|
static |
Definition at line 41 of file jlink.c.
Referenced by adjust_swd_buffer_size(), calculate_trace_buffer_size(), cmsis_dap_get_caps_info(), COMMAND_HANDLER(), config_trace(), jlink_init(), jlink_quit(), jlink_register(), jlink_speed(), select_interface(), and show_config().
|
static |
Definition at line 54 of file jlink.c.
Referenced by armjtagew_usb_open(), cmsis_dap_usb_open(), COMMAND_HANDLER(), COMMAND_HELPER(), etm_build_reg_cache(), helper_get_line(), jlink_init(), jtag_libusb_choose_interface(), jtag_libusb_set_configuration(), numicro_protect_check(), rlink_init(), sample_memory(), sample_memory_bus_v1(), show_config_ip_address(), show_config_mac_address(), show_config_target_power(), show_config_usb_address(), xmc4xxx_probe(), xtensa_dm_perfmon_enable(), and xtensa_dm_trace_config_read().
|
static |
Definition at line 37 of file jlink.c.
Referenced by ipdbg_distribute_data_from_hub(), ipdbg_move_buffer_to_connection(), ipdbg_on_connection_closed(), ipdbg_on_connection_input(), ipdbg_on_new_connection(), ipdbg_polling_callback(), jlink_init(), jlink_quit(), and jlink_register().
|
static |
Definition at line 37 of file jlink.c.
Referenced by jlink_quit(), and jlink_register().
|
static |
Definition at line 37 of file jlink.c.
Referenced by adjust_swd_buffer_size(), aice_usb_open(), calculate_trace_buffer_size(), COMMAND_HANDLER(), config_trace(), jlink_flush(), jlink_init(), jlink_open_device(), jlink_quit(), jlink_register(), jlink_reset(), jlink_speed(), jlink_swd_run_queue(), jtag_libusb_choose_interface(), jtag_libusb_set_configuration(), opendous_usb_open(), poll_trace(), read_device_config(), and select_interface().
|
static |
Definition at line 47 of file jlink.c.
Referenced by jlink_init(), jlink_swd_init(), and select_interface().
uint8_t ip_address[4] |
Definition at line 7 of file jlink.c.
Referenced by COMMAND_HANDLER().
|
static |
Definition at line 36 of file jlink.c.
Referenced by jlink_init(), jlink_open_device(), and jlink_quit().
struct adapter_driver jlink_adapter_driver |
|
static |
|
static |
|
static |
|
static |
Definition at line 107 of file jlink.c.
Referenced by jlink_flush().
|
static |
|
static |
|
static |
|
static |
Definition at line 37 of file jlink.c.
Referenced by COMMAND_HANDLER(), jlink_flush(), and jlink_init().
|
static |
Definition at line 1983 of file jlink.c.
Referenced by jlink_clock_data(), jlink_flush(), and jlink_swd_run_queue().
|
static |
Definition at line 1983 of file jlink.c.
Referenced by jlink_clock_data(), jlink_flush(), jlink_swd_run_queue(), and jlink_tap_init().
|
static |
Definition at line 113 of file jlink.c.
Referenced by jlink_swd_run_queue().
|
static |
Definition at line 43 of file jlink.c.
Referenced by jlink_init(), and jlink_open_device().
uint8_t subnet_mask[4] |
Definition at line 8 of file jlink.c.
Referenced by COMMAND_HANDLER().
|
static |
Definition at line 54 of file jlink.c.
Referenced by adjust_swd_buffer_size().
|
static |
Definition at line 1964 of file jlink.c.
Referenced by fill_buffer(), jlink_clock_data(), jlink_flush(), jlink_queue_data_in(), jlink_queue_data_out(), jlink_swd_run_queue(), and jlink_tap_init().
uint32_t target_power |
Definition at line 3 of file jlink.c.
Referenced by show_config_target_power().
|
static |
Definition at line 1967 of file jlink.c.
Referenced by jlink_clock_data(), jlink_flush(), jlink_queue_data_out(), jlink_swd_run_queue(), and jlink_tap_init().
|
static |
Definition at line 1968 of file jlink.c.
Referenced by jlink_flush(), and jlink_swd_run_queue().
|
static |
Definition at line 54 of file jlink.c.
Referenced by COMMAND_HANDLER(), jlink_init(), show_config_ip_address(), show_config_mac_address(), show_config_target_power(), and show_config_usb_address().
|
static |
Definition at line 1966 of file jlink.c.
Referenced by jlink_clock_data(), jlink_flush(), jlink_queue_data_in(), jlink_queue_data_out(), jlink_swd_run_queue(), and jlink_tap_init().
|
static |
Definition at line 49 of file jlink.c.
Referenced by cmsis_dap_config_trace(), config_trace(), and jlink_quit().
|
static |
Definition at line 45 of file jlink.c.
Referenced by COMMAND_HANDLER(), and jlink_open_device().
|
static |
Definition at line 44 of file jlink.c.
Referenced by jlink_init(), and jlink_open_device().
|
static |
Definition at line 47 of file jlink.c.
Referenced by COMMAND_HANDLER(), jlink_init(), and jlink_open_device().
|
static |
Definition at line 45 of file jlink.c.
Referenced by jlink_open_device().