Hi, I'm using nrf51 without ble.
I want to update flash but not want to delete PAGE every time.
NRF_NVMC->ERASEPAGE = (uint32_t) page_address;
How can i do?
Hi, I'm using nrf51 without ble.
I want to update flash but not want to delete PAGE every time.
NRF_NVMC->ERASEPAGE = (uint32_t) page_address;
How can i do?
If the specific address you're writing to is already erased (i.e. its value is 0xFFFFFFFF) you don't need to erase the whole page before the write.
If the address is not erased, you may be able to write to it a second time. The absolute maximum ratings of the nRF51 state that an address can be written to 2 times without an erase. However, I believe you would be you could only change '1's to '0's on the second write.
I am doing it this way and how do we update it? without erase?
I am doing it this way and how do we update it? without erase?