MT6735调试s5k3m2摄像头isp timout

现在调试MT6735平台s5k3m2,每次开关机打开相机之后 sensor id 可以读到,但是预览画面是黑屏,一直卡在那里,可以退出,再打开相机就会出现无法连接到相机,请关闭占用程序什么的,读log发现id可以读到,提示isp timeout什么的,大家有遇到过么。
FAQ 里面找到这个,只找到第一步的ISP寄存器,bit0不是0,第二步的寄存器找不到。。。。有没有大神帮忙分析下


[FAQ08684][CAMERA Drv] Image sensor ID was
correct, but show black forever until the
occur error
[DESCRIPTION]
Image sensor ID was correct, power on reopen the cell was correct also,
but that will be show black forever until the system occur error.
SOLUTION]
Analyzed as follows:
We can analyze the log after the error occurred, the log will dump out a
lot of register of ISP. Some register should focus as following:
Step1:
If the bit0 of 0x15008100 is 0, indicating the CSI2 was not open. Usually,
the search process happened some error. For example, take the main sensor
like a sub or take a sub sensor like a main sensor in the search process.
To lead this phenomenon usually on account of that pwdn/reset pin
configuration was incorrect.
Step2:
If step1 ok, Then we can analyze 0x1500802C/0x15008024 (ex. 0x0CC00990)
which indicates pass 1 of Width = 0xCC0, Height = 0x990, if the value was
0, or the value was not expected, which indicated the sensor pass 1 does
not receive data.
Step3:
If step2 ok, Then we can analyze 0x150080AC/0x150080A4 (ex. 0x0CC00990)
(ex. 0x0CC00990) which indicates pass2 of Width = 0xCC0, Height = 0x990,
if the value was 0, or the value was not expected, which indicated the
sensor pass2 does not receive data.
Step4:
In fact, We can use adb shell to down load bin to the T card, and used the
imagebrowser.exe to analyze the data. The adb command as following,
adb shell setprop camera.vss.dumpbuffer.enable 1
Some cases of occured black screen
Case 1.
The command of sensor’s initialize which have some bug, some initialize
source code not only have 8bit also have 16bit, In this condition, we need
used the difference command to approach the require. If not, May be the
sensor can output data but it is incorrect.
Case 2.
The occur a incorrect during the sensor match process, maybe the main
sensor and sub sensor was swapped.
Case3.

sub sensor haredware layout connect to the main2 or main pin.

资料来源:一牛网论坛 MT6735

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值