This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Read Flash and SRAM in Segger Embedded Studio

Hello,

I am using SEGGER embedded studio to develope a project. I want to know how can I know the flash and SRAM use of part code. Because I have many files. After I build the project, there are some values shown in the picture. What does the value mean? Are they the falsh and SRAM value?

  • Hello,

    Code is typically kept in flash whereas data can be in both so you can't estimate the RAM and FLASH from these 2 parameters alone. To analyze memory usage for individual source files you may try to use the Symbol Browser view in Segger:

    The problem with the Symbol Browse is that its "Group by source files" option only seems to work for data in ".text". Data in other sections gets placed in the "Unknown" category:

    Best regards,

    Vidar

Related