OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | stm32h7x_flash_bank |
struct | stm32h7x_part_info |
struct | stm32h7x_rev |
Macros | |
#define | DBGMCU_IDCODE_REGISTER 0x5C001000 |
#define | DEVID_STM32H72_H73XX 0x483 |
#define | DEVID_STM32H74_H75XX 0x450 |
#define | DEVID_STM32H7A_H7BXX 0x480 |
#define | FLASH_ACR 0x00 |
#define | FLASH_BANK0_ADDRESS 0x08000000 |
#define | FLASH_BANK1_ADDRESS 0x08100000 |
#define | FLASH_BER (1 << 3) |
#define | FLASH_BSY (1 << 0) /* Operation in progress */ |
#define | FLASH_CCR 0x14 |
#define | FLASH_CR 0x0C |
#define | FLASH_DBECCERR (1 << 26) /* Double ECC error */ |
#define | FLASH_ERASE_TIMEOUT 10000 |
#define | FLASH_ERROR |
#define | FLASH_FW (1 << 6) |
#define | FLASH_INCERR (1 << 21) /* Inconsistency error */ |
#define | FLASH_KEYR 0x04 |
#define | FLASH_LOCK (1 << 0) |
#define | FLASH_OPERR (1 << 22) /* Operation error */ |
#define | FLASH_OPTCCR 0x24 |
#define | FLASH_OPTCR 0x18 |
#define | FLASH_OPTKEYR 0x08 |
#define | FLASH_OPTSR_CUR 0x1C |
#define | FLASH_OPTSR_PRG 0x20 |
#define | FLASH_PG (1 << 1) |
#define | FLASH_PGSERR (1 << 18) /* Programming sequence error */ |
#define | FLASH_PSIZE_16 (1 << 4) |
#define | FLASH_PSIZE_32 (2 << 4) |
#define | FLASH_PSIZE_64 (3 << 4) |
#define | FLASH_PSIZE_8 (0 << 4) |
#define | FLASH_QW (1 << 2) /* Operation queue in progress */ |
#define | FLASH_RDPERR (1 << 23) /* Read Protection error */ |
#define | FLASH_RDSERR (1 << 24) /* Secure Protection error */ |
#define | FLASH_REG_BASE_B0 0x52002000 |
#define | FLASH_REG_BASE_B1 0x52002100 |
#define | FLASH_SER (1 << 2) |
#define | FLASH_SNECCERR (1 << 25) /* Single ECC error */ |
#define | FLASH_SR 0x10 |
#define | FLASH_START (1 << 7) |
#define | FLASH_STRBERR (1 << 19) /* Strobe error */ |
#define | FLASH_WPSN_CUR 0x38 |
#define | FLASH_WPSN_PRG 0x3C |
#define | FLASH_WRITE_TIMEOUT 5 |
#define | FLASH_WRPERR (1 << 17) /* Write protection error */ |
#define | KEY1 0x45670123 |
#define | KEY2 0xCDEF89AB |
#define | OPT_BSY (1 << 0) |
#define | OPT_CLR_OPTCHANGEERR (1 << 30) |
#define | OPT_LOCK (1 << 0) |
#define | OPT_OPTCHANGEERR (1 << 30) |
#define | OPT_RDP_MASK (0xff << OPT_RDP_POS) |
#define | OPT_RDP_POS 8 |
#define | OPT_START (1 << 1) |
#define | OPTKEY1 0x08192A3B |
#define | OPTKEY2 0x4C5D6E7F |
Enumerations | |
enum | stm32h7x_opt_rdp { OPT_RDP_L0 = 0xaa , OPT_RDP_L1 = 0x00 , OPT_RDP_L2 = 0xcc } |
Functions | |
COMMAND_HANDLER (stm32x_handle_lock_command) | |
COMMAND_HANDLER (stm32x_handle_mass_erase_command) | |
COMMAND_HANDLER (stm32x_handle_option_read_command) | |
COMMAND_HANDLER (stm32x_handle_option_write_command) | |
COMMAND_HANDLER (stm32x_handle_unlock_command) | |
FLASH_BANK_COMMAND_HANDLER (stm32x_flash_bank_command) | |
static uint32_t | stm32h74_h75xx_compute_flash_cr (uint32_t cmd, int snb) |
static uint32_t | stm32h7a_h7bxx_compute_flash_cr (uint32_t cmd, int snb) |
static int | stm32x_auto_probe (struct flash_bank *bank) |
static int | stm32x_erase (struct flash_bank *bank, unsigned int first, unsigned int last) |
static uint32_t | stm32x_get_flash_reg (struct flash_bank *bank, uint32_t reg_offset) |
static int | stm32x_get_flash_status (struct flash_bank *bank, uint32_t *status) |
static int | stm32x_get_info (struct flash_bank *bank, struct command_invocation *cmd) |
static int | stm32x_lock_option_reg (struct flash_bank *bank) |
static int | stm32x_lock_reg (struct flash_bank *bank) |
static int | stm32x_mass_erase (struct flash_bank *bank) |
static int | stm32x_modify_option (struct flash_bank *bank, uint32_t reg_offset, uint32_t value, uint32_t mask) |
static int | stm32x_probe (struct flash_bank *bank) |
static int | stm32x_protect (struct flash_bank *bank, int set, unsigned int first, unsigned int last) |
static int | stm32x_protect_check (struct flash_bank *bank) |
static int | stm32x_read_flash_reg (struct flash_bank *bank, uint32_t reg_offset, uint32_t *value) |
static int | stm32x_read_id_code (struct flash_bank *bank, uint32_t *id) |
static int | stm32x_set_rdp (struct flash_bank *bank, enum stm32h7x_opt_rdp new_rdp) |
static int | stm32x_unlock_option_reg (struct flash_bank *bank) |
static int | stm32x_unlock_reg (struct flash_bank *bank) |
static int | stm32x_wait_flash_op_queue (struct flash_bank *bank, int timeout) |
static int | stm32x_write (struct flash_bank *bank, const uint8_t *buffer, uint32_t offset, uint32_t count) |
static int | stm32x_write_block (struct flash_bank *bank, const uint8_t *buffer, uint32_t offset, uint32_t count) |
static int | stm32x_write_flash_reg (struct flash_bank *bank, uint32_t reg_offset, uint32_t value) |
static int | stm32x_write_option (struct flash_bank *bank, uint32_t reg_offset, uint32_t value) |
Variables | |
static const struct stm32h7x_rev | stm32h72_h73xx_revs [] |
static const struct stm32h7x_rev | stm32h74_h75xx_revs [] |
static const struct stm32h7x_rev | stm32h7a_h7bxx_revs [] |
static const struct command_registration | stm32h7x_command_handlers [] |
static const struct command_registration | stm32h7x_exec_command_handlers [] |
const struct flash_driver | stm32h7x_flash |
static const struct stm32h7x_part_info | stm32h7x_parts [] |
#define DBGMCU_IDCODE_REGISTER 0x5C001000 |
Definition at line 86 of file stm32h7x.c.
#define DEVID_STM32H72_H73XX 0x483 |
Definition at line 95 of file stm32h7x.c.
#define DEVID_STM32H74_H75XX 0x450 |
Definition at line 93 of file stm32h7x.c.
#define DEVID_STM32H7A_H7BXX 0x480 |
Definition at line 94 of file stm32h7x.c.
#define FLASH_ACR 0x00 |
Definition at line 23 of file stm32h7x.c.
#define FLASH_BANK0_ADDRESS 0x08000000 |
Definition at line 87 of file stm32h7x.c.
#define FLASH_BANK1_ADDRESS 0x08100000 |
Definition at line 88 of file stm32h7x.c.
#define FLASH_BER (1 << 3) |
Definition at line 41 of file stm32h7x.c.
#define FLASH_BSY (1 << 0) /* Operation in progress */ |
Definition at line 50 of file stm32h7x.c.
#define FLASH_CCR 0x14 |
Definition at line 28 of file stm32h7x.c.
#define FLASH_CR 0x0C |
Definition at line 26 of file stm32h7x.c.
#define FLASH_DBECCERR (1 << 26) /* Double ECC error */ |
Definition at line 60 of file stm32h7x.c.
#define FLASH_ERASE_TIMEOUT 10000 |
Definition at line 17 of file stm32h7x.c.
#define FLASH_ERROR |
Definition at line 62 of file stm32h7x.c.
#define FLASH_FW (1 << 6) |
Definition at line 46 of file stm32h7x.c.
#define FLASH_INCERR (1 << 21) /* Inconsistency error */ |
Definition at line 55 of file stm32h7x.c.
#define FLASH_KEYR 0x04 |
Definition at line 24 of file stm32h7x.c.
#define FLASH_LOCK (1 << 0) |
Definition at line 38 of file stm32h7x.c.
#define FLASH_OPERR (1 << 22) /* Operation error */ |
Definition at line 56 of file stm32h7x.c.
#define FLASH_OPTCCR 0x24 |
Definition at line 32 of file stm32h7x.c.
#define FLASH_OPTCR 0x18 |
Definition at line 29 of file stm32h7x.c.
#define FLASH_OPTKEYR 0x08 |
Definition at line 25 of file stm32h7x.c.
#define FLASH_OPTSR_CUR 0x1C |
Definition at line 30 of file stm32h7x.c.
#define FLASH_OPTSR_PRG 0x20 |
Definition at line 31 of file stm32h7x.c.
#define FLASH_PG (1 << 1) |
Definition at line 39 of file stm32h7x.c.
#define FLASH_PGSERR (1 << 18) /* Programming sequence error */ |
Definition at line 53 of file stm32h7x.c.
#define FLASH_PSIZE_16 (1 << 4) |
Definition at line 43 of file stm32h7x.c.
#define FLASH_PSIZE_32 (2 << 4) |
Definition at line 44 of file stm32h7x.c.
#define FLASH_PSIZE_64 (3 << 4) |
Definition at line 45 of file stm32h7x.c.
#define FLASH_PSIZE_8 (0 << 4) |
Definition at line 42 of file stm32h7x.c.
#define FLASH_QW (1 << 2) /* Operation queue in progress */ |
Definition at line 51 of file stm32h7x.c.
#define FLASH_RDPERR (1 << 23) /* Read Protection error */ |
Definition at line 57 of file stm32h7x.c.
#define FLASH_RDSERR (1 << 24) /* Secure Protection error */ |
Definition at line 58 of file stm32h7x.c.
#define FLASH_REG_BASE_B0 0x52002000 |
Definition at line 89 of file stm32h7x.c.
#define FLASH_REG_BASE_B1 0x52002100 |
Definition at line 90 of file stm32h7x.c.
#define FLASH_SER (1 << 2) |
Definition at line 40 of file stm32h7x.c.
#define FLASH_SNECCERR (1 << 25) /* Single ECC error */ |
Definition at line 59 of file stm32h7x.c.
#define FLASH_SR 0x10 |
Definition at line 27 of file stm32h7x.c.
#define FLASH_START (1 << 7) |
Definition at line 47 of file stm32h7x.c.
#define FLASH_STRBERR (1 << 19) /* Strobe error */ |
Definition at line 54 of file stm32h7x.c.
#define FLASH_WPSN_CUR 0x38 |
Definition at line 33 of file stm32h7x.c.
#define FLASH_WPSN_PRG 0x3C |
Definition at line 34 of file stm32h7x.c.
#define FLASH_WRITE_TIMEOUT 5 |
Definition at line 18 of file stm32h7x.c.
#define FLASH_WRPERR (1 << 17) /* Write protection error */ |
Definition at line 52 of file stm32h7x.c.
#define KEY1 0x45670123 |
Definition at line 79 of file stm32h7x.c.
#define KEY2 0xCDEF89AB |
Definition at line 80 of file stm32h7x.c.
#define OPT_BSY (1 << 0) |
Definition at line 70 of file stm32h7x.c.
#define OPT_CLR_OPTCHANGEERR (1 << 30) |
Definition at line 76 of file stm32h7x.c.
#define OPT_LOCK (1 << 0) |
Definition at line 66 of file stm32h7x.c.
#define OPT_OPTCHANGEERR (1 << 30) |
Definition at line 73 of file stm32h7x.c.
#define OPT_RDP_MASK (0xff << OPT_RDP_POS) |
Definition at line 72 of file stm32h7x.c.
#define OPT_RDP_POS 8 |
Definition at line 71 of file stm32h7x.c.
#define OPT_START (1 << 1) |
Definition at line 67 of file stm32h7x.c.
#define OPTKEY1 0x08192A3B |
Definition at line 83 of file stm32h7x.c.
#define OPTKEY2 0x4C5D6E7F |
Definition at line 84 of file stm32h7x.c.
enum stm32h7x_opt_rdp |
Enumerator | |
---|---|
OPT_RDP_L0 | |
OPT_RDP_L1 | |
OPT_RDP_L2 |
Definition at line 130 of file stm32h7x.c.
COMMAND_HANDLER | ( | stm32x_handle_lock_command | ) |
Definition at line 1003 of file stm32h7x.c.
References bank, CALL_COMMAND_HANDLER, CMD, CMD_ARGC, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, OPT_RDP_L1, and stm32x_set_rdp().
COMMAND_HANDLER | ( | stm32x_handle_mass_erase_command | ) |
Definition at line 1081 of file stm32h7x.c.
References bank, CALL_COMMAND_HANDLER, CMD, CMD_ARGC, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, and stm32x_mass_erase().
COMMAND_HANDLER | ( | stm32x_handle_option_read_command | ) |
Definition at line 1102 of file stm32h7x.c.
References bank, CALL_COMMAND_HANDLER, CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, stm32x_get_flash_reg(), and stm32x_read_flash_reg().
COMMAND_HANDLER | ( | stm32x_handle_option_write_command | ) |
Definition at line 1127 of file stm32h7x.c.
References bank, CALL_COMMAND_HANDLER, CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, mask, and stm32x_modify_option().
COMMAND_HANDLER | ( | stm32x_handle_unlock_command | ) |
Definition at line 1023 of file stm32h7x.c.
References bank, CALL_COMMAND_HANDLER, CMD, CMD_ARGC, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, OPT_RDP_L0, and stm32x_set_rdp().
FLASH_BANK_COMMAND_HANDLER | ( | stm32x_flash_bank_command | ) |
Definition at line 214 of file stm32h7x.c.
References bank, CMD_ARGC, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, stm32h7x_flash_bank::probed, and stm32h7x_flash_bank::user_bank_size.
|
static |
Definition at line 148 of file stm32h7x.c.
References cmd.
|
static |
Definition at line 153 of file stm32h7x.c.
References cmd, FLASH_FW, FLASH_PSIZE_64, and FLASH_START.
|
static |
Definition at line 912 of file stm32h7x.c.
References bank, ERROR_OK, stm32h7x_flash_bank::probed, and stm32x_probe().
|
static |
Definition at line 463 of file stm32h7x.c.
References bank, stm32h7x_part_info::compute_flash_cr, ERROR_OK, ERROR_TARGET_NOT_HALTED, FLASH_CR, FLASH_ERASE_TIMEOUT, FLASH_PSIZE_64, FLASH_SER, FLASH_START, LOG_DEBUG, LOG_ERROR, stm32h7x_flash_bank::part_info, stm32x_lock_reg(), stm32x_unlock_reg(), stm32x_wait_flash_op_queue(), stm32x_write_flash_reg(), and TARGET_HALTED.
|
inlinestatic |
Definition at line 230 of file stm32h7x.c.
References bank, and stm32h7x_flash_bank::flash_regs_base.
Referenced by COMMAND_HANDLER(), stm32x_read_flash_reg(), and stm32x_write_flash_reg().
|
inlinestatic |
Definition at line 258 of file stm32h7x.c.
References bank, FLASH_SR, status, and stm32x_read_flash_reg().
Referenced by stm32x_wait_flash_op_queue().
|
static |
Definition at line 923 of file stm32h7x.c.
References bank, cmd, command_print_sameline(), stm32h7x_part_info::device_str, ERROR_FAIL, ERROR_OK, stm32h7x_flash_bank::idcode, info, NULL, stm32h7x_flash_bank::part_info, stm32h7x_flash_bank::probed, and stm32x_probe().
|
inlinestatic |
Definition at line 370 of file stm32h7x.c.
References bank, FLASH_OPTCR, OPT_LOCK, and stm32x_write_flash_reg().
Referenced by stm32x_write_option().
|
inlinestatic |
Definition at line 365 of file stm32h7x.c.
References bank, FLASH_CR, FLASH_LOCK, and stm32x_write_flash_reg().
Referenced by stm32x_erase(), stm32x_mass_erase(), and stm32x_write().
|
static |
Definition at line 1043 of file stm32h7x.c.
References bank, stm32h7x_part_info::compute_flash_cr, ERROR_OK, ERROR_TARGET_NOT_HALTED, FLASH_BER, FLASH_CR, FLASH_PSIZE_64, FLASH_START, LOG_ERROR, stm32h7x_flash_bank::part_info, target::state, stm32x_lock_reg(), stm32x_unlock_reg(), stm32x_wait_flash_op_queue(), stm32x_write_flash_reg(), and TARGET_HALTED.
Referenced by COMMAND_HANDLER().
|
static |
Definition at line 433 of file stm32h7x.c.
References bank, ERROR_OK, mask, stm32x_read_flash_reg(), and stm32x_write_option().
Referenced by COMMAND_HANDLER().
|
static |
Definition at line 749 of file stm32h7x.c.
References alloc_block_array(), ARRAY_SIZE, bank, stm32h7x_part_info::block_size, CORTEX_M4_PARTNO, cortex_m_get_partno_safe(), stm32h7x_part_info::device_str, DEVID_STM32H72_H73XX, DEVID_STM32H74_H75XX, DEVID_STM32H7A_H7BXX, ERROR_FAIL, ERROR_OK, ERROR_TARGET_NOT_EXAMINED, FLASH_BANK0_ADDRESS, FLASH_BANK1_ADDRESS, FLASH_REG_BASE_B0, FLASH_REG_BASE_B1, stm32h7x_flash_bank::flash_regs_base, stm32h7x_part_info::fsize_addr, stm32h7x_part_info::has_dual_bank, stm32h7x_flash_bank::idcode, LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING, stm32h7x_part_info::max_bank_size_kb, stm32h7x_part_info::max_flash_size_kb, NULL, stm32h7x_part_info::page_size_kb, stm32h7x_flash_bank::part_info, stm32h7x_flash_bank::probed, stm32h7x_parts, stm32x_read_id_code(), TARGET_ADDR_FMT, target_name(), target_read_u16(), target_was_examined(), stm32h7x_flash_bank::user_bank_size, and stm32h7x_part_info::wps_group_size.
Referenced by stm32x_auto_probe(), and stm32x_get_info().
|
static |
Definition at line 519 of file stm32h7x.c.
References bank, ERROR_OK, ERROR_TARGET_NOT_HALTED, FLASH_WPSN_CUR, FLASH_WPSN_PRG, LOG_DEBUG, LOG_ERROR, stm32h7x_flash_bank::part_info, target::state, stm32x_read_flash_reg(), stm32x_write_option(), TARGET_HALTED, and stm32h7x_part_info::wps_mask.
|
static |
Definition at line 446 of file stm32h7x.c.
References bank, ERROR_OK, FLASH_WPSN_CUR, LOG_DEBUG, and stm32x_read_flash_reg().
|
inlinestatic |
Definition at line 236 of file stm32h7x.c.
References bank, ERROR_OK, LOG_ERROR, stm32x_get_flash_reg(), and target_read_u32().
Referenced by COMMAND_HANDLER(), stm32x_get_flash_status(), stm32x_modify_option(), stm32x_protect(), stm32x_protect_check(), stm32x_set_rdp(), stm32x_unlock_option_reg(), stm32x_unlock_reg(), and stm32x_write_option().
|
static |
Definition at line 740 of file stm32h7x.c.
References bank, DBGMCU_IDCODE_REGISTER, ERROR_OK, and target_read_u32().
Referenced by stm32x_probe().
|
static |
Definition at line 959 of file stm32h7x.c.
References bank, ERROR_OK, ERROR_TARGET_NOT_HALTED, FLASH_OPTSR_PRG, LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING, OPT_RDP_L0, OPT_RDP_L1, OPT_RDP_L2, OPT_RDP_MASK, OPT_RDP_POS, target::state, stm32x_read_flash_reg(), stm32x_write_option(), and TARGET_HALTED.
Referenced by COMMAND_HANDLER().
|
static |
Definition at line 333 of file stm32h7x.c.
References bank, ctrl, ERROR_OK, ERROR_TARGET_FAILURE, FLASH_OPTCR, FLASH_OPTKEYR, LOG_ERROR, OPT_LOCK, OPTKEY1, OPTKEY2, stm32x_read_flash_reg(), and stm32x_write_flash_reg().
Referenced by stm32x_write_option().
|
static |
Definition at line 299 of file stm32h7x.c.
References bank, ctrl, ERROR_OK, ERROR_TARGET_FAILURE, FLASH_CR, FLASH_KEYR, FLASH_LOCK, KEY1, KEY2, LOG_ERROR, stm32x_read_flash_reg(), and stm32x_write_flash_reg().
Referenced by stm32x_erase(), stm32x_mass_erase(), and stm32x_write().
|
static |
Definition at line 263 of file stm32h7x.c.
References alive_sleep(), bank, ERROR_FAIL, ERROR_OK, FLASH_CCR, FLASH_ERROR, FLASH_QW, FLASH_WRPERR, LOG_ERROR, status, stm32x_get_flash_status(), and stm32x_write_flash_reg().
Referenced by stm32x_erase(), stm32x_mass_erase(), and stm32x_write().
|
static |
Definition at line 661 of file stm32h7x.c.
References bank, stm32h7x_part_info::block_size, buffer, stm32h7x_part_info::compute_flash_cr, count, ERROR_OK, ERROR_TARGET_NOT_HALTED, ERROR_TARGET_RESOURCE_NOT_AVAILABLE, FLASH_CR, FLASH_PG, FLASH_PSIZE_64, FLASH_WRITE_TIMEOUT, LOG_ERROR, LOG_WARNING, offset, stm32h7x_flash_bank::part_info, stm32x_lock_reg(), stm32x_unlock_reg(), stm32x_wait_flash_op_queue(), stm32x_write_block(), stm32x_write_flash_reg(), TARGET_HALTED, and target_write_buffer().
|
static |
Definition at line 554 of file stm32h7x.c.
References working_area::address, ARM_MODE_THREAD, ARMV7M_COMMON_MAGIC, ARRAY_SIZE, bank, stm32h7x_part_info::block_size, buf_get_u32(), buf_set_u32(), buffer, armv7m_algorithm::common_magic, armv7m_algorithm::core_mode, count, destroy_reg_param(), ERROR_FAIL, ERROR_FLASH_OPERATION_FAILED, ERROR_OK, ERROR_TARGET_RESOURCE_NOT_AVAILABLE, FLASH_CCR, FLASH_ERROR, stm32h7x_flash_bank::flash_regs_base, FLASH_WRPERR, init_reg_param(), LOG_DEBUG, LOG_ERROR, LOG_WARNING, NULL, offset, PARAM_IN_OUT, PARAM_OUT, stm32h7x_flash_bank::part_info, source, stm32x_write_flash_reg(), target_alloc_working_area(), target_alloc_working_area_try(), target_free_working_area(), target_run_flash_async_algorithm(), and target_write_buffer().
Referenced by stm32x_write().
|
inlinestatic |
Definition at line 247 of file stm32h7x.c.
References bank, ERROR_OK, LOG_ERROR, stm32x_get_flash_reg(), and target_write_u32().
Referenced by stm32x_erase(), stm32x_lock_option_reg(), stm32x_lock_reg(), stm32x_mass_erase(), stm32x_unlock_option_reg(), stm32x_unlock_reg(), stm32x_wait_flash_op_queue(), stm32x_write(), stm32x_write_block(), and stm32x_write_option().
|
static |
Definition at line 375 of file stm32h7x.c.
References alive_sleep(), bank, ERROR_FAIL, ERROR_FLASH_OPERATION_FAILED, ERROR_OK, FLASH_ERASE_TIMEOUT, FLASH_OPTCCR, FLASH_OPTCR, FLASH_OPTSR_CUR, LOG_ERROR, OPT_BSY, OPT_CLR_OPTCHANGEERR, OPT_OPTCHANGEERR, OPT_START, status, stm32x_lock_option_reg(), stm32x_read_flash_reg(), stm32x_unlock_option_reg(), and stm32x_write_flash_reg().
Referenced by stm32x_modify_option(), stm32x_protect(), and stm32x_set_rdp().
|
static |
Definition at line 1 of file stm32h7x.c.
|
static |
Definition at line 1 of file stm32h7x.c.
|
static |
Definition at line 1 of file stm32h7x.c.
|
static |
Definition at line 1127 of file stm32h7x.c.
|
static |
Definition at line 1127 of file stm32h7x.c.
const struct flash_driver stm32h7x_flash |
Definition at line 1127 of file stm32h7x.c.
|
static |
Definition at line 153 of file stm32h7x.c.
Referenced by stm32x_probe().