Remove SW_BREAKPOINT on ASIP due to Dec CB overflow returned to DSP
authorFrank Livingston <frank-livingston@ti.com>
Fri, 17 Feb 2017 20:42:13 +0000 (14:42 -0600)
committerFrank Livingston <frank-livingston@ti.com>
Fri, 17 Feb 2017 20:42:13 +0000 (14:42 -0600)
pasdk/test_dsp/framework/audioStreamInpProc.c

index 4c5227dd2363f154230b74708113fc204dd00d6a..c6219f63159f3cc607c581a698cadfccba16b4d4 100644 (file)
@@ -298,20 +298,22 @@ PAF_ASIT_Config gPAF_ASIT_config = {
 };
 
 // Global debug counters */
-UInt32 gTaskAsipCnt=0; // debug
-UInt32 gAsipInitCnt     =0;
-UInt32 gAsipInfo1Cnt    =0;
-UInt32 gAsipInfo2Cnt    =0;
-UInt32 gAsipDecodeCnt   =0;
-UInt32 gAsipDecodeErrCnt   =0;
-UInt32 gAsipFinalCnt    =0;
-UInt32 gAsipQuitCnt     =0;
-UInt32 gIbReset_cnt    =0;
-UInt32 gcapIb_cnt              =0;
+UInt32 gTaskAsipCnt             =0;
+UInt32 gAsipInitCnt             =0;
+UInt32 gAsipInfo1Cnt            =0;
+UInt32 gAsipInfo2Cnt            =0;
+UInt32 gAsipDecodeCnt           =0;
+UInt32 gAsipDecodeErrCnt        =0;
+UInt32 gAsipFinalCnt            =0;
+UInt32 gAsipQuitCnt             =0;
+UInt32 gIbReset_cnt            =0;
+UInt32 gcapIb_cnt                      =0;
 UInt32 gAsipInfo2_PrimaryErrCnt =0;
 UInt32 gAsipInfo2_ErrCnt               =0;
+// debug
+UInt32 gCbErrnoCnt              =0; // decoder circular buffer error count (write on ARM returned to DSP)
 
-#include "dbgDib.h"
+#include "dbgDib.h" // debug
 
 extern struct {
     Int size;
@@ -3398,8 +3400,9 @@ PAF_ASIT_decodeDecode(
                 cbErrno = *(Int32 *)&pAspMsg->buf[argIdx];
                 if (cbErrno != 0)
                 {
+                    gCbErrnoCnt++;
                     TRACE_TERSE1("CB write error=%d", cbErrno);
-                    SW_BREAKPOINT; // temporary
+                    //SW_BREAKPOINT; // temporary
                 }
             }
             else