Post Go back to editing

What are the key words in LDF file mean?

Category: Software
Product Number: ADSP21569

Hi,

In ADSP21569 ldf file, there are some key words in the section definition, such as "BW", "SW", "PM", "DM", below is an example:

KERNAL_DATA_SDRAM_Bell_BW BW
{
    INPUT_SECTION_ALIGN(2)
    INPUT_SECTIONS( $OBJS_LIBS(Seg_KERNAL_data_core2_SDRAM) )
} > MY_SDRAM_DATA_MEM_KERNAL

Could you please explain what does the "BW", "SW", "PM", "DM" mean?

Is there a document explains the keywords?

Thanks!

Thread Notes

  • Hi,

    Output section type qualifiers are only available for ADSP-214xx, ADSP-215xx and ADSP-SC5xx processors. The output section type determines the word size of the section in the linked file:

    ◦ BW ("byte-wide"): 8 bits / 1 byte per word (ADSP-215xx/SC5xx only)
    ◦ SW ("short word"): 16 bits / 2 bytes per word
    ◦ DM ("data memory"): 40 bits / 5 bytes per word
    ◦ PM ("program memory"): 48 bits / 6 bytes per word
    ◦ DATA64 ("64-bit data"): 64 bits / 8 bytes per word

    You can get more details on chapter "SECTIONS{} Command" by navigating to the below help page.
    CrossCore® Embedded Studio 2.12.0 > SHARC® Development Tools Documentation > Linker and Utilities Manual > Linker Description File > LDF Keywords, Commands, and Operators > LDF Commands > SECTIONS{} Command

    Regards,
    Nishanthi.V