flash_bank is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
SummarySyntaxRelatedReferences

Fields

Field
Declared as
Description
char *
struct target *
Target to which this bank belongs.
const struct flash_driver *
Driver for this bank.
void *
Private driver storage pointer.
unsigned int
The 'bank' (or chip number) of this instance.
The base address of this bank.
uint32_t
The size of this chip bank, in bytes.
unsigned int
Width of the chip in bytes (1,2,4 bytes).
unsigned int
Maximum bus width, in bytes (1,2,4 bytes).
uint8_t
Erased value. Defaults to 0xFF.
uint8_t
Default padded value used, normally this matches the flash erased value. Defaults to 0xFF.
uint32_t
Required alignment of flash write start address. Default 0, no alignment. Can be any power of two or FLASH_WRITE_ALIGN_SECTOR.
uint32_t
Required alignment of flash write end address. Default 0, no alignment. Can be any power of two or FLASH_WRITE_ALIGN_SECTOR.
uint32_t
Minimal gap between sections to discontinue flash write Default FLASH_WRITE_GAP_SECTOR splits the write if one or more untouched sectors in between. Can be size in bytes or FLASH_WRITE_CONTINUOUS.
unsigned int
The number of sectors on this chip. This value will be set initially to 0, and the flash driver must set this to some non-zero value during "probe()" or "auto_probe()".
struct flash_sector *
Array of sectors, allocated and initialized by the flash driver.
unsigned int
The number of protection blocks in this bank. This value is set initially to 0 and sectors are used as protection blocks. Driver probe can set protection blocks array to work with protection granularity different than sector size.
struct flash_sector *
Array of protection blocks, allocated and initialized by the flash driver.
struct flash_bank *
The next flash bank on this chip.

References

from examples