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-AM335X: Unable to debug SDK 4.0 U-boot

Part Number: PROCESSOR-SDK-AM335X


Tool/software: Code Composer Studio

Hello,

I'm using ti-processor-sdk-linux-am335x-evm-04.00.00.04 with am335x-starter kit and code composer studio v7.0.0

I'm trying to debug u-boot-spl with ccs v7.0 following this wiki

http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_uboot_linux_debug_with_ccsv5

After loading memory and symbol an error always shown

Can't find a source file at "(for all the files if i'm doing step run)"

While trying to set hardware breakpoint for any function locating from modules it shows No code is associated with line xxx.

Is there problem in compiling or anything else.

Or provide method for compiling  ti-processor-sdk-linux-am335x-evm-04.00.00.04 source code to debug with ccs v7.0.0

Thank you

  • Hello,

    The issue is with proper correlation between the source files and the loaded debug symbols. If you followed the steps correctly in the wiki regarding creating a U-Boot project in CCS, building with the necessary debug infomation and U-boot symbols loaded with the correct relocation information, then the source code correlation should be correct. Please carefully check these steps to make sure you have followed them correctly. You may want to open the Modules view to browse the u-boot symbols and see which source information it contains.

    Thanks

    ki

  • Hello
    I've tried model view for browsing symbols.
    It shows exactly path which are included in project.
    The process is for sdk 7.0 where kernel image is uImage in newer processor-sdk it is called zImage.
    So is there any other difference related to Debugging/Compiling steps.
    Is it okay if i compile u-boot and u-boot-spl from the base level make file like from directory ti-processor-sdk-linux-am335x-evm-04.00.00.04 using make u-boot/make u-boot-spl ?

    First error is Can't find a source file at "arch/arm/lib/vectors.S" then which ever function executes it can't find source file for all of those functions.

    I'm using XDS110 JTAG Debugger

  • jigarp said:
    The process is for sdk 7.0 where kernel image is uImage in newer processor-sdk it is called zImage.
    So is there any other difference related to Debugging/Compiling steps.
    Is it okay if i compile u-boot and u-boot-spl from the base level make file like from directory ti-processor-sdk-linux-am335x-evm-04.00.00.04 using make u-boot/make u-boot-spl ?

    I will move this thread to the Sitara forum. The experts there can best answer your questions.

    Thanks

    ki

  • Hello,

    Still no response.

    No one tried psdk 4.0 with ccs7??