ZHCSBT2G November 2012 – October 2017 66AK2H06 , 66AK2H12 , 66AK2H14
PRODUCTION DATA.
CFG (configuration) space of all slave devices on the TeraNet is protected by the MPU. The 66AK2Hxx contains 15 MPUs:
This section contains MPU register map and details of device-specific MPU registers only. For MPU features and details of generic MPU registers, see the KeyStone Architecture Memory Protection Unit (MPU) User's Guide.
Table 8-2, Table 8-3, and Table 8-4 show the configuration of each MPU and the memory regions protected by each MPU.
SETTING | MPU0 MAIN SCR_3P (B) | MPU1 (QM_SS DATA PORT) | MPU2 (QM_SS CFG1 PORT) | MPU3 | MPU4 | MPU5 (QM_SS CFG2 PORT) |
---|---|---|---|---|---|---|
Default permission | Assume allowed | Assume allowed | Assume allowed | Reserved | Reserved | Assume allowed |
Number of allowed IDs supported | 16 | 16 | 16 | 16 | ||
Number of programmable ranges supported | 16 | 16 | 16 | 16 | ||
Compare width | 1KB granularity | 1KB granularity | 1KB granularity | 1KB granularity |
SETTING | MPU6 | MPU7 DDR3B | MPU8 EMIF16 | MPU9 INTC | MPU10 SM | MPU11 SCR_6P (B) |
---|---|---|---|---|---|---|
Default permission | Reserved | Assume allowed | Assume allowed | Assume allowed | Assume allowed | Assume allowed |
Number of allowed IDs supported | 16 | 16 | 16 | 16 | 16 | |
Number of programmable ranges supported | 16 | 8 | 4 | 2 | 16 | |
Compare width | 1KB granularity | 1KB granularity | 1KB granularity | 1KB granularity | 1KB granularity |
SETTING | MPU12 SPI0 | MPU13 SPI1 | MPU14 SPI2 |
---|---|---|---|
Default permission | Assume allowed | Assume allowed | Assume allowed |
Number of allowed IDs supported | 16 | 16 | 16 |
Number of programmable ranges supported | 2 | 2 | 2 |
Compare width | 1KB granularity | 1KB granularity | 1KB granularity |
MEMORY PROTECTION | START ADDRESS | END ADDRESS | |
---|---|---|---|
MPU0 | Main CFG SCR | 0x01D0_0000 | 0x01E7_FFFF |
MPU1 | QM_SS DATA PORT | 0x23A0_0000 | 0x23BF_FFFF |
MPU2 | QM_SS CFG1 PORT | 0x02A0_0000 | 0x02AF_FFFF |
MPU3 | Reserved | 0x027C_0000 | 0x027C_03FF |
MPU4 | Reserved | 0x0210_0000 | 0x0215_FFFF |
MPU5 | QM_SS CFG2 PORT | 0x02A0_4000 | 0x02BF_FFFF |
MPU6 | Reserved | 0x02C0_0000 | 0x02CD_FFFF |
MPU7 | DDR3B | 0x2101_0000 | 0xFFFF_FFFF |
MPU8 | SPIROM/EMIF16 | 0x20B0_0000 | 0x3FFF_FFFF |
MPU9 | INTC/AINTC | 0x0264_0000 | 0x0264_07FF |
MPU10 | Semaphore | 0x0260_0000 | 0x0260_9FFF |
MPU11 | SCR_6 and CPU/6 CFG SCR | 0x0220_0000 | 0x03FF_FFFF |
MPU12 | SPI0 | 0x2100_0400 | 0x2100_07FF |
MPU13 | SPI1 | 0x2100_0400 | 0x2100_07FF |
MPU14 | SPI2 | 0x2100_0800 | 0x2100_0AFF |
Table 8-6 shows the unique Master ID assigned to each CorePac and peripherals on the device.
MASTER ID | 66AK2H12/14 | 66AK2H06 |
---|---|---|
0 | C66x CorePac0 Data | |
1 | C66x CorePac1 Data | |
2 | C66x CorePac2 Data | |
3 | C66x CorePac3 Data | |
4 | C66x CorePac4 Data | Reserved |
5 | C66x CorePac5 Data | Reserved |
6 | C66x CorePac6 Data | Reserved |
7 | C66x CorePac7 Data | Reserved |
8 | ARM CorePac 0 noncache accesses and cache accesses for all ARM cores | |
9 | ARM CorePac 1 noncache accesses | |
10 | ARM CorePac 2 noncache accesses | Reserved |
11 | ARM CorePac 3 noncache accesses | Reserved |
12 | Reserved | |
13 | Reserved | |
14 | Reserved | |
15 | Reserved | |
16 | C66x CorePac0 CFG | |
17 | C66x CorePac1 CFG | |
18 | C66x CorePac2 CFG | |
19 | C66x CorePac3 CFG | |
20 | C66x CorePac4 CFG | Reserved |
21 | C66x CorePac5 CFG | Reserved |
22 | C66x CorePac6 CFG | Reserved |
23 | C66x CorePac7 CFG | Reserved |
24 | Reserved | |
25 | EDMA0_TC0 read | |
26 | EDMA0_TC0 write | |
27 | EDMA0_TC1 read | |
28 | Hyperlink0 | |
29 | Hyperlink1 | |
30 | SRIO | |
31 | PCIE | |
32 | EDMA0_TC1 write | |
33 | EDMA1_TC0 read | |
34 | EDMA1_TC0 write | |
35 | EDMA1_TC1 read | |
36 | EDMA1_TC1write | |
37 | EDMA1_TC2 read | |
38 | EDMA1_TC2 write | |
39 | EDMA1_TC3 read | |
40 | EDMA1_TC3 write | |
41 | EDMA2_TC0 read | |
42 | EDMA2_TC0 write | |
43 | EDMA2_TC1 read | |
44 | EDMA2_TC1 write | |
45 | EDMA2_TC2 read | |
46 | EDMA2_TC2 write | |
47 | EDMA2_TC3 read | |
48 | EDMA2_TC3 write | |
49 | EDMA3_TC0 read | |
50 | EDMA3_TC0 write | |
51 | EDMA3_TC1 read | |
52 | MSMC(1) | |
53 | EDMA3_TC1 write | |
54 to 55 | SRIO PKTDMA | |
56 | Reserved | |
57 | Reserved | |
58 | Reserved | |
59 | Reserved | |
60 | Reserved | |
61 | Reserved | |
62 | EDMA3CC0 | |
63 | EDMA3CC1 | |
64 | EDMA3CC2 | |
65 | Reserved | |
66 | Reserved | |
67 | Reserved | |
68 to 71 | Queue Manager | |
72 to 79 | Reserved | |
80 | Reserved | |
81 | Reserved | |
82 | Reserved | |
83 | EDMA3_CC_TR | |
84 to 87 | 10GbE (66AK2H14 only) | |
88 to 91 | Reserved | |
92 to 95 | Packet Coprocessor MST2 | |
96 to 99 | Packet Coprocessor MST1 | |
100 to 101 | Reserved | |
102 | Reserved | |
103 | Reserved | |
104 | Reserved | |
105 | Reserved | |
106 | Reserved | |
107 | DBG_DAP | |
108-139 | Reserved | |
140 | CPT_L2_0 | |
141 | CPT_L2_1 | |
142 | CPT_L2_2 | |
143 | CPT_L2_3 | |
144 | CPT_L2_4 | |
145 | CPT_L2_5 | |
146 | CPT_L2_6 | |
147 | CPT_L2_7 | |
148 | CPT_MSMC0 | |
149 | CPT_MSMC1 | |
150 | CPT_MSMC2 | |
151 | CPT_MSMC3 | |
152 | CPT_DDR3A | |
153 | CPT_SM | |
154 | CPT_QM_CFG1 | |
155 | CPT_QM_M | |
156 | CPT_CFG | |
157 | Reserved | |
158 | Reserved | |
159 | Reserved | |
160 | CPT_QM_CFG2 | |
161 | CPT_DDR3B | |
162 | Reserved | |
163 | Reserved | |
164 | CPT_EDMA3CC0_4 | |
165 | CPT_EDMA3CC1_2_3 | |
166 | CPT_INTC | |
167 | CPT_SPI_ROM_EMIP16 | |
168 | USB | |
169 | EDMA4_TC0 read | |
170 | EDMA4_TC0 write | |
171 | EDMA4_TC1 read | |
172 | EDMA4_TC1 write | |
173 | EDMA4_CC_TR | |
174 | CPT_MSMC5 | |
175 | CPT_MSMC6 | |
176 | CPT_MSMC7 | |
177 | CPT_MSMC4 | |
178 | Reserved | |
179 | Reserved | |
180-183 | NETCP | |
184-255 | Reserved |
NOTE
There are two master ID values assigned to the Queue Manager_second master port, one master ID for external linking RAM and the other one for the PDSP/MCDM accesses.
Table 8-7 shows the privilege ID of each C66x CorePac and every mastering peripheral. The table also shows the privilege level (supervisor vs. user), security level (secure vs. nonsecure), and access type (instruction read vs. data/DMA read or write) of each master on the device. In some cases, a particular setting depends on software being executed at the time of the access or the configuration of the master peripheral.
PRIVILEGE ID | MASTER | PRIVILEGE LEVEL | SECURITY LEVEL | ACCESS TYPE |
---|---|---|---|---|
0 | C66x CorePac0 | SW dependant, driven by MSMC | Nonsecure | DMA |
1 | C66x CorePac1 | SW dependant, driven by MSMC | Nonsecure | DMA |
2 | C66x CorePac2 | SW dependant, driven by MSMC | Nonsecure | DMA |
3 | C66x CorePac3 | SW dependant, driven by MSMC | Nonsecure | DMA |
4 | C66x CorePac4 | SW dependant, driven by MSMC | Nonsecure | DMA |
5 | C66x CorePac5 | SW dependant, driven by MSMC | Nonsecure | DMA |
6 | C66x CorePac6 | SW dependant, driven by MSMC | Nonsecure | DMA |
7 | C66x CorePac7 | SW dependant, driven by MSMC | Nonsecure | DMA |
8 | ARM CorePac | SW dependent | Nonsecure | DMA |
9 | SRIO_M and all Packet DMA masters (NetCP, Both QM_CDMA, SRIO_CDMA, 10GbE(1)), USB | User/driven by SRIO block, user mode and supervisor mode is determined by per transaction basis. Only the transaction with source ID matching the value in SupervisorID register is granted supervisor mode. | Nonsecure | DMA |
10 | QM_Second(2) | User | Nonsecure | DMA |
11 | PCIe | Supervisor | Nonsecure | DMA |
12 | DAP | Driven by Emulation SW | Nonsecure | DMA |
13 | Reserved | |||
14 | HyperLink | Supervisor | Nonsecure | DMA |
15 | Reserved |