2022-03-29 02:44 AM
I am using STM32CubeExpansion_SBSFU_V2.6.0 to test SBSFU on B-L4S5I-IOT01A board.
I am using the projects in the Projects/B-L4S5I-IOT01A/2_Images_KMS folder with STM32CubeIDE. I did not change or modify anything regarding the files.
I first built the SECoreBin and then the SBSFU project. Then I followed UM2262 documentation page 48 to flash the SBSFU.bin image.
I connected to the board with Tera Term but getting the following error output:
Am I missing something?
Solved! Go to Solution.
2022-03-29 05:42 AM
Hi,
looks like the system concludes that your security protections are not activated correctly.
Maybe you can turn the security off one by one via app_sfu.h, line 156 onwards until you find the one creating the issue ?
Otherwise, you can disable RDP and DAP protection in this same file:
// #define SFU_DAP_PROTECT_ENABLE
// #define SFU_PROTECT_RDP_LEVEL (OB_RDP_LEVEL_1)
Then you can set a breakpoint in:
SFU_BOOT_CheckApplySecurityProtections()
and determine where the check fails.
2022-03-29 05:42 AM
Hi,
looks like the system concludes that your security protections are not activated correctly.
Maybe you can turn the security off one by one via app_sfu.h, line 156 onwards until you find the one creating the issue ?
Otherwise, you can disable RDP and DAP protection in this same file:
// #define SFU_DAP_PROTECT_ENABLE
// #define SFU_PROTECT_RDP_LEVEL (OB_RDP_LEVEL_1)
Then you can set a breakpoint in:
SFU_BOOT_CheckApplySecurityProtections()
and determine where the check fails.
2022-03-29 05:48 AM
Just tried with the same version, works for me:
2022-04-06 02:51 PM
I disabled User configuration- dual-bank option in option bytes using STM32CubeProgrammer and it solved it. It comes enabled by default.
Thank you for the fast response!