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 v5调试DM81XX的M3代码

本文以VPSS M3为例,介绍了如何使用CCS v5调试DM81XX的M3代码,同时该调试思想也适用于其他的M3模块,以及DSP的调试

如何使用CCS v5调试DM81XX的M3代码.pdf
  • 我这边关联不到源码怎么办

  • Zhenyu Zhu 说:

    我这边关联不到源码怎么办

    请确认你编译使用的是debug模式,并且没有用strip把symbol的信息去除掉。一般debug模式下编译出来的文件都有十几MB。

  • 感谢您的回复,我这边已经是Debug模式的而且文件的大小和你描述的差不多,操作步骤也是按照上述的文档操作的 点击local File选择相对应的代码可以还是提示找不到文件,请问是否有别的设置问题,还有就是“并且没有用strip把symbol的信息去除掉”不太理解,没有接触到,烦请解答 ,万分感谢

  • 你好,

    图片太模糊。请确认你使用的xem3文件和你的c代码是匹配的。你是把你使用的代码从Linux复制到window?

    stripe在编译器的bin目录下,下面是help信息。实际使用的代码会用stripe把symbol等debug信息去掉,这样可执行文件可以减少到2M左右。

    C:\CCSv5\ccsv5\tools\compiler\TMS470_4.5.1\bin>strip470.exe -h
    TMS470 Strip Utility                    v4.5.1
    Tools Copyright (c) 1996-2008 Texas Instruments Incorporated

    Usage: strip470.exe [-options] filename

    Use 'strip470.exe -h <option>' for more information on a particular option.  Use

    'strip470.exe -h <text>' to search options for information regarding <text>.

    Option arguments surrounded by [] declare they are optional.  Option arguments
    separated by commas specify that the option's argument must be chosen from
    those arguments listed.

    General Options:
      -h                   Display help
      -o=file              Write stripped output to a new file
      -p                   Strip additional info from a linked object file.

  • 感谢分享, 期待出一个通过ccs能调试DM816x uboot和内核的说明

  • Eric Mao 说:

    感谢分享, 期待出一个通过ccs能调试DM816x uboot和内核的说明

     
    可以借鉴下面的文章:
  • 收藏了  谢谢!!

  • Alice Liu1

    我在您提供的指导文件的指引下,能够成功的在ccs下仿真M3的程序。在此,首先表示感谢!!

    我目前碰到的问题是,在仿真过程中,查看全局性质的结构体以及成员变量的值,提示“Error:identifier not found:Ipc_module”.

    此次用的的模式dvr-rdk/mcf/src-bios6/main_app/MAIN_APP_m3vpss.c。查看的变量Ipc_module定义在ti_tools/syslink/syslink_2_20_02_20/packages/ti/syslink/ipc/hlos/knl/ipc.c。

     

    静候您、以及其他有经验的人回复!