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.
Hi all,
I am a newbie struggling with the Tiva C Series Launchpad with TM4C123GH6PM launchpad. I am using Code Composer Studio Version: 5.5.0.00077 and i have TivaWare_C_Series-2.1.0.12573
I have read the "TM4C123G_LaunchPad_Workshop" manual and watched videos of this launchpad from TI website. I was able to do all the labs discussed in the workshop. I am very well aware of creating path variables, build variable, including driver library, giving Predefined Symbol, file search path etc.
I verify all of them every time before i debug. There are no build issues and no errors/warnings. The execution doesn't go into Fault ISR.
I get these errors. I know that there is some problem with linking of the driver library. The driver library indicates that it is linked to the project in the project explorer window.
"No source available for "0xab4"
"No source available for "SysCtlDelay() at C:/Users\KISHORE\workspace_v5_5\Single ADC\Debug\Single ADC.out:{3} 0xab2{4}"
"Can't find a source file at "C:/DriverLib/build/DriverLib.test/driverlib/sysctl.c" Locate the file or edit the source lookup path to include its location."
"Can't find a source file at "C:/DriverLib/build/DriverLib.test/driverlib/gpio.c" Locate the file or edit the source lookup path to include its location."
I do not have any folder or path 'C:/DriverLib/build/DriverLib.test/driverlib/ ' on my computer. But the CCS is searching for that location every time.
I found a post with similar problem being discussed but the solution suggested was not generic.
http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/317256.aspx?pi297168=1
I tried to redo the labs of Launchpad workshop. i got the same error for all the labs.
Hi Krishna,
krishna kishore kyasani said:"No source available for "0xab4"
"No source available for "SysCtlDelay() at C:/Users\KISHORE\workspace_v5_5\Single ADC\Debug\Single ADC.out:{3} 0xab2{4}""Can't find a source file at "C:/DriverLib/build/DriverLib.test/driverlib/sysctl.c" Locate the file or edit the source lookup path to include its location."
"Can't find a source file at "C:/DriverLib/build/DriverLib.test/driverlib/gpio.c" Locate the file or edit the source lookup path to include its location."
Are these compile errors or are you getting these errors while stepping into SysCtlDelay?
-kel
Hi Kel,
Yeah, when i debug the code, it runs fine for the first time. when i hit suspend , i get these errors. When i hit step in or step over buttons i got the error for every API in the code. First i thought there is a problem with only SysCtlDelay API , later its the same for all.
I guess there is a problem with Driver library linking. i reinstalled CCS, Tivaware and Launchpad workshop installation file. I tried to do the labs in the workship
I followed each and every step as described in the manual. I have tried with both Tivaware 1.1 and TivaWare_C_Series-2.1.0.12573
still the result is same.
Hi Krishna,
I assume your code is running properly? This type of message (you can find many by searching this forum), typically means you are halted in the run time library and can safely be ignored.
Best Regards,
LIsa
Hi Lisa,
Yeah, the code runs properly generating the output as expected. One can manage with such errors only when he runs a perfect code. What about the beginners like me? Stepping in helps in a great way to debug the code and find logical errors in the code.
If there are many such error message questions in the forums then it must be an issue thats demanding immediate attention.
Hi Krishna,
as Markel pointed out, you can add some of these to your project. Or alternatively make use of breakpoints or other diagnostics.
Best Regards,
Lisa
Hi all,
Adding SysCtl.c files to project didn't help. Yeah i am using breakpoints in my code. Is there any other way by which i can debug the code step by step?
Hi Krishna,
what about steping over some of these library functions.
Best Regards,
Lisa