D1H 使用OV5640 报错
-
报错内容如下
[ 13.978210] [VIN_ERR]mclk0 request pin handle failed! [ 14.872070] random: fast init done [ 19.121642] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 24.161654] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 29.201638] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 29.209317] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 34.241632] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 38.241633] usb1-vbus: disabling [ 39.281637] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 44.321632] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 44.329309] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 44.334998] [ov5640]V4L2_IDENT_SENSOR = 0 [ 49.361631] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 54.401648] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 59.441631] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 59.449308] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 64.481631] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 69.521648] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 74.561892] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 74.569571] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 74.575274] [ov5640]retry = 0, V4L2_IDENT_SENSOR = 0 [ 79.601655] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 84.641647] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 89.681630] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 89.689309] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 94.721631] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 99.761647] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 104.801632] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 104.809312] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 104.815003] [ov5640]retry = 1, V4L2_IDENT_SENSOR = 0 [ 109.841630] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 114.881648] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 119.921630] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 119.929308] [VIN_DEV_I2C]ov5640 sensor read retry = 2 ^CPlease press Enter to activate this console. [ 124.961630] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 130.001646] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 135.041631] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 135.049306] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 135.054997] [ov5640]retry = 2, V4L2_IDENT_SENSOR = 0 [ 140.081892] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 145.121674] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 150.161631] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 150.169309] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 155.201631] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 160.241646] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 165.281631] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 165.289307] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 165.294996] [ov5640]retry = 3, V4L2_IDENT_SENSOR = 0 [ 170.321631] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 175.361647] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 180.401630] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 180.409308] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 185.441630] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 190.481647] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 195.521631] sunxi-i2c sunxi-i2c2: engine-mode: xfer timeout(dev addr:0x3c) [ 195.529306] [VIN_DEV_I2C]ov5640 sensor read retry = 2 [ 195.534997] [ov5640]retry = 4, V4L2_IDENT_SENSOR = 0 [ 195.540530] [ov5640] error, chip found is not an target chip.
我购买的是 https://item.taobao.com/item.htm?spm=a1z09.2.0.0.67002e8d8GQcWn&id=656092697257&_u=n22qllft551e
各路大神帮忙看看 -
mclk0 request pin handle failed!
可能要先解决这个问题。
-
@whycan mclk0 request pin handle failed!
是需要检查GPIO 是否配置正确吗 -
@whycan 现在报了这个错误
[ 11.599220] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle [ 11.606786] sunxi-i2c sunxi-i2c2: STOP failed! [ 11.611825] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x1e) [ 11.644720] sunxi-i2c sunxi-i2c2: Bus error [ 11.649457] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle [ 11.657022] sunxi-i2c sunxi-i2c2: STOP failed! [ 11.662102] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x1e) [ 11.694464] sunxi-i2c sunxi-i2c2: Bus error [ 11.699201] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle [ 11.706767] sunxi-i2c sunxi-i2c2: STOP failed! [ 11.711840] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x1e)
-
D1-H (MQ-Pro)驱动 OV5640 摄像头
https://bbs.aw-ol.com/topic/4017/share/1
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号