CyU3PDebugPrint print format is error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jawu_4351971
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted

  CyU3PMipicsiGetErrors (CyTrue, &errCnts);

  CyU3PDebugPrint ("mipi err:frmErrCnt=%x,crcErrCnt=%x,mdlErrCnt=%x,ctlErrCnt=%x,eidErrCnt=%x,recrErrCnt=%x,unrcErrCnt=%x,recSyncErrCnt=%x,unrSyncErrCnt=%x\r\n",

                errCnts.frmErrCnt,errCnts.crcErrCnt,errCnts.mdlErrCnt,errCnts.ctlErrCnt,

                errCnts.eidErrCnt,errCnts.recrErrCnt,errCnts.unrcErrCnt,errCnts.recSyncErrCnt,errCnts.unrSyncErrCnt);

the print is :

mipierr:frmErrCnt=0,crcErrCnt=0,mdlErrCnt=4003D50C,ctlErrCnt=4000794C,eidErrCnt=4000A778,recrErrCnt=0,unrcErrCnt=0,recSyncErrCnt=0,unrSyncErrCnt=0

you see some format is print error,and the print format sometimes is print ok, some times error.

How to slove it?

0 Likes
1 Solution
YashwantK_46
Moderator
Moderator
Moderator
100 solutions authored 50 solutions authored 50 likes received

Hi,


Please refer to the following KBA: Use of CyU3PDebugPreamble() API – KBA227492

The above KBA explains the probable solution to the above format error that you are facing.


Regards,Yashwant

View solution in original post

0 Likes
1 Reply
YashwantK_46
Moderator
Moderator
Moderator
100 solutions authored 50 solutions authored 50 likes received

Hi,


Please refer to the following KBA: Use of CyU3PDebugPreamble() API – KBA227492

The above KBA explains the probable solution to the above format error that you are facing.


Regards,Yashwant

0 Likes