Inspecting Memory Usage: KL25Z on KDS3.0 ide

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Inspecting Memory Usage: KL25Z on KDS3.0 ide

跳至解决方案
802 次查看
nelsonlobo
Contributor II

Hi,

 

Ive checked the memory and memory browser tab while debugging my code. Also ive noticed that after bulding my app it dis show up some memory distribution of the controller in the console. But after after the second time build it wont show the same. It would be great to see a graphical representation for the same. Is there any option for that???

 

Regards,

Nelson Lobo

标签 (1)
0 项奖励
回复
1 解答
668 次查看
BlackNight
NXP Employee
NXP Employee

Hi Nelson,

bss is uninitialized data, see text, data and bss: Code and Data Size Explained

I hope this helps,

Erich

在原帖中查看解决方案

0 项奖励
回复
3 回复数
668 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Lobo,

Please check "print size", then build  , the code size will show on the console view :

pastedImage_0.png

And it seems there isn't graphical representation for the same .

Hope it helps


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
668 次查看
nelsonlobo
Contributor II

Hi Alice,

I already have that option enabled which provides the following:

'Invoking: Cross ARM GNU Print Size'

arm-none-eabi-size --format=berkeley "1.gpio_setup.elf"

   text   data    bss    dec    hex filename

  12100    188   2116  14404   3844 1.gpio_setup.elf

'Finished building: 1.gpio_setup.siz'

As per my understanding:

text : program/flash memory

data: static ram

bss : ??? (assuming the MCU registers)

is that right??? if not please do correct me.

Regards,

Nelson Lobo

0 项奖励
回复
669 次查看
BlackNight
NXP Employee
NXP Employee

Hi Nelson,

bss is uninitialized data, see text, data and bss: Code and Data Size Explained

I hope this helps,

Erich

0 项奖励
回复