AnsweredAssumed Answered

Memory protection unit (MPU) example for NXP LPC4078

Question asked by Daniel Riegel on Feb 21, 2020
Latest reply on Feb 25, 2020 by Daniel Riegel

Hi everybody,

 

do you have any examples how to implement MPU on a NXP LPC4078?

 

In the UM10562 it references in chapter 40.1 to

infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/index.html

where it is described on page 4-37 in chapter "4.5 Optional Memory Protection Unit". But since this is a very general description I would be happy to have an example for LPC4078 with its memory settings.

 

I know it's something like

CTRL=0

>>>>>>>>

RNR

RBAR

RASR

<<<<<<<< (loop some times if needed)

CTRL=x

 

I found some examples for ST and Microchip on the internet but not for NXP. Do you have some or know where to find them?

 

Thank you!

Regards,

Daniel

Outcomes