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
Hello Eugene Hiihtaj,
You can use the register MPU_CTRL->PRIVDEFENA control software access to default memory:
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.
-------------------------------------------------------------------------------