Dm8148 development record 2

Source: Internet
Author: User
Tags sdo

A useful solution for the remote_copy_dsp issue cannot be found

Examples speech1_copy and universal_copy from codec engine on ezsdk 5_02_02_60 for ti816x is not runningthis question is answered

Posted by Gabi gvili

Onnov 24 2011 AM
Genius3625
Points

Hi Ti experts,

 

I have followed the instructions in the document "build/run instructions for Codec engine Examples" attached to the codec engine.
After successfully building all the examples, servers etc.. I tried to run the examples speech_copy1 and universal_copy using remote server DSP according to the instructions.
The examples are not running, I recieve the following error message:

Root @ Arago :~ /Codec_engine/speech1_copy #./app_remote.xv5t-p dsp-s xe674

[T = 0x0000192d] [TID = 0x400f1000] xdc. runtime. Main: [+ 2] Main> welcome to app's main ().

[T = 0x00001ee8] [TID = 0x400f1000] xdc. runtime. Main: [+ 1] app-> application started, procid DSP enginename remote_copy_dsp input-file./In. dat out.

./App_remote.xv5t: Error: Can't open engine remote_copy_dsp

[T = 0x00002d64] [TID = 0x400f1000] xdc. runtime. Main: [+ 1] app done.

 

Can anyone please help with this?

 

Thanks,
Gabi

