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.

C6678 PDK emacExample trouble building in CCSv5

Other Parts Discussed in Thread: TMS320C6678

I installed pdk_C6678_1_1_2_5 and loaded the example PA_emacExample_exampleProject, but get the following result when trying to build the application:

Am I missing a step in the setup? 

Thank you in advance for the help,

Ryan


**** Build of configuration Debug for project PA_emacExample_exampleProject ****

make all
Building target: PA_emacExample_exampleProject.out
Invoking: C6000 Linker
"PA_emacExample_exampleProject.out" "PA_emacExample_exampleProject.map" "/lib" "/include" "PA_emacExample_exampleProject.out" libc.a
/usr/bin/sh: PA_emacExample_exampleProject.out: command not found
make: *** [PA_emacExample_exampleProject.out] Error 127

  • Hi Ryan,

    I'm afraid that I don't know the easiest way but the following steps worked fine for me.  Could you please try this?

    1. File -> New -> CCS Project
    2. Give a project name.
    3. Choose C6000 as Device Family and Generic C66xx Device as Device Variant.
    4. Choose Empty RTSC Project.
    5. And click "Next".
    6. Once "Deselect All" Products and Repositories and re-select the latest SYS/BIOS and MCSDK PDK TMS320C6678 1.1.2.5.
    7. Choose "ti.platforms.evm6678" as Platform.
    8. Click "Finish".
    9. Project -> Add Files...
    10. Add all files in the C:\ti\pdk_C6678_1_1_2_5\packages\ti\drv\pa\example\emacExample, and also add
      C:\ti\pdk_C6678_1_1_2_5\packages\ti\drv\pa\fw\*.c
      C:\ti\pdk_C6678_1_1_2_5\packages\ti\drv\cppi\device\cppi_device.c
      C:\ti\pdk_C6678_1_1_2_5\packages\ti\drv\qmss\device\qmss_device.c
    11. Select "Copy files" if a dialog asked.
    12. Right-click the project in the Project Explorer and click "Properties".
    13. Click "Include Options" in the "Build -> C6000 Compiler".
    14. Click the notepad icon with green "+" symbol in the "Add dir to #include search path (--include_path, -I)" in the dialog "Properties for a_project_name".
    15. Click "Workspace..." button and choose the the project name folder and click "OK".  Click "OK" again.  (This will add the project root folder to the include path.)
    16. Close the dialog by clicking "OK".  Please confirm all dialogs are closed.
    17. Now, build the project.

    Best Regards,
    Atsushi

  • Hi Atsushi,

    Thanks for your response. I had a little bit of trouble following your instructions exactly because we must be on different versions of CCSv5. I'm using  Version: N201105110900. 

    In particular, I could NOT find a way to do steps 4, 6, and 7.

    I had to:

    1) Right click on project > Properties

    2) click 'CCS Build' on the left pane

    3) select the 'RTSC' tab

    4) Follow step 6 of your instructions

    5) scroll to the bottom and type 'ti.targets.elf.C66' for "RTSC Target:", and type 'ti.platforms.evm6678' next to "RTSC Platform".

    Then I could build and run the code successfully. 

  • Hi Ryan,

    Good to hear that.  If you have additional questions, please don't hesitate to ask us!

    Regards,
    Atsushi