What file formats are supported for programming flash memory?
STM32CubeProgrammer supports binary files (.bin), ELF files (.elf, .axf, .out), Intel hex files (.hex), and Motorola S-record files (.srec) for flash memory programming. For binary files, the start address must be manually specified. The tool can also save device memory content in .bin, .hex, or .srec format. (Page 35-36)
From the official ST Stm32cubeprogrammer Software manual, page 35
Have a follow-up question?
Answers from the official manual.
Common questions