YTM32B1MD14 - MPU Configuration for CorTst
-
Hello everyone,
I’m configuring the MPU following SafLib_User_Manual v1.1. I defined two memory sections, cortst_ram_data_target0 and cortst_ram_data_target1, and placed them both in the SRAM_U region for CorTst. I set the MPU policy to MPU_M33_PRIV_RWX_UNPRIV_NONE for these regions, but the MPU test always fails.
Below is my configuration code. Is there any problem with my MPU setup or the chosen policy?
Thanks in advance for any hints! -
These two sections cannot be placed in the same MPU region. Specifically:
.cortst_ram_data_target0
should be placed inMPU_M33_PRIV_RWX_UNPRIV_RWX
.cortst_ram_data_target1
should be placed inMPU_M33_PRIV_RW_UNPRIV_NONE
For more information, refer to CorTst_Demo. In the demo, the corresponding sections and their locations are as follows:
快速上手云途开发生态
发帖前请查看
帮助改进和优化YT CONFIG TOOL,有机会抽取YTM32B1ME0 EVB哦...