This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Map file description of keil linker

Hello!

In keil map file, I don't know all the title name's meaning. For example, what does the 'Idx' mean in Memory Map of the image section of map file?

What's the letter "E" in this section before Section Name?

Thanks!

Parents
  • ARM platform

    Memory Map of the image
    
      Image Entry point : 0x000000c1
    
      Load Region LR_IROM1 (Base: 0x00000000, Size: 0x00003b48, Max: 0x00040000, ABSOLUTE)
    
        Execution Region ER_IROM1 (Base: 0x00000000, Size: 0x00003aec, Max: 0x00040000, ABSOLUTE)
    
        Base Addr    Size         Type   Attr      Idx    E Section Name        Object
    
        0x00000000   0x000000c0   Data   RO         7744    RESET               startup_fm33a0xx.o
        0x000000c0   0x00000008   Code   RO         7795  * !!!main             c_p.l(__main.o)
        0x000000c8   0x0000003c   Code   RO         8005    !!!scatter          c_p.l(__scatter.o)
        0x00000104   0x0000001a   Code   RO         8007    !!handler_copy      c_p.l(__scatter_copy.o)
        0x0000011e   0x00000002   PAD
        0x00000120   0x0000001c   Code   RO         8009    !!handler_zi        c_p.l(__scatter_zi.o)

    See the map file above, there is a star sign (*) under the name of E, before !!!main, you mean there is only one external?

    Can you explain each section meaning? What's the function of the 'Idx' field? to locate the code position in the image?

    Thanks very much!

Reply
  • ARM platform

    Memory Map of the image
    
      Image Entry point : 0x000000c1
    
      Load Region LR_IROM1 (Base: 0x00000000, Size: 0x00003b48, Max: 0x00040000, ABSOLUTE)
    
        Execution Region ER_IROM1 (Base: 0x00000000, Size: 0x00003aec, Max: 0x00040000, ABSOLUTE)
    
        Base Addr    Size         Type   Attr      Idx    E Section Name        Object
    
        0x00000000   0x000000c0   Data   RO         7744    RESET               startup_fm33a0xx.o
        0x000000c0   0x00000008   Code   RO         7795  * !!!main             c_p.l(__main.o)
        0x000000c8   0x0000003c   Code   RO         8005    !!!scatter          c_p.l(__scatter.o)
        0x00000104   0x0000001a   Code   RO         8007    !!handler_copy      c_p.l(__scatter_copy.o)
        0x0000011e   0x00000002   PAD
        0x00000120   0x0000001c   Code   RO         8009    !!handler_zi        c_p.l(__scatter_zi.o)

    See the map file above, there is a star sign (*) under the name of E, before !!!main, you mean there is only one external?

    Can you explain each section meaning? What's the function of the 'Idx' field? to locate the code position in the image?

    Thanks very much!

Children