cancel
Showing results for 
Search instead for 
Did you mean: 

Upload the image file by using STM32CubeIDE

Meenakshi
Associate III

Hi,

I'm using STM32F423ZHT6 Board. I want to upload the image file (.bin) to my MCU board via STM32CubeIDE. 

Please any one help me to complete my task.

10 REPLIES 10
MM..1
Chief III

Try add more info... you mean load into external flash or internal or ...

Pavel A.
Evangelist III

The easy and natural way to load .bin files is using CubeProgrammer (or its command line version). CubeIDE (the debugger) supports elf and hex files, so you'll have to convert your bin to hex. Not a big deal, but why?

I want load a image into external flash memory [QSPI]. Is there any easy way to do it?

@Pavel A. How to do it in CubeProgrammer. I tried but I can't flash the .BIN into my external flash memory. Can you please help me to solve the task? 

Is there any example video or doc. do you have?

In IDE choice one external loader right for you in running config

MM1_0-1734106968716.png

simmilar in PRG. But for custom boards and flash you must write own stldr based on docu...

 

Sure! No video needed, it is super simple. Just open the Programmer, connect to the board.

Then select Erasing and programming. Browse for the .bin file and enter the start address. and other options as needed.

PavelA_0-1734112790312.png

Good luck.

you little skip word EXTERNAL

Specify the external loader(s) for the external, and the address in its range. And there you go.

PavelA_0-1734138645351.png

 

Hi @Pavel A. 

This is my external flash loader. Then I try to download the .bin file it shown error.

Meenakshi_0-1734587990171.png

Meenakshi_1-1734588117690.png

I tried this method also, this time also I got same error. How to fix it @MM..1 

Meenakshi_2-1734588298874.png

 

Is there any other way to flash memory? Please help me