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.

Error compiling CSL library on C6678

Other Parts Discussed in Thread: TMS320C6678

Hi to all

I received and Evaluation module TMS320C6678 with XDS560V2 emulator and attempt to install all tools.

I download latest version of  code generation tools (ti_cgt_c6000_7.6.0), bios mcd sdk (2_01_02_05), cg_xml (2_32_00) and used the CCs_5.0.3 on the inside CD after installing using software update now is I have installed these version:

Code Composer Studio
 Version: 5.0.1.201105110900
 Build id: N201105110900

RTSC/XDCtools 3.23.04.60 (embedded runtime)
Plug-in version: 3.23.4.60

RTSC/XDCtools 3.20.08.88 (UI plugin)
Plugin version: 3.20.8.88

I had to modify the file pdksetupenv.bat inside the drv directory (as suggested by BIOS MCSDK 2.0 User Guide) inserting the set commands:

set C6X_GEN_INSTALL_PATH="C:\ti\c6000_7.6.0"
set XDC_INSTALL_PATH="c:\ti\xdctools_3_23_04_60"
set CG_XML_BIN_INSTALL_PATH="c:\ti\cg_xml"
set EDMA3_LLD_INSTALL_PATH="c:\ti\edma3_lld_02_11_05_02"

and now works. But launching xdc inside directory  csl (c:\ti\pdk_C6678_1_1_2_5\packages\ti\csl\)

Attached there is the file with the error.

