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 gviliOnnov 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
-
|
Posted by wendelin klimannOnnov 24 2011 08:21 amverified answerverified bygabi gvili |
Prodigy225
PointsHy
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
-
|
Posted by Gabi gviliOnnov 27 2011 amverified answerverified bygabi gvili |
Genius3625
PointsHi 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
-
|
Posted by JanetOnnov 28 2011 amverified answerverified bygabi gvili |
Expert4615
PointsGabi,
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
-
|
Posted by Gabi gviliOndec 01 2011 amverified answerverified bygabi gvili |
Genius3625
PointsJanet,
I have followed your instructions, attached please see log file.
6082. Err. Log
Thanks,
Gabi
-
|
Posted by JanetOndec 01 2011 pmverified answerverified bygabi gvili |
Expert4615
PointsGabi,
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
-
|
Posted by Gabi gviliOndec 04 2011 amverified answerverified bygabi gvili |
Genius3625
PointsHi 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
-
|
Posted by JanetOndec 05 2011 pmverified answerverified bygabi gvili |
Expert4615
PointsGabi,
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
-
|
Posted by Gabi gviliOndec 06 2011 amverified answerverified bygabi gvili |
Genius3625
PointsHi 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