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.

Please help me

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I write a programe related PWM generation, I included all header files and other supporting files but when i am bulding following error occuring:

 

-----------------------  Inverter_Gatedrive.pjt - Debug  -----------------------
[sgen.c] "C:\CCStudio_v3.3\c2000\cgtools\bin\cl2000" -g -q -pdr -fr"C:/practce tidcs/c28/DSP2833x/v110/My projects/Inverter_Gatedrive/Debug" -fs"C:/practce tidcs/c28/DSP2833x/v110/My projects/Inverter_Gatedrive/Debug" -i"../../DSP2833x_headers/include" -i"../../DSP2833x_common/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -mt -v28 --float_support=fpu32
-@"../../practce tidcs/c28/DSP2833x/v110/My projects/Inverter_Gatedrive/Debug.lkf" "sgen.c"
"sgen.c", line 28: fatal error: could not open source file "DSP2833x_Device.h"
1 fatal error detected in the compilation of "sgen.c".
Compilation terminated.

>> Compilation failure

Build Complete,
  1 Errors, 0 Warnings, 0 Remarks.

what might be the error?

Thanks & regards,

Naveen Rangu

  • Hi Naveen,

    I would suggest two things -

    1. Check whether the "DSP2833x_Device.h" file is present in "DSP2833x_headers" folder and that it has been successfully included from the same path by right-clicking on the header file and checking its properties (path). ALso double-click on the same file to see wheher it opens up correctly in CCS window.

    2. Secondly, try and avoid spaces in your project path FOr eg (practce tidcs, My projects ,etc.). Use underscore/names without spaces instead in your project path.

    Hope this helps.

    Regards,

    Sid