trash in hex file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-14 6: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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-14 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-14 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-14 8:27 AM
Generate fresh binaries or hex files from the .ELF file using objcopy
Up vote any posts that you find helpful, it shows what's working..
