2 llw21680 llw21680 于 2016.03.05 17:18 提问

A31s的ov5640驱动测试时黑屏问题

用相机软件打开后一片黑,看不到图像,MCLK,PCLK,VSYNC有信号,HSYNC正负都有峰峰值1.8V,数据线有信号,物体接近时能看到明显变化。开机信息提示如下:
[ 113.532510] [VFE]vfe_open
[ 113.532710] [VFE]vfe_open ok
[ 113.532753] [OV5640]CSI_SUBDEV_STBY_OFF!
[ 113.532776] [VFE]mclk on
[ 113.555791] [OV5640]enable oe!
[ 113.569028] [OV5640]sensor_init 0x0
[ 113.709580] [VFE_ERR]try bayer bus error when pix fmt is yuv422/yuv420 at try_fmt_internal!
[ 113.852801] [VFE_ERR]try bayer bus error when pix fmt is yuv422/yuv420 at try_fmt_internal!
[ 113.888530] [VFE_ERR]try bayer bus error when pix fmt is yuv422/yuv420 at try_fmt_internal!
[ 113.911415] [VFE_ERR]try bayer bus error when pix fmt is yuv422/yuv420 at try_fmt_internal!
[ 113.925448] [OV5640]sensor_s_parm
[ 113.925472] [OV5640]set frame rate 25
[ 113.925503] [VFE_ERR]try bayer bus error when pix fmt is yuv422/yuv420 at try_fmt_internal!
[ 113.935063] [OV5640]sensor_s_fmt
[ 113.989781] [OV5640]preview:agc/aec:0x0,gain:0x0,exposurelow:0x0,exposuremid:0x0,exposurehigh:0x0
[ 114.149856] [OV5640]s_fmt set width = 640, height = 480
[ 114.150611] [ISP_ERR]: awb_coeff is invalid!
[ 114.150627] Division by zero in kernel.
[ 114.150638] Backtrace:
[ 114.150676] from
[ 114.150692] r6:bf263870 r5:bf263814 r4:00000000 r3:c08d1d34
[ 114.150735] from
[ 114.150759] from
[ 114.150771] Division by zero in kernel.
[ 114.150781] Backtrace:
[ 114.150803] from
[ 114.150818] r6:bf263870 r5:bf263814 r4:00000000 r3:c08d1d34
[ 114.150860] from
[ 114.150880] from
[ 114.150893] Division by zero in kernel.
[ 114.150903] Backtrace:
[ 114.150925] from
[ 114.150939] r6:bf26388c r5:bf263820 r4:00000000 r3:c08d1d34
[ 114.150981] from
[ 114.151002] from
[ 114.151014] Division by zero in kernel.
[ 114.151023] Backtrace:
[ 114.151045] from
[ 114.151060] r6:bf26388c r5:bf263820 r4:00000000 r3:c08d1d34
[ 114.151102] from
[ 114.151122] from
[ 114.151135] Division by zero in kernel.
[ 114.151144] Backtrace:
[ 114.151166] from
[ 114.151181] r6:bf2638a8 r5:bf26382c r4:00000000 r3:c08d1d34
[ 114.151223] from
[ 114.151243] from
[ 114.151255] Division by zero in kernel.
[ 114.151265] Backtrace:
[ 114.151286] from
[ 114.151301] r6:bf2638a8 r5:bf26382c r4:00000000 r3:c08d1d34
[ 114.151343] from
[ 114.151363] from
[ 114.151376] Division by zero in kernel.
[ 114.151385] Backtrace:
[ 114.151408] from
[ 114.151422] r6:bf2638c4 r5:bf263838 r4:00000000 r3:c08d1d34
[ 114.151465] from
[ 114.151485] from
[ 114.151498] Division by zero in kernel.
[ 114.151507] Backtrace:
[ 114.151529] from
[ 114.151544] r6:bf2638c4 r5:bf263838 r4:00000000 r3:c08d1d34
[ 114.151585] from
[ 114.151606] from
[ 114.151618] Division by zero in kernel.
[ 114.151627] Backtrace:
[ 114.151649] from
[ 114.151664] r6:bf2638e0 r5:bf263844 r4:00000000 r3:c08d1d34
[ 114.151706] from
[ 114.151726] from
[ 114.151739] Division by zero in kernel.
[ 114.151748] Backtrace:
[ 114.151770] from
[ 114.151784] r6:bf2638e0 r5:bf263844 r4:00000000 r3:c08d1d34
[ 114.151826] from
[ 114.151846] from
[ 114.151859] Division by zero in kernel.
[ 114.151868] Backtrace:
[ 114.151890] from
[ 114.151905] r6:bf2638fc r5:bf263850 r4:00000000 r3:c08d1d34
[ 114.151947] from
[ 114.151967] from
[ 114.151980] Division by zero in kernel.
[ 114.151989] Backtrace:
[ 114.152011] from
[ 114.152025] r6:bf2638fc r5:bf263850 r4:00000000 r3:c08d1d34
[ 114.152067] from
[ 114.152088] from
[ 114.152101] Division by zero in kernel.
[ 114.152110] Backtrace:
[ 114.152132] from
[ 114.152146] r6:bf263918 r5:bf26385c r4:00000000 r3:c08d1d34
[ 114.152188] from
[ 114.152208] from
[ 114.152221] Division by zero in kernel.
[ 114.152230] Backtrace:
[ 114.152252] from
[ 114.152267] r6:bf263918 r5:bf26385c r4:00000000 r3:c08d1d34
[ 114.152308] from
[ 114.152329] from

