If secure mode is enabled, the AES unit is accessible post BootROM. In non-secure mode, the AES unit is not accessible.
The BootROM locks several bits in the DevC module prior to
exiting to ensure security. The bits the BootROM locks are listed in the following
table; where 1 = locked. The Lock bits are used to disable writes to
bits in the devcfg.CTRL register. Once a lock bit is set, it cannot be cleared except by
a POR reset. The BootROM will lock some of these bits before turning PS control over to
the FSPL/User code.
| Bit Position | Bit Name | BootROM Secure Boot Lock Status | BootROM Non-Secure Boot Lock Status |
|---|---|---|---|
| 31:5 | Reserved | ~ | ~ |
| 4 | AES_FUSE_LOCK |
1
|
0 |
| 3 | AES_EN_LOCK |
0
|
1 |
| 2 | SEU_LOCK |
0
|
0 |
| 1 | SEC_LOCK |
1
|
0 |
| 0 | DBG_LOCK |
0
|
0 |