This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM57L843: Why do you have to configure the R5-MPU-PMU the way it is written in the post?

Part Number: RM57L843

Hello everyone,

I'm trying to setup lwIP communication on my HDK with the project below, but there is the step I mentioned in the title that I can't understand the why is it the way it is. Why do you have to setup it like this? Where can I find a description about it?

Thanks for your help in advance.

Regards,

Zsolt

the link: e2e.ti.com/.../666055

  • Hello Zsolt,

    The MPU on RM57 works with the L1 memory system (cache) to control accesses to and from L1 and external memory. The MPU enables you to partition memory into regions and set individual protection attributes for each region. The MPU on RM57 device supports 16 memory regions. Each region is programmed with a base address and size, and the regions can be overlapped to enable efficient programming of the memory map.

    Each region has a number of attributes associated with it. These control how a memory access is performed when the processor accesses an address that falls within a given region. The attributes are:
    • Memory type, one of:
    — Strongly Ordered
    — Device
    — Normal
    • Shared or Non-shared
    • Non-cacheable
    • Write-through Cacheable
    • Write-back Cacheable
    • Read allocation
    • Write allocation

    Each region can be given no access, read-only access, or read/write access permissions for Privileged or all modes. For example, if a User mode application attempts to access a Privileged mode access only region a permission fault occurs.

    Please refer to ARM Architecture Reference Manual for details.