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

nRF52832: Disable executable RAM?

We're using the nRF52832 and want to trap if various parts of RAM are ever executed. We'd like to restrict as much as possible. We run nRF SDK 14.0.0 and SD132v5.

Seeing that SoftDevice claims ownership of the MWU, what's the recommended way to trap when code runs in our application's RAM?

Thanks,

Charles

Parents
  • Hi,

    In addition to the MWU, the ARM Cortex-M CPU in the nRF52832 is actually equipped with a Memory Protection Unit (MPU) module. We even have an MPU driver in the SDK, although you will have to look at the ARM Cortex-M MPU documentation for figuring out how to use it.

    It is easy to get confused by terminology here, as for the nRF51 series in some situations we used the term MPU for the flash and peripheral protection used by the SoftDevice.

    Regards,
    Terje

Reply
  • Hi,

    In addition to the MWU, the ARM Cortex-M CPU in the nRF52832 is actually equipped with a Memory Protection Unit (MPU) module. We even have an MPU driver in the SDK, although you will have to look at the ARM Cortex-M MPU documentation for figuring out how to use it.

    It is easy to get confused by terminology here, as for the nRF51 series in some situations we used the term MPU for the flash and peripheral protection used by the SoftDevice.

    Regards,
    Terje

Children
Related