如何判断长短包:
查看0x7C寄存器第一个byte值或者read_data0.byte0值:
/* 0x02: acknowledge & error report */
/* 0x11: generic short read response(1 byte return) */
/* 0x12: generic short read response(2 byte return) */
/* 0x1a: generic long read response */
/* 0x1c: dcs long read response */
/* 0x21: dcs short read response(1 byte return) */
/* 0x22: dcs short read response(2 byte return) */
开机之后,读取0x0a寄存器,可以正常返回,第1个byte为0x21,第2个byte就是要对比的指0x14
[ 35.358630] <1>.(1)[156:disp_check][DDP/]error:[ESD]ESD check begin
[ 35.371189] <1>.(1)[156:disp_check][DDP/]error:[ESD]_esd_check_config_handle_vdo ret=0
[ 35.372230] <1>.(1)[156:disp_check][DSI]enter cmp read_data0 byte0=0x21 byte1=0x14 byte2=0x0 byte3=0x17
[ 35.373412] <1>.(1)[156:disp_check][DSI]enter cmp check_table cmd=0xa,count=0x1,para_list[0]=0x14,para_list[1]=0x0
[ 35.374744] <1>.(1)[156:disp_check][DSI]enter cmp DSI+0x200=0x13700
[ 35.375537] <1>.(1)[156:disp_check][DSI]enter cmp DSI+0x204=0xa0604
[ 35.376327] <1>.(1)[156:disp_check][DSI]enter cmp DSI+0x60=0x2
[ 35.377063] <1>.(1)[156:disp_check][DSI]enter cmp DSI+0x74=0x17001421
[ 35.377873] <1>.(1)[156:disp_check][DSI]enter cmp DSI+0x88=0x440
[ 35.378664] <1>.(1)[156:disp_check][DSI]enter cmp DSI+0x0c=0x80000380
[ 35.379515] <1>.(1)[156:disp_check][DDP/]error:[ESD]ESD check end, ret = 0
待机唤醒之后,读取0x0a会返回第1个byte为0x02的ack error
[ 41.390327] <4>.(4)[156:disp_check][DDP/]error:[ESD]ESD check begin
[ 41.409279] <1>.(3)[156:disp_check][DDP/]error:[ESD]_esd_check_config_handle_vdo ret=0
[ 41.409328] <1>.(3)[156:disp_check][DSI]enter cmp read_data0 byte0=0x2 byte1=0x0 byte2=0x4 byte3=0x3f
[ 41.409335] <1>.(3)[156:disp_check][DSI]enter cmp check_table cmd=0xa,count=0x1,para_list[0]=0x14,para_list[1]=0x0
[ 41.409342] <1>.(3)[156:disp_check][DSI]enter cmp DSI+0x200=0x13700
[ 41.409347] <1>.(3)[156:disp_check][DSI]enter cmp DSI+0x204=0xa0604
[ 41.409351] <1>.(3)[156:disp_check][DSI]enter cmp DSI+0x60=0x2
[ 41.409356] <1>.(3)[156:disp_check][DSI]enter cmp DSI+0x74=0x3f040002
[ 41.409360] <1>.(3)[156:disp_check][DSI]enter cmp DSI+0x88=0x440
[ 41.409365] <1>.(3)[156:disp_check][DSI]enter cmp DSI+0x0c=0x8000079a
[ 41.409373] <1>.(3)[156:disp_check][DDP/DSI]error:[DSI]cmp fail 0x0 != 0x14
[ 41.409414] <1>.(3)[156:disp_check][DDP/]error:[ESD]ESD check end, ret = 1
[ 41.409424] <1>.(3)[156:disp_check][DDP/]error:[ESD]esd check fail, will do esd recovery. try=0
需要联系屏厂看看,待机唤醒流程是否有哪些地方需要特别注意(比如上电时序)。