MT6735调试s5k3m2摄像头isp timout

2024-03-08 17:48

本文主要是介绍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

这篇关于MT6735调试s5k3m2摄像头isp timout的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/787896

相关文章

利用Python调试串口的示例代码

《利用Python调试串口的示例代码》在嵌入式开发、物联网设备调试过程中,串口通信是最基础的调试手段本文将带你用Python+ttkbootstrap打造一款高颜值、多功能的串口调试助手,需要的可以了... 目录概述:为什么需要专业的串口调试工具项目架构设计1.1 技术栈选型1.2 关键类说明1.3 线程模

使用Python自建轻量级的HTTP调试工具

《使用Python自建轻量级的HTTP调试工具》这篇文章主要为大家详细介绍了如何使用Python自建一个轻量级的HTTP调试工具,文中的示例代码讲解详细,感兴趣的小伙伴可以参考一下... 目录一、为什么需要自建工具二、核心功能设计三、技术选型四、分步实现五、进阶优化技巧六、使用示例七、性能对比八、扩展方向建

Vue 调用摄像头扫描条码功能实现代码

《Vue调用摄像头扫描条码功能实现代码》本文介绍了如何使用Vue.js和jsQR库来实现调用摄像头并扫描条码的功能,通过安装依赖、获取摄像头视频流、解析条码等步骤,实现了从开始扫描到停止扫描的完整流... 目录实现步骤:代码实现1. 安装依赖2. vue 页面代码功能说明注意事项以下是一个基于 Vue.js

前端bug调试的方法技巧及常见错误

《前端bug调试的方法技巧及常见错误》:本文主要介绍编程中常见的报错和Bug,以及调试的重要性,调试的基本流程是通过缩小范围来定位问题,并给出了推测法、删除代码法、console调试和debugg... 目录调试基本流程调试方法排查bug的两大技巧如何看控制台报错前端常见错误取值调用报错资源引入错误解析错误

如何通过海康威视设备网络SDK进行Java二次开发摄像头车牌识别详解

《如何通过海康威视设备网络SDK进行Java二次开发摄像头车牌识别详解》:本文主要介绍如何通过海康威视设备网络SDK进行Java二次开发摄像头车牌识别的相关资料,描述了如何使用海康威视设备网络SD... 目录前言开发流程问题和解决方案dll库加载不到的问题老旧版本sdk不兼容的问题关键实现流程总结前言作为

使用C/C++调用libcurl调试消息的方式

《使用C/C++调用libcurl调试消息的方式》在使用C/C++调用libcurl进行HTTP请求时,有时我们需要查看请求的/应答消息的内容(包括请求头和请求体)以方便调试,libcurl提供了多种... 目录1. libcurl 调试工具简介2. 输出请求消息使用 CURLOPT_VERBOSE使用 C

C++中实现调试日志输出

《C++中实现调试日志输出》在C++编程中,调试日志对于定位问题和优化代码至关重要,本文将介绍几种常用的调试日志输出方法,并教你如何在日志中添加时间戳,希望对大家有所帮助... 目录1. 使用 #ifdef _DEBUG 宏2. 加入时间戳:精确到毫秒3.Windows 和 MFC 中的调试日志方法MFC

ASIO网络调试助手之一:简介

多年前,写过几篇《Boost.Asio C++网络编程》的学习文章,一直没机会实践。最近项目中用到了Asio,于是抽空写了个网络调试助手。 开发环境: Win10 Qt5.12.6 + Asio(standalone) + spdlog 支持协议: UDP + TCP Client + TCP Server 独立的Asio(http://www.think-async.com)只包含了头文件,不依

如何在Visual Studio中调试.NET源码

今天偶然在看别人代码时,发现在他的代码里使用了Any判断List<T>是否为空。 我一般的做法是先判断是否为null,再判断Count。 看了一下Count的源码如下: 1 [__DynamicallyInvokable]2 public int Count3 {4 [__DynamicallyInvokable]5 get