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.

DM8127 DSP中栈空间扩大到2MB后,编译报错问题。

Other Parts Discussed in Thread: SYSBIOS

你好!

我想将DM8127的DSP中栈空间的大小扩大到2MB,但在编译的时候提示报错信息,请问如何修改栈空间大小呢?

"/develop/zhouwei/RDK_Source_Code/ipnc_rdk/../ipnc_rdk/ipnc_mcfw/build/ipnc_rdk/obj/ti814x-evm/c6xdsp/debug/ipnc_rdk_configuro/linker_mod.cmd", line 250: error #10099-D:
program will not fit into available memory. run placement with alignment
fails for section ".bss:taskStackSection" size 0x2a10174 . Available memory
ranges:
DDR3_DSP size: 0x1e00000 unused: 0x0 max hole: 0x0
"/develop/zhouwei/RDK_Source_Code/ipnc_rdk/../ipnc_rdk/ipnc_mcfw/build/ipnc_rdk/obj/ti814x-evm/c6xdsp/debug/ipnc_rdk_configuro/linker_mod.cmd", line 252: error #10099-D:
program will not fit into available memory. run placement with alignment
fails for section ".systemHeap" size 0x1900007 . Available memory ranges:
DDR3_DSP size: 0x1e00000 unused: 0x0 max hole: 0x0

我做了如下修改:

1. 修改文件ipnc_mcfw/mcfw/src_bios6/cfg/ti814x/config_512M.bld,DSP代码段和数据段大小分别为12MB和30MB

     var DSP_CODE_SIZE = 12*MB;

     var DSP_DATA_SIZE = 30*MB;

2. 修改文件ipnc_mcfw/mcfw/src_bios6/links_common/system/system_priv_common.h,栈空间设置为2MB

    #define SYSTEM_TSK_STACK_SIZE_LARGE      ( 2*MB)