Erase only 10 bytes from the flash
Posted: Fri Nov 23, 2018 6:57 am
Hi,
i am accessing flash memory where i read/write/erase but am unable to erase less then 4kB at a time using spi_flash_erase_range() API. In the document mentioned only multiple of 4kB is able to erase but i want to erase let's say 10 bytes means less then 4kB, how do i achieve this. Any other API's to solve this.
Thanks
i am accessing flash memory where i read/write/erase but am unable to erase less then 4kB at a time using spi_flash_erase_range() API. In the document mentioned only multiple of 4kB is able to erase but i want to erase let's say 10 bytes means less then 4kB, how do i achieve this. Any other API's to solve this.
Thanks