Flash write and erase works fine, if ble is not initialized( ble_stack_init()).
Once ble is initialized, any write to NRF_NVMC->CONFIG hangs the system.
Do I need to check for radio active signal ?
Thanks.
Flash write and erase works fine, if ble is not initialized( ble_stack_init()).
Once ble is initialized, any write to NRF_NVMC->CONFIG hangs the system.
Do I need to check for radio active signal ?
Thanks.
Hello,
When the softDevice is enabled, the functions sd_flash_erase/write have to be used for erase/write operations. If you try to access the NVMC directly when the softDevice is enabled, it will result in a hardfault. If you want to access the NVMC directly you will have to disable the softDevice using sd_softdevice_disable().
Regards, Kristin