5.4.34. BP141_TZMA component

The BP141_TZMA component provides a programmer’s view of the BP141 TrustZone Memory Adapter (TZMA). This permits a single physical memory cell of up to 2MB to be shared between a secure and non-secure storage area. The partitioning between these areas is flexible.

The BP141_TZMA routes transactions according to:

The BP141_TZMA fixes the base address of the secure region to the base address of the decode space. It uses the R0SIZE[9:0] input to configure the size of the secure region in 4KB increments up to a maximum of 2MB.

Table 5.103 lists the response of the BP141_TZMA for all combinations of address range and transfer security types. TZMEMSIZE is the maximum addressing range of the memory as defined by that parameter. See Table 5.105. By default, TZMEMSIZE is set to 2MB. AxADDR is the offset address that the transactions want to access.

Table 5.103. BP141_TZMA security control

AxADDRMemory RegionNon-secure TransferSecure Transfer
AxADDR < R0Sizesecure, R0illegallegal
R0SIZE <= AxADDR and AxADDR < TZMEMSIZEnon-secure, R1legallegal
AxADDR => TZMEMSIZEno accessillegalillegal

Figure 5.56 shows a view of the BP141_TZMA component in System Canvas.

Figure 5.56. BP141_TZMA in System Canvas

BP141_TZMA in System Canvas

This component is written in LISA+.


Table 5.104 provides a brief description of the BP141_TZMA ports. Further information is available in separate documentation. See the ARM PrimeCell Infrastructure AMBA 3 AXI TrustZone Memory Adapter (BP141) Technical Overview.

Table 5.104. BP141_TZMA ports

NamePort protocolTypeDescription
R0SizeValueSlaveA software interface that is driven from the TrustZone Protection Controller (TZPC), setting the secure region size by bits [9:0]
pvbusPVBusSlaveSlave port for connection to PV bus master/decoder
pv_outputPVBusMasterRouted PVBus output


Table 5.105 provides a description of the configuration parameters for the BP141_TZMA component.

Table 5.105. BP141_TZMA configuration parameters

Parameter nameDescriptionTypeAllowed valueDefault value
TZMEMSIZESets the maximum size of the addressable memory[a]uint32_t-0x200000
TZSEGSIZEConfigures the size of the region allocated for secure access for each increment of the R0Size valueuint32_tmultiples of 40964096
TZSECROMSIZEConfigures the initial region configuration value so that an external secure control is not requireduint32_t-0x200

[a] This parameter is deprecated and is provided for backwards compatibility.


The BP141_TZMA component has no registers.

Debug features

The BP141_TZMA component has no debug features.

Verification and testing

The BP141_TZMA component has been tested separately using its own test suite and as part of the VE example system using VE test suites and by booting operating systems.


The BP141_TZMA component is not expected to significantly affect the performance of a PV system.

Library dependencies

The BP141_TZMA component has no dependencies on external libraries.

Copyright © 2008-2013 ARM. All rights reserved.ARM DUI 0423O