This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6000 Linker Sections

Other Parts Discussed in Thread: OMAPL138

Hello,

 

I had a look at the linker map file of our C674x DSP code on the OMAPL138. There are 2 bios (V5_33_06) sections (.vers, .printf) of type COPY SECTION. Are these sections initialized, e.g. do I have to add them to the boot table which i create with the hex utility? What exactly does COPY SECTION mean?

 

Thanks in advance.....

  • Thanks for your fast answer!

    The linker map file says:

    MEMORY CONFIGURATION

             name               origin           length         used         unused       attr     fill
    ----------------------     --------           ---------        --------         --------         ----    --------
      IRAM                  11800000   00040000  00024f99   0001b067   RWIX
      CACHE_L1P    11e00000   00008000  00000000  00008000  RWIX
      CACHE_L1D    11f00000    00008000  00000000  00008000  RWIX
      L3_CBA_RAM  80000000   00020000  00000000  00020000  RWIX
      DDR                   c3000000   01000000  00000000  01000000  RWIX

     

    .vers      0    00000000    0000003c     COPY SECTION
                         00000000    0000003c     bioscfg.obj (.vers)

    .printf    0    118245f9    00000059     COPY SECTION
                        118245f9    00000059     bioscfg.obj (.printf)

    Address 0 for .vers isn't a valid RAM address! As you wrote .vers just contains date information which needn't to be transferred to DSP RAM by our loader, right?! What about .printf section? It is located on a valid RAM address. Does it have to be loaded into RAM?

     

     

  • Marc said:
    Address 0 for .vers isn't a valid RAM address! As you wrote .vers just contains date information which needn't to be transferred to DSP RAM by our loader, right?!

    Right!

    Marc said:
    What about .printf section? It is located on a valid RAM address. Does it have to be loaded into RAM?

    see:

    http://processors.wiki.ti.com/index.php/DSP_BIOS_FAQ#Q:_Does_LOG_printf.28.29_really_loads_the_strings_to_the_target.3F_If_so.2C_what_is_the_memory_section_used.3F