BIN file changed after STM32CubeIDE update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-08 8:15 AM
Hi,
I updated the IDE from ver11.2 to 15.1 and the output BIN file of my app changed(the same project wo changes and did not run up after burning to Flash. Why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-08 8:32 AM
Most likely, the toolchain changed.
Maybe also some library or libraries.
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-08 8:57 AM - edited ‎2024-05-08 8:57 AM
Libraries, compiler optimization or methods changed?
Does code work with optimization turned off? Look for latent errors in your code, like not using volatile where appropriate, in interrupt / call-back contexts.
"Not Working" is a very vast problem space, perhaps compress that a little with analysis, bisection and diagnostic output..
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-09 5:53 AM
After some tests, I clarified the problem: The bin file compiled in the new IDE does not start after changing the boot address in OB (I used FW update in two equal Flash areas, with the BOOT address changing). With old files, the app works properly. There are no changes in code or project properties, only IDE versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-16 12:55 AM
I rolled back to ver. 1.11.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-16 2:45 AM
@MishKa59 wrote:There are no changes in code or project properties, only IDE versions.
Again, most likely, the toolchain changed; maybe also some library or libraries.
See Also:
A complex system designed from scratch never works and cannot be patched up to make it work.
