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.

关于CMD的问题

Other Parts Discussed in Thread: CCSTUDIO

 我在编译程序的出现下面的错误,应该怎么解决啊

DSP28335_BOARD_20150314.pjt - Debug  --------------------

 [Linking...] "D:\CCStudio_v3.3PLA\C2000\cgtools\bin\cl2000" -@"Debug.lkf"

<Linking> "D:\\DSP28335_BOARD_TEST_20150314\\cmd\\F28335_RAM.cmd", line 84: error:   

 placement fails for object ".econst", size 0x404 (page 1).  Available    ranges:   

DRAML6L7     size: 0x2000       unused: 0x2c0        max hole: 0x2c0    

 error: errors encountered during linking; "./Debug/Based.out" not built

>> Compilation failure

Build Complete,   2 Errors, 0 Warnings, 0 Remarks.

  • 上面的错误显示你的.econst也即是常量很大,需要0x404的空间,但是DRAML6L7只有0x2c0空余,所以不够放。需要将其他RAM也合并过来,如将DRAML5也合并到DRAML6L7中。

    另外你这个工程应该是跑在RAM的吧,因为你的常量放在RAM中。如果你的程序是跑在flash中,.econst应该映射到flash中。

    Eric