Hi Lisa,
Thanks again for your quick response. As stated in the original post, I am using CCSv5 (5.4.0.00091 to be specific), compiler version 4.4.1, DSP/BIOS version 5.42.1.09, and followed the instructions provided in the package: delete .metadata/, switch workspace location to install directory, import all projects in the package, and build all. The original topic was posted in the C5000 forum, but it seems to be moved to the CCS forum earlier today (could the moderator please move it back?).
From the first compilation there were 3 errors:
- could not open source file "pal_osSem.h"
- File connections\SDDSKUSB_Connection.xml does not exist.
- File connections\TIXDS100v2_Connection.xml
The .xml files are included by .ccxml files for target configurations. I deleted the two target configurations (since compilation does not depend on target conf). In regards to the source file, I did a search under the install directory for that filename. Nothing was found. The only result was <install dir>/c55x5_drivers/pal_os/inc/pal_ossem.h. So I changed that filename to pal_osSem.h and recompiled.
It then complained: could not open source file "pal_osProtect.h". Turns out, there are source files that included both "pal_osProtect.h" and "pal_osprotect.h". So, I duplicated the file (ln -s does not work as it results in another error later...). After recompilation, it erred:
- unresolved symbol _PAL_osWaitMsecs, first referenced in <install dir>/c55x5_drivers/i2c/build/ccsv5/Release/i2c_bios_drv_lib.lib<dda_i2c.obj>
- unresolved symbol _PAL_osSemTake, first referenced in <install dir>/c55x5_drivers/i2c/build/ccsv5/Release/i2c_bios_drv_lib.lib<ddc_i2c.obj>
- unresolved symbol _PAL_osSemGive, first referenced in <install dir>/c55x5_drivers/i2c/build/ccsv5/Release/i2c_bios_drv_lib.lib<ddc_i2c.obj>
- unresolved symbol _PAL_osSemDelete, first referenced in <install dir>/c55x5_drivers/i2c/build/ccsv5/Release/i2c_bios_drv_lib.lib<ddc_i2c.obj>
- unresolved symbol _PAL_osSemCreate, first referenced in <install dir>/c55x5_drivers/i2c/build/ccsv5/Release/i2c_bios_drv_lib.lib<ddc_i2c.obj>
- unresolved symbol _PAL_osProtectExit, first referenced in <install dir>/c55x5_drivers/i2c/build/ccsv5/Release/i2c_bios_drv_lib.lib<ddc_i2c.obj>
- unresolved symbol _PAL_osProtectEntry, first referenced in <install dir>/c55x5_drivers/i2c/build/ccsv5/Release/i2c_bios_drv_lib.lib<ddc_i2c.obj>
- unresolved symbol _PAL_osGetCurrentTick, first referenced in <install dir>/c55x5_drivers/i2c/build/ccsv5/Release/i2c_bios_drv_lib.lib<ddc_i2c.obj>
- unresolved symbol _PAL_osCheckTimeOut, first referenced in <install dir>/c55x5_drivers/i2c/build/ccsv5/Release/i2c_bios_drv_lib.lib<ddc_i2c.obj>
- cannot find file "palos_bios_lib.lib" CSL_USB_IsoFullSpeedExample_Out C/C++ Problem
Indeed, project palos_bios_lib has errors:
- could not open source file "pal_osWait.h" pal_osWait.c /palos_bios_lib line 27 C/C++ Problem
- could not open source file "pal_osList.h" pal_osList.c /palos_bios_lib line 38 C/C++ Problem
- gmake: *** No rule to make target `<install dir>/c55x5_drivers/pal_os/src/bios/src/pal_osProtect.c', needed by `pal_osProtect.obj'.
Yet again I corrected the filename errors, and additional filename errors. After three re-tries of importing/compiling the project, I am stuck at the same place with unresolved symbols, unfound file "palos_bios_lib.lib", and the gmake error, etc. I am really lost.. What steps did you take to compile the project? What versions of tools did you use? (sometimes CCS would report no errors in the "Problems" view, but actually have compile errors in the "Console" view)
Thanks.