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.

PSP drivers with SYS/BIOS

I'm having trouble figuring out how to get beyond a simple "Hello world" application with CCS and SYS/BIOS.

I'd like to start with a simple application that uses the UART device driver. I have downloaded and installed the PSP from http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/index.html. The examples in this package (drivers/example/uart) don't appear to be directly usable in CCSv5. Or, I can't figure out what include paths or library paths I need to set up to start using this. 

Maybe I'm in the weeds with but I can't seem to find any CCSv5 documentation or examples on TI website, wiki or forums to bring me back.

  • Hi Kevin,

    Looks like the majority of the projects provided as standard makefiles and built outside CCS from the command line using the provided gmake utility. You can build the I2C example from CCSv5 though. In any case I strongly suggest you read the User's Guide that comes with the PSP in .\biospsp_xx_xx_xx_xx\docs\. It is all covered there.

    Thanks

    ki

  • I apologize for not reading the documentation more carefully. I have followed the instructions in section 1.5.1 and 1.5.1.1 of the BIOSPSP User Guide (3.1.1.0). There seems to be a missing requirement to set INTERNAL_ROOT_DIR = INTERNAL_SW_DIR in the documentation. Once past that, I am getting the following error: 

    /bin/mkdir -p obj/c6748-evm/c6xdsp/debug
    process_begin: CreateProcess(NULL, /bin/mkdir -p obj/c6748-evm/c6xdsp/debug, ...) failed.
    make (e=2): The system cannot find the file specified.
    gmake: *** [obj/c6748-evm/c6xdsp/debug] Error 2

    I have verified that the XDCtools directory is in my path. mkdir.exe is in the bin directory below that. Of course there is also a different mkdir built in to the Windows shell. Am I supposed to be using cygwin for this build?

  • Kevin - Since your questions are not specific to CCS but building PSP examples outside the CCS environment, I will move this thread to the TI-RTOS forum where the experts there can provide more suggestions.

    Thanks

    ki

  • I've done more work on this. I've concluded that this development environment is very sensitive to mismatches in versions of various components.

    I'm now using C6SDK version 2.0.0.0. This installs BIOS PSP version 3.0.1.0 and EDMA3_LLD 2.11.4.1. The BIOS PSP version 3.0.1.0 makefiles appear to be looking for EDMA3_LLD 2.11.2.4.

    Tweaking the makefile allows me to build all the libraries but when I try to build the examples I hit a configuro error associated with EDMA3_LLC. I assume this is a symptom of the EDMA3_LLD substitution.

    Is there a copy of EDMA3_LLD 2.11.2.4 available for download somewhere?

  • Kevin Gross,

    Kevin said:
    Is there a copy of EDMA3_LLD 2.11.2.4 available for download somewhere?

    Yes, You can find the EDMA package at the below link.
    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/psp/edma3_lld/edma3-lld-bios6/02_11_02_04/index_FDS.html

    Please give some more details of which project are you trying to build using CCS?
    Double check the source code, header files and library paths are given correctly.

  • I was building the UART example. I did finally succeed. Part of the secret is the video included with the PSP at pdk_C6748_2_0_0_0\biospsp_03_00_01_00\docs\C6748\C6748_BIOSPSP_CCSProjectCreation.wmv

    This doesn't quite get you there though. There were still include paths and libraries I needed to add to the project. By recursively grepping the PSP and SYS/BIOS source trees, I was able to figure out these missing pieces.