2026-05-12 12:59 AM - last edited on 2026-05-12 1:56 AM by Andrew Neil
Hello,
I am using the STM32H7B3I-EVAL board with STM32H7B3LIH6Q controller.
The board revision I am using is MB1370-lcd-b02 a254300030.
I downloaded the official demo package from the ST website:
STM32H7B3I-EVAL → Tools & Software → Demo Code Package.
After extracting the ZIP file, I tried flashing the provided .hex demo file into the controller using STM32CubeProgrammer.
However, programming fails with the following errors:
Error: failed to download Sector[0]
Error: failed to download the File
The board is detected correctly through ST-LINK, and connection is successful. I already tried:
Reducing SWD frequency
Full chip erase
Hardware reset / Under reset mode
But the issue still occurs.
Could anyone please suggest:
Whether the provided demo .hex file is directly compatible with STM32H7B3LIH6Q?
If any special option bytes or external memory configuration is required?
Whether the demo depends on external QSPI/OSPI memory or specific boot settings?
Thank you.
2026-05-12 1:22 AM - edited 2026-05-12 1:23 AM
Hello @vijayajangam ,
This demo requires an external QSPI memory to be present and properly initialized.
For the STM32H7B3I-EVAL board, please use the correct OSPI flasher:
MX25LM51245G_STM32H7B3I-EVAL
To program the board, open STM32CubeProgrammer, go to External loaders, and select the QSPI/external loader matching your board configuration, as shown in your screenshot.
Once the correct external loader is selected, you should be able to flash and run the demo properly.
Br