Codec Engine
Report
Abuse
  • Reply
  • Posted by wendelin klimann

    Onnov
    24 2011 08:21 amverified answerverified bygabi gvili
    Prodigy225
    Points

    Hy

     

    Try to run

    Root @ Arago :~ /Codec_engine/speech1_copy #./app_remote.xv5t-p dsp-s xe674

     

    With ce_debug = 3 and make a. log file of the debug messages like:

    Root @ Arago :~ /Codec_engine/speech1_copy # ce_debug = 3./app_remote.xv5t-p dsp-s xe674
    | Tee filename. Log

    And post the. Log File

     

    Regards

    Wendelin

    Report
    Abuse
    • Reply
  • Posted by Gabi gvili

    Onnov
    27 2011 amverified answerverified bygabi gvili
    Genius3625
    Points

    Hi wendelin,

    After running with ce_debug = 3 I saw that the DSP executable name shocould be all_dsp.xe674, the DSP executable file was created in a different name so I renamed it to all_dsp.xe674 and now target stucks.

    Please see attached file.

    6758. err1.log

     

    Thanks,
    Gabi

    Report
    Abuse
    • Reply
  • Posted by Janet

    Onnov
    28 2011 amverified answerverified bygabi gvili
    Expert4615
    Points

    Gabi,

    From your trace, it looks like syslink's ipc_control (loadcallback...) failed:

    [T = 0x00150c73] [TID = 0x400assertion at line No: 301 In/home/Gabi/z3-DM8168/z3-netra-RPS-20111017/ezsdk/component-sources/syslink_2_00_02_80/packages/Ti/syslink/utils/hlos/knl/Linux /.. /.. /.. /.. /.. /.. /Ti/syslink/IPC/hlos/knl/Linux/ipcdrv. c:
    (Status> = 0): Failed
    22490] ti. SDO. Ce. IPC. Processor: [+ E] processor_create_d> enter (Proc = 0xd8af0)
    [T = 0x00150ca5] [TID = 0x40022490] ti. SDO. Ce. IPC. Processor: [+ 2] processor_create_d> retrieving cpu id for 'dsps '...
    [T = 0x00150cdd] [TID = 0x40022490] ti. SDO. Ce. IPC. Processor: [+ 2] processor_create_d> opening DSP procmgr for cpuid 0...
    [T = 0x00150d5a] [TID = 0x40022490] ti. SDO. Ce. IPC. Processor: [+ 2] processor_create_d> attaching to DSP...
    [T = 0x00151825] [TID = 0x40022490] ti. SDO. CE. IPC. processor: [+ 2] processor_create_d> loading all_dsp.xe674 on DSP (1 ARGs )...
    [T = 0x00172c6d] [TID = 0x40022490] ti. SDO. Ce. IPC. Processor: [+ 2] processor_create_d> calling ipc_control (loadcallback )...
    [T = 0x00178845] [TID = 0x40022490] ti. SDO. Ce. IPC. Processor: [+ 2] processor_create_d> ipc_control (loadcallback) Status:-1
    [T = 0x001788a1] [TID = 0x40022490] ti. SDO. Ce. IPC. Processor: [+ 2] processor_create_d> starting DSP...

    But, unfortunately, this trace doesn't indicate why the failure is occurring. cocould you please try enabling syslink trace? You can do this as follows:

    Insmod syslink. Ko trace = 1 tracefailure = 1 traceclass = 3

    This will hopefully give us an idea as to why ipc_control () is failing.

    Best regards,

    Janet

     

     

    Report
    Abuse
    • Reply
  • Posted by Gabi gvili

    Ondec
    01 2011 amverified answerverified bygabi gvili
    Genius3625
    Points

    Janet,

    I have followed your instructions, attached please see log file.

    6082. Err. Log

    Thanks,
    Gabi

    Report
    Abuse
    • Reply
  • Posted by Janet

    Ondec
    01 2011 pmverified answerverified bygabi gvili
    Expert4615
    Points

    Gabi,

    According to your log, the symbol _ ipc_resetvector cocould not be found:

    T = 0x00153713] [telfloader_getsymboladdress: symname [_ ipc_resetvector]

    Id = 0x400f4000] T *** loader_getsymboladdress: failed to get the symbol address!

    Cocould you check the map file for all_dsp.xe674 (in servers/all_codecs/package/CFG/bin/ti_platforms_evmti816x), and verify that the symbol _ ipc_resetvector exists? Also cocould you provide a log without ce_debug = 3, so that just the syslink trace is shown.
    The codec engine trace is interspersed with the syslink trace, making it harder to read, and I 'd like to compare your trace with mine.

    Thanks,

    Janet

    Report
    Abuse
    • Reply
  • Posted by Gabi gvili

    Ondec
    04 2011 amverified answerverified bygabi gvili
    Genius3625
    Points

    Hi Janet,

    _ Ipc_resetvector exists in the file all_dsp.xe674.map please see atached file.

    7433.all_dsp.xe674.map.txt

    Also I have attached log file without ce_debug = 3.

    3286.err.txt

    Thanks,
    Gabi

    Codec Engine
    Report
    Abuse
    • Reply
  • Posted by Janet

    Ondec
    05 2011 pmverified answerverified bygabi gvili
    Expert4615
    Points

    Gabi,

    According to your map file, it looks like the DSP entry point is at the address 0x995d7800:

    Entry Point Symbol: "ti_sysbios_family_c64p_hwi0" Address: 995d7800

    But the error log indicates the address 0x8b033100 for the entry point:

    Dload: ELF File Header entry point: 8b033100

    So it looks like the map file you sent does not correspond to the map file of the DSP executable that syslink is attempting to load.

    Cocould you please check again for the correct map file?

    Best regards,

    Janet

     

    Report
    Abuse
    • Reply
  • Posted by Gabi gvili

    Ondec
    06 2011 amverified answerverified bygabi gvili
    Genius3625
    Points

    Hi Janet,

    The example is working OK now, thankyou very much for your help, your answer helped me to find the correct DSP executable file, which its name is all_dsp.xe674 and it is found in

    Ezsdk_xx_xx_xx/component-sources/codec_engine_xx_xx_xx/examples/Ti/SDO/CE/examples/servers/all_codecs/bin/ti_platforms_evmti816x/

    And not what I was doing mistakenly which was to take the DSP executable named app_local.xe674 from where the executables were created for the example speech1_copy and rename it to all_dsp.xe674.

    Thanks,
    Gabi

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.