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.

8168中DSP端接收到的帧,有时候会出现乱数据。



开发包:DVRRDK3.5, DM8168
我在自己添加 的算法link中添加了打印信息。创建tskMain函数创建以后,,我在HelloWorldLink_processData中添加的打印信息,目的是看看帧信息。这种乱数据非常少见,我的板子连续运行了十多个小时才遇见过一次,然后程序就挂掉了,DSP端跑飞了。显示出报错信息为:
 [c6xdsp ]  10384983: Assertion @ Line: 577 in links_common/ipcFramesIn/ipcFramesInLink_tsk.c: UTILS_ARRAYISVALIDENTRY(pFrameBuf,pObj->freeFrameMem) : failed !!!
下面试正常数据已乱数据的对比:
在DSP端接收到的帧信息,有时候会出        
现 chaNum 539021108 startx:335610115 startY:1  width 335610115 height 1 pitch[0] 335610115 pitch[1] 1 pitch[2] 335610115  dataFormat:335610115  scanFormat:1!!!,,这样的乱码数据,概率非常小。
正常情况下应该是
 chaNum 0 startx:0 startY:0  width 960 height 540 pitch[0] 960 pitch[1] 960 pitch[2] 0  dataFormat:7  scanFormat:1!!!