Home
last modified time | relevance | path

Searched refs:sectors (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-latest/components/spi_flash/sim/
DSpiFlash.cpp54 this->sectors = DIV_AND_CEIL(this->chip_size, this->sector_size); in init()
57 this->erase_cycles = (uint32_t*) calloc(this->sectors, sizeof(uint32_t)); in init()
58 this->erase_states = (bool*) calloc(this->sectors, sizeof(bool)); in init()
59 memset(this->erase_states, 0xFF, this->sectors * sizeof(bool)); in init()
253 memset(this->erase_cycles, 0, sizeof(this->sectors * sizeof(uint32_t))); in reset_erase_cycles()
DSpiFlash.h58 uint32_t sectors; variable
/hal_espressif-latest/tools/esptool_py/docs/en/esptool/
Dbasic-commands.rst57 To successfully write data into flash, all 4096-byte memory sectors (the smallest erasable unit) af…
58 Esptool will display information about which flash memory sectors will be erased.
60 Use the ``-e/--erase-all`` option to erase all flash sectors (not just the write areas) before prog…
301 …dded with `0xFF` bytes, when the merged binary is written then any flash sectors between the indiv…