希望论坛的朋友帮帮忙,分析一下,不胜感激!

1个回答

devmiao
devmiao   Ds   Rxr 2016.03.05 23:51
llw21680
llw21680 这个链接是stm32做的所以需要外接晶振,但我的是A31s不用外接,而且我的现在是信号线上有信号。
2 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
通过FPGA驱动OV5640调试记录
最近无聊,想通过FPGA来驱动OV5640,达到高速并行的图像处理。其中使用了8个sensor。是Omnivision的500W高清摄像头。主要用于手机,pad,等移动设备的主摄像头。在网上搜索了一把,包括谷歌和百度。都没发现太有价值的信息。后面自己硬着头皮开始自己来弄。应该用fpga控制ov5640我属于首创。  经过漫长的原理图设计,原理图如下: 其中的DOVDD使用的是D1.8V,这
ov5640摄像头驱动的开发过程
对于在Linux下OV5640摄像头驱动开发的过程。   硬件连接电路设计 (1)OMAP4 通过 CSI2 接口连接 OV5640 传感器(MIPI 标准),使用三组差分信 号,其中一组差分传送时钟,另两组差分传送数据信号。一组差分信号的传输速 度最大可以达到 1Gpbs。 电路原理图MIPI CSI2总线   MIPI CSI-2应用通信结构 MIPI通过三组CSI_2
linux ov5640驱动源码
linux ov5640驱动源码 driver
基于全志a31s的camrea驱动调试(gc2145型号)
运行命令make ARCH = menuconfig进入device drivers--->Multimedia support--->配置如下     把GC2145的驱动文件gc2145.c放在lichee\linux-3.3\drivers\media\video\sunxi-vfe\device\下并在其目录下的Makefike文件添加 obj-$(CONFIG_CSI_VFE)
解决ov5640困扰好久的问题
<br />  功夫不负有心人,今天偶然间把camera设置效果后有时会收不到帧的问题解决了。这个也算是比较怪的bug吧,如果不是运气好,不知道还要被折腾到什么时候。原来是0x5001这个寄存器有两个位是debug 位。如果设了这两个位的话,会导致camera不稳定,有时候出现收不到帧的情况。搞研发就是这样,一个小问题可能会让你搞到快崩溃。搞出来后你又会兴奋,有成就感。看来要学会平常心,淡定。<br />  解决了这个难搞的问题,稍微可以放松下了。下个目标学会lcd。
读Linux源码分析ov5640在三星exynos4412平台上的使用
ov5640与三星4412
FPGA OV5640摄像头模组配置文件
对OV5640摄像头模组,在上电后的寄存器配置方案,,,
ov5640_mipi.c分析
在ov5640芯片手册中看到这样一句话: The OV5640 supports both a digital video parallel port and a serial MIPI port. 所以ov5640既支持数字并口视频传输,同样支持mipi接口规范。 摄像头插入到开发板上面的时候,如果有匹配的驱动程序,就会调用到probe函数,先从probe函数来分析。 (
全志A31&A31S固件DIY工具
使用全志A31和A31s主控的平板电脑,可使用该工具DIY固件,可编辑厂商信息,替换开机画面,编辑系统属性信息。
-00-开始【OV5640】
最近做了一块转接板,把OV5640模块接入了FPGA开发板,昨天终于能够正常显示,没有问题了。 后面搞一板稳定的代码,然后把RGB565改成YUV试试显示效果有没有提升。