TI论坛
直播中

周悠悠

8年用户 124经验值
私信 关注
[问答]

请问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有类似的问题,但是和我们的场景不太一样,先谢过了

回帖(4)

周悠悠

2018-7-25 06:27:49
用i2crw测试日志如下:
./i2crw.out -r 0x6c 0x300A
[ 381.450000] i2c_transfer(0x36, 0xa)

I2C: Read ERROR !!!
举报

周悠悠

2018-7-25 06:37:37
引用: 60user83 发表于 2018-7-25 06:27
用i2crw测试日志如下:
./i2crw.out -r 0x6c 0x300A
[ 381.450000] i2c_transfer(0x36, 0xa)

再补充一点日志,如下:
   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
举报

乔婧

2018-7-25 06:50:30
引用: 60user83 发表于 2018-7-25 06:37
再补充一点日志,如下:
   ERROR  (drv_imgs_OV2715_2MP.c|DRV_imgsCheckId|596): DRV_i2cRead16()
 [    8.860000]  i2c16_transfer(0x36, 0x30)

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

周悠悠

2018-7-25 07:00:59
引用: 物是人非aaa 发表于 2018-7-25 06:50
你好,
错误是I2C读失败了。你能否测量一下I2C上信号,检查DM36x输出端是否正常。

姜还是老的辣,呵呵,拆机后sensor排线重新插了一下,问题解决了
thx  chris meng !
举报

更多回帖

发帖
×
20
完善资料,
赚取积分