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 v5 and bios psp drivers 03.00.01.00

Other Parts Discussed in Thread: SYSBIOS

Hi,

I'm using ccs v5.1.0.09000, xdc 3.23.2.47, sysbios 6.33.4.39 (in fact, it's all latest products), and i want to add bios psp drivers 03.00.01.00 : the installation was ok but the package is not automatically detected by ccs (other packages are automatically detected but not this one) Why ? How does i include this package in the rtsc tab of the project ?

Thanks for your help

  • Hi Ludovic,

    have you tried adding them under Window->Preferences->Code Composer Studio->RTSC->PRoducts?  Also please try CCSv5.1.1 .. the latest release is always a good idea.

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi,

    I already try window->preferences->code composer studio->rtsc->products, it doesn't work. And if i try to add this package manually (with select product from file system), ccs say : No products selected! please select a directory that contains the rtsc product installation.

    It seems that psp 3 is not a finished product regarding rtsc and xdc tool or not compatible. For example, psp 2 works fine with xdc tool, psp 3 not (for example, in subdirectory spi, there is no xs and xc files). And psp 3 is not structured (regarding directories) like other rtsc products. Why psp 2 disappear from the download website ? does'it mean that we must use psp 3?

  • Hi Ludovic,

    where is your psp installed?  What directory/structure?  Would you be willing to try the beta v5.2? 

    It seems the default is the program files directory which could potentially be an issue.

    I found that it seems there may be an issue as I also had problems both with v5.1.1 and the default program files directory.  I had to restart the workspace, but was able to install psp in the v5.2 beta.

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi,

    My psp 3 is installed into c:\program files\ti, it's the directory which contains ccsv5 and all other packages (like nsp, ndk, edma3, ipc : they work fine). The installation is not the problem (no error during installation). After modifying ccsv5 parameters, i can build my program but :

    I had to add manually the directory of the lib files used by my peripherals (spi and uart) for the linker to operate correctly. With other packages (psp 2, nsp, ndk, edma3 and ipc), we can find a file "package.xs" which contains the function getLibs used by xdc to locate the library : now, this system disappear with psp3. For example, look at directory spi, no more package.xs => the user has to add manually the correct library for the linker (maybe, this package is not made to be used by xdc tools as older package and as other packages).

    One more thing : with psp2, i was able (and i used this) to define some variable in my cfg file :
    var spiPrms = new Spi.Params();
    Spi.gpio0 = Gpio.create(gpioPrms);
    //Configuration de SPI0
    Spi.edmaEnable = true;
    spiPrms.hwiNumber = 8;
    spiPrms.instNum = 0;
    spiPrms.loopbackEnabled = false;
    etc
    With psp3, it's not possible, no file spi.xdc, spi.xs (etc) in the directory spi : i had to modify my software, to include this variables in my c file (creating a new file). It's too bad to loose these functionnality

    Thank you for your help

     

  • Hi Ludovic,

    this is actually something that hopefully our BIOS team can better help with.  We have moved the thread for you.  All the best and hopefully they can continue on with you.

    Best Regards,
    Lisa

  • Hi ludovic,

    A CCsv5 sample project has been provided for I2C sample application. By referring to this CCsv5 sample project and the demo clip “C6748_BIOSPSP_CCSProjectCreation.wmv” available in the top level docs directory, the required CCSv5 project can be created. Yes, you will have to add the libraries manually as shown in the demo clip.

    Also, 

    ludovic garcin said:
    /Configuration de SPI0
    Spi.edmaEnable = true;
    spiPrms.hwiNumber = 8;
    spiPrms.instNum = 0;
    spiPrms.loopbackEnabled = false;
    etc

    All these can be done in the application file itself(spiSample_io.c in case of spi)

    Best Regards,

    Raghavendra