LPC55S69 : unmapped MPU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC55S69 : unmapped MPU

583 次查看
EugeneHiihtaja
Senior Contributor I

Hi !

Looks like MPU of LPC has only 8 sections and as result a lot of memory is covered by default privileged access only:

/* Enable MPU with privileged background access i.e. unmapped regions have privileged access. */
portMPU_CTRL_REG |= (portMPU_PRIV_BACKGROUND_ENABLE | portMPU_ENABLE);

But what are other memory attributes in those areas ?

Read, Write and execute Execute ?

Can unmapped area be used as normal RW memory and for access peripheral devices ?

Or what are limitations and default attributes for LPC55S69 memory map ?

Regards,

Eugene

标签 (1)
0 项奖励
1 回复

536 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Eugene Hiihtaj,

You can use the register MPU_CTRL->PRIVDEFENA control software access to default memory:

pastedImage_1.png

About detail please refer to Cortex-m33 User Guide, I attached it for you.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励