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币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!