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.

TMS320C6678 program memory



Hello

      My  "test.out" file size is 7MB  if i load this into core where it be stored? L2/MSM/DDR ? 

     Kindly give me a detailed explanation for this scenario. 

  • Hi Sangili,

    When you build a .out image, linker usually generate .map file also.  It's a text file and it tells where the program and data are loaded.

    I hope it helps.

    Regards,
    Atsushi

  • Hi,

    You already defined the place in the linker, you can check test.map, the question is from where you want your device to boot from,

    Thanks,

    HR

  • Hello

          Tanks for your immediate reply.

          This question raise because of my application memory constraint.

          My application need 400-500MB of input data, hence i decided to store this input data into DDR3 RAM(512MB). 

    So i need to know starting address of unused memory region of RAM to load my input data

    if my  .out file is exceed the 7MB how its stored in RAM or what kind of changes i need to do in .cmd for my application?

  • Sangili,

    7MB of the .out does NOT always mean you need 7MB to store the program and data.  The file also contains various additional information in addition to the program and data.

    When you open the test.map file as HR also mentioned, you will find as similar information as the following.

    MEMORY CONFIGURATION

             name            origin    length      used     unused   attr    fill
    ----------------------  --------  ---------  --------  --------  ----  --------
      L2SRAM                00800000   00100000  00020746  000df8ba  RW X
      MSMCSRAM              0c000000   00200000  00000000  00200000  RW X
      DDR3                  80000000   20000000  00000000  20000000  RWIX

    In the case, the program and data are located in L2SRAM and the size is 0x20746 bytes.  DDR3 is not used in the case.

    I hope it helps.

    Regards,
    Atsushi