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/PROCESSOR-SDK-TDAX: [TDA4] Debugging strategies/guides for Linux+RTOS

Part Number: PROCESSOR-SDK-TDAX


Tool/software: Code Composer Studio

Hello,

What are the preferred debugging strategies for TDA4 and more specifically vision apps demo applications?
In the documentation, psdk_rtos_auto/docs/user_guide/CCS_SETUP_INSTRUCTIONS.html there is a step:
Step 4: Load RTOS/baremetal application binaries thru CCS
which explains how to load RTOS application binaries. How can Linux + RTOS be debugged using CCS?

The Linux running on the board has gdbserver installed, so it can be used for remote debugging. But will this method be suitable for debugging applications that run on multiple cores?
If there are any other methods, please suggest.

Thanks,
Todor

  • To debug RTOS cores below is recommended.

    After system is loaded and you are at kernel prompt.

    Launch CCS and connect the required remote core

    Load symbols for the RTOS cores, put breakpoints.

    Run the app from A72 side, the RTOS side breakpoint will hit.

    Now debug as usual.

    For A72 you can use gdb

    regards
    Kedar