I want to be sure about erasing flash. Flash is divided into pages and each page has 8 blocks. The smallest amount of flash you can erase is a PAGE. Is this correct. In other words you cannot just erase a block.
I want to be sure about erasing flash. Flash is divided into pages and each page has 8 blocks. The smallest amount of flash you can erase is a PAGE. Is this correct. In other words you cannot just erase a block.
Hi,
Yes, that is correct, smallest amount you can erase is one flash page (4KB on 52 series).
There is support for partial page erase on the 52840, but the page cannot be used until the full page has been fully erased: http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/nvmc.html?cp=2_0_0_3_2_6#concept_partial_erase
Hi Vidar,
this was very helpful. Thank you.
Phil
Hi Vidar,
this was very helpful. Thank you.
Phil