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.

DSPLIB for C6455+CCSv3.3

Hello everybody,

I was looking for DSPLIB libraries optimized for C6455 processors. I found this page: http://software-dl.ti.com/sdoemb/sdoemb_public_sw/dsplib/latest/index_FDS.html.

But the last release, as I found out after installing it, has precompiled libraries for CCS v4+Code Generation Tools v7.2, while I'm using CCS v3.3+CGT v6.0.8 and I'd prefer to keep using that one, since it's the version that came with the DSK board I'm using.

I even tried to use those precompiled libraries with CCS v.3.3, but CCS didn't even recognize them as libraries when I try to add them to a project.

Is there any archive with some older version of the dsplib64plus.lib library which could be used with CCS v3.3?

Regards,

Francesco Annese

  • Vito,

    I wasn't able to get to the link that you provided.  I believe the official link to the 64x+ DSP Library is here:http://focus.ti.com/docs/toolsw/folders/print/sprc265.html

    I downloaded the package from the location above.  It seems there are two library binaries here dsplib.a64P and dsplib.a64PE.  The first is the little endian version, the second is the big endian version.  In the past, I believe that these were all shipped with names like *.lib, but the naming convention was changed because of the many variations of libraries that we now support.  There are variants for Family, Big/Little Endian, and now even Coff/ELF file format in the newest versions of the compiler/linker.  So, all of these options are now being encoded in the file extension.

    I don't have CCS 3,3 installed anymore, but if memory serves, in order to add a library to a project, it had to have a specified extension, either .lib or there may have been one other extension it supported.

    There are two ways that you can fix this....

    a) You can just rename the library that you are using to have a .lib extension, and then add it to your project.  Physically, there is no difference between a .a64P and a .lib file that was built using the same options. 

    b) Don't include the library in your project, instead put a directive in your linker command file to link it.  (This is probably the preferred method)  This consists of a line that looks like (that's a dash lowercase L)

    -l dsplib.a64P 

    If you're using DSP/Bios which generates a linker command file for you, to do this you need to create your own linker command file and then link to the bios generated one.  This file would look something like

    -l dsplib.a64P

    -l <bios_generated_lcf_name>.cmd

    The compiler/linker version that you are using should not matter.

    Regards,

    Dan

     

     

     

     

  • The DPSLIB comes with complete source and CCS project. You can recompile the lib with your version of compiler.

    Let me know if you face any issues doing that

    Cheers,
    Gagan 

  • Dan and Gagan,

    many thanks to both of you for your replies. I was able to use the libraries by linking them as suggested by Dan; I added some lines in the Project->Build Options->Linker menu and that was enough.

    Gagan Maur said:

    The DPSLIB comes with complete source and CCS project. You can recompile the lib with your version of compiler.

    Let me know if you face any issues doing that

    Cheers,
    Gagan 

    About the CCS project to rebuild the libraries: I tried that way, too, but CCS v3.3 could not recognize the project; I think that's because the last release is for CCS v.4, which I read is quite different from CCS v3.x. That's one of the reasons why in the opening post I asked for and older version of the package. If I'm wrong and I'm missing something, please tell me.

    Thanks again and regards,

    Francesco Annese