MPU configuration and access permissions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPU configuration and access permissions

700 Views
morganRo
Contributor II

Hi everyone,

I need some help,

I'm working on a software and I need to separate some software item each other.

So i'm thinking about different section in flash memory. But, I need to protect this section, software item A should not interact with software item B unless by getter and setter.

So I understand region configuration and MPU configuration but I don't understand Access Permission. (Priviliged and Unprivileged)

Can someone explain me this or some code example, documentation etc..

 

Thank you for the help,

Morgan

Tags (1)
0 Kudos
4 Replies

636 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @morganRo ,

You can refer to this guide. RT device follow this guide. But it seems there isn't other document or example.

https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/Optional-Memory-Protection-U...

 

Regards,

Jing

0 Kudos

659 Views
morganRo
Contributor II

Hi,

I don't figured out how to active privileged / unprivileged permissions. For example, if i split SRAM_DTC in two section, how can I protection write between this two section?

0 Kudos

688 Views
_Leo_
NXP TechSupport
NXP TechSupport

Can you tell us which MCU are you using please? 

0 Kudos

680 Views
morganRo
Contributor II

I'm using the IMXRT1061 MCU. Actually, I figured out how to deal with. But i still try to implement protection memory, RO in flash (split in three section) is OK. But now I want to mirror in RAM to implement correctly variable. Thanks, Morgan

0 Kudos