6.1.4.11 Memory Security

After reset, all master ports on the AHB bus matrix are enabled. There are separate user-defined Flash configuration bits that control read and write access for each memory slave from various masters, which are organized in groups. The pairing of the masters and the slaves with respect to the bits set in the security registers are given in detail in the following table. Read access and write access can be independently controlled by separate read and write Flash bits. For more information on bit configuration of S registers, see System Register Block.

Table 6-8. Pairing of Masters and Slaves
SYSREG RegisterMastersSlaves
MS0MS1MS2MS3MS6
eSRAM0eSRAM1eNVM_0eNVM_1MSS DDR Bridge
MM0_1_2_SECURITYMM0: M3 DCode bus, cacheRWRWRWRWRW
MM1: M3 ICode busRWRWRWRWRW
MM2: M3 system busRWRWRWRWRW
MM4_5_FIC64_SECURITYMM4: FIC_0RWRWRWRWRW
MM5: FIC_1RWRWRWRWRW
DDR_FICRWRWRWRWRW
MM3_6_7_8_SECURITYMM3: HPDMARWRWRWRWRW
MM6: MACRWRWRWRWRW
MM7: PDMARWRWRWRWRW
MM8: USBRWRWRWRWRW
MM9_SECURITYMM9: System controllerRWRWRWRWRW

An access attempt by a master where the corresponding master port is blocked (by a Flash configuration bit setting) causes the AHB bus matrix to assert HRESP to the master and terminate the transaction. If a blocked port is attempting a read access, the read data is returned as garbage. If the blocked port is attempting a write, the write of data does not occur to any slave. In both cases, one of the SW_ERRORSTATUS bits is asserted. DDR_FIC is not part of the AHB bus matrix but can be blocked from accessing the MSS DDR (MDDR) subsystem.