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.

Problem translating Motor Control + PFC software into Code Composer Studio v4

I am having trouble importing the Motor Control and PFC Developer's Kit Software (sprc922) into CCS v4.

I am following the wizard available from the menu Project->Import Legacy CCS v3.3 Project. When all is done, I try to build the project with Project->Build Active Project but I get a lot of errors (35 to be exact). I am pasting some of these errors below. It looks like it cannot find a library (SysCtrl.h?). By the way, it compiles fine under CCS v3.3.

Just FYI: prior to installing the Motor Control and PFC Developer's Kit, I installed the Baseline Software Setup (sprc675). The Baseline Software installation creates the directory TI_F28xxx_SysSW under which the Motor Control and PFC Developer's Kit is also installed.

Any help will be much appreciated.

Daniel

 

"../2xPM_Motors-DevInit_F2803x.c", line 111: error: struct "PCLKCR3_BITS" has no field "COMP3ENCLK"

"../2xPM_Motors-DevInit_F2803x.c", line 115: error: struct "PCLKCR0_BITS" has no field "ECANAENCLK"

 

 

"../2xPM_Motors-DevInit_F2803x.c", line 117: error: struct "PCLKCR1_BITS" has no field "EQEP1ENCLK"

>> Compilation failure

"../2xPM_Motors-DevInit_F2803x.c", line 123: error: struct "PCLKCR1_BITS" has no field "EPWM5ENCLK"

"../2xPM_Motors-DevInit_F2803x.c", line 124: error: struct "PCLKCR1_BITS" has no field "EPWM6ENCLK"

"../2xPM_Motors-DevInit_F2803x.c", line 125: error: struct "PCLKCR1_BITS" has no field "EPWM7ENCLK"

"../2xPM_Motors-DevInit_F2803x.c", line 130: error: struct "PCLKCR0_BITS" has no field "LINAENCLK"

"../2xPM_Motors-DevInit_F2803x.c", line 132: error: struct "PCLKCR3_BITS" has no field "CLA1ENCLK"

"../2xPM_Motors-DevInit_F2803x.c", line 137: error: struct "PCLKCR0_BITS" has no field "SPIBENCLK"

"../2xPM_Motors-DevInit_F2803x.c", line 376: error: struct "GPB1_BITS" has no field "GPIO39"

"../2xPM_Motors-DevInit_F2803x.c", line 377: error: struct "GPBDAT_BITS" has no field "GPIO39"

"../2xPM_Motors-DevInit_F2803x.c", line 382: error: struct "GPB1_BITS" has no field "GPIO40"

"../2xPM_Motors-DevInit_F2803x.c", line 383: error: struct "GPBDAT_BITS" has no field "GPIO40"

"../2xPM_Motors-DevInit_F2803x.c", line 388: error: struct "GPB1_BITS" has no field "GPIO41"

"../2xPM_Motors-DevInit_F2803x.c", line 394: error: struct "GPB1_BITS" has no field "GPIO42"

"../2xPM_Motors-DevInit_F2803x.c", line 400: error: struct "GPB1_BITS" has no field "GPIO43"

"../2xPM_Motors-DevInit_F2803x.c", line 401: error: struct "GPBDAT_BITS" has no field "GPIO43"

"../2xPM_Motors-DevInit_F2803x.c", line 406: error: struct "GPB1_BITS" has no field "GPIO44"

"../2xPM_Motors-DevInit_F2803x.c", line 407: error: struct "GPBDAT_BITS" has no field "GPIO44"

19 errors detected in the compilation of "../2xPM_Motors-DevInit_F2803x.c".

C:\TI\ccsv4\utils\gmake\gmake: *** [C:/TI/2xPM_Motors/2802x_FLASH/2xPM_Motors-DevInit_F2803x.obj] Error 1