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.

issues with linux aware debugging

I saw this article: “Linux Aware Debug” (http://processors.wiki.ti.com/index.php/Linux_Aware_Debug) in wiki.ti.com. I just followed the instructions, connected to the target and loaded vmlinux file. Then I tried to set some hardware breakpoints in kernel’s source. But CCS just reported that symbols are loaded.

   

    

 

CCS version: 4.1.2

Linux kernel version: 2.6.18

Target: DM6467

Emulator: SEED XDS560

 

As mentioned in “Linux Aware Debug”, your CCS must be at least 4.1.3 to debug arm926. Is it a necessary to have CCS above that version number? Because my poor emulator seems don’t support version that high. For I consulted SEED, and they said there is no such driver for CCS 4.1.3.

        Thanks for your help.

  • Hi,

    As you pointed out correctly, CCSv4.1.3 is required to debug Linux in ARM9 cores.  

    Unfortunately in your case you either need to get a different emulator or ask SEED to release updated drivers.

    Did you see the article below at SEED's page that mentions a new driver release for XDS560PLUS emulators dated as of December 23rd? You can check with them if this is compatible with your emulator. 

    http://125.208.8.138:1002/a6_b.php?newsid=16

    Hope this helps, 

    Rafael

  • Hi Rafael,
    I’ve tried driver you mentioned. It do work well under CCS 4.2.1. But the strange thing is CCS still report Load symbol failed just as I got in CCS 4.1.2.


    Could you give me some more suggestions on this?


    Thank you very much, and you already helped me a lot!

  • Hi,

    I am glad the drivers worked in this new version of CCS.

    However, is the error message the same as the one you sent before? I got confused since you mentioned this time the load symbols failed and the previous message indicates you are trying to set a breakpoint without symbols loaded.

    In any case, are you able to load the kernel symbols (the file vmlinux) to CCS? I don't recall having trouble with this.

    Regards,

    Rafael

  • desouza said:

    Hi,

    I am glad the drivers worked in this new version of CCS.

    However, is the error message the same as the one you sent before? I got confused since you mentioned this time the load symbols failed and the previous message indicates you are trying to set a breakpoint without symbols loaded.

    In any case, are you able to load the kernel symbols (the file vmlinux) to CCS? I don't recall having trouble with this.

    Regards,

    Rafael

     

      

    Hi Rafael,
    Sorry to get you confused.
    Both in CCS 4.1.2 and 4.2.1, I can load the kernel symbol (vmlinux) which is built with kernel debug info. But either in CCS4.1.2 or 4.2.1, I get the same error message.
    In all, I can load the symbol, but when I set breakpoint in the source, the breaks can never be enabled. Once I try to enable them, a dialog window popup and stop me.