Skip to content

LWIP disables MPU during initialization and breaks uVisor #2560

Closed
@sherrellbc

Description

@sherrellbc

MPU->CESR &= ~MPU_CESR_VLD_MASK;

https://github.com/ARMmbed/mbed-os/blob/master/features/net/FEATURE_IPV4/lwip-interface/lwip-eth/arch/TARGET_Freescale/hardware_init_MK64F12.c#L41

The MPU appears to be a protected memory region that cannot be accessed by unprivileged code. Access to this region results in a halt with uVisor.

My original post was over at uVisor as I originally thought it was a configuration related issue. See it here: ARMmbed/uvisor#315

@geky

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions