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.

C6678 HP H264 Encoder



I am trying to run C6678 H264 HP Encoder on Advantech's DSPC-8681 card. I am having trouble running the encoder on multiple cores and it is failing on ipc_attach function with Ipc_E_NOTREADY status(Core 0 is trying to attach to other cores and it is failing with error code of -11).
My SYS/BIOS version is bios_6_33_06_50 and IPC version is ipc_1_24_03_32. I am using Ti's dsp_util to load and run the .out file. I made small modifications to h264hpvenc_testapp.c and h264hpvenc_ti_config.c files, so the video data to be encoded reside in DDR3 instead of reading from a file

My questions are
1) Why ipc_attach is failing
2) Is there any specific order in which I have to load the .out to different cores( Right now I am loading Core0 , then Core 1 - 7)

Thanks

Anish
~Signalogic

  • Hi Anish,

    I checked H264HP encoder on DSPC-8682 with 8 cores (with JTAG Emulator and file read option provided in test application) and it is working fine.

    I used same IPC and BIOS versions that you have used.

    Please check ownerProcId is set to 0 at h264hpvenc.cfg if you are using DNUM=0 as Master core.
    Please check h264hpvenc.cfg again if you have made any changes there.
    You can see a detailed discussion on Ipc_E_NOTREADY at this link.

    Regards

    Sudheesh

  • Hi Sudheesh,

    Shared memory region has ownerProcId set to zero, I am not sure what is wrong with my h264hpvenc.cfg 

    I am not using Emulator and am loading the .out file over PCIe bus with dsp_util tool.

    Do you think I am getting  Ipc_E_NOTREADY since the program is not loaded correctly on different cores?

    2063.h264hpvenc.cfg

  • Hi Anish,

    I just want to check whether you already tried with TI MCSDK for C6678 as it supports for PCIe bus communication between host and multicore cpu.

    Please see the following links regarding MCSDK support.

    MCSDK

    See the links in this page.

    Unit test application supports JTAG Emulator based communication. Your config file looks fine for me.

    I have not tried PCIe communication with unit test application. 

    Let us know your usecase if possible to have further analysis on possible options.

    Regards

    Sudheesh

  • Hi Anish,

    You could able to resolve your issue?

    Let us know if you need any help.

    Thanks and regards

    Sudheesh

  • Hello Sudheesh,

    Yes, The issue was other cores were not getting started.

    Thanks for your help

    Anish