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/TMS320F28379D: compile error using usb example

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE, CONTROLSUITE

Tool/software: Code Composer Studio

Hi Ti experts,

i want to test usb function and download the example code from CCS under (C:\ti\c2000\C2000Ware_3_01_00_00\driverlib\f2837xd\examples\cpu1\usb\).

the CCS version is 9.3.0 and C2000ware version is 3-01-00-00 .

the error is shown in below:

pls advise.

Feng

  • Feng,

    Looks like it is unable to find the  include folder:

    C:\ti\C2000\C2000Ware_3_01_00_00\libraries\communications\usb\f2837xd\include

    Can you check if you have this folder on your setup?

  • Hi Santosh,

    i include that in my setting, pls refer to below:

    Let me explain more about the case, it runs okay for old version of using ControlSuite. it is very clear that what header file and what source file i need include. but  now, it is upgraded to use C2000. the example of usb library is under C:\ti\c2000\C2000Ware_3_01_00_00\driverlib\f2837xd\examples\cpu1\usb. the error mentioned above is triggered when compile. actually i am not sure what header file and what source file i need include and there is no any instruction about this. please help. 

    Right now i can not use usb library after upgraded to C2000.

    Feng

  • Feng,

    First of all, can you check if you have that include folder on your computer. The error sounds like the folder does not exist.

    Can you just import same example from C2000ware and compile?

  • Hi Santosh,

    checked that the included folder is in my computer. pls refer to below:

    yes, other example code, such as sci_flash kernel or usb flash kernels under c:c2000\C2000Ware_3_01_00_00_device_support\f2837xd\examples_dual\  can be exported and works fine. only example under libraries\communications\usb can not be compiled.

    Feng

  • Feng,

    I am little confused.

    Feng CHEN said:
    only example under libraries\communications\usb can not be compiled.

    I do not see any example in that location

    Your original post says that you are trying to compile this project;

    (C:\ti\c2000\C2000Ware_3_01_00_00\driverlib\f2837xd\examples\cpu1\usb\

    Can you compile it? Can you send your project?

  • Feng,

    I am little confused.

    Feng CHEN said:
    only example under libraries\communications\usb can not be compiled.

    I do not see any example in that location

    Your original post says that you are trying to compile this project;

    (C:\ti\c2000\C2000Ware_3_01_00_00\driverlib\f2837xd\examples\cpu1\usb\

    Can you compile it? Can you send your project?

  • Hi Santosh,

    sorry for the typo for the folder.

    change "only example under libraries\communications\usb can not be compiled."  to "only example under driverlib\f2837xd\examples\cpu1\usb can not be compiled."

    yes, my project comes from the fold C:\ti\c2000\C2000Ware_3_01_00_00\driverlib\f2837xd\examples\cpu1\usb\. and it can not compile successful.

    please see my project in attached.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/171/usb_5F00_ex1_5F00_dev_5F00_serial.7z

    Feng

  • Feng,

    Looks like you did not import the project properly. Lot of settings are not correct. The include option page should look something like below

    Please import the project in fresh workspace, and then compile.  The screen should look something like above.

  • Are you able to resolve the issue?

  • Hi Santosh,

    i will test according to your suggestion later. 

    Feng

  • Feng,

    I am closing the thread. Feel free to repoen the thread if you are sill encountering the issue.