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/TDA2E: It cannot step by step and the c source file cannot be seen on CCS tool.

Part Number: TDA2E

Tool/software: Code Composer Studio

Hi all,

I am trying to debug the SPL on TDA2Ex with vision_sdk 2.12 Linux,but it cannot step by step and the c source file cannot be seen on CCS tool.

HW: TDA2Ex with empty emmc(no sd card insert)

SW:vision_sdk_212_linux

My step is below:

1- power on board

2- run ccs tool and connected A15_0(init scripts is removed)

3- press “Reset->CPU Reset(SW)”

4- press “Tools->Load Memory” to load the “u-boot-spl.bin” into address 0x40300000

5- press “Run->Load->Load Symbols” to load the “u-boot-spl” symbol file

6- change the “PC” to 0x40300000

7- set break point to “0x40301266(setup_dplls)” and press run

it can stop at “0x40301266” but “cannot find a source file at “arch/arm/cpu/armv7/omap-common/clocks-common.c” if I press “Assembly Step over” it stop at function “find_mmc_device”

Could you please help to check is there anything wrong?

Regards Joe

  • HI Joe,

    Joe Shen said:
    it can stop at “0x40301266” but “cannot find a source file at “arch/arm/cpu/armv7/omap-common/clocks-common.c” if I press “Assembly Step over” it stop at function “find_mmc_device”

    When doing source level debugging, the debugger will look for the source file in the paths defined in the debug symbols. This path is usually some type of relative path of when the program was compiled. If the source file is not in that original path, you can direct CCS to the location of the source file in your environment using the "Browse" button in the editor. Once you point CCS to one file, it can normally find the rest - if your source tree has the same directory hierarchy as the original source directory.

    Thanks

    ki

  • Hi Ki,

    thanks for your help, this issue is solved

    Regards
    Joe