YTM32B1MD14 - MPU Configuration - Can I grant permission rw-|r-- for a memory section?
-
Hello all,
For one memory section, I want to grant read-write access for privileged mode and read-only access for unprivileged mode (rw-|r--).
However, I don’t see any permission option like this in the source code generated by the YTConfig Tool.
I also checked the ARMv8-M documentation, and it seems that this kind of permission is not directly supported.
Is there any known solution or workaround for this case?
Thanks in advance!
-
Diga 在 YTM32B1MD14 - MPU Configuration - Can I grant permission rw-|r-- for a memory section? 中说:
ARMv8 can't support your case.
If set AP = 0b00, only privaleged code can read/write memory, user mode can't read or write;
If set AP = 0b01, any privaleged code can read/write memory, user mode also;Hi, thanks for your reply. Do you have any idea about the workaround for my case?
快速上手云途开发生态
发帖前请查看
帮助改进和优化YT CONFIG TOOL,有机会抽取YTM32B1ME0 EVB哦...