returns error. gmake version installed is 3.81.  My PC is a windows xp SP3 one.

  • Hi,

    Welcome to the TI E2E forum. I hope you will find many good answers here.
    In addition you can find some details through the TI.com documents and the TI Wiki Pages.
    Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    The similar issue already discussed in the below E2E post, this will help you. If not, let us know for the further support.

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/235315.aspx

  • Hi

    I make another attempt uninstalling all and installing all newsly, but result is the same.

    I have uploaded the dos windows output.  It seems doesn't find the sectti.exe but it's

    present in directory c:\ti\cg_xml\bin and the variable CG_XML_BIN_INSTALL_PATH is set

    to "c:\ti\cg_xml".I make another attempt setting CG_XML_BIN_INSTALL_PATH to

    "c:\ti\cg_xml\bin" but nothing.  Same error.  If i launch sectti from dos console it works.

    Library lib/ti.csl.ae66e is created into c:\ti\pdk_C6678_1_1_2_5\packages\ti\csl\lib\

    but I can't figure out what make file is using when generates the error.

  • Latest update

    I modified the buildlib.xs file at line 466 from:

        Pkg.makeEpilogue += "\n\t sectti.exe tmp.xml > " + cslFullLibraryPath + ".a" + target.suffix +  "_size.txt";

    to

        Pkg.makeEpilogue += "\n\t c:\\\\ti\\\\cg_xml\\\\bin\\\\sectti.exe tmp.xml > " + cslFullLibraryPath + ".a" + target.suffix +  "_size.txt";

    but nothing changes.  result is c:\ti\cg_xml\bin\sectti.exe: not found

    I don't figure out why doesn't find the sectti.exe.  The program is present and working and the path is correct.

  • Hi,

    Please try to clean and re-build. Everything will be fine.
    I always recommand you upgrade to the latest release, Try to install the latest version. It may solve the problem. In addition that, refer this E2E post: http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/205995.aspx

  • Hi

    I apologize but I'm feel so stupid... I've never encountered so many difficulties using eclipse as with TI version.

    I'm not new in using linux environment under windows (that is mingw or cygnwin I compiled and used ffmeg libraries, ffmbc, h264 library, firebreath) but, I repeat, I've never encountered so many difficulties like in this case.  May be because documentation is not well updated or I'm using wrong documentation.

    I attempt to install all ccsv5 (as from supplied from inside CD) in a new PC with only Win XP professional with service pack 3 and I have the same problems (error is different, it seems doesn't find an executable cl6x.exe).

    In my first PC (in which is installed mingW too) I uninstalled all and installed CCS v6.  The wiki is ok for creating a new project, but is very skinny regarding importing and, mainly, where to find examples. In the examples page of ccs is suggested to go in the CCS App center, but in the CCS App center there are no examples ( in details, CCS Add Ons, Stand Alone Software and Additional Resources).

    Moreover : pdk tools should be installed and compiled with ccsv6 ? It's not clear to  me.

    I should start with a simple example for my TMS320C6678 evaluation module with XDS560V2 emulator. Where I can find examples ?

    I download the mcsdk_video_02_01_00_08 in order to evaluate the coding/decoding capabilities of C6678.  It's ok for ccsV6 ?

    My target is to evaluate this dsp because we plan to employ in our machines,  but are three days I'm working to install and run one example but up to now the only thing I made is to turn on the board and run the Quick Start Guide.

    Please can you direct me toward some examples or some documentation ?

  • I always recommend to use latest version of MCSDK. Please find the MCSDK download link as below,
    http://software-dl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/latest/index_FDS.html
    Download the all packages with Dependencies installer for windows, if you are using Windows version of CCS.
    And also use the CCS5.1 or CCS5.5, because some of the packages are not build with CCSv6 for keystone1 devices.
    1. Install CCS setup ccs_setup_5.x, make sure all the multicore DSP related components and emulators selected when installing.
    2. Install the MCSDK setup(bios_mcsdk_02_x_x_x_setupwin32.exe) and patch if required.
    3. Install the keystone emulation pack setup ti_emupack_keystone1_setup_1.0.6.0
    4. Install the compiler setup ti_cgt_c6000_7.4.0_setup_win32 or ti_cgt_c6000_7.4.5_setup_win32

    After the find the BiosMulticoreSDK_2.1_UserGuide, BiosMulticoreSDK_2.1_GettingStartedGuide at: C:\ti\mcsdk_2_01_02_06\docs
    This document will give the steps for how to use the EVM and run the demo/example codes.
    In addition that find the below wiki links, this will also helpful.
    http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_Getting_Started_Guide
    http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide
    http://processors.wiki.ti.com/index.php/Bios_MCSDK_2.0_API_Documentation_Locations
    http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup
    Here, you can find the PDK folder have the driver, CSL, transport example codes. You can use this.

  • Hi,

    Do you need any further support on this?. However this discussion of thread can helpful for future readers, If you verified this thread.

  • Hi

    something starts to works, thank you, but there are some things that still doesn't work.

    Installing the tools, there is an error when ccs attempt to install the ndk_2_21_01_38; this is the message:

    An error occurred while collecting items to be installed
      session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
      Problems downloading artifact: osgi.bundle,com.ti.rtsc.NDK.product_2.21.1.38,2.21.1.38.
        File has invalid content:C:\DOCUME~1\ADMINI~1\IMPOST~1\Temp\signatureFile8145021823400768200.jar
          Invalid content:plugin.xml
          The file "plugin.xml" in the jar "C:\DOCUME~1\ADMINI~1\IMPOST~1\Temp\signatureFile8145021823400768200.jar" has been tampered!

    Ignoring this message and continuing (greater version is installed), all works.  After I install the mcdsdk_video_2_1_0_8 and attempt to run multichan transcode example.

    In the IBL flash instruction, i select the correct gel file in the first time (when programming the eeprom) and

    the wrong gel one (the one in mcdsdk not in video one) when programming boot parameter table (btw due to

    the fact that are only 28 text rows is better to insert them in the MCSDK_VIDEO_2.1_PKT_Demo_Guide document

    instead of referring to another document. This, for non linux user, may easily generate confusion). After this, I correct all and programmed correctly the board.  I see the tftp requests using wireshark.

    Then I launch the demo but only 3 windows appear either if i the cmd window that launches startMplayers.bat is reported that up to 16 mplayers are started. But the batch file loops launching Mplayer from 3 up to 16 :

    sdp://"C:\ti\mcsdk_video_2_1_0_8\demos\pkt_multichan_transcode_demo\config\sdp\t
    _rtp_1_3.sdp" -geometry 352x288+1400+400 -fps 30

    Mplayer 4 is Re-started

    sdp://"C:\ti\mcsdk_video_2_1_0_8\demos\pkt_multichan_transcode_demo\config\sdp\t
    _rtp_2_1.sdp" -geometry 176x144+200+750 -fps 30

    Mplayer 5 is Re-started

    sdp://"C:\ti\mcsdk_video_2_1_0_8\demos\pkt_multichan_transcode_demo\config\sdp\t
    _rtp_2_3.sdp" -geometry 176x144+600+750 -fps 30

    Mplayer 6 is Re-started

    sdp://"C:\ti\mcsdk_video_2_1_0_8\demos\pkt_multichan_transcode_demo\config\sdp\t
    _rtp_2_5.sdp" -geometry 176x144+1000+750 -fps 30

    Mplayer 7 is Re-started

    and so on up to Mplayer 16

  • Hi,

    I hope your earlier issue got closed. However, please create the new post or thread if you are facing other issue.So that the right team can response easily and you can get fast response as well. I am not familiar with MCSDK_Video package. Here, I can suggest you, please split your issue and created new post if it is device or mcsdk related. 

  • Hi,

    Thanks to created a new thread for video related. Yes, you can get the fast response at your new thread:

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/352250.aspx