Preetu Abraham

Decoding the mapfile generated by a ColdFire processor

Discussion created by Preetu Abraham on Jan 16, 2017
Latest reply on Jan 18, 2017 by TomE

Hi,

 I would like to know the differences between the .map files generated by using SDRAM and another flash linker file. I would like to know how to decode the memory being used for both .Also would like to know about using flash and SDRAM linker files being used separate

 

From flash linker file :

 


# Memory map:
  v_addr   p_addr   size     name
  00000000 00000000 00000850 .boot      boot
  02001000 00010000 00025140 .text      text
  20000000 20000000 00000000 .vector_ram vector_ram
  02026140 00035140 00002120 .data      data
  02028260 02028260 000497F0 .bss       bss

 

From SDRAM linker file:

 

# Memory map:
  v_addr   p_addr   size     name
  00000000 00000000 00000000 .code_flash code_flash
  02000000 02000000 00071250 .main_application_data sdram
  10000000 10000000 00000000 .mbar      mbar
  10010000 10010000 00000000 .sys_sram  sys_sram
  20000000 20000000 00000000 .vector_ram vector_ram
  20000000 20000000 00000000 .core_sram0 core_sram0
  20001000 20001000 00000000 .core_sram1 core_sram1

Outcomes