导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    OV9716,初始化异常

    V Series
    2
    2
    1332
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • zznzzn
      zznzzn LV 6 最后由 编辑

      芯片的上电没有错,MCLK,RESET,I2C均用示波器捕获过是正常的。
      问题可能存在哪?

      Module Size Used by
      vin_v4l2 181099 0
      ov9716_mipi 12523 0
      vin_io 21170 3 vin_v4l2,ov9716_mipi
      videobuf2_v4l2 9304 1 vin_v4l2
      videobuf2_dma_contig 8632 1 vin_v4l2
      videobuf2_memops 948 1 videobuf2_dma_contig
      videobuf2_core 22168 2 vin_v4l2,videobuf2_v4l2
      xradio_wlan 598 0
      xradio_core 431911 1 xradio_wlan
      xradio_mac 222724 1 xradio_core
      root@TinaLinux:/# [ 58.985741] random: crng init done
      [ 58.989561] random: 2 urandom warning(s) missed due to ratelimiting
      
      root@TinaLinux:/#
      root@TinaLinux:/# camerademo NV21 1280 720 30 bmp /tmp 5
      [CAMERA]**********************************************************
      [CAMERA]* *
      [CAMERA]* this is camera test. *
      [CAMERA]* *
      [CAMERA]**********************************************************
      [CAMERA]**********************************************************
      [CAMERA] open /dev/video0!
      [CAMERA]**********************************************************
      [CAMERA]**********************************************************
      [CAMERA] The path to data saving is /tmp.
      [CAMERA] The number of captured photos is 5.
      [CAMERA] save bmp format
      [ 69.569090] [VIN_ERR]vin is not support this pixelformat
      [ 69.575169] [VIN_ERR]vin is not support this pixelformat
      [ 69.581453] [VIN_ERR]vin is not support this pixelformat
      [ 69.587529] [VIN_ERR]vin is not support this pixelformat
      [ 69.593810] [VIN_ERR]vin is not support this pixelformat
      [ 69.599971] [VIN_ERR]vin is not support this pixelformat
      [ 69.606120] [VIN_ERR]vin is not support this pixelformat
      [ 69.612266] [VIN_ERR]vin is not support this pixelformat
      [ 69.618439] [VIN_ERR]vin is not support this pixelformat
      [ 69.624510] [VIN_ERR]vin is not support this pixelformat
      [ 69.630701] [VIN_ERR]vin is not support this pixelformat
      [ 69.636773] [VIN_ERR]vin is not support this pixelformat
      [CAMERA]**********************************************************
      [CAMERA] Using format parame[ 69.649355] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x36)
      ters NV21.
      [CAMERA] camera pixe[ 69.660842] [VIN_DEV_I2C_ERR]sensor_write error!
      lformat: NV21
      [CAMERA] Resoluti[ 69.668736] [VIN_DEV_I2C_ERR]ov9716_mipi sensor write array Error, array_size 1701!
      on size : 1280 * 720
      [CAMERA] The photo save path is /tmp.
      [CAMERA] The number of photos taken is 5.
      begin ion_alloc_open
      pid: 1117, g_alloc_context = 0x2ecd0
      [CAMERA] Camera capture framerate is 30/1
      [CAMERA] VIDIOC_S_FMT succeed
      [CAMERA] fmt.type = 9
      [CAMERA] fmt.fmt.pix_mp.width = 1280
      [CAMERA] fmt.fmt.pix_mp.height = 720
      [CAMERA] fmt.fmt.pix_mp.pixelformat = NV21
      [CAMERA] fmt.fmt.pix_mp.field = 1
      [CAMERA] stream on succeed
      [CAMERA] camera0 capture num is [0]
      [ 71.647763] [VIN_WARN]Video0 over 2s no frame received!!![CAMERA_ERR] camera0 select timeout,end capture thread!
      [CAMERA] Capture thread finish
      [CAMERA] close /dev/video0
      [CAMERA_ERR] capture_photo return error
      root@TinaLinux:/#
      
      livpo 1 条回复 最后回复 回复 引用 分享 0
      • livpo
        livpo LV 6 @zznzzn 最后由 编辑

        @zznzzn 看一下驱动[VIN_DEV_I2C_ERR]ov9716_mipi sensor write array Error, array_size 1701!,这里为什么会出现这种写入数组的错误,由于写入数据失败了,导致后面获取不到数据

        1 条回复 最后回复 回复 引用 分享 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策