hi i am using nrf51882 with sdk v 12.2.0. i am trying to use flash memory to store some data for my application. I am accessing flash after initialization.
When i run code without bootloader then flash read write works fine but when i load bootloader code and load zip by using nrf connect, code runs fine but when it goes into flash write part code stops (stuck in while loop where it checks NVMC_READY_READY_Busy) in static void flash_page_erase(uint32_t * p_page).
For read and write , i am using ble_flash_page_write and ble_flash_page_read functions.