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.

How to Import and Build the Upp Examples in CCS4

Task:     Important and Build the Upp examples

There are three issues that are resolved by the following procedure.   The upp examples are omitted in the current PSP drivers software. On import from the older PSP drivers, the project tool chain needs to be updated, and there are two entries in the file search path that have to be updated.

Step1.   Download and install the packages for (a) PSP Drivers 1.30.01 and (b) EDMA3 LLD  1.11.02.05.   Be sure to look at the installation instructions in the user guides.

Step 2. Import the examples as legacy CCSv3.3 projects.

Use "Select search directory", and "Copy projects into work space", and then browse to "C:\Program Files\Texas Instruments\pspdrivers_01_30_01\packages\ti\pspiom\examples\evm6748",  where evm6748 would be replaced by your platform.

Deselect all, and then select the three upp projects.

 Click next a few times until the projects are imported.

Step 3. Fix the project build properties.

For each project,  right click on the project, select "Build properties" and then in the properties gui, Tool Settings tab,

a) select "File Search Path"

Change the string "${env_var:BIOS_INSTALL_DIR}" to  "${BIOS_CG_ROOT}"

b) select "Basic Options"

Change the first two fields (output_file, and map_file) to put the files in the right location in your project.

if you just remove the directory path from the filename, that should be enough to do it,  for example "uppSampleEvmB.out" and "uppSampleEvmB.map"

 

Step 4. Build or rebuild the project

 

 

  • Hi,

     

    The Sample applications and the drivers provided by the BIOS PSP Drivers 1.30.01 can be built using the following:

    1. CCSv3.3  based pjt build

    2. CCSv4 based pjt build

    3. CCSv4 based .cdt build

    Before building/compiling, please ensure that all the environment variables are set appropriately as mentioned in the UserGuide provided by the PSP. 

     

    1. CCSv3.3 based .pjt build

    This can be performed if you are using CCSv3.3 (Goto Project -> Open -> *.pjt). Then right click on the project and 'build'

     

    2. CCSv4 based .pjt build

    This is used to build sample application/projects in CCSv4 (Project -> Import Legacy CCSv3.3 Project -> Browse -> *.pjt) this project will be viewed in the C/C++ Projects window.  Right click on the project and 'build'

     

    3. CCSv4 based .cdt build

    This is used to build sample application/projects in CCSv4 (Project -> Import Existing CCS/CCE Eclipse Project -> Browse -> Inside Project folder -> build -> ccs4 folder) this project will be viewed in the C/C++ Projects window.  Right click on the project and 'build'

    The BIOS version mentioned in the Userguide is availbale seperately for CCSv3.3 and CCSv4. So you have to install appropriate BIOS depending on whether you use CCS3 or CCS4. When the CCSv4 BIOS is installed, it automatically creates an env variable "BIOS_CG_ROOT" in CCSv4 and sets it appropriately with BIOS installed directory. So when building using CCSv4, CCSv4 expects this env variable. when set, this will build successfully.

     

    Hope this helps..

     

    Thanks & regards,

    Raghavendra 

  • Caveat Emptor

    See the original post in this thread (scroll all the way up to the top),   That is the procedure that worked for me.