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.

CCS/SW-EK-TM4C123GXL: Unknown error regarding missing source file

Part Number: SW-EK-TM4C123GXL
Other Parts Discussed in Thread: TM4C123GH6PM

Tool/software: Code Composer Studio

Hello.

I am working on a tm4c123gh6pm based EK-TM4C123GH6PM EVM.

Whenever I intend to use the UART to print something over the terminal , it works fine but as soon as I pause the debugger, I get the following notification (athough there are no errors)

 

Can someone tell me its origin and its solution?

  • This is the case when you link directly to the driverlib.lib file that was compiled by TI. When you stop execution with the debugger, it looks for the source file to display using the path that was used when the library was created. Here are some options:
    1. You can use the "Locate File" button to tell the debugger the correct location of the source file. For the standard install that would be "C:\ti\TivaWare_C_Series-2.1.4.178\driverlib".
    2. If you often end up stopping in this file, you can copy the file uart.c from the directory above into your project, or link to that file in your project. That way it will compile and link to a local copy of the object file which contains the path to source file instead of pulling it from the library.
    3. You can actually import the CCS project that creates the TivaWare driver library into your CCS workspace and recompile the library. Then link to your new copy of the library.