Global security controller (GTZC) RM0453
82/1454 RM0453 Rev 2
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:
– 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
• 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
Table 7. Peripheral access error generation
Peripheral
access type
(1)
Secure privileged
peripheral
Secure
unprivileged
peripheral
Non-secure
privileged peripheral
Non-secure
unprivileged
peripheral
Access
Ila_event
Bus error
Access
Ila_event
Bus error
Access
Ila_event
Bus error
Access
Ila_event
Bus error
Secure
Privilege
Fetch Fail
No
Yes Fail
No
Yes Fail
No
Yes Fail
No
Yes
Read
Grant No Grant No Grant No Grant No
Write
Unprivileged
Fetch Fail Yes Fail Yes
Illegal
Yes Fail Yes
Read
Illegal PNoGrant No PNoGrant No
Write
Non-secure
Privilege
Fetch Fail No Yes Fail Yes Fail
No
Yes Fail Yes
Read
Illegal SNoIllegal SNoGrant No Grant No
Write
Unprivileged
Fetch Fail No Yes Fail No Yes Fail Ye s Fail Yes
Read
Illegal S and P No Illegal SNoIllegal PNoGrant No
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