cancel
Showing results for 
Search instead for 
Did you mean: 

Can't flash STM32H7B3I-EVAL Hex Demo Code

vijayajangam
Associate III

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:

  1. Whether the provided demo .hex file is directly compatible with STM32H7B3LIH6Q?

  2. If any special option bytes or external memory configuration is required?

  3. Whether the demo depends on external QSPI/OSPI memory or specific boot settings?

Thank you.

vijayajangam_1-1778572681232.png

 

vijayajangam_2-1778572698527.png

vijayajangam_3-1778572719711.pngvijayajangam_4-1778572731939.png

vijayajangam_0-1778573288526.png

 

 

1 REPLY 1
MOBEJ
ST Employee

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.

MOBEJ_0-1778574153666.png

Once the correct external loader is selected, you should be able to flash and run the demo properly.

Br

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.