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.

C2000用CCSv5编译出现错误

Other Parts Discussed in Thread: TMS320F28031

在ram里调试 用的28027_RAM_Lnk.cmd这个文件,老是出现error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section,请问是怎么回事啊

  • 我也有这样的错误,是建的TMS320F28031的工程,把很多安装库文件都添加进去了而已;编译出错

    (好像是我自己建的工程就有,而示例代码工程却不会有这样的错误。 )

    不过我果断按下面这样改成了下设置:

    只改了编译就不出错了。(记得改了之后,重新编译之前;一定得Clean Project 

    不过更有扯淡的事就出来了。

    我再把它改回去(改成RAM的cmd链接文件),再Clean Project --->>Build project   居然不出错了。我当时就纠结了。

    可能是BUG,期待更新版本啊。

  • 我这样操作之后,会有一大堆的警告,如:

    creating output section "AdcRegsFile" without a SECTIONS specification

    ......

    我觉得是没有添加DSP2803x_Headers_nonBIOS.cmd文件到工程中。所以我把DSP2803x_Headers_nonBIOS.cmd填加进工程去了。可是编译又有一大堆的错误,如:

    ADC memory range has already been specified

    ......

  • 错误都在这DSP2803x_Headers_BIOS.cmd文件吧,把它移除了,你用了3个cmd文件

  • 内存空间不够了啊