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

Can I use MPU to mark memory as XN when using SoftDevice

I plan on using MPU to mark all memory (SRAM) as XN. I would like to know if this could cause any issue with SoftDevice (iow, may the softdevice execute any code from SRAM?).

Using SDK 15 and nRF52832.

2.5.0.0
Parents
  • Hi Jonathan

    The S132 v6 does not run any code from RAM, so for the time being there should be no ill effects from preventing code execution over the entire RAM region. 

    Please be aware that this could change in future SoftDevice releases, so if you want to update to a different SoftDevice in the future you have to check this again. 

    Best regards
    Torbjørn

Reply
  • Hi Jonathan

    The S132 v6 does not run any code from RAM, so for the time being there should be no ill effects from preventing code execution over the entire RAM region. 

    Please be aware that this could change in future SoftDevice releases, so if you want to update to a different SoftDevice in the future you have to check this again. 

    Best regards
    Torbjørn

Children
No Data
Related