| Number of images managed by STiRoT | No |
- 1: Firmware image only. Configuration selected for any application which does not manage secret information.
- 2: Firmware and data images. As example, in the two boot stages use case, the data image contains the cryptographic keys managed by uRoT application.
| Slot definition of data image (size and offset) will be available trough STM32 Trusted Package Creator as soon as two images configuration is selected. |
| High speed clock activation | Yes |
-
0: 64 MHz, initial clock configuration
-
1: 200 MHz (default value), best speed clock supporting the full range of temperature
-
2: 250 MHz, max speed clock
| - |
| Is the firmware full secure | No |
-
Yes: The firmware booting is fully secure. Refer to the example STiRoT_Appli provided in STM32H5 series Cube.
-
No: The firmware booting is made of a secure part and a nonsecure part. Refer to the example STiRoT_Appli_TrustZone provided in STM32H5 series Cube.
| The size of the secure area inside the firmware execution area must be specified as soon as the firmware is not fully secure. In this configuration, the image generation triggered by the post build command of the nonsecure project is preceded by an assembly command of the secure and nonsecure binaries. |
| Jump into ST bootloader | Yes |
| When a jump is not allowed, a reset in loop is generated when no valid firmware image is installed. |
| Firmware execution area offset | No |
The offset is from the beginning of the user flash memory.
It must be aligned on a sector start address.
|
No overlap is allowed between the execution areas and the download areas.
A firmware execution area cannot be mapped between the two download areas.
|
| Firmware download area offset | No |
The offset is from the beginning of the user flash memory.
It must be aligned on a sector start address.
|
No overlap is allowed between the execution areas and the download areas.
A firmware execution area cannot be mapped between the two download areas.
Both firmware and data download areas can overlap. In this case, the installation of a data and firmware image in a single execution using the dependency feature is not possible.
|
| Firmware area size | No |
Must be a multiple of the sector size.
|
No overlap is allowed between the execution areas and the download areas.
A firmware execution area cannot be mapped between the two download areas.
|
| Data area offset in HDPL2 OBKeys | No | The offset is from the beginning of the HDPL2 OBKeys area (0xFFD0900). |
|
| Data slot size in HDPL2 OBKeys | No | The maximum is 0x2F0. |
|
| Data download area offset | No |
The offset is from the beginning of the user flash memory.
It must be aligned on a sector start address.
| Both firmware and data download areas can overlap. In this case, the installation of a data and firmware image in a single execution using the dependency feature is not possible. |
| Data download slot size | Yes | Must be a multiple of the sector size. | Must be 0x2000 for STM32H5 series product (parameter hidden). |
| Size of the secure area inside the firmware execution area | No |
Must be a multiple of the sector size.
|
This parameter is disabled for the "firmware fully secure" configuration.
STiRoT configures the MPU to allow execution only for the secure part of the firmware. Then, it is up to the secure application to reconfigure the MPU depending on its needs.
|
| SRAM2 erasing in case of reset | Yes |
Must be yes: the SRAM2 is automatically erased by hardware in case of reset. It ensure that all secrets are erased in case of reset.
| This information is duplicated to ensure that the option bytes are correctly configured. |
| SRAM2 ECC management activation | Yes |
| This information is duplicated to ensure that the option bytes are correctly configured. |
|
Product state minimal allowed
| No |
Open, Provisioning, Provisioned, TZ-Closed, Closed, Locked: STiRoT only execute the firmware if the product state programmed in the option byte is equal or greater than the “product state minimal allowed”.
| If the user plans to use partial regression, then they must set the product state minimal to TZ-Closed (at maximum). |
|
Encryption key
| No |
The key used to encrypt the firmware and data images.
|
When this key is regenerated, both firmware and data images must be regenerated with the STM32 Trusted Package Creator “Image Gen” tab (STiRoT_Code_Image.xml and STiRoT_Data_Image.xml)
|
|
Authentication key
| No |
The key used to authenticate the firmware and data images.
|
When this key is regenerated, both firmware and data images must be regenerated with the STM32 Trusted Package Creator “Image Gen” tab (STiRoT_Code_Image.xml and STiRoT_Data_Image.xml)
|
| Internal tamper 9 and 15 activation.(1) | Yes |
Yes (default value): Internal tamper 9 and 15 are activated during STiRoT execution.
No: Internal tampers 9 and 15 are deactivated during STiRoT execution.
| - |