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.

System_linkCreate problems with ipnc rdk 3.5

Hi

        i am using ipnc rdk 3.5 with mcfw. i am going to  write a app that will take input from local file and do some analysis on dsp with link api. so i write a standlone app. when i run this app,

        "System_linkCreate(ipcBitsOutHostId, &ipcBitsOutHostPrm, sizeof(ipcBitsOutHostPrm));" is successful

        but

       " System_linkCreate(ipcBitsInDspId, &ipcBitsInDspPrm, sizeof(ipcBitsInDspPrm));" is failed with on response

      any one can give me some help? thanks a lot!

      the main part of code is as below:

        IpcBitsOutLinkHLOS_CreateParams   ipcBitsOutHostPrm;
        UInt32 ipcBitsOutHostId  = SYSTEM_HOST_LINK_ID_IPC_BITS_OUT_0;
        UInt32 ipcBitsInDspId  = SYSTEM_DSP_LINK_ID_IPC_IN_0;

        ipcBitsOutHostPrm.baseCreateParams.outQueParams[0].nextLink = ipcBitsInDspId;
        ipcBitsOutHostPrm.baseCreateParams.notifyNextLink = FALSE;
        ipcBitsOutHostPrm.baseCreateParams.notifyPrevLink = FALSE;
        ipcBitsOutHostPrm.baseCreateParams.noNotifyMode = TRUE;
        ipcBitsOutHostPrm.baseCreateParams.numOutQue = 1;
        ipcBitsOutHostPrm.inQueInfo.numCh = 1;
       

        OSA_printf("in dsp test 2\n");
        IpcBitsInLinkRTOS_CreateParams   ipcBitsInDspPrm;
        UInt32 helloWorldDspId          = SYSTEM_LINK_ID_HELLOWORLD_0;
        ipcBitsInDspPrm.baseCreateParams.inQueParams.prevLinkId    = ipcBitsOutHostId;
        ipcBitsInDspPrm.baseCreateParams.inQueParams.prevLinkQueId = 0;
        ipcBitsInDspPrm.baseCreateParams.outQueParams[0].nextLink  = helloWorldDspId;
        ipcBitsInDspPrm.baseCreateParams.noNotifyMode              = TRUE;
        ipcBitsInDspPrm.baseCreateParams.notifyNextLink            = TRUE;
        ipcBitsInDspPrm.baseCreateParams.notifyPrevLink            = FALSE;
        ipcBitsInDspPrm.baseCreateParams.numOutQue                 = 1;


        HelloWorldLink_CreateParams helloPrm;
        helloPrm.inQueParams.prevLinkId = ipcBitsOutHostId;
        helloPrm.inQueParams.prevLinkQueId = 0;
        helloPrm.outQueParams.nextLink  = SYSTEM_LINK_ID_INVALID;

        OSA_printf("in dsp test 3 ipcBitsOutHostId %x\n", ipcBitsOutHostId);
        System_linkCreate(ipcBitsOutHostId, &ipcBitsOutHostPrm, sizeof(ipcBitsOutHostPrm));
        OSA_printf("in dsp test 4\n");
        System_linkCreate(ipcBitsInDspId, &ipcBitsInDspPrm, sizeof(ipcBitsInDspPrm));
        OSA_printf("in dsp test 5\n");
        System_linkCreate(helloWorldDspId, &helloPrm, sizeof(helloPrm));