2020-08-31 02:08 AM
I'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.
Solved! Go to Solution.
2020-09-01 01:24 AM
Thanks again, EJOHA. I will search objcopy; I will also your STM32 Bootloader solution.