微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 6735调试s5k3m2摄像头isp timout

6735调试s5k3m2摄像头isp timout

时间:10-02 整理:3721RD 点击:
现在调试6735平台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.

遇到过类似问题,请问小编有没有解决?

解决了,应该是HAL ISP那部分的问题,从官网拉了一份新的代码替换之后就好了。

拉新的Camera代码,CCT版本不一样导致的ISP配置有差异

好的,明白了,多谢!

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top