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.

Error in the HVACI Scalar project with the HVMTRPFCKIT

Other Parts Discussed in Thread: CONTROLSUITE, HVPMSMMTR, TMDSCNCD28035

I have an HVMTRPFCKIT High Voltage Motor Drive Developer's Kit Rev. 2.0.

I've loaded ControlSuite and Code Composer Studio v5.3.0.00083 on my laptop.  I've successful communicated with the kit and run a PMSM Motor (TI Part # HVPMSMMTR) using the Code Composer studio interface. 

Now, I'm trying to do the same with the AC Induction motor (TI Part # HVACIMTR).

I'm starting with the simplest Scalar (V/f) project (see file name Scalar ACI Control.pdf located in this directory C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.0\HVACI_Scalar\~Docs).

I've set up the Kit per the "HVMotorCtrl+PFC (R1.1) Kit How to Run Guide_CCSv5" located in this directory C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.0\~Docs.  I've followed the HW setup instructions in this document's Motor Control Experiment HW Setup Instructions.  I'm using the Piccolo F2803x controlCARD TMDSCNCD28035 R1.2 .  [M3]-LD1 LED on the controlCARD is powered ON.  I'm using 15V external DC power connected to [M6]-JP1. 

I've using the HVACI_Scalar project.  The project is set to "Active - F2803x_RAM"  I've linked the correct Target Configuration name to the HVACI_Scalar project.  I'm initially in Build1 of the project. When I "Rebuild Project", I get the following errors (which I have bold texted for clarity) in the Console window:

**** Build of configuration F2803x_RAM for project HVACI_Scalar ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all

'Building file: ../DLOG4CHC.asm'

'Invoking: C2000 Compiler'

"C:/ti/ccsv5/tools/compiler/c2000_6.1.0/bin/cl2000" -v28 -ml -g --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.0/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2803x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --quiet --diag_warning=225 --preproc_with_compile --preproc_dependency="DLOG4CHC.pp" "../DLOG4CHC.asm"

'Finished building: ../DLOG4CHC.asm'

' '

gmake: *** No rule to make target `C:/ti/controlSUITE2_DMC Rev/device_support/f2803x/v122/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c', needed by `DSP2803x_GlobalVariableDefs.obj'.

'Building file: ../DSP2803x_usDelay.asm'

'Invoking: C2000 Compiler'

"C:/ti/ccsv5/tools/compiler/c2000_6.1.0/bin/cl2000" -v28 -ml -g --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.0/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2803x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --quiet --diag_warning=225 --preproc_with_compile --preproc_dependency="DSP2803x_usDelay.pp" "../DSP2803x_usDelay.asm"

'Finished building: ../DSP2803x_usDelay.asm'

' '

'Building file: ../HVACI_Scalar-DevInit_F2803x.c'

'Invoking: C2000 Compiler'

"C:/ti/ccsv5/tools/compiler/c2000_6.1.0/bin/cl2000" -v28 -ml -g --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.0/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2803x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --quiet --diag_warning=225 --preproc_with_compile --preproc_dependency="HVACI_Scalar-DevInit_F2803x.pp" "../HVACI_Scalar-DevInit_F2803x.c"

'Finished building: ../HVACI_Scalar-DevInit_F2803x.c'

' '

'Building file: ../HVACI_Scalar.c'

'Invoking: C2000 Compiler'

"C:/ti/ccsv5/tools/compiler/c2000_6.1.0/bin/cl2000" -v28 -ml -g --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.0/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2803x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --quiet --diag_warning=225 --preproc_with_compile --preproc_dependency="HVACI_Scalar.pp" "../HVACI_Scalar.c"

'Finished building: ../HVACI_Scalar.c'

' '

gmake: *** No rule to make target `C:/ti/controlSUITE2_DMC Rev/device_support/f2803x/v122/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd', needed by `HVACI_Scalar.out'.

gmake: *** No rule to make target `C:/ti/controlSUITE2_DMC Rev/libs/math/IQmath/v15c/lib/IQmath.lib', needed by `HVACI_Scalar.out'.

gmake: Target `all' not remade because of errors.

**** Build Finished ****

Can anyone provide any insight as to what the code issue is?  I'm just using the stock TI project, no modifications.

Thanks in advance for any help you can provide.

  • Hi Ken,

    I have moved your post to the C2000 forum, where they will be better able to help you.

  • Ken,

    I just noticed this myself last week and filed a bug. The owner of the kit needs to fix it in a future revision of controlSUITE.

    You can see that some of the files are incorrectly pointing to files in the path

    C:/ti/controlSUITE2_DMC Rev/

    instead of

    C:/ti/controlSUITE/

    Paths are supposed to be definined "relative", meaning simply up levels from the .project (so ../../.../ etc). Some obviously were not done this way.

    The easiest way to fix this yourself is to note the location (minus the incorrect first part), delete the file, and then Right Click -- Add Files - and add the file manually.

    Sorry about that...very unprofessional of us.

     

  • Hi Chris,

    Thanks for the tip, and I appreciate the fast response.  Bugs happen - no problem. 

    -Ken