Dear all,
We are using the Appro IPNC for our project,when we test the ESD for Sensor, we will lost the V-sync for a while. Sometimes it may cause the AE/AWB window's datas locked,we print the message like below.
File:drv_h3a.c
Function:DRV_h3aGetBuf
Code:printf("***Bufid=%d,Addr=%x,val=%x\n",buf.id,gDRV_h3aObj.aewbBufInfo[buf.id].virtAddr,*(unsigned int*)(gDRV_h3aObj.aewbBufInfo[buf.id].virtAddr+20));
In the normal case if will printf:
***Bufid=2,Addr=40b9a000,val=12c829
***Bufid=0,Addr=40b94000,val=140f22
***Bufid=1,Addr=40b97000,val=133e73
***Bufid=2,Addr=40b9a000,val=13b367
***Bufid=0,Addr=40b94000,val=12b937
***Bufid=1,Addr=40b97000,val=139088
***Bufid=2,Addr=40b9a000,val=13b849
***Bufid=0,Addr=40b94000,val=134f3e
***Bufid=1,Addr=40b97000,val=12daa4
***Bufid=2,Addr=40b9a000,val=135afb
But, in the error Case:
***Bufid=1,Addr=40b97000,val=5232
***Bufid=2,Addr=40b9a000,val=3d147a
***Bufid=0,Addr=40b94000,val=5232
***Bufid=1,Addr=40b97000,val=3d147a
***Bufid=2,Addr=40b9a000,val=5232
***Bufid=0,Addr=40b94000,val=3d147a
***Bufid=1,Addr=40b97000,val=5232
***Bufid=2,Addr=40b9a000,val=3d147a
***Bufid=0,Addr=40b94000,val=5232
***Bufid=1,Addr=40b97000,val=3d147a
All of the data will be the same.
We connect a switch to the V-sync line.Press a Button to connect it to the ground to simulation the situaiton. And it is easy let the AE/AWB window to be locked.
Now,we should find a way to resync the AE/AWB window to protect our machine wihtout reset whole Vpss-->It cost to much time.
Does anybody know how to fix the error, or resync the AE/AWB window?
Best Regards,
Ray