Table Of Contents - ST X-CUBE-SBSFU STM32Cube Integration Manual

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

Advertisement

Contents
Contents
1
General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2
Related documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3
Porting X-CUBE-SBSFU onto another board . . . . . . . . . . . . . . . . . . . . . 9
3.1
Hardware adaptation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2
Memory mapping definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2.1
3.2.2
3.2.3
3.2.4
3.3
Dual-core adaptation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4
SBSFU configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.1
Features to be configured . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.2
Cryptographic scheme selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.3
Security configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.4
Development or production mode configuration . . . . . . . . . . . . . . . . . . . . 25
5
Generating a cryptographic key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.1
Generating a new firmware AES encryption key . . . . . . . . . . . . . . . . . . . 27
5.2
for firmware verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.3
STM32WB Series specificities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.4
KMS specificities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.5
STSAFE-A110 specificities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6
Tips for debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.1
Compiler optimizations level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.2
Memory mapping adaptation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.3
Debugging SECoreBin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7
Adapting SBSFU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2/49
SBSFU region definition parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Firmware image slot definition parameters . . . . . . . . . . . . . . . . . . . . . . 14
Project-specific linker files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Multiple image configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
AN5056 Rev 8
AN5056

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

Table of Contents

Save PDF