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.

CCS/TMS320C6748: How to retrieve "csl.lib" from the software package. No problem with DSPLIB and MATHLIB.

Part Number: TMS320C6748
Other Parts Discussed in Thread: OMAPL138

Tool/software: Code Composer Studio

Makefiles exists but no executable "make". A mkaefile does not make anything using "gmake"..ae674 file exists, but how to convert?

  • What are you trying to build? Please share all your steps for building.
    It is probably a matter of executing the make command from the wrong folder in the TI RTOS directory.

    Best Regards,
    Yordan
  • I migrate a project from CSL 3.1, 6726 to 6747

    I installed the CCS8 package and libraries.

    For the CSL, I don't found any Library file in the delivered package. (its PK for math and DSPLIB)
    There are 2 files but i dont get use in CCS8 (AE674)

    Then, I try to build the csl Library. (2 files?)

    I try using the CCS8 IDE, as documented in 3 words. Without success, the include files are not project relative, V0, V1 and V2 should not be used at the time?

    I try using makefiles.
    - there is no nmake/gmake/make installed when installing CCS.
    I use the gmake supplied in the delivery package. but there are a lot of makefiles or .mk files and no batch file to generate.

    It seems that CCS also use makefiles? For me it is a little bit confused.

    Best Regards

    Benoit

  • I don't think the C6747 has a CSL library. It has a subset that is a header file of register macros called cslr. You might have to port over or rewrite the CSL functions that you are missing.
  • I am not sure that csl exits, but there is a directory in packages\ti,  called csl and including csl and cslr components, for the 674x, in the pdk.

    csl is the first documented in the part 6-"device drivers", and exactly at this place. Unfortunatly, the make files are not in the directories.

    Csl is an efficient tool for people like me working with multiple processors and multiple IDE. Development is faster and more secure.

    It is easy for me to rewrite the functions in assembly or "C" without any support.

    But this requires some working time.

    I don't think it is the TI's objective.

    So I think there is an other procedure to generate csl, but not documented at this place.

    I start to generate a lib with my required elements. There are errors in compilation and link, mainly on defines.

    Some defines are not documented in the CSL package, other are documented for other DSP.

    Release of csl is available in csl: ti.csl.ae674 and ti.csl.intc.ae674, but I don't know how to use it.

    Thank you for your help

    Benoit

  • Hi Benoit,

    The CSL package in pdk are the low level drivers, which are supposed to initialize the peripherals. Those sources are used in the example projects, which you can create using the pdkProjectCreate.sh. Then you the created projects in CCS and build them.

    Have a look at CCS documentation to see how you can create your custom project using only the CSL sources to initialize the processor peripherals:
    processors.wiki.ti.com/.../Projects_and_Build_Handbook_for_CCS

    Best Regards,
    Yordan
  • Hi Yordan,
    For a previous project, I use the CSL as a .lib for a 6726 DSP.
    For a new one project on 674X, since I dont find the CSL built, I add to my project the necessary source files and headers and build it, resulting in errors (in CSL files), sometimes easy to fix. All the files are in the "csl" directory.
    It seems that it is the remaining way for developing on 674X.
    If the case, I will continue by this way.

    Note that the link you propose has not worked and the proposed replacement does not include the CSL word.

    Best regards
    Benoit
  • I stand corrected. My experience with the C6748 was before the PDK.
  • Hi Benoit,

    If you are using SYS/BIOS, you can link in the CSL library by adding the following to your .cfg file.

    var Csl = xdc.useModule('ti.csl.Settings');
    Csl.deviceType = "omapl138";

    You can also link in the library through the project's properties. Go to C6000 Linker -> File Search Path and add "ti.csl.ae674" and "ti.csl.intc.ae674" to the list of library files and then add the path to the library to the list of library search paths, i.e C:\ti\OMAP-L138-4.3\pdk_omapl138_1_0_4\packages\ti\csl\lib\omapl138\c674\release. It should look like below.