LPC55S69 : unmapped MPU

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

LPC55S69 : unmapped MPU

574 Views
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

Labels (1)
0 Kudos
1 Reply

527 Views
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 Kudos