Using nRF52840 SDK 15.0.0 with SoftDevice
I am trying to protect the Access Port, used to do it using the following command
nrf_nvmc_write_word(NRF_UICR->APPROTECT, 0xFFFFFF00)
Now, when using SD - this command throws an app_error with ID 0x1001 (NRF_FAULT_ID_APP_MEMACC)