...
2. Programming flash memory and option bytes using FlashPro-ARM/GangPro-ARM on Windows
Configuration FlashPro-ARM and GangPro-ARM is the same, but GangPro-ARM can program up to 6 device simultaneously.
Open FlashPro-ARM/GangPro-ARM
Open Setup → SFI Setup Tab
Set HSM card index(by default 1)
Check “Enable” box
Use “Browse” button and pick *.sfi file, generated by STM32TrustedPackageCreator
Check “Set log file path” box - only if want save in file used licenses from HSM module
Use “Browse” button and set place where save log file with licenses
Press “Ok” button to save SFI setup
...
Press “AUTO PROG.”(or “WRITE FLASH”) button to execute secure firmware install operation
Check output logs after AutoProgram
FlashPro-ARM
Code Block Communication initialization......... OK OSC=48.15 MHz, Sys.CLK=48.15 MHz Erasing memory ............................... done Secure firmware install procedure start... OK Communication initialization................... OK Reading MCU decriptor......................... OK Option bytes setup................................. OK Certificate analyze................................. OK Request HSM license............................ OK Firmware install...................................... OK RSS version = 1.4.0.............................. OK RSSe version = 2.3.0............................ OK Install license......................................... OK Processing Image Header..................... OK SFI programming.................................... OK Warning: Could not verify security state after last chunk programming -------- D O N E --- ( run time = 10.7 sec.)
GangPro-ARM
...
Code Block |
---|
Secure firmware install procedure start... OK RSS version = 3.1.0... OK Reading the chip Certificate...... OK Request HSM license......................... #1: .. OK #2: .. OK #6: .. OK Option bytes setup.............................. #1: .. OK #2: .. OK #6: .. OK Starting SFI part 1 Install license...................................... #1: .. OK #2: .. OK #6: .. OK Processing Image Header.................. #1: .. OK #2: .. OK #6: .. OK Programming memory.................. #1: .. OK #2: .. OK #6: .. OK Starting SFI part 2 Install license...................................... #1: .. OK #2: .. OK #6: .. OK Processing Image Header.................. #1: .. OK #2: .. OK #6: .. OK Programming memory.................. #1: .. OK #2: .. OK #6: .. OK Starting SFI part 3 Install license...................................... #1: .. OK #2: .. OK #6: .. OK Processing Image Header.................. #1: .. OK #2: .. OK #6: .. OK Programming memory.................. #1: .. OK #2: .. OK #6: .. OK Starting SFI part 4 Install license...................................... #1: .. OK #2: .. OK #6: .. OK Processing Image Header.................. #1: .. OK #2: .. OK #6: .. OK Programming memory.................. #1: .. OK #2: .. OK #6: .. OK Warning: Could not verify security state after last chunk programming -------- D O N E --- ( run time = 15.7 sec.) |
Useful links
STMicroelectronics application notes and user manuals:
...