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.
Hello everyone,
i'm new on DSP embedded programming and i need to learn about syslink communication between the DSP and ARM processor. I tried to compile this example for TI814X target and the projects builded fine.
But when i do the same thing for the OMAPL138 LCDK, the project doesn't build and returns this error:
**** Clean-only build of configuration Debug for project MessageQ138_DSP **** /home/robert/ti/ccsv5/utils/bin/gmake -k clean rm -rf "configPkg/linker.cmd" "configPkg/compiler.opt" "MessageQ138_DSP.out" rm -rf "configPkg/" rm -rf "MessageQApp.pp" rm -rf "MessageQApp.obj" Finished clean **** Build Finished **** **** Build of configuration Debug for project MessageQ138_DSP **** /home/robert/ti/ccsv5/utils/bin/gmake -k all Building file: ../MessageQ_omapl1xx_dsp.cfg Invoking: XDCtools "/home/robert/ti/xdctools_3_25_03_72/xs" --xdcpath="/home/robert/ti/ipc_1_24_02_27/packages;/home/robert/syslink_2_10_08_35/packages;/home/robert/ti/bios_6_33_02_31/packages;/home/robert/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.evmDA830 -r debug -c "/home/robert/ti/C6000CGT7.3.3" --compileOptions "-g --optimize_with_debug" "../MessageQ_omapl1xx_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_omapl1xx_dsp.xe674 from package/cfg/MessageQ_omapl1xx_dsp_pe674.cfg ... js: "/home/robert/workspace_v5_5/MessageQ138_DSP/SysLinkSamples_common.cfg.xs", line 91: TypeError: Cannot read property "base" from undefined (/home/robert/workspace_v5_5/MessageQ138_DSP/SysLinkSamples_common.cfg.xs#91) "/home/robert/workspace_v5_5/MessageQ138_DSP/MessageApp_common.cfg.xs", line 62 "/home/robert/workspace_v5_5/MessageQ138_DSP/MessageQ_omapl1xx_dsp.cfg", line 56 "./package/cfg/MessageQ_omapl1xx_dsp_pe674.cfg", line 187 gmake: *** [package/cfg/MessageQ_omapl1xx_dsp_pe674.xdl] Error 1 js: "/home/robert/ti/xdctools_3_25_03_72/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted. gmake: Target `all' not remade because of errors. **** Build Finished ****
I used these properties:
I'm based on the content in <syslink_install_dir>/packages/ti/syslink/samples/rtos/messageQ/package.bld for the entry in the testArray of the device that i'm building for (the messageq_omapl1xx_dsp):
{name: 'messageq_omapl1xx_dsp',
sources: ['MessageQApp'], config: "./omapl1xx/MessageQ_omapl1xx_dsp",
copts: " -DSYSLINK_PLATFORM_OMAPL1XX ",
buildTargets: ["C674"],
buildPlatforms: ["evmDA830:dsp"]
},
I don't know where i'm wrong...
Another question: if exists some guide for understanding the basics of embedded programming of this board in general and after for the specific syslink that i would learn...
Hi,
What board are you using ?
What are you trying to do?
SYSLINK examples compilation ?
Please refer the below TI wiki link for SYSLINK.
http://processors.wiki.ti.com/index.php/MCSDK_OMAPL138_User_Guide_Chapter_Exploring#Build_Syslink
Another question: if exists some guide for understanding the basics of embedded programming of this board in general and after for the specific syslink that i would learn...
Please elaborate your requirements,
Is any linux or DSP app developments ?
Titusrathinaraj Stalin said:Hi,
What board are you using ?
What are you trying to do?
SYSLINK examples compilation ?
Please refer the below TI wiki link for SYSLINK.
http://processors.wiki.ti.com/index.php/MCSDK_OMAPL138_User_Guide_Chapter_Exploring#Build_Syslink
I'm using the OMAP-L138 DSP-ARM9 (LCDK) and excuse me i forgotten to post the link of the tutorial that i'm reading: http://processors.wiki.ti.com/index.php/Creating_CCS_Project_for_SysLink_samples
when i build this for evmTI814X as the example, the projects builds fine. After i tried to do the same thing for the board that i'm using with the properties settings that i posted above and ccstudio returns the errors that i posted above.
Please elaborate your requirements,
Is any linux or DSP app developments ?
the intermediate target is to implement a communication between the ARM and DSP processors and i thought that the tutorial that i posted above is a good starting point to understand this (in the final target i'd implement an application that do a video streaming in internet). I already read and i compiled and build the syslink example as mentioned in the link that you posted me.
Thank you for your attention.
Hi,
Thanks for your inputs.
when i build this for evmTI814X as the example, the projects builds fine. After i tried to do the same thing for the board that i'm using with the properties settings that i posted above and ccstudio returns the errors that i posted above.
1) From your screen shot, You have selected the board type DA830/DA828 and not LCDK, also variant is C64xx and not C674x.
2) Have you tried to build SYSLINK examples on ubuntu linux host machine?
3) The CCS error seems to be XDS tools version mismatching.
I will try this from my end and let you know.
FYI:
OMAPL138LCDK/DA850 -> C6748 DSP core and ARM9 core
OMAPL137/DA830 -> C6747 DSP core and ARM9 core
Ok, my board is L138/C6748 (hence OMAPL138LCDK/DA850 -> C6748 DSP core and ARM9 core as you addressed me).
Now i changed these properties as shown below (for Main):
and for RTSC:
The error changed as shown below:
**** Build of configuration Debug for project MessageQ138_DSP ****
/home/robert/ti/ccsv5/utils/bin/gmake -k all
Building file: ../MessageQApp.c
Invoking: C6000 Compiler
"/home/robert/ti/C6000CGT7.3.3/bin/cl6x" -mv6740 -g --define=SYSLINK_PLATFORM_OMAP1XX --define=omapl138 --include_path="/home/robert/ti/C6000CGT7.3.3/include" --display_error_number --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="MessageQApp.pp" --cmd_file="./configPkg/compiler.opt" "../MessageQApp.c"
"/home/robert/ti/xdctools_3_23_01_43/packages/xdc/cfg/global.h", line 39: fatal error #5: could not open source file "/home/robert/workspace_v5_5/MessageQ138_DSP/Debug/configPkg/package/cfg/MessageQ_omapl1xx_dsp_pe674.h"
1 fatal error detected in the compilation of "../MessageQApp.c".
Compilation terminated.
gmake: *** [MessageQApp.obj] Error 1
>> Compilation failure
Building file: ../MessageQ_omapl1xx_dsp.cfg
Invoking: XDCtools
"/home/robert/ti/xdctools_3_23_01_43/xs" --xdcpath="/home/robert/ti/ipc_1_24_02_27/packages;/home/robert/syslink_2_10_08_35/packages;/home/robert/ti/bios_6_33_02_31/packages;/home/robert/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.evmDA850 -r debug -c "/home/robert/ti/C6000CGT7.3.3" --compileOptions "-g --optimize_with_debug" "../MessageQ_omapl1xx_dsp.cfg"
configuring MessageQ_omapl1xx_dsp.xe674 from package/cfg/MessageQ_omapl1xx_dsp_pe674.cfg ...
js: "/home/robert/ti/ipc_1_24_02_27/packages/ti/sdo/ipc/family/Settings.xs", line 570: The device (TMS320DA850) isn't supported by IPC
"/home/robert/ti/ipc_1_24_02_27/packages/ti/sdo/utils/MultiProc.xs", line 156
"/home/robert/workspace_v5_5/MessageQ138_DSP/MessageQ_omapl1xx_dsp.cfg", line 53
"./package/cfg/MessageQ_omapl1xx_dsp_pe674.cfg", line 200
"./package/cfg/MessageQ_omapl1xx_dsp_pe674.cfg", line 279
"./package/cfg/MessageQ_omapl1xx_dsp_pe674.cfg", line 187
gmake: *** [package/cfg/MessageQ_omapl1xx_dsp_pe674.xdl] Error 1
js: "/home/robert/ti/xdctools_3_23_01_43/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/linker.cmd] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
I think that i have to update the Ipc version (but i hope that i selected right properties for the board...). Thank you already!
Hi,
I'm also getting the same error.
It is not seems to be a IPC version error but I hope this attachment given on below link only for TI81xx series board and not for LCDK or OMAPL138 EVM or DA850.
What do you say?
http://processors.wiki.ti.com/index.php/Creating_CCS_Project_for_SysLink_samples
Because, It has support "DMTIMER" in .cfg file which is not relevant to OMAPL138,
I can't find any OMAPL138 changes on .cfg file.
"/home/robert/workspace_v5_5/MessageQ138_DSP/Debug/configPkg/package/cfg/MessageQ_omapl1xx_dsp_pe674.h"
1 fatal error detected in the compilation of "../MessageQApp.c".
Have you renamed it ?
If not, Please share me the exact link to download that which project you are using currently.
Hi,
Where did you download this project?
Link Please.
Is it from TI link or any other ?
Have you modified anything or Just you did importing project to CCS ?
Titusrathinaraj Stalin said:Hi,
Where did you download this project?
Link Please.
Is it from TI link or any other ?
Have you modified anything or Just you did importing project to CCS ?
I followed the procedures listed in that link that i posted above and i report here:
http://processors.wiki.ti.com/index.php/Creating_CCS_Project_for_SysLink_samples
i imported samples files of syslink (version 2.10.08.35) (from the path <syslink_root>/packages/ti/syslink/samples/rtos/messageQ):
MessageQApp.c
MessageApp_common.cfg.xs
/omap1xx/MessageQ_omap1xx_dsp.cfg
SysLinkSamples_common.cfg (in ../samples/rtos/common)
Hi,
This packages are used for building syslink in linux host machine.
I don't find any CCS project files there and I hope you have created new CCS project and copied those file may be,
ti@ti:~/Downloads/syslink_2_10_08_35/packages/ti/syslink/samples/hlos/messageQ$ ls
knl MessageQApp.c usr
ti@ti:~/Downloads/syslink_2_10_08_35/packages/ti/syslink/samples/hlos/messageQ$
Titusrathinaraj Stalin said:Hi,
This packages are used for building syslink in linux host machine.
I don't find any CCS project files there and I hope you have created new CCS project and copied those file may be,
ti@ti:~/Downloads/syslink_2_10_08_35/packages/ti/syslink/samples/hlos/messageQ$ ls
knl MessageQApp.c usr
ti@ti:~/Downloads/syslink_2_10_08_35/packages/ti/syslink/samples/hlos/messageQ$
Looking that guide i think that i have to compile first the rtos (DSP) part of the example (the file that you posted me are for ARM side, hlos, i think...)... I'm really confused and i'm glad if there is some similar example built with CCS up and running that runs with OMAPL138 (DSP and ARM side)...
I'm looking to understand something... Could you link me if there is an example up and running?
Is there a running example for building a syslink application with code composer for omap-l138? I'm really stuck!