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

Write Protection NVM

Reading the documentation online for the BPROT component for the nRF52832, it seems like resetting is the way to clear the Write Protection bits in BPROT. Is resetting the only way to clear the Protection bits or is there another way to clear the bits without resetting? Thanks.

Parents Reply
  • Thanks Sigurd. Looking at the documentation for sd_flash_protect(), it returns an error if you try to protect the SoftDevice. I am curious as to why this is the case? Why does sd_flash_protect() return NRF_ERROR_FORBIDDEN when trying to protect the Softdevice (with the Softdevice enabled)?

    Also, what if the SoftDevice is disabled. Can I directly modify the BPROT component to Write Protect the area of NVM covered by the Softdevice? OR can you not Write Protect the SoftDevice at all regardless of whether it is enabled or disabled?

Children
No Data
Related