Inspecting Memory Usage: KL25Z on KDS3.0 ide

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Inspecting Memory Usage: KL25Z on KDS3.0 ide

ソリューションへジャンプ
800件の閲覧回数
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 解決策
666件の閲覧回数
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 返答(返信)
666件の閲覧回数
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 件の賞賛
返信
666件の閲覧回数
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 件の賞賛
返信
667件の閲覧回数
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 件の賞賛
返信