Global security controller (GTZC)
Secure privileged
Peripheral
(1)
access type
Fetch
Fail
Read
Grant
Write
Fetch
Fail
Read
Illegal
Write
Fetch
Fail
Read
Illegal
Write
Fetch
Fail
Read
Illegal S and P
Write
Fail, illegal and event generated
Granted
1. Fail: All fetches from peripherals are rejected without ila generation.
Illegal: security infringement
S: ila_event due to illegal security infringement
P: ila_event due to illegal privileged infringement
S and P: ila_event due to secure and privileged infringement
3.4.4
Security controller (TZSC)
This block is composed of a configurable set of registers, providing the following features:
•
Control of secure and privileged protection for peripherals, done through the following
registers:
–
–
•
For watermark memory protection (internal memories), one privileged area can be
defined through GTZC_TZSC_MPCWMn_UPWMR, that defines the unprivileged area,
starting from the internal memory base address with a length defined through
GTZC_TZSC_MPCWMn_UPWMR.LGTH[11:0].
•
For watermark memory protection (internal memory), one privileged and unprivileged
read execute area can be defined through GTZC_TZSC_MPCWM1_UPWWMR, which
defines the unprivileged writable area, starting from the internal Flash memory base
82/1461
Table 7. Peripheral access error generation
unprivileged
peripheral
Yes
Fail
No
No
Grant
Yes
Fail
P
No
Grant
No
Yes
Fail
S
No
Illegal
No
Yes
Fail
No
Illegal
SECCFGR1 register to control AHB/APB firewall stubs for the secure attribute of
all securable peripherals
PRIVCFGR1 register to control AHB/APB firewall stubs for the privileged attribute
of all securable peripherals
Secure
Non-secure
privileged peripheral
peripheral
Yes
Fail
No
Grant
Yes
No
Illegal
No
Yes
Fail
S
No
Grant
No
Yes
Fail
S
No
Illegal
RM0453 Rev 1
Non-secure
unprivileged
peripheral
Yes
Fail
No
No
Grant
Yes
Fail
P
No
Grant
Yes
Fail
No
No
Grant
Yes
Fail
P
No
Grant
RM0453
Yes
No
Yes
No
No
Yes
No
Yes
No
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?
Questions and answers