OpenOCD
cfi_flash_bank Struct Reference

Data Fields

uint16_t alt_addr
 
void * alt_ext
 
uint16_t alt_id
 
unsigned block_erase_timeout
 
uint8_t block_erase_timeout_max
 
uint8_t block_erase_timeout_typ
 
unsigned buf_write_timeout
 
uint8_t buf_write_timeout_max
 
uint8_t buf_write_timeout_typ
 
unsigned chip_erase_timeout
 
uint8_t chip_erase_timeout_max
 
uint8_t chip_erase_timeout_typ
 
bool data_swap
 
uint32_t dev_size
 
uint16_t device_id
 
enum target_endianness endianness
 
uint32_t * erase_region_info
 
uint16_t interface_desc
 
bool jedec_probe
 
uint16_t manufacturer
 
uint16_t max_buf_write_size
 
bool not_cfi
 
uint8_t num_erase_regions
 
uint16_t pri_addr
 
void * pri_ext
 
uint16_t pri_id
 
bool probed
 
uint8_t qry [3]
 
int(* read_mem )(struct flash_bank *bank, target_addr_t addr, uint32_t count, uint8_t *buffer)
 
uint8_t status_poll_mask
 
uint8_t vcc_max
 
uint8_t vcc_min
 
uint8_t vpp_max
 
uint8_t vpp_min
 
unsigned word_write_timeout
 
uint8_t word_write_timeout_max
 
uint8_t word_write_timeout_typ
 
int(* write_mem )(struct flash_bank *bank, target_addr_t addr, uint32_t count, const uint8_t *buffer)
 
bool x16_as_x8
 

Detailed Description

Definition at line 14 of file cfi.h.

Field Documentation

◆ alt_addr

uint16_t cfi_flash_bank::alt_addr

Definition at line 32 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ alt_ext

void* cfi_flash_bank::alt_ext

Definition at line 58 of file cfi.h.

Referenced by cfi_fixup_non_cfi().

◆ alt_id

uint16_t cfi_flash_bank::alt_id

Definition at line 31 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ block_erase_timeout

unsigned cfi_flash_bank::block_erase_timeout

Definition at line 63 of file cfi.h.

Referenced by cfi_intel_erase(), cfi_probe(), and cfi_spansion_erase().

◆ block_erase_timeout_max

uint8_t cfi_flash_bank::block_erase_timeout_max

Definition at line 45 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ block_erase_timeout_typ

uint8_t cfi_flash_bank::block_erase_timeout_typ

Definition at line 41 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ buf_write_timeout

unsigned cfi_flash_bank::buf_write_timeout

Definition at line 62 of file cfi.h.

Referenced by cfi_intel_write_words(), cfi_probe(), and cfi_spansion_write_words().

◆ buf_write_timeout_max

uint8_t cfi_flash_bank::buf_write_timeout_max

Definition at line 44 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ buf_write_timeout_typ

uint8_t cfi_flash_bank::buf_write_timeout_typ

◆ chip_erase_timeout

unsigned cfi_flash_bank::chip_erase_timeout

Definition at line 64 of file cfi.h.

Referenced by cfi_probe().

◆ chip_erase_timeout_max

uint8_t cfi_flash_bank::chip_erase_timeout_max

Definition at line 46 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ chip_erase_timeout_typ

uint8_t cfi_flash_bank::chip_erase_timeout_typ

Definition at line 42 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ data_swap

bool cfi_flash_bank::data_swap

Definition at line 21 of file cfi.h.

Referenced by cfi_flash_bank_cmd(), cfi_write(), and rpchf_write().

◆ dev_size

uint32_t cfi_flash_bank::dev_size

Definition at line 51 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ device_id

uint16_t cfi_flash_bank::device_id

◆ endianness

enum target_endianness cfi_flash_bank::endianness

◆ erase_region_info

uint32_t* cfi_flash_bank::erase_region_info

Definition at line 55 of file cfi.h.

Referenced by cfi_fixup_0002_erase_regions(), cfi_fixup_non_cfi(), and cfi_probe().

◆ interface_desc

uint16_t cfi_flash_bank::interface_desc

Definition at line 52 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ jedec_probe

bool cfi_flash_bank::jedec_probe

Definition at line 16 of file cfi.h.

Referenced by cfi_flash_bank_cmd(), and cfi_probe().

◆ manufacturer

uint16_t cfi_flash_bank::manufacturer

◆ max_buf_write_size

uint16_t cfi_flash_bank::max_buf_write_size

◆ not_cfi

bool cfi_flash_bank::not_cfi

Definition at line 17 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ num_erase_regions

uint8_t cfi_flash_bank::num_erase_regions

Definition at line 54 of file cfi.h.

Referenced by cfi_fixup_0002_erase_regions(), cfi_fixup_non_cfi(), and cfi_probe().

◆ pri_addr

uint16_t cfi_flash_bank::pri_addr

◆ pri_ext

◆ pri_id

uint16_t cfi_flash_bank::pri_id

◆ probed

bool cfi_flash_bank::probed

Definition at line 18 of file cfi.h.

Referenced by cfi_auto_probe(), and cfi_probe().

◆ qry

◆ read_mem

int(* cfi_flash_bank::read_mem) (struct flash_bank *bank, target_addr_t addr, uint32_t count, uint8_t *buffer)

Definition at line 69 of file cfi.h.

Referenced by cfi_target_read_memory(), and FLASH_BANK_COMMAND_HANDLER().

◆ status_poll_mask

◆ vcc_max

uint8_t cfi_flash_bank::vcc_max

Definition at line 36 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ vcc_min

uint8_t cfi_flash_bank::vcc_min

Definition at line 35 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ vpp_max

uint8_t cfi_flash_bank::vpp_max

Definition at line 38 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ vpp_min

uint8_t cfi_flash_bank::vpp_min

Definition at line 37 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ word_write_timeout

unsigned cfi_flash_bank::word_write_timeout

◆ word_write_timeout_max

uint8_t cfi_flash_bank::word_write_timeout_max

Definition at line 43 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ word_write_timeout_typ

uint8_t cfi_flash_bank::word_write_timeout_typ

Definition at line 39 of file cfi.h.

Referenced by cfi_fixup_non_cfi(), cfi_get_info(), and cfi_probe().

◆ write_mem

int(* cfi_flash_bank::write_mem) (struct flash_bank *bank, target_addr_t addr, uint32_t count, const uint8_t *buffer)

Definition at line 67 of file cfi.h.

Referenced by cfi_target_write_memory(), and FLASH_BANK_COMMAND_HANDLER().

◆ x16_as_x8

bool cfi_flash_bank::x16_as_x8

The documentation for this struct was generated from the following file: