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.

调试版HOSARAM不够了怎么办

Other Parts Discussed in Thread: CCSTUDIO

用上了DSP/BIOS发现很快H0SARAM就不够用了,有什么办法让DSP/BIOS瘦身吗?我也不用很多BIOS的功能,可以关掉哪些?

  • 可以把DSP/BIOS的某些段放在其他的RAM区域中。

  • 请指点的详细点。

  • 我现在CMD文件中加入了下面这行,希望把DefaultIsr_BIOS.obj文件编进.text1段,这个段是我自己指定的。

    .text1: { DefaultIsr_BIOS.obj
    } > OTHERCODE PAGE 0

    但是编译时出现:

    >> DSP281x_Headers_BIOS.cmd: error: system error, can't open file '.obj' for
    input: No such file or directory

  • cmd改成下面

    .text : {*(.text)} >> H0SARAM | OTHERCODE, PAGE = 0 /*.text段将在H0SARAM和RAML0L1中自动拆分*/

    并且在头上加上:

    -llnkrtdx.a28L
    -ldrivers.a28L /* device drivers support */
    -lsioboth.a28L /* supports both SIO models */
    -lbios.a28L /* DSP/BIOS support */
    -lrtdxx.lib /* RTDX support */
    -lrts2800_ml.lib /* C and C++ run-time library support */

    出现下面的警告和错误:

    >> *****IC_Board_RAM\BIOS_ramcfg.cmd, line 342: warning: 

    multiple definitions of SECTION named '.text'
    >> error: symbol _RTDX_Buffer is defined multiple times: rtdx_buf.o28L
    (D:/CCStudio_v3.3/bios_5_31_02/packages/ti/rtdx/lib/c2000/rtdxx.lib) and F:\SVN_Work\trunk\Motor_Ctrl_W_BSW\Debug\BIOS_ramcfg.obj