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 debug for Notify example on DM8148

Other Parts Discussed in Thread: SYSBIOS

Hi Ti,

I am a newcomer for developing dsp. I am trying to use ccs to debug the dsp side codes of the notify example in syslink on DM8148. The versions are:

ccs  5.4.0

sys/bios 6.35.1.29

ipc 1.25.0.04

xdctools 3.25.0.48

syslink 2.0

First I create and build the notify project in ccs as http://processors.wiki.ti.com/index.php/Creating_CCS_Project_for_SysLink_samples?keyMatch=creating%20ccs%20project&tisearch=Search-CN said. But I do "not" set the build options as "-DSYSLINK_PLATFORM_TI81XX" because of the different versions of ccs between mine and the authors. Also I do "not" set the configuration script arguments type as "{dmTimerFreq: 32768}" because the example would be stuck behind ipc_start() if so. And I changes the Timer.intFreq.lo as 20000000 in .cfg file.

Based on the above settings, I build the project and get the .out file. But there are two warnings "#10063-D:entry-point symbol other than ' _c_int00 specified ' " and "#10247-D:creating output section '.plt' without a SECTIONS specification". It seems nothing matters. In order to verify the correctness of the .out file or my settings, I download the .out file into the platform's filesystem and run in the same way as the .xe674 file in syslink. The results are the same. I think my settings are correct, am I right? But the sizes of the .out file and the .xe674 file differ largely. Is it because the difference between windows and linux? Oh, I’m digressing here.

Then, I begin to debug the codes on dsp side as follows:

1. Startup DM8148 and the dsp core: ./slaveloader_debug startup DSP ./notify_ti81xx_dsp.xe674

2. Startup ccs, debug .ccxml, right click on dsp core and select "connect target". Although it prompts one error "No source available for '0x8b0168fc' ", but I ignore it. After I load the symbols, it should spin on Ipc_start(), but it halts on  ti_sdo_ipc_GateMP_start() in the GateMP.c file. 

I have consulted many threads but got no way. I have tried my best. Is anyone willing to help me? Thanks!

  • Hi Miao,

    I am working with the DM814x EZSDK, where the last versions of the EZSDK components are:

    ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/bios_6_33_05_46

    ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/ipc_1_24_03_32

    ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20

    ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/xdctools_3_23_03_53

    miao yu1 said:

    sys/bios 6.35.1.29

    ipc 1.25.0.04

    xdctools 3.25.0.48

    syslink 2.0

    I see you are not using the EZSDK, is that correct? Are you using the TI-RTOS (http://www.ti.com/tool/sysbios) (Formerly known as SYS/BIOS) ?

    Best regards,
    Pavel

  • Hi Pavel,

    Sorry for that I didn't represent the correct condition. The versions I described before are for the components of ccs except syslink.  Syslink 2.0 is the component of my EZSDK whose version is 5.03.01.15, and the version information of other components in this EZSDK is:

    bios: 6.32.05.54

    ipc: 1.23.05.40

    syslink: 2.00.05.85

    xdctools: 3.22.04.46

    Because the project created by ccs needs the path to syslink, I copy the syslink 2.0 from EZSDK to windows environment.

    The examples of syslink are made in EZSDK 5.03. I want to step into the codes on dsp side, so I try to do as the link's content mentioned before.

    The versions of components used in ccs (windows) and EZSDK are really not coincident. 

    Also I try to load program, the debugger can find the main(), it spins on Ipc_start(). After I run the example on DM8148, sometimes it can halt on the breakpoint set in the task function, but sometimes it doesn't and the example can execute without errors. It seems to be not steady enough.

    Yours sincerely,

    Miao

  • Miao,

    Can you provide me the steps to reproduce the issue on my side?

    I have TI DM8148 EVM, EZSDK 5.05.02.00, CCS5.4.0 (linux version), Ubuntu PC, blackhawk USB 560M JTAG emulator.

    Regards,
    Pavel

  • Hi Pavel,

    I don't understand the following link's content very well, so I just do as what it says. 

    http://processors.wiki.ti.com/index.php/Creating_CCS_Project_for_SysLink_samples

    The dsp executable is produced in ccs(windows version) and the arm executable is produced in ccs(linux version) in this link. I also tried with syslink 2.20 (your version) but I failed. So I really don't know how to reproduce it in your side although the principle must be the same. 

    Best Regards,

    Miao

  • Hi Pavel,

    I have read the following thread solved by you.

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/329742.aspx

    I will post a new one in the corresponding forum. Thanks for your patience!

    Regards,

    Miao

  • Miao,

    Have a look also in the below e2e thread, might be in help:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/331762.aspx

    BR
    Pavel