I am using an SOC with R5 core. The TRM mentions the following memory space for DDR memory.
I want to divide it into following approximate regions:
1. Based on ARMv7 MPU constraints (starting address multiple of size, size should be power of 2)... Is it possible? or any other possible division suggestion?
2. I want to create a background region of 4GB, starting address = 0, size = 0xffffffff. Does it comply MPU constraints?
Thank you so much for the detail answer. Really great points.
Regarding last point:
I want to create a 4GB background region. All I have to do is to fill following for region-0 in MPU?
starting address: 0
size: 2^32 = 0x100000000
Is anything else I need to do to declare a background region?