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

Fields

Field
Declared as
Description
uint32_t
Bus offset from start of the flash chip (in bytes).
uint32_t
Number of bytes in this flash sector.
int
Indication of erasure status: 0 = not erased, 1 = erased, other = unknown. Set by @c flash_driver::erase_check only. This information must be considered stale immediately. Don't set it in flash_driver::erase or a device mass_erase Don't clear it in flash_driver::write The flag is not used in a protection block.
int
Indication of protection status: 0 = unprotected/unlocked, 1 = protected/locked, other = unknown. Set by @c flash_driver::protect_check. This information must be considered stale immediately. A million things could make it stale: power cycle, reset of target, code running on target, etc. If a flash_bank uses an extra array of protection blocks, protection flag is not valid in sector array.

References

from examples