2020-03-22 10:16 PM
I tried to step-by-step execution based on UM2262. But I could not get SBSFU welcome screen display (Fig24).
My SBSFU display below.
[SBOOT] Flash Configuration KO: Dual bank mode activated. STOP!
[SBOOT] Security issue: execution stopped!
My step-by-step execution configuration are below.
- STM32CubeIDE v1.3.0, 2020/02/26
- X-CUBE-SBSFU v2.3.0, 2020/01/17
- NUCLEO-G474RE, RDP level 0, PCROP, DBANK are all default MCU setting (Fig 18 – 21)
- ST-LINK firmware version V3J5M2
Attached is STM32CubeIDE projects.
I also tried SW4STM32 but results are same.
Please advise or help me to get SBSFU display Welcome screen.
Thank you in advance.
2020-03-31 06:06 AM
Hi,
If your working with a device that only supports single bank flash memory you must define SINGLE_BANK_FLASH=1.
Check sfu_low_level_security.c for more info.
BR,
Arno
2020-04-01 05:57 PM
Thank you for advice. I understood where printing ERROR msg.
I tried and added define statement on sfu_low_level_security.c but it doesn't get Welcome screen.
STM32CubeProgrammer User Configuration and PCROP are attached for your reference.
I tried both Check/Uncheck of DBANK, but it was not solved.
2020-04-01 06:03 PM
2020-04-01 10:51 PM
Looks like I mistakenly looked at code I had changed and SINGLE_BANK_FLASH is something I had created.
I had the same problem as you do when switching to another board with a different chip. Basically you can simply disable this error check by letting the function
SFU_LL_SECU_CheckFlashConfiguration return SFU_SUCCESS.
2020-04-02 11:18 AM
Thank you. Yes, I can disable [SBOOT] Flash Configuration KO: Dual bank mode activated. STOP!.
But, I cannot still disable [SBOOT] Security issue: execution stopped!.
Anyway, again I thank you for advice.
2020-04-04 09:20 AM
I can get Welcome Screen, by Option byte DBANK Off.
Thank you everyone.