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: TDA4 debugging single cam usecase

Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hey,

I am using the psdk_rtos_auto_j7_06_01_00_15 and boot the tda4x via sd card. I can run the single_cam application succesfully.

I would like to run the application and then debug for example the capture module via CCS.

Can you please explain to me how this is possible?

The documentation about how to setup CCS in order to debug confuses me a bit.

Could you explain to me in detail which files I have to load on which core to be able to set breakpoints via CCS and then be able to step through the application?

best regards,

Nicolas

  • Hi Nicolas,

    Have you gone through the documentation in psdk_rtos_auto_j7_06_01_00_docs_only/psdk_rtos_auto/docs/user_guide/ccs_setup_j721e.html?

    The executables you have to load to the different Cores in CCS are located in the location mentioned at psdk_rtos_auto_j7_06_01_00_docs_only/vision_apps/docs/user_guide/BUILD_INSTRUCTIONS.html

    The RTOS, Linux executable are stored below:

    vision_apps/out/J7/A72/LINUX/$PROFILE
    vision_apps/out/J7/R5F/SYSBIOS/$PROFILE
    vision_apps/out/J7/C66/SYSBIOS/$PROFILE
    vision_apps/out/J7/C71/SYSBIOS/$PROFILE
    Thanks and Regards
    Piyali
  • More specifically, see this section

    psdk_rtos_auto_j7_06_01_00_docs_only/psdk_rtos_auto/docs/user_guide/ccs_setup_j721e.html#using-ccs-debug-with-linux-on-a72

    Once system is booted, i.e at Linux command prompt, you can launch CCS, only connect to R5F, load symbols for the R5F binary that is booted. Put break point at required location and then once you launch the application the break point will hit, you can single step after this.

    For a single cam app a good place to put break point is within the capture node below,

    psdk_rtos_auto_j7_06_01_00_15/tiovx/kernels_j7/hwa/capture/vx_capture_target.c, function: tivxCaptureProcess

    The SW hits this function for every frame that is given to CSI2RX.

    regards
    Kedar

  • Thank you,

    I figured it out.

    best regards,

    nico