MPU configuration and access permissions

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPU configuration and access permissions

1,493件の閲覧回数
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

タグ(1)
0 件の賞賛
返信
4 返答(返信)

1,429件の閲覧回数
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 件の賞賛
返信

1,452件の閲覧回数
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 件の賞賛
返信

1,481件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Can you tell us which MCU are you using please? 

0 件の賞賛
返信

1,473件の閲覧回数
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 件の賞賛
返信