McuxPresso Binary file

cancel
Showing results for 
Search instead for 
Did you mean: 

McuxPresso Binary file

Jump to solution
293 Views
claudiobrunelli
Contributor II

Hi

I have just created a new test proget with the xpresso ide. In the attached file ther's the corresponding binary file and a little screenshot of it.

Does anyone to explain me why I find in this file the information that I lighted ? Is this correct to find this kind of information in the binary file ? Is there any setting to make to avoid it ?

Thanks in advance.

Claudio

0 Kudos
1 Solution
287 Views
ErichS
Senior Contributor III

Hi @claudiobrunelli ,

>>Does anyone to explain me why I find in this file the information that I lighted ?

Yes. It is because you have asserts enabled in your project.

 

>>Is this correct to find this kind of information in the binary file ?

Yes. Because you are using asserts the way it is implemented in the SDK

 

>>Is there any setting to make to avoid it ?

Yes, disable asserts with the NDEBUG setting. See https://mcuoneclipse.com/2016/03/09/dealing-with-code-size-in-kinetis-sdk-v2-x-projects/

 

PS: There is a nice hex editor plugin in Eclipse too. Have a look at https://mcuoneclipse.com/2012/04/02/5-best-eclipse-plugins-4-ehep/

 

I hope this helps,

Erich

View solution in original post

0 Kudos
3 Replies
288 Views
ErichS
Senior Contributor III

Hi @claudiobrunelli ,

>>Does anyone to explain me why I find in this file the information that I lighted ?

Yes. It is because you have asserts enabled in your project.

 

>>Is this correct to find this kind of information in the binary file ?

Yes. Because you are using asserts the way it is implemented in the SDK

 

>>Is there any setting to make to avoid it ?

Yes, disable asserts with the NDEBUG setting. See https://mcuoneclipse.com/2016/03/09/dealing-with-code-size-in-kinetis-sdk-v2-x-projects/

 

PS: There is a nice hex editor plugin in Eclipse too. Have a look at https://mcuoneclipse.com/2012/04/02/5-best-eclipse-plugins-4-ehep/

 

I hope this helps,

Erich

View solution in original post

0 Kudos
279 Views
claudiobrunelli
Contributor II

Hi ErichS

As usual, your tips & tricks are very very precious.

Thanks

Claudio

0 Kudos
258 Views
ErichS
Senior Contributor III

Hi @claudiobrunelli ,

thanks you :-).

To add to the answer: there reasons for the strings are the asserts which use things like __FILE__ and __LINE__ for the printf() messages: they get stored in FLASH.

Erich

0 Kudos