Hi,
I am trying to build the C674x DSP portion of MessageQ example on windows with CCSV5.1. The reason I am doing this is because I want to use CCSV5.1 debugger in my future development that resembles MessageQ. I have the EZ-SDK installed on Linux as /ti-ezsdk_dm816x-evm_5_03_01_15 and I could build the messageQ example with Linux makefiles both for HLOS and RTOS. Running "./messageqapp_debug 1 DSP ./messageq_ti81xx_dsp.xe674" gives me correct results.
So now I moved everything related to C674x DSP messageQ to windows environment into a CCSV5.1 project. These include (1) MessageQApp.c (2) MessageQ_ti81xx_dsp.cfg (3) MessageApp_common.cfg.xs (4) SyslinkSamples_common.cfg.xs. I also installed syslink_2_00_05_85 into my CCS directory and added its location in XDC path as follows:
xdcpath="C:/CCStudio_v5.1.1.00028/ipc_1_23_05_40/packages;C:/CCStudio_v5.1.1.00028/bios_6_32_05_54/packages;C:/CCStudio_v5.1.1.00028/syslink_2_00_05_85/packages;C:/Documents and Settings/ZhaoLi/myRepository/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ION_E_DSP2 -r debug -c "C:/CCStudio_v5.1.1.00028/ccsv5/tools/compiler/c6000"
The following error message comes up when I try to compile the MessageQApp.c. I think the error is due to that it could not find the syslink components for some reason.
**** Build of configuration Debug for project DSP_MSGQ_Reply ****
C:\CCStudio_v5.1.1.00028\ccsv5\utils\bin\gmake -k all
'Building file: ../MessageQ_ti81xx_dsp.cfg'
'Invoking: XDCtools'
"C:/CCStudio_v5.1.1.00028/xdctools_3_22_04_46/xs" --xdcpath="C:/CCStudio_v5.1.1.00028/ipc_1_23_05_40/packages;C:/CCStudio_v5.1.1.00028/bios_6_32_05_54/packages;C:/CCStudio_v5.1.1.00028/syslink_2_00_05_85/packages;C:/Documents and Settings/ZhaoLi/myRepository/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ION_E_DSP2 -r debug -c "C:/CCStudio_v5.1.1.00028/ccsv5/tools/compiler/c6000" "../MessageQ_ti81xx_dsp.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring MessageQ_ti81xx_dsp.xe674 from package/cfg/MessageQ_ti81xx_dsp_pe674.cfg ...
js: "C:/tmp_C6A8168/DSP_MSGQ_Reply/SysLinkSamples_common.cfg.xs", line 54: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: C:\CCStudio_v5.1.1.00028\syslink_2_00_05_85\packages\ti\syslink\ipc\rtos\package.xdc found along the package path, but no schema file was found. Ensure that the package 'ti.syslink.ipc.rtos' is completely built.
"C:/tmp_C6A8168/DSP_MSGQ_Reply/MessageApp_common.cfg.xs", line 62
"C:/tmp_C6A8168/DSP_MSGQ_Reply/MessageQ_ti81xx_dsp.cfg", line 69
"./package/cfg/MessageQ_ti81xx_dsp_pe674.cfg", line 197
"./package/cfg/MessageQ_ti81xx_dsp_pe674.cfg", line 276
"./package/cfg/MessageQ_ti81xx_dsp_pe674.cfg", line 184
gmake.exe: *** [package/cfg/MessageQ_ti81xx_dsp_pe674.xdl] Error 1
js: "C:/CCStudio_v5.1.1.00028/xdctools_3_22_04_46/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/compiler.opt] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
Basically it cannot perform the following lines in SysLinkSamples_common.cfg.xs:
var Syslink = xdc.useModule ('ti.syslink.ipc.rtos.Syslink');
xdc.loadPackage ('ti.syslink.ipc.rtos');
xdc.loadPackage ('ti.syslink.utils.rtos.bios6');
If I comment out these lines in SysLinkSamples_common.cfg.xs and the if statements following that, then I could compile the MessageQApp.c OK. But when running it on my target board, the it complains that ProcMgr_getSymbolAddress failed to get symbol address! Please see attached file for details.
Can some experts please help with this issue?
Thanks a lot,
Zhao