Reply
Posts: 4
Registered: ‎06-07-2017

code limitations on simplicity studio

Hi,

I work on simplicity studio V4 with the GNU ARM v4.9.3.

I try to flash my project into a MCU EFM32HG108F64.

The code is compiling well but don't work and when i comment just one random line in the code, it works well.

This makes me thought that it was a code limit but i can't find anything about a limit in the GNU compiler.

 

Somebody can help me ?

Thank you.

 

Posts: 518
Registered: ‎12-05-2016

Re: code limitations on simplicity studio

Hi @spope73,

 

Are you saying that the binary size of your project is exceeding the 64 kb of flash that is on the part?

 

If you look at the generated .map file is the project close to the flash 64 kb limit?

 

Thank you,

jpitt

Posts: 4
Registered: ‎06-07-2017

Re: code limitations on simplicity studio

hello 

Thank you for your answer. 

The binary size of my code is 40.934 kb.

And there is no error message, the project just don't work.

I don't understand why.

Thank you for your help.

 

Posts: 4
Registered: ‎06-07-2017

Re: code limitations on simplicity studio

Hi again.

I post this message to update my problem.

I was using a home made library and the problem disappear when i re-inject the library sources into my project file.

Any idea about what is happening here?

thank you. 

 

Posts: 2,326
Registered: ‎10-14-2014

Re: code limitations on simplicity studio

What do you mean by "home made library" here?

 

WeiguoLu
Posts: 4
Registered: ‎06-07-2017

Re: code limitations on simplicity studio

I create a project and use it as a library in my main project.

Posts: 2,326
Registered: ‎10-14-2014

Re: code limitations on simplicity studio

You could try to follow this KB to create and link a static library.

http://community.silabs.com/t5/8-bit-MCU-Knowledge-Base/How-to-create-and-link-to-a-static-library/t...

WeiguoLu