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.
I am trying to import a CCSv4 project for C2000 device (C28035) that was another engineer machine. I'm using the versions in the image below. I've used the Project Import tool by Importing an Existing CCS/CCE project and tried to Build-All and keep getting the errors described below. Is there instruciton on how to perform a "clean" import of this project and able to rebuild on my machine?
Build Error Log: See attached .txt file.
CCSv4 Errors shown in Problem Window
This project was created using a version of Code Generation tools that is not currently installed: 5.2.11 [C2000]. Please install the Code Generation tools of this version, or migrate the project to one of the supported versions.
Question: Can I get an older version of C2000 Code generation tools?
**** Clean-only build of configuration F2802x_FLASH for project 2xPM_Motors **** C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake -k clean DEL /F "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\2xPM_Motors.out" The system cannot find the path specified. gmake: [clean] Error 1 (ignored) The system cannot find the path specified. gmake: [clean] Error 1 (ignored) DEL /F "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\2xPM_Motors-DevInit_F2803x.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\2xPM_Motors.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\DLOG4CHC.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\DSP2803x_CodeStartBranch.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\DSP2803x_GlobalVariableDefs.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\DSP2803x_usDelay.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\EcoFlowFunctions.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\EcoFlowGlobalVariables.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\VecSaturator.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\clarke.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\f2803xileg_vdc.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\f2803xpwm.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\ipark.obj" DEL /F "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\park.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\pif_reg3.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\rampgen.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\rmp_cntl.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\smopos.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\speed_est.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\svgen_dq.obj" "C:\TI_F28xxx_SysSW\HV_MotorControl_Rev1\DMC\2802x_FLASH\volt_calc.obj" The system cannot find the path specified. gmake: [clean] Error 1 (ignored) DEL /F ".\DLOG4CHC.pp" ".\DSP2803x_usDelay.pp" Could Not Find C:\CCSv4_projects\2xPM_Motors\F2802x_FLASH\DLOG4CHC.pp DEL /F ".\2xPM_Motors-DevInit_F2803x.pp" ".\2xPM_Motors.pp" ".\DSP2803x_GlobalVariableDefs.pp" ".\EcoFlowFunctions.pp" ".\EcoFlowGlobalVariables.pp" ".\VecSaturator.pp" ".\clarke.pp" ".\f2803xileg_vdc.pp" ".\f2803xpwm.pp" ".\ipark.pp" ".\park.pp" ".\pif_reg3.pp" ".\rampgen.pp" ".\rmp_cntl.pp" ".\smopos.pp" ".\speed_est.pp" ".\svgen_dq.pp" ".\volt_calc.pp" ' ' Build complete for project 2xPM_Motors
Hi Terry,
it looks like you have a couple things going on. The first is that you do not have the same code generation tool version. Usually it is not a problem to let CCS automatically use a newer version associated with it. Ie migrating to the version you have installed (allowed if it is newer) is normally perfectly fine. Of course you can install the older version. You can find it here
http://processors.wiki.ti.com/index.php/Compiler_Releases
It can be installed under Window->Preferences->CCS->Build->COde Generation Tools
The other thing is that it seems you have some include paths wrong or missing ... ie broken include paths. Please have a look here for useful tips on where an how to add and fix these.
http://processors.wiki.ti.com/index.php/Include_paths_and_options
Please keep us informed how the above works out.
Best Regards,
LIsa
Hi Lisa,
Thank you for your response. I've installed the older version of Code Generation tools. I am now getting the following errors in the "problems" window. I assume if I review the tips on how to fix the include paths should resolve these issues? I appreciate your help and guidance.
Severity and Description Path Resource Location Creation Time Id
could not open source file "IQmathLib.h" 2xPM_Motors VecSaturator.c line 20 1331240794200 256
could not open source file "IQmathLib.h" 2xPM_Motors clarke.c line 15 1331240794200 257
could not open source file "IQmathLib.h" 2xPM_Motors ipark.c line 15 1331240794200 260
could not open source file "IQmathLib.h" 2xPM_Motors park.c line 15 1331240794200 261
could not open source file "IQmathLib.h" 2xPM_Motors pif_reg3.c line 14 1331240794200 262
could not open source file "IQmathLib.h" 2xPM_Motors rampgen.c line 15 1331240794200 263
could not open source file "IQmathLib.h" 2xPM_Motors rmp_cntl.c line 15 1331240794200 264
could not open source file "IQmathLib.h" 2xPM_Motors smopos.c line 15 1331240794200 265
could not open source file "IQmathLib.h" 2xPM_Motors speed_est.c line 15 1331240794200 266
could not open source file "IQmathLib.h" 2xPM_Motors svgen_dq.c line 15 1331240794200 267
could not open source file "IQmathLib.h" 2xPM_Motors volt_calc.c line 15 1331240794200 268
could not open source file "PeripheralHeaderIncludes.h" 2xPM_Motors 2xPM_Motors-DevInit_F2803x.c line 22 1331240794200 251
could not open source file "PeripheralHeaderIncludes.h" 2xPM_Motors 2xPM_Motors.c line 23 1331240794200 252
could not open source file "PeripheralHeaderIncludes.h" 2xPM_Motors DSP2803x_GlobalVariableDefs.c line 14 1331240794200 253
could not open source file "PeripheralHeaderIncludes.h" 2xPM_Motors EcoFlowFunctions.c line 19 1331240794200 254
could not open source file "PeripheralHeaderIncludes.h" 2xPM_Motors EcoFlowGlobalVariables.c line 13 1331240794200 255
could not open source file "PeripheralHeaderIncludes.h" 2xPM_Motors f2803xileg_vdc.c line 18 1331240794200 258
could not open source file "PeripheralHeaderIncludes.h" 2xPM_Motors f2803xpwm.c line 17 1331240794200 259
Regards,
Terry
Hi Terry,
yes this looks like include path problems. Please look at the wiki and check the paths and settings in your project. Keep us informed how it goes. Glad the code generation tool version got installed ok.
Best Regards,
Lisa
Hi Terry,
I just thought I would check whether there is any update to your enquiry. Were the tips helpful.
Best Regards,
Lisa
Hi Lisa,
I appreciate you following up to my inquiry. it looks like I was able to resolve my issue by setting the #include paths to where it thinks they should be located my local C:\ drive rather than changing the incude search option.
However, I know this is not standard practice. I assume it would be good to have paths to the #include files setup under my project folder in my Workspace folder. See what I have below.
Do you have any info on the syntax for the include path? What does the ${EXT_ROOT__xxxxxxx} mean?
"${EXT_ROOT__2xPM_Motors}/~SupportFiles/lib/IQmath/cIQmath/include"
Hi Terry,
"EXT_ROOT_xxxxx" is a build or path variable. This will get replaced by a path, for example C:\mylibrarydirectory\C2000libraries".
The ${ } surrounding it is simply the syntax in Eclipse/CCS for using such variables.
If you look at your build and path variables you should see how these variables are defined.
I am very glad to hear that you were able to get past the issue. All the best with development.
Best Regards,
Lisa
Hi Lisa,
Ok thank you for the quick response on the build path variable syntax. It has been very helpful and have answered my inquiry.
Regards,
Terry