cancel
Showing results for 
Search instead for 
Did you mean: 

SBSFU Bootloader Not working In Release mode (When security flags enabled)

jsalg.1
Associate III

Hi Team,

 

I am working on project where we are implementing Secure upgrade feature using SBSFU package, we followed the steps as mentioned by ST community and to integrate SBSFU in our project. we have two modes Debug mode and Release mode.

in Debug Mode: 

below Protection flags are disable

#define SFU_WRP_PROTECT_ENABLE
#define SFU_RDP_PROTECT_ENABLE
#define SFU_TAMPER_PROTECT_ENABLE 
#define SFU_DAP_PROTECT_ENABLE

and bootloader and application are working fine. we can see the software upgrade is happening.

 In Release mode:

all above Protection flags are enable. bootloader is not working I think it is not coming up properly.

I can see through STMCubeprogrammer the protection changes applied to flash.

worst part is, I couldn't debug bootloader code.

it would be great somebody help me in building SBSFU in Release mode.

Thanks in Advance.

 

0 REPLIES 0