This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

av_server 启动报错,i2c read 报错,具体见日志

[ 8.870000] i2c16_transfer(0x36, 0x30)
ERROR (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|598): DRV_i2cRead16()

Rules.mk 部分配置如下:

SYSTEM := IPNC

IPNC_PLATFORM := DM368

BOARD_ID := BOARD_AP_IPNC
IMGS_ID := IMGS_OV2715_2MP

采用appro的方案,硬件sensor为OV2175

麻烦大家帮忙分析一下,google有类似的问题,但是和我们的场景不太一样,先谢过了

  • 用i2crw测试日志如下:

    ./i2crw.out -r 0x6c 0x300A
    [ 381.450000] i2c_transfer(0x36, 0xa)

    I2C: Read ERROR !!!

  • 再补充一点日志,如下:

       ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i2cRead16()
     [    8.860000]  i2c16_transfer(0x36, 0x30)
    ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i2cRead16()
     ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i2[    8.880000]  i2c16_transfer(0x36, 0x30)
    cRead16()
     ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i2cRead16()
    [    8.890000]  i2c16_transfer(0x36, 0x30)
    [    8.910000]  i2c16_transfer(0x36, 0x30)
     ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i2cRead16()
     ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i[    8.920000]  i2c16_transfer(0x36, 0x30)
    2cRead16()
    log status
     ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i2cRead16()
    [    8.940000]  i2c16_transfer(0x36, 0x30)
    [    8.950000]  i2c16_transfer(0x36, 0x30)
     ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i2cRead16()
    Starting portmap daemon:  ERROR  (drv_imgs_OV2715_2MP.c|DR[    8.970000]  i2c16_transfer(0x36, 0x30)
    V_imgsCheckId|596): DRV_i2cRead16()
     ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i2cRead16()
    [    8.980000]  i2c16_transfer(0x36, 0x30)
    log status
     ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i2cRead16()
     ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsOpen|46): DRV_imgsCheckId()
     ERROR  (drv_capture.c|DRV_captureOpen|63): Open failed
     ERROR  (videoCaptureThr.c|VIDEO_captureTskCreate|89): DRV_captureOpen()
     ERROR  (videoCaptureThr.c|VIDEO_captureTskMain|694): VIDEO_captureTskCreate() ERROR  (avServerMainThr.c|AVSERVER_tskStart|24):
    portmapstart_daemon

  • 你好,

    错误是I2C读失败了。你能否测量一下I2C上信号,检查DM36x输出端是否正常。

  • 姜还是老的辣,呵呵,拆机后sensor排线重新插了一下,问题解决了

    thx  chris meng !