2023-10-14 06:46 AM
Hi all!
I have a project in STM32CudeIde that being downloaded via ST-Link works correctly. Also I have a hex file in MyProject/Release. If I compare downloaded via ST-Link code inside MCU with the hex file, they are different. So I cannot use the hex file for my own bootloader because the hex file code is trash (interrupt table different, code different...).
How can I get true hex file of code?
Solved! Go to Solution.
2023-10-14 07:00 AM
Conversion to hex file is an option available in project output settings.
If the current HEX file is different than your code, then it wasn't generated with this process.
2023-10-14 07:00 AM
Conversion to hex file is an option available in project output settings.
If the current HEX file is different than your code, then it wasn't generated with this process.
2023-10-14 08:27 AM
Generate fresh binaries or hex files from the .ELF file using objcopy