Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9786

In the map file MEMORY CONFIGURATION table, the column "used" may be less than the correct value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Medium Medium

      The attached hello.c is a simple hello world program. Build it ...

      % cl2000 hello.c -z -o hello.out -m hello.map
      <Linking>
      

      Then inspect the map file. In the MEMORY CONFIGURATION table, this shows ...

        DATA                  00000000   00010000  00000ad0  0000f530  RW  
      

      The fourth column is how much of the memory range is used, which is 0xad0 words in this case.

      However, looking at the highest section allocated to DATA, this shows ...

      .cio       1    000009c0    00000120     UNINITIALIZED
                        000009c0    00000120     rts2800_ml.lib : trgmsg.c.obj (.cio)
      

      Note that 0x9c0+0x120 = 0xae0, and not 0xad0.

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: