Memory utilization report

Sysprogs forums Forums VisualGDB Memory utilization report

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27184
    gaminn
    Participant

    Hi,

    I have a project for Kinetis MKL27. I use my own linker script, where flash memory starts at 0x6000 and is 0xA000 bytes long. When I build my project I get:

    ——————- Memory utilization report ——————-
    Used FLASH: 13KB out of 62KB (22%)

     

    Two questions:

    1. Why is there 62 KB? This MCU has 64 kB flash memory.
    2. As flash memory available for this project is only 40 kB long, I would like to see this number in memory utilization report, instead of 62 or 64 KB. Is that possible?
    #27185
    support
    Keymaster

    Hi,

    Yes, you can configure VisualGDB to extract the memory layout from your custom linker script.

    Please try using the latest VisualGDB 5.5 Preview 2, open VisualGDB Project Properties on the Additional Memories page. The setting on top of the page controls whether VisualGDB will use the memory definition shipped with it, or will extract it from the linker script.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.