Flash SBSFU application on STM32H7B3I-DK board
Hello,
I am trying to flashing SBSFU application on the STM32H7B3I-DK board using STM32Cube Programmer. I am using STM32H7B3I-DK 1_Image example project from SRM32CubeExpansion_SBSFU_V2.6.1.
The board is working fine in the first boot and all the jumpers are in default settings. After checking the demo application I am trying to flashing the SBSFU application. For the flashing, I am taking guidance from section 8: Step-by-step execution of "UM2262-Getting started with the X-CUBE-SBSFU STM32Cube Expansion Package" document.
The above documents used NUCLEOL476RG board as a reference to flash the application, but I am using STM32H7B3I-DK. Due to different board I have not change the option bytes settings. The board read out protection is set at Leve 0. After completing the above steps and flashing the SBSFU_UserApp.bin, the application is work find and I can see the SBSFU application menu at the tera term screen.
After the restart the board I am not able to see anything's at tera term. I am unable to flash the STM32H7B3I-DK demo binary on the board. I am getting below message in the STM32Cube programmer:
18:28:21 : Opening and parsing file: STM32Cube_Demo-STM32H7B3I-DK-V1.0.1.hex
18:28:22 : File : STM32Cube_Demo-STM32H7B3I-DK-V1.0.1.hex
18:28:22 : Size : 40.09 MB
18:28:22 : Address : 0x08000000
18:28:22 : Download in Progress:
18:28:24 : Error: failed to download Segment[9]
18:28:24 : Error: failed to download the File
18:28:24 : RUNNING Program
18:28:24 : Address: : 0x08000000
18:28:24 : Warning: The core is locked up
18:28:24 : Start operation achieved successfully
Here is my option bytes log:
C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=swd -ob displ
-------------------------------------------------------------------
STM32CubeProgrammer v2.11.0
-------------------------------------------------------------------
ST-LINK FW : V3J10M3
Board : STM32H7B3I-DK
Voltage : 3.29V
SWD freq : 24000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x480
Revision ID : Rev Z
Device name : STM32H7A/B
Flash size : 2 MBytes
Device type : MCU
Device CPU : Cortex-M7
BL Version : 0x90
UPLOADING OPTION BYTES DATA ...
Bank : 0x00
Address : 0x5200201c
Size : 308 Bytes
██████████████████████████████████████████████████ 100%
OPTION BYTES BANK: 0
Read Out Protection:
RDP : 0xAA (Level 0, no protection)
BOR Level:
BOR_LEV : 0x0 (reset level OFF)
User Configuration:
IWDG1_SW : 0x1 (Independent watchdog is controlled by software)
NRST_STOP : 0x1 (STOP mode on Domain 1 is entering without reset)
NRST_STBY : 0x1 (STANDBY mode on Domain 1 is entering without reset)
VDDMMC_HSLV : 0x0 (I/O speed optimization at low-voltage disabled)
IWDG_FZ_STOP : 0x1 (Independent watchdog is running in STOP mode)
IWDG_FZ_SDBY : 0x1 (Independent watchdog is running in STANDBY mode)
SECURITY : 0x0 (Security feature disabled)
VDDIO_HSLV : 0x0 (Product working in the full voltage range,I/O speed optimization at low-voltage disabled)
SWAP_BANK_OPT: 0x0 (after boot loading, no swap for user sectors)
Boot address Option Bytes:
BOOT_CM7_ADD0: 0x801 (0x8010000)
BOOT_CM7_ADD1: 0x1FF0 (0x1FF00000)
PCROP Protection:
PROT_AREA_START1: 0x0 (0x8000000)
PROT_AREA_END1: 0x8 (0x80008FF)
DMEP1 : 0x1 (Flash Bank 1 PCROP zone is erased when RDP level regression (change from level 1 to 0) occurs)
PROT_AREA_START2: 0xFF (0x810FF00)
PROT_AREA_END2: 0x0 (0x81000FF)
DMEP2 : 0x1 (Flash Bank 2 PCROP zone is erased when RDP level regression (change from level 1 to 0) occurs)
Secure Protection:
SEC_AREA_START1: 0xFF (0x800FF00)
SEC_AREA_END1: 0x0 (0x80000FF)
DMES1 : 0x0 (Flash Bank 1 secure area is kept when RDP level regression (change from level 1 to 0) occurs)
SEC_AREA_START2: 0xFF (0x810FF00)
SEC_AREA_END2: 0x0 (0x81000FF)
DMES2 : 0x0 (Flash Bank 2 secure area is kept when RDP level regression (change from level 1 to 0) occurs)
DTCM RAM Protection:
ST_RAM_SIZE : 0x0 (2 KB)
Write Protection:
nWRP0 : 0x1 (Write protection not active)
nWRP1 : 0x1 (Write protection not active)
nWRP2 : 0x1 (Write protection not active)
nWRP3 : 0x1 (Write protection not active)
nWRP4 : 0x1 (Write protection not active)
nWRP5 : 0x1 (Write protection not active)
nWRP6 : 0x1 (Write protection not active)
nWRP7 : 0x1 (Write protection not active)
nWRP8 : 0x1 (Write protection not active)
nWRP9 : 0x1 (Write protection not active)
nWRP10 : 0x1 (Write protection not active)
nWRP11 to nWRP63 : 0x1 (Write protection not active)
C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>
Please guide me to fixed this to successfully flashing the SBSFU application on STM32H7B3I-DK board.
Look forward for your support.
Thanks,
