Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 5 months ago.
Giant Gecko - Silicon Labs Connect
Can some one please make a list of steps that I can follow so I can export my project form mbed to silicon labs??? I managed to export and import the project but i have some problems with the energy profile. It dose not work properly.
UPDATE: I managed to show me the functions but there is an "unknown" function that consume the most...also because of that the power consumption is not accurate and the source file is not find....Please hep !
1 Answer
9 years, 5 months ago.
Hi Alin,
Are you including mbed or mbed-src as your mbed library? If you want code correlation to function properly, you must use mbed-src. Otherwise, mbed gets included as a precompiled library and the debug information (which is needed to correlate function names to the sampled memory adresses from the PC) does not get included.
Also, make sure your compilation configuration is set to Debug instead of Release.
Lastly, in the future, can you list your question under the Giant Gecko board? If you ask it like this, we at Silicon Labs do not get notified, which results in us having to browse all questions on mbed manually, and may cause your question to get overlooked.
In what way does it not work properly? if you mean Code Correlation part, then you will need to add that code to your program.
posted by Paul Staron 01 Jul 2015i have entered the code but I have problems with detecting how much each function consumes and my main function is written as "unknown". It only shows me the current consumed. Another problem is that when i click on the current peeks it gives me the "unknown source" error. Can you write me a full list of steps that I need to make so it could work properly ???
posted by Alin Iacobscu 01 Jul 2015I agree, this also happens with the demo programs in Simplicity Studio the problem is there, I think the best way to enquire is through Silicon Labs.
posted by Paul Staron 01 Jul 2015