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/TPS65165EVM-233: CCSV6 debugging for TDA2X board on BIOS

Part Number: TPS65165EVM-233

Tool/software: Code Composer Studio

Hello Everyone,

I am using Ubuntu 14.04.1 and Vision-Sdk 2.09. My code build on BIOS and using TDA2X board.

I am using CCV6.2 for debugging procedure through J-tag connection. J-tag type is SEED-XDS560v2.

I am using M4 as main core along with  EVE1, EVE2, DSP1, DSP2, IPU1, IPU2 cores.

I am loaded binaries on IPU1_0 and A15_0 cores, the load programs are "vision_sdk_ipu1_0_debug.xem4" and "vision_sdk_a15_0_debug.xa15fg".

The IPU1_0 core running is blocked at Ipc_start() function when CCSV6.2 debugging the multi-core procedure. The error caused by Ipc_attach() failed and the procedure always run it lead to Ipc_start() block.

My question as fallow:

1) Is it right for the Ipc_start() function block when CCSV6.2 debugging? PS: I am running the "AppImage" everything is OK through to SD running mode on TDA2X board.

2) Base on the condition above, I found a strange issue, I can't add the "Code Composer Studio Breakpoint" on some source code file when CCSV6.2 debugging, some source code file is working, the error message is "No code is associated with "XXXX" , in any loaded symbols". Please tell me how to solve it, thanks.

Regards, 

Ellende.

  • Hello Ellende

    I can't help much regarding #1 but I have notified my colleague for help on this question.

    As for #2:

    ellende yang said:
    I found a strange issue, I can't add the "Code Composer Studio Breakpoint" on some source code file when CCSV6.2 debugging, some source code file is working, the error message is "No code is associated with "XXXX" , in any loaded symbols". Please tell me how to solve it, thanks.

    The debugger is basically notifying you that it cannot associate the open source file with the debug symbols loaded in the debugger. Without that association, you do not have source level debug visibility with that source file (breakpoints in source, stepping, etc). It could be that the debug source search path is not set to the location of the source file. Try opening the modules view (View->Modules). In the Modules view, look for your source file under the Files node. See which path it has for that file in question. If you double click on it, it should try to open the file. If the file is not in that location, then it will not be able to open the file. This issue is quite common when trying to debug code from a library when the library was compiled in another environment.

    Thanks

    ki

  • Hello Ki-Soo Lee

    Thank you very much for your reply.

    About the question #2:

    Try opening the modules view (View->Modules). In the Modules view, look for your source file under the Files node. 

    I checked my project about the modules view, I found my source files under the Files node. I also can open the file through to double click on it, but I always add the "Code Composer Studio Breakpoint" failed when debugging. I think the CCS6.2 have located my source files yet, what's the reason caused the error "No code is associated with". Do you have another suggestion to solve the question?

    Thanks

    Ellende 

  • hello  Ki-Soo Lee:

    as for question #1:

    I have found the reason of the question. It needs to load all cores program in CCS debug, I load 10 cores program and the error does not occur.  thanks your reply.