Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 123958

Forum Post: RE: ASSERT (ipcBitsInLink_tsk.c|IpcBitsInLink_tskMain|392)

$
0
0

Your usecase code looks correct.

Pls add assert at following location to confirm configuration is not modified in some other place:

/dvr_rdk/mcfw/src_linux/links/ipcBitsIn/ipcBitsInLink_tsk.c

Void IpcBitsInLink_notifyCb(OSA_TskHndl * pTsk)

{

   OSA_assert(FALSE);

  OSA_tskSendMsg(pTsk, NULL, SYSTEM_CMD_NEW_DATA, NULL, 0);

}

Also confirm the code in ipcBitsInLink is as below in your codebase:

            if (pObj->prd.numPendingCmd < IPC_BITS_IN_MAX_PENDING_NEWDATA_CMDS)
            {
                pObj->prd.numPendingCmd++; //Increment pendingCmd count before sending linkCmd
                status = System_sendLinkCmd(pObj->tskId, SYSTEM_CMD_NEW_DATA);
            }

 


Viewing all articles
Browse latest Browse all 123958

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>