
GR716-DS-UM, May 2019, Version 1.29
485
www.cobham.com/gaisler
GR716
PSA0.SADDR = 0x401FFFFF
PSAC0.GRANT = 0x0000
PSAC0.EN = 0x1
PCR.EN = 0x1
This example defines the protected area, grants no master access to the area and enable segment end
global protection.
To give a AMBA master access to the protected area change the value in the register PSAC0.GRANT
to e.g. 0x0002 to give access to masters accessing the system AMBA bus via the AHB2AHB bridge
from the DMA AMBA bus.
47.4.3 Protect clock gating unit from erroneous accesses
To protect the clock gating from erroneous access the APB bridge can be programmed to deny all
write accesses or to grant privilege access to specific AMBA bus masters.
The clock gating unit 1 and 2 are located on APB bus 1 and access to clock gating unit 1 and 2 are
controlled via register APB0PROT0, APB1PROT1, APBPROT2 and APBPROT3.
To deny all DMA controllers access:
APB1PROT2.A9 = 0x1
APB1PROT2.A10 = 0x1
APB1PROT2.B9 = 0x1
APB1PROT2.B10 = 0x1
APB1PROT3.A9 = 0x1
APB1PROT3.A10 = 0x1
APB1PROT3.B9 = 0x1
APB1PROT3.B10 = 0x1