ST X-CUBE-SBSFU STM32Cube Integration Manual page 5

Expansion package
Hide thumbs Also See for X-CUBE-SBSFU STM32Cube:
Table of Contents

Advertisement

AN5056
List of figures
SBSFU project structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Memory mapping example (NUCLEO-L476RG). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Linker file architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Mapping constraints for user application execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
SBSFU regions (NUCLEO-L476RG mapping_sbsfu.icf) . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Firewall configuration constraint on dual bank products . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Firewall configuration after bank swap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
SECoreBin specific linker file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
SBSFU specific linker file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
UserApp specific linker file (NUCLEO-L476RG example) . . . . . . . . . . . . . . . . . . . . . . . . . 17
Multiple image configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
STM32H7 Series dual-core adaptation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
SBSFU configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Switching the cryptographic scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Series security configuration (app_sfu.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
security configuration (app_sfu.h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
STM32WB Series security configuration (app_sfu.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Option Bytes management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
New firmware encryption-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
New private/public keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Key provisioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
KMS specificities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
STSAFE-A110 pairing keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Compiler optimizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Memory mapping adaptations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Checking the WRP protection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Debugging inside SECoreBin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
User's cryptographic scheme implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
IDE adaptations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Boot time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Vector table position update (NUCLEO-L476RG example) . . . . . . . . . . . . . . . . . . . . . . . . 40
User application binary file length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
IDE adaptations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Free Flash pages (NUCLEO-L476RG example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
UserApp firmware download overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Firmware version change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Validation menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
AN5056 Rev 8
List of figures
5/5
5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the X-CUBE-SBSFU STM32Cube and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF