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.

Found error in building the example project of HVPM sensorless using f28335.

Other Parts Discussed in Thread: CONTROLSUITE

I am using CCSv6. I was buliding my project. But I found this error. 

"C:/ti/controlSUITE/device_support/f2803x/v122/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c", line 14: fatal error: cannot open source file "DSP2803x_Device.h"
1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v122/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c".
Compilation terminated.

>> Compilation failure
gmake: *** [DSP2803x_GlobalVariableDefs.obj] Error 1
gmake: *** No rule to make target `../HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless-DevInit_F2833x.c', needed by `HVPM_Sensorless-DevInit_F2833x.obj'.
gmake: *** No rule to make target `../HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless-DevInit_F2803x.c', needed by `HVPM_Sensorless-DevInit_F2803x.obj'.
gmake: *** No rule to make target `../HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/F28335_FLASH_HVPM_Sensorless.cmd', needed by `HVPM_Sensorless_2833x.out'.
gmake: *** No rule to make target `../HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/HVPM_Sensorless_2833x/F28035_FLASH_HVPM_Sensorless.CMD', needed by `HVPM_Sensorless_2833x.out'.
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Can anyone help me to find the error.

  • Hi Ahsan,

    Check your include directories in Project Properties and please include the valid paths for the same.

    Regards,
    Gautam
  • My window is showing like this.. please help me to find its solution

  • Yes, the above include file seem to have been linked incorrectly. Please fix the link or copy paste the same file to the project.
  • I'm guessing you don't have v122 of the header files in your controlSUITE installation. Do you have this path / file?
    C:\ti\controlSUITE\device_support\f2803x\v122\DSP2803x_headers\include\DSP2803x_Device.h

    you can either add this path, or update the project settings to point to the latest device_support\f2803x\v### that you do have installed

    but the other issue is that you say you are trying to compile this for F28335. So why is F2803x even being included at all?


    I imported C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Sensorless_2833x

    and it built fine...but looking at the Console it does look like it is using F2803x files. That's not correct. Let me flag this to the owner.
  • Hello,

    There are two build configurations, one with 2803x and another with 2833x. Use the correct one. Btw, with 2833x, EPwm7 will not be available, so you may see some messages about that where it encounters PWMDAC functions that uses this. You can ignore this.

    rgds,

    ramesh

  • doesn't really make sense that the default for F2833x is F2803x...but this should solve the issue.