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.

linking error

hi

i m building project with ccsv3.3 and TMS320C6713 DSK during building process i found following error:

[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"DebugMW.lkf"
<Linking>
>> error: can't allocate .far, size 00e57dd0 (page 0) in IRAM (avail:
0003fe00)
>> error: errors in input - test.out not built


so, plz help me to solve this
thanks
  • Nikhil,

    nikhil patel said:
    >> error: can't allocate .far, size 00e57dd0 (page 0) in IRAM (avail:0003fe00)

    This error message tells you that there is not enough memory space in IRAM to allocate the .far section. The required space for .far is 0x00e57dd0 while the available space is only 0x0003fe00 at that point in the linking process.

    Using the DSP/BIOS GUI, you can change the memory label for the .far section from IRAM to SDRAM or whatever name is used for the external memory in your project. This will update your linker command file so the .far section will be placed in the larger external memory.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.

  • thanks for reply

    i tried your answer but it shows following error:

    [Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"CustomMW.lkf"
    <Linking>
    >> error: can't allocate .far, size 00e57dd0 (page 0) in SDRAM (avail:
    00800000)
    >> error: errors in input - test.out not built

    >> Compilation failure
    help me to solve this
    thnks
  • Nikhil,

    nikhil patel said:
    >> error: can't allocate .far, size 00e57dd0 (page 0) in SDRAM (avail:
    00800000)

    How do    you    interpret this error message? In my previous post, I interpreted the words of this error message for you, and you have made very important changes.

    You have highlighted part of the message in red to signify its importance. What does this highlighted portion tell you about your current configuration and about what the linker is trying to do? Reuse my words if you wish, with the new values, and compare what you say to the features of your DSP and your board.

    Regards,
    RandyP

  • thanks 

    it's working............

  • How i can use the DSP/BIOS GUI , i have the same problem, but i'm usign ccs v3.1, i'm triying to probe the example detect_play from Rulph Chassaing
  • Please create a new post for your problem.