cancel
Showing results for 
Search instead for 
Did you mean: 

SBSFU integration with STM32 L496ZG

jijomathew
Associate II

I am integrating SBSFU with the STM32L496ZG microcontroller and have created a new project. I attempted to generate the SFB file using a customized post-build script from the L476 Simple App example. Although I modified the script paths for my project, the SFB file is not being generated.

The command prompt shows:
Encrypt debug\SBSFU. bin into .\\Binary\\\SBSFU. SFU using AES key from Secure  Engine binary

An error message is generated:
Exception: AES CBC encryption requires the Firmware Image size to be a multiple of the AES block size (16 bytes)

Could you please provide guidance on how to resolve this issue?

10 REPLIES 10

Hi @Jocelyn RICARD ,

as a beginner in SBSFU, I am confused, I was editing the  post-build script for L476RG in the script section  By this way can I generate an SBSF file .

Regards 

Jijo Mathew