找回密码
 注册
搜索
查看: 2516|回复: 2

[讨论] 摄像头头疼

[复制链接]
发表于 2015-6-18 23:38:34 | 显示全部楼层 |阅读模式
使用OV5693和OV9760做前后摄像头。调试的时候,进不去,于是就抓LOG。现在把部分LOG贴出来,给大家分析一下。分析是I2C没有通讯成功,可是这该如何是好。请各位给小弟个意见,跪谢。
  130.016876] c1 SENSOR_IO_I2C_ADDR: addr = 3c, 3c
[  130.028472] c1 i2c i2c-0: sprd_i2c_handle_msg() rc=-1
[  130.033477] c1 : ======dump i2c-0 reg=======
[  130.038421] c1 : I2C_CTRL:0x5a
[  130.041412] c1 : I2C_CMD:0x7841
[  130.044555] c1 : I2C_DVD0:0x40
[  130.048065] c1 : I2C_DVD1:0x0
[  130.050964] c1 : I2C_RST:0x0
[  130.053833] c1 : I2C_CMD_BUF:0x0
[  130.057159] c1 : I2C_CMD_BUF_CTL:0x0
[  130.060699] c1 SENSOR:read reg fail, ret -1, addr 0x3c, reg_addr 0xf0
[  130.101989] c1 i2c i2c-0: sprd_i2c_handle_msg() rc=-1
[  130.105529] c0 cpufreq_scx35: --xing-- set 768000 khz for cpu0
[  130.105590] c0 regu: @@@dcdc_set_voltage: regu 0xddcf412c (vddarm) 900000 = 900000 +0uV
[  130.105651] c0 cpufreq_scx35: 1200000 --> 768000, real=768000, index=2
[  130.127471] c1 : ======dump i2c-0 reg=======
[  130.131683] c1 : I2C_CTRL:0x5a
[  130.134704] c1 : I2C_CMD:0x7841
[  130.138122] c1 : I2C_DVD0:0x40
[  130.141082] c1 : I2C_DVD1:0x0
[  130.144042] c1 : I2C_RST:0x0
[  130.146942] c1 : I2C_CMD_BUF:0x0
[  130.150115] c1 : I2C_CMD_BUF_CTL:0x0
[  130.153717] c1 SENSOR:read reg fail, ret -1, addr 0x3c, reg_addr 0xf0
[  130.192443] c2 i2c i2c-0: sprd_i2c_handle_msg() rc=-1
[  130.197570] c2 : ======dump i2c-0 reg=======
[  130.201782] c2 : I2C_CTRL:0x5a
[  130.204803] c2 : I2C_CMD:0x7841
[  130.208007] c2 : I2C_DVD0:0x40
[  130.210998] c2 : I2C_DVD1:0x0
[  130.213928] c2 : I2C_RST:0x0
[  130.216857] c2 : I2C_CMD_BUF:0x0
[  130.220031] c2 : I2C_CMD_BUF_CTL:0x0
[  130.223602] c2 SENSOR:read reg fail, ret -1, addr 0x3c, reg_addr 0xf0
[  130.262329] c3 i2c i2c-0: sprd_i2c_handle_msg() rc=-1
[  130.267425] c3 : ======dump i2c-0 reg=======
[  130.271636] c3 : I2C_CTRL:0x5a
[  130.274658] c3 : I2C_CMD:0x7841
[  130.277862] c3 : I2C_DVD0:0x40
[  130.280853] c3 : I2C_DVD1:0x0
[  130.283782] c3 : I2C_RST:0x0
[  130.286712] c3 : I2C_CMD_BUF:0x0
[  130.289886] c3 : I2C_CMD_BUF_CTL:0x0
[  130.293457] c3 SENSOR:read reg fail, ret -1, addr 0x3c, reg_addr 0xf0
[  130.325683] c3 SENSOR: pwdn 1,pin_main 187
[  130.329742] c3 SENSOR: set mclk org = 24, clk = 0
发表于 2015-6-19 10:54:39 | 显示全部楼层
我们公司是做监控的,不知道那群软件的吊毛会不会帮忙,我先找他们看看。
点评回复

使用道具 举报

 楼主| 发表于 2015-6-22 08:35:01 | 显示全部楼层
wgq123 发表于 2015-6-19 10:54
我们公司是做监控的,不知道那群软件的吊毛会不会帮忙,我先找他们看看。

谢谢 那个已经解决了 调了别的代码
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-11-14 14:44 , Processed in 0.044133 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表