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.

Source file problem

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

I met a problem today when I run my CCS code. The codes were running ok yesterday, but when I come back today, there is always a message shown below. I did not change anything and I tried several examples, problem still there, just the ".c" file name varies with different examples. In fact, the code can run ok. Can anyone help with this ?

Thanks 

"Can't find a source file at "C:/controlsuite_gitorious_dev/device_support/f2802x/version/f2802x_common/source/pwm.c"
Locate the file or edit the source lookup path to include its location."

  • Hi,

    I Just wanted to say that I am having a similiar issue. I have just installed CCS version 5 (latest release) and am receiving a similiar error when I try to run the program (the exact path is different, though but the rest of the message is the same). 

    -Nathan 

  • Bin Li1 said:
    I did not change anything and I tried several examples, problem still there, just the ".c" file name varies with different examples.

    Bin,

    Can you confirm which version of CCS and controlSuite you are running so we can try to reproduce the behavior? And also which example project do you see this error with? At what point do you see the message - is it when you halt the prgram after running?

  • Hi,

    Sorry for delay, I just came back from holiday. The version I am using is CCS5.3.0. Same problem happened to several examples and also the example I created myself. Yes, the problem only occured when I halt the program after running. However, this problem does not happen all the time, sometimes.

    Cheers.

  • Bin Li1 said:

    "Can't find a source file at "C:/controlsuite_gitorious_dev/device_support/f2802x/version/f2802x_common/source/pwm.c"
    Locate the file or edit the source lookup path to include its location."

    Does your project link in the library driverlib.lib from ControlSuite? If so, when you halt the code, you are likely inside this library at some point within pwm.c. Since the library is linked to the project, CCS does not know where to find the original source code when it is in debug mode, hence the message appears about not being able to find the source file. This should not affect operation of the code. However, if you really wish to debug the source code at that point, you should be able to locate the file by browing to the location of the file within ControlSuite (\f2802x\v210\f2802x_common\source).

  • Hey guys,

    I had the same problem. When the error is showed, you need to locate the file which is located :  C:\ti\controlSUITE\device_support\f2802x\v210\f2802x_common\source

    If you locate this file the problem will be solved.

    Greetings.