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.

#5 could not open source file "DSP2802x_Device.h"



I have problem to import proyects, i have a TMS320C2000 microcontroller Piccolo - f28027

The error said:

#5 could not open source file "DSP2802x_Device.h"

The warning said:

Invalid project path: Include path not found (C:\Users\Mileva\Documents\Digital Control of Power Converters\Proyectos - DCofPC-modified\Ejercicio 1\DSP2802x_headers\include).

I found this following link but does not resolve my problem:

http://processors.wiki.ti.com/index.php/Creating_portable_projects_in_CCSv5

i have created link to folders but nothing, iapreciate any help, regards!

  • Hello Mileva!

    This problem occurs quite often when importing. I could give you a lot of links on this topic. But it will only take your time. Thus I suggest the following:

    1 Check carefully  the correctness of path that to be sure it exists indeed.

    2 You can to create new folder for Includes inside your project's folder and to copy all required header files into one. After you need to correct the include path through Project' Prpperties->Build ->C2000 Compiler->Include options.

    Tertium non datur

    Regards,

    Igor 

  • Hi Igor, thanks for your prompt reply, i did that  ==>"you need to correct the include path through Project' Prpperties->Build ->C2000 Compiler->Include options."

    but unfortunately this is reporting to me more errors,  if necesary to set Workspace launcher whit the path of the folder "controlSTICK"???,  if you have more suggestions please do not hesitate to reply this to me..

  • Hi Mileva!

    This step applies to my point 2 only. Did you create new folder "Include" within your project's folder? Did you place all your required header files into this folder "Include"? Only after above you need to correct "Include Path" at Project's Properties.

    Regard,

    Igor

  • Mileva,

    Attention please! Also certainly you need to delete old unused "Include Path" in "Include options".

    Regards,

    Igor

  • Hello Igor, it was remove the unused "include paths"  in "include options"  to resolve my problem!!,  just doing that  my proyect  started work!!!, truly thanks ,,, you rescued me from this horrible nightmare :D

  • Congratulation, Mileva! Ah, if everything was so simple always! :-)

    Regards,

    Igor