cancel
Showing results for 
Search instead for 
Did you mean: 

BIN file changed after STM32CubeIDE update

MishKa59
Associate II

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?

5 REPLIES 5

Most likely, the toolchain changed.

Maybe also some library or libraries.

 

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..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
MishKa59
Associate II

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.

MishKa59
Associate II

I rolled back to ver. 1.11.2


@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:

https://community.st.com/t5/stm32cubeide-mcus/problem-facing-with-hex-file-generated-by-st32cube-ide1-6-1-amp/m-p/674474/highlight/true#M27299