Skip to main content
Associate III
December 7, 2024
Question

Upload the image file by using STM32CubeIDE

  • December 7, 2024
  • 2 replies
  • 1942 views

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.

2 replies

MM..1
Chief III
December 7, 2024

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

MeenakshiAuthor
Associate III
December 13, 2024

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

MM..1
Chief III
December 13, 2024

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.
Super User
December 8, 2024

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
December 13, 2024

@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.
Super User
December 13, 2024

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.