This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Write to FLASH after BLE init

I am working in sdk14 nrf52832 I want to write flash after BLE initializing ,but write flash it has no action

while(sd_flash_page_erase(64) != NRF_SUCCESS){} //address = 0x40000
while(sd_flash_write((uint32_t *)0x40000,(uint32_t *)&ptr,((sizeof(TypedefBle)+3)/4))){}
NVIC_SystemReset();
Related