|
OpenOCD
|

Go to the source code of this file.
Data Structures | |
| struct | nrf54_ficr_info |
| struct | nrf54_info |
Macros | |
| #define | NRF54_FICR_BASE_ADDR 0x00FFC000 |
| #define | NRF54_FICR_INFO_PACKAGE_REG 0x324 |
| #define | NRF54_FICR_INFO_PART_REG 0x31c |
| #define | NRF54_FICR_INFO_RAM_REG 0x328 |
| #define | NRF54_FICR_INFO_RRAM_REG 0x32C |
| #define | NRF54_FICR_INFO_VARIANT_REG 0x320 |
| #define | NRF54_RRAM_BASE_ADDR 0x00000000 |
| #define | NRF54_RRAMC_BASE_ADDR 0x5004B000 |
| #define | NRF54_RRAMC_CONFIG_WEN BIT(0) |
| #define | NRF54_RRAMC_REG_CONFIG 0x500 |
| #define | NRF54_RRAMC_REG_READY 0x400 |
Functions | |
| FLASH_BANK_COMMAND_HANDLER (nrf54_flash_bank_command) | |
| static int | nrf54_auto_probe (struct flash_bank *bank) |
| static bool | nrf54_get_chip_type_str (const struct nrf54_info *info, char *buf, size_t size) |
| static const char * | nrf54_get_part_name (uint32_t id) |
| static int | nrf54_info (struct flash_bank *bank, struct command_invocation *cmd) |
| static int | nrf54_probe (struct flash_bank *bank) |
| static int | nrf54_read_ficr_info (struct target *target, struct nrf54_ficr_info *info) |
| static void | nrf54_u32_to_str (uint32_t data, char *str) |
| static int | nrf54_wait_until_ready (struct target *target, uint32_t timeout) |
| static int | nrf54_write (struct flash_bank *bank, const uint8_t *buffer, uint32_t offset, uint32_t count) |
Variables | |
| static const struct command_registration | nrf54_command_handlers [] |
| const struct flash_driver | nrf54_flash |
| struct { | |
| uint32_t id | |
| const char * name | |
| } | nrf54_part_names [] |
| FLASH_BANK_COMMAND_HANDLER | ( | nrf54_flash_bank_command | ) |
Definition at line 328 of file nrf54.c.
References bank, ERROR_FAIL, ERROR_OK, LOG_ERROR, nrf54_info(), NRF54_RRAM_BASE_ADDR, and nrf54_info::probed.
|
static |
|
static |
Definition at line 127 of file nrf54.c.
References info, nrf54_u32_to_str(), nrf54_ficr_info::package, size, and nrf54_ficr_info::variant.
Referenced by nrf54_info().
|
static |
Definition at line 108 of file nrf54.c.
References ARRAY_SIZE, nrf54_part_names, and NULL.
Referenced by nrf54_probe().
|
static |
Definition at line 149 of file nrf54.c.
References bank, cmd, command_print_sameline(), ERROR_FAIL, ERROR_OK, info, LOG_ERROR, and nrf54_get_chip_type_str().
Referenced by FLASH_BANK_COMMAND_HANDLER().
|
static |
Definition at line 165 of file nrf54.c.
References bank, ERROR_FAIL, ERROR_OK, nrf54_info::ficr_info, LOG_ERROR, nrf54_get_part_name(), nrf54_read_ficr_info(), nrf54_ficr_info::part, nrf54_info::part_name, nrf54_info::probed, and nrf54_ficr_info::rram_size.
Referenced by nrf54_auto_probe().
|
static |
Definition at line 77 of file nrf54.c.
References ERROR_OK, info, NRF54_FICR_BASE_ADDR, NRF54_FICR_INFO_PACKAGE_REG, NRF54_FICR_INFO_PART_REG, NRF54_FICR_INFO_RAM_REG, NRF54_FICR_INFO_RRAM_REG, NRF54_FICR_INFO_VARIANT_REG, and target_read_u32().
Referenced by nrf54_probe().
|
static |
Definition at line 118 of file nrf54.c.
References h_u32_to_be().
Referenced by nrf54_get_chip_type_str().
|
static |
Definition at line 207 of file nrf54.c.
References ERROR_FAIL, ERROR_OK, keep_alive(), LOG_ERROR, NRF54_RRAMC_BASE_ADDR, NRF54_RRAMC_REG_READY, target_read_u32(), and timeval_ms().
Referenced by nrf54_write().
|
static |
Definition at line 239 of file nrf54.c.
References bank, buffer, buffer_size, count, ERROR_OK, ERROR_TARGET_NOT_HALTED, LOG_DEBUG, LOG_ERROR, MIN, NRF54_RRAMC_BASE_ADDR, NRF54_RRAMC_CONFIG_WEN, NRF54_RRAMC_REG_CONFIG, nrf54_wait_until_ready(), offset, target::state, TARGET_HALTED, target_read_u32(), target_write_buffer(), and target_write_u32().
| uint32_t id |
Definition at line 43 of file nrf54.c.
Referenced by cmsis_dap_usb_open(), COMMAND_HELPER(), eneispif_probe(), esirisc_trace_analyze_full(), gowin_load_to_sram(), jep106_table_manufacturer(), jtagspi_probe(), sam4l_probe(), samd_get_reservedmask(), samd_probe(), same5_probe(), versaloon_set_pending_id(), and xcf_probe().
|
static |
| const struct flash_driver nrf54_flash |
| struct { ... } nrf54_part_names[] |
Referenced by nrf54_get_part_name().