cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE Generates BIN Bug.

Lliba.1
Associate II

0693W000002lkgFQAQ.pngI'm using STM32CubeIDE, Settings ->Tool Settings->MCU Post build outputs-> Choose "Convert to binary file(-O binary)", I found that the generated bin file was not the right size. The elf and hex is correct.

.elf: 5902KB

.hex:2327KB

.bin: 655390KB

Obviously the bin file size is wrong.

10 REPLIES 10

Thanks again, EJOHA. I will search objcopy; I will also your STM32 Bootloader solution.