cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-SBSFU - Flash Configuration KO: Dual bank mode activated. STOP!

dominik
Senior

Hi

I'm trying to get run the X-CUBE-SBSFU application. I'm working with IAR Embedded workbench. Like in the manual, I built all applications in the following order:

2_Images_SECoreBin

2_Images_SBSFU

2_Images_UserApp

I'm working on a Nucleo-G474RE Board. I disabled all security features for debugging.

Like I understand, I need to download first the 2_Images_SBSFU. If I do so and connect with the Tera Term I get the message:

= [SBOOT] Flash Configuration KO: Dual bank mode activated. STOP!

= [SBOOT] Security issue : execution stopped !

I can't find the reason for this issue.

So I tried to download the project "2_Images_UserApp" with IAR.

Then I am able to download a new Firmware with the Y-modem:

======================================================================

=             (C) COPYRIGHT 2017 STMicroelectronics                =

=                                                                   =

=                         User App #A                              =

======================================================================

=================== Main Menu ============================

 Download a new Fw Image ------------------------------- 1

 Test Protections -------------------------------------- 2

 Test SE User Code ------------------------------------- 3

 Selection :

================ New Fw Download =========================

 -- Send Firmware

 -- -- Erasing download area ...

 -- -- File> Transfer> YMODEM> Send ..

 -- -- Programming Completed Successfully!

 -- -- Bytes: 17824

 -- Image correctly downloaded - reboot

= [SBOOT] Flash Configuration KO: Dual bank mode activated. STOP!

= [SBOOT] Security issue : execution stopped !

But after the download the Error message above is popping up again. Also when I power cycle the board (unplug/plug USB cable) the same error message appears again.

Dos anybody has an idea what the reason might be for this issue? I'm trying since days to find a solution but can't build a working project. The idea is that after the firmware download it should be able to update a new firmware again of course.

Thanks a lot and hope anybody can help me, Dominik

1 ACCEPTED SOLUTION

Accepted Solutions
dominik
Senior

The problem was, that the Option byte DBANK was on, I changed in the STM32Cube Programmer and its working now. The bin File I loaded with the STM32Cube Programmer also.

View solution in original post

1 REPLY 1
dominik
Senior

The problem was, that the Option byte DBANK was on, I changed in the STM32Cube Programmer and its working now. The bin File I loaded with the STM32Cube Programmer also.