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.

Error - No source available for ...

I have a binary code built from other tools and run from flash. Since I have the binary file and load in the debug symbols from the binary file (in ELF format).


But when I step through the code, I get the error information - No source available for ....


I remember that in the past, there is a button for locating the source file. But I could find it from CCS (I am using CCS6.1.0) with ARM7 target.


Any other way I can lead the CCS to get the source file so that I can perform source code level debug?

Thanks!

Wen

  • Hello Wen,
    There are several potential reasons why that button is not available:

    - The debug symbols were generated with limited symbolic information
    - The target is halted at a location where there is no source code correlation (maybe halted in an included library not included in the debug symbols?)
    - Code has been relocated

    Without more details, I cannot provide much more insight. Some screenshots would help, in addition to naming what exact device you are using. Can you also provide the binary and debug symbols?

    Thanks
    ki