Inspecting Memory Usage: KL25Z on KDS3.0 ide

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inspecting Memory Usage: KL25Z on KDS3.0 ide

Jump to solution
536 Views
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

Labels (1)
0 Kudos
1 Solution
402 Views
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

View solution in original post

0 Kudos
3 Replies
402 Views
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 Kudos
402 Views
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 Kudos
403 Views
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 Kudos