Hi,
I'm using the TMS570LS3137ZWT in combination with freeRTOS and I'm going to have to use the EMIF to access memory in a FPGA. There are couple of things that are not clear to me:
1) If I use normal tasks (not using xTaskCreateRestricted) but have MPU enabled (in Halcogen and therefore in the code). Can the tasks still access the whole memory map?
xTaskCreate() can only be used to create a task that has unrestricted access to the entire microcontroller memory map. Systems that include MPU support can alternatively create an MPU constrained task using xTaskCreateRestricted().
This is from the freeRTOS documentation but it doesn't state it clearly.
2) How exactly does disabling MPU in Halcogen affect the code? I've tried doing it but I didn't observe any change in the code. The prvSetupDefaultMPU function is still called. Also the #define portUSING_MPU_WRAPPERS is still 1.
And through prvSetupDefaultMPU this assemly function is still called:
.def prvMpuEnable
.asmfunc
prvMpuEnable
mrc p15, #0, r0, c1, c0, #0
orr r0, r0, #1
dsb
mcr p15, #0, r0, c1, c0, #0
isb
bx lr
.endasmfunc
Thank you for your time
