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.

Using CCS 3.3 for ARM9 simulation of DM6446 EVM - Need sample linker cmd file

I'm using CCS 3.3.38.2  and I would like to simulate the execution of small non-OS C programs on the ARM9 of a DM6446 EVM. I'm looking for a sample linker command file that I could use. Something simple enough  for a C hello program that prints into memory, just to get started.

  • I haven't tried this out but something like the below should work for something like hello world, it just assumes you want to put everything in DDR.

     

     

    MEMORY

    {

     DDR: o = 80000000h l = 00100000h

     

    }

     

    SECTIONS

    {   

        .text       >   DDR

        .stack >   DDR

        .far >   DDR

        .switch >   DDR

        .tables >   DDR

        .data   >   DDR

        .bss >   DDR

        .sysmem >   DDR

        .cinit >   DDR

        .const >   DDR

        .cio    >   DDR

    }