OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | cc3220sf_bank |
Macros | |
#define | FLASH_TIMEOUT 5000 |
Functions | |
static int | cc3220sf_auto_probe (struct flash_bank *bank) |
static int | cc3220sf_erase (struct flash_bank *bank, unsigned int first, unsigned int last) |
static int | cc3220sf_info (struct flash_bank *bank, struct command_invocation *cmd) |
static int | cc3220sf_mass_erase (struct flash_bank *bank) |
static int | cc3220sf_probe (struct flash_bank *bank) |
static int | cc3220sf_write (struct flash_bank *bank, const uint8_t *buffer, uint32_t offset, uint32_t count) |
FLASH_BANK_COMMAND_HANDLER (cc3220sf_flash_bank_command) | |
Variables | |
static const uint8_t | cc3220sf_algo [] |
const struct flash_driver | cc3220sf_flash |
#define FLASH_TIMEOUT 5000 |
Definition at line 18 of file cc3220sf.c.
|
static |
Definition at line 463 of file cc3220sf.c.
References bank, cc3220sf_probe(), ERROR_OK, and cc3220sf_bank::probed.
|
static |
Definition at line 104 of file cc3220sf.c.
References bank, cc3220sf_mass_erase(), ERROR_FAIL, ERROR_OK, ERROR_TARGET_NOT_HALTED, FLASH_BASE_ADDR, FLASH_SECTOR_SIZE, FLASH_TIMEOUT, FMA_REGISTER_ADDR, FMC_ERASE_BIT, FMC_ERASE_VALUE, FMC_REGISTER_ADDR, keep_alive(), LOG_ERROR, target::state, TARGET_HALTED, target_read_u32(), target_write_u32(), and timeval_ms().
|
static |
Definition at line 475 of file cc3220sf.c.
|
static |
Definition at line 30 of file cc3220sf.c.
References bank, ERROR_FAIL, ERROR_OK, ERROR_TARGET_NOT_HALTED, FLASH_TIMEOUT, FMA_REGISTER_ADDR, FMC_MERASE_BIT, FMC_MERASE_VALUE, FMC_REGISTER_ADDR, keep_alive(), LOG_ERROR, target::state, TARGET_HALTED, target_read_u32(), target_write_u32(), and timeval_ms().
Referenced by cc3220sf_erase().
|
static |
Definition at line 424 of file cc3220sf.c.
References bank, ERROR_FAIL, ERROR_OK, FLASH_BASE_ADDR, FLASH_NUM_SECTORS, FLASH_SECTOR_SIZE, cc3220sf_bank::probed, and size.
Referenced by cc3220sf_auto_probe().
|
static |
Definition at line 172 of file cc3220sf.c.
References working_area::address, ARM_MODE_THREAD, ARMV7M_COMMON_MAGIC, cc3220sf_bank::armv7m_info, bank, buf_get_u32(), buf_set_u32(), buffer, cc3220sf_algo, armv7m_algorithm::common_magic, armv7m_algorithm::core_mode, count, destroy_reg_param(), ERROR_FAIL, ERROR_OK, ERROR_TARGET_NOT_HALTED, FLASH_BASE_ADDR, FLASH_TIMEOUT, init_reg_param(), keep_alive(), LOG_ERROR, NULL, offset, PARAM_IN_OUT, PARAM_OUT, working_area::size, target::state, target_alloc_working_area(), target_free_working_area(), target_get_working_area_avail(), TARGET_HALTED, target_read_buffer(), target_run_algorithm(), target_write_buffer(), and reg_param::value.
FLASH_BANK_COMMAND_HANDLER | ( | cc3220sf_flash_bank_command | ) |
Definition at line 83 of file cc3220sf.c.
References bank, CMD_ARGC, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, NULL, and cc3220sf_bank::probed.
|
static |
const struct flash_driver cc3220sf_flash |
Definition at line 475 of file cc3220sf.c.