OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | ocl_priv |
Functions | |
FLASH_BANK_COMMAND_HANDLER (ocl_flash_bank_command) | |
static int | ocl_auto_probe (struct flash_bank *bank) |
static int | ocl_erase (struct flash_bank *bank, unsigned int first, unsigned int last) |
static int | ocl_probe (struct flash_bank *bank) |
static int | ocl_write (struct flash_bank *bank, const uint8_t *buffer, uint32_t offset, uint32_t count) |
Variables | |
const struct flash_driver | ocl_flash |
FLASH_BANK_COMMAND_HANDLER | ( | ocl_flash_bank_command | ) |
Definition at line 23 of file ocl.c.
References bank, ocl_priv::bufalign, ocl_priv::buflen, CMD_ARGC, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, ERROR_TARGET_INVALID, is_arm7_9(), ocl_priv::jtag_info, arm7_9_common::jtag_info, and target_to_arm7_9().
|
static |
Definition at line 296 of file ocl.c.
References bank, ocl_priv::bufalign, ocl_priv::buflen, ERROR_FLASH_BANK_NOT_PROBED, and ERROR_OK.
|
static |
Definition at line 43 of file ocl.c.
References bank, dcc_buffer, EICE_COMM_CTRL_WBIT, embeddedice_handshake(), embeddedice_receive(), embeddedice_send(), ERROR_FLASH_BANK_NOT_PROBED, ERROR_FLASH_OPERATION_FAILED, ERROR_OK, ERROR_TARGET_NOT_RUNNING, ocl_priv::jtag_info, LOG_ERROR, OCL_CMD_DONE, OCL_ERASE_ALL, OCL_ERASE_BLOCK, and TARGET_RUNNING.
|
static |
Definition at line 194 of file ocl.c.
References bank, ocl_priv::bufalign, ocl_priv::buflen, dcc_buffer, EICE_COMM_CTRL_WBIT, embeddedice_handshake(), embeddedice_receive(), embeddedice_send(), ERROR_FLASH_BANK_INVALID, ERROR_FLASH_OPERATION_FAILED, ERROR_OK, ocl_priv::jtag_info, LOG_ERROR, OCL_CMD_DONE, and OCL_PROBE.
|
static |
Definition at line 94 of file ocl.c.
References bank, ocl_priv::bufalign, buffer, ocl_priv::buflen, count, dcc_buffer, EICE_COMM_CTRL_WBIT, embeddedice_handshake(), embeddedice_receive(), embeddedice_send(), ERROR_FLASH_BANK_NOT_PROBED, ERROR_FLASH_OPERATION_FAILED, ERROR_OK, ERROR_TARGET_NOT_RUNNING, ocl_priv::jtag_info, LOG_ERROR, OCL_CHKS_INIT, OCL_CMD_DONE, OCL_FLASH_BLOCK, offset, and TARGET_RUNNING.
const struct flash_driver ocl_flash |