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.

TMS320F28388D: Bug in C2000Ware driverlib_cm?

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Tool/software:

OS: Windows 10

CCS: 12.8.0.00012

C2000Ware: 5.03

Hi,

I'm developing with F28388D and the EMAC module. When I pause the CM core, I get a new tab with this message:

"Can't find a source file at "/home/ubnuser/ti/repos/c2000ware_release/driverlib/f2838x/driverlib_cm/ethernet.c"
Locate the file or edit the source lookup path to include its location."

After selecting the file ethernet.c, it shows the position where the cpu stopped. But that's not the point.

As I'm using Windows and not Linux, the path doesn't make any sense. I found out that the file driverlib_cm.lib contains this path. So paths to /home/ubnuser/ti/repos/c2000ware_release/ seems to be hardcoded (over 2000 times) in this file. After replacing the path to a real existing location, it works fine.

Is this a bug and there should be an relative path instead of a absolute path. If this is not possible, shouldn't this file in the Wondows version of C2000Ware containt the standard Windows path for C2000Ware?

  • Hi, 

    The driverlib_cm.lib has to be rebuilt if you are debugging/stepping into the code.  The projectspec for the driverlib_cm is located at 

    <C2000WareInstallDir>\driverlib\f2838x\driverlib_cm\ccs

    You can import this project , compile it and then use it in your project.

    Best Regards

    Siddharth