Skip to main content
Associate III
Question

Upload the image file by using STM32CubeIDE

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.

This topic has been closed for replies.

10 replies

MM..1
Super User

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

MeenakshiAuthor
Associate III

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

MM..1
Super User

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...

 

Pavel A.

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?

MeenakshiAuthor
Associate III

@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?

Pavel A.

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.