STM32L5 privilege mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-06-05 8:08 PM
Hi Sir,
I am reading STM32L5 user manual. I noticed the privileged mode and unprivileged mode, as well as security attribution. I want to know if this privileged mode related to arm-cortex m cpu privileged mode?
For example, cpu in unprivileged mode can only acess unprivileged peripheral?
Thanks!
Xin
- Labels:
-
STM32L5 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-06-11 2:55 AM
Hello @XChen.6 ,
You are right, and cpu in unprivileged mode can only acess unprivileged peripheral.
Any non-privilege transaction trying to acces a privilege resource is considered as illegal. There is no illegal access event generated for this type of illegal access. The addressed resource follows a silent-fail behavior, returning all zero data for read and ignoring any write. No bus error is generated.
Refer to the reference manual RM0438 for more details about Privileged and Unprivileged modes.
Kind Regards,
Imen
Thanks
Imen
