Other Parts Discussed in Thread: SYSBIOS
Hello,
Is there support for the MMU/MPU on ARM R5F core on TDA4 under TI-RTOS/SysBios?
Does TI-RTOS provides means for memory protection?
Best regards,
Milena
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.
Additionally,
If there are no memory protection mechanisms in TI-RTOS, is there a concept/example how to achieve this on application level?
Best regards,
Milena
Hi Milena,
There is support for MPU for the R5F core in SYSBIOS.
Take the example of udma_memcpy_testapp for instance:
Source code: <SDK_PATH>/pdk_jacinto_xx_xx_xx_xx/packages/ti/drv/udma/examples/udma_memcpy_test/*
SYSBIOS config file: <SDK_PATH>/pdk_jacinto_xx_xx_xx_xx/packages/ti/build/j721e/sysbios_r5.cfg
MPU config file: <SDK_PATH>/pdk_jacinto_xx_xx_xx_xx/packages/ti/build/j721e/r5_mpu.xs
The MPU config file gets consumed as a part of the SYSBIOS config file and that is what programs the MPU as a part of the SYSBIOS startup code.
Regards,
Karan
Hi Karan,
Thanks for fast reply.
Where can I find more documentation about MPU and its usage?
Regards,
Milena
Hi Milena,
Milena Milosevic said:Where can I find more documentation about MPU and its usage?
That would be the R5F TRM Chapter MPU on ARM's website - https://developer.arm.com/documentation/ddi0460/c/Memory-Protection-Unit
Regards,
Karan