zhm

zhm

0个粉丝

6

问答

0

专栏

0

资料

zhm  发布于  2016-08-25 10:08:49
采纳率 0%
6个问答
12900

我的sensor驱动加载成功,但sensor点不亮,i2c写错误

 
我用的是3516d的主板,现在是对接一款新的sensor,sensor驱动加载成功,但是跑sample中的venc时,总是出现i2c写错误,sensor点不亮,不知道问题在哪里,希望有人能帮我分析提点一下,谢谢
我来回答
回答24个
时间排序
认可量排序

ZSJ110

0个粉丝

3

问答

0

专栏

0

资料

ZSJ110 2016-08-29 14:08:47
认可0
问题解决了没有?我也遇到这样的问题,I2C0读不到sensor,我用16A+OV4689的。接加密芯片可以读到。

zhm

0个粉丝

6

问答

0

专栏

0

资料

zhm 2016-09-01 09:14:48
认可0
还没有,软件上现在找不到是什么问题

ZSJ110

0个粉丝

3

问答

0

专栏

0

资料

ZSJ110 2016-09-01 09:19:27
认可0
把串口打印信息放上来看看

zhm

0个粉丝

6

问答

0

专栏

0

资料

zhm 2016-09-01 09:30:23
认可0

hi_i2c_wait_txfifo_notfull->259:
tx_abrt_cause is 1.

I2C_WRITE error :631!
768e 4
hi_i2c_wait_txfifo_notfull->257:
transmit error, int_raw_satatus: 0x750!

hi_i2c_wait_txfifo_notfull->259:
tx_abrt_cause is 1.

I2C_WRITE error :632!
7690 0
hi_i2c_wait_txfifo_notfull->257:
transmit error, int_raw_satatus: 0x750!

hi_i2c_wait_txfifo_notfull->259:
tx_abrt_cause is 1.

I2C_WRITE error :633!
7692 4
hi_i2c_wait_txfifo_notfull->257:
transmit error, int_raw_satatus: 0x750!

hi_i2c_wait_txfifo_notfull->259:
tx_abrt_cause is 1.

I2C_WRITE error :634!
7694 5
hi_i2c_wait_txfifo_notfull->257:
transmit error, int_raw_satatus: 0x750!

hi_i2c_wait_txfifo_notfull->259:
tx_abrt_cause is 1.

I2C_WRITE error :635!
7696 7
hi_i2c_wait_txfifo_notfull->257:
transmit error, int_raw_satatus: 0x750!

hi_i2c_wait_txfifo_notfull->259:
tx_abrt_cause is 1.

I2C_WRITE error :636!
7698 3
hi_i2c_wait_txfifo_notfull->257:
transmit error, int_raw_satatus: 0x750!

ZSJ110

0个粉丝

3

问答

0

专栏

0

资料

ZSJ110 2016-09-01 10:40:48
认可0
I2C接上拉电阻没有

wahuqeir

0个粉丝

1

问答

0

专栏

1

资料

wahuqeir 2016-09-02 18:08:14
认可0
上次我也遇到了,i2c是双向通信,要有回应才行

csuzhsh

1个粉丝

14

问答

0

专栏

0

资料

csuzhsh 2016-09-02 22:00:31
认可0
要量一下硬件

wahuqeir

0个粉丝

1

问答

0

专栏

1

资料

wahuqeir 2016-09-03 08:17:48
认可0
对一下i2c时序,看没有发过去和回来,看下发送的数据对不对。

zhm

0个粉丝

6

问答

0

专栏

0

资料

zhm 2016-09-07 11:25:06
认可0
已经解决了,用示波器测波形发现没有ack    谢谢各位:)

Vic

0个粉丝

11

问答

0

专栏

2

资料

Vic 2016-12-07 21:35:58
认可0
遇到同样的问题,请问楼主是怎么解决的呢?是改硬件还是软件上处理的?

wahuqeir

0个粉丝

1

问答

0

专栏

1

资料

wahuqeir 2016-12-12 17:34:20
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=42569&ptid=12421]Vic 发表于 2016-12-7 21:35[/url]
遇到同样的问题,请问楼主是怎么解决的呢?是改硬件还是软件上处理的?[/quote]

这种一般是硬件问题!量下信号

Vic

0个粉丝

11

问答

0

专栏

2

资料

Vic 2016-12-13 16:00:01
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=42740&ptid=12421]wahuqeir 发表于 2016-12-12 17:34[/url]
这种一般是硬件问题!量下信号[/quote]

非常谢谢,是I2C的问题,已解决了!

leennsd

0个粉丝

0

问答

0

专栏

0

资料

leennsd 2016-12-14 11:53:40
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=37314&ptid=12421]zhm 发表于 2016-9-7 11:25[/url]
已经解决了,用示波器测波形发现没有ack    谢谢各位[/quote]

我发现我现在的板卡也没有ACK,怎么解决的呢

ediljcx

0个粉丝

0

问答

0

专栏

0

资料

ediljcx 2016-12-14 15:07:20
认可0
没解决就来问,解决了就不讲了,

zhm

0个粉丝

6

问答

0

专栏

0

资料

zhm 2016-12-22 13:53:28
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=42865&ptid=12421]leennsd 发表于 2016-12-14 11:53[/url]
我发现我现在的板卡也没有ACK,怎么解决的呢[/quote]

是硬件问题

liu417465778

0个粉丝

7

问答

0

专栏

0

资料

liu417465778 2017-02-08 08:40:44
认可0
请教楼上各位一个问题,就是目前我在板子上面跑的是空系统,没有应用程序,现在向内核中加载内核模块,敲入命令:./load3516d -i -sensor bt1120 -osmem 128 -offline

串口终端一直打印如下的信息:

Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Hisilicon Media Memory Zone Manager
Module himedia: init ok
hi3516a_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
load sys.ko for Hi3516A...OK!
load tde.ko ...OK!
load region.ko ....OK!
load vgs.ko for Hi3516A...OK!
ISP Mod init!
load viu.ko for Hi3516A...OK!
load vpss.ko ....OK!
load vou.ko ....OK!
load hifb.ko OK!
load rc.ko for Hi3516A...OK!
load venc.ko for Hi3516A...OK!
load chnl.ko for Hi3516A...OK!
load h264e.ko for Hi3516A...OK!
load h265e.ko for Hi3516A...OK!
load jpege.ko for Hi3516A...OK!
load vda.ko ....OK!
load ive.ko for Hi3516A...OK!
hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0205000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0208000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0209000

HDMI_1080P30
hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020a000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020b000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc020e000

hi_i2c_wait_rxfifo_notempty->283:
wait timeout! auto_status: 0xc0010000

hi_i2c_wait_txfifo_notfull->244:
wait timeout, auto_status: 0x80010000!

hi_i2c_wait_txfifo_notfull->244:
wait timeout, auto_status: 0xc0010000!

hi_i2c_wait_txfifo_notfull->244:
wait timeout, auto_status: 0x80010000!

hi_i2c_wait_txfifo_notfull->244:
wait timeout, auto_status: 0xc0010000!

hi_i2c_wait_txfifo_notfull->244:
wait timeout, auto_status: 0x80010000!

hi_i2c_wait_txfifo_notfull->244:
wait timeout, auto_status: 0xc0010000!

hi_i2c_wait_txfifo_notfull->244:
wait timeout, auto_status: 0x80010000!

hi_i2c_wait_txfifo_notfull->244:
wait timeout, auto_status: 0xc0010000!

hi_i2c_wait_txfifo_notfull->244:

这是因为没有跑应用程序,底层驱动打印出来的I2C信息吗?因为刚刚开始接触海思的平台,不是很清楚里面各种东西的组织关系。谢谢了!!!!

SA12009903

0个粉丝

12

问答

0

专栏

2

资料

SA12009903 2017-07-17 10:09:49
认可0
真的是硬件问题吗?我换了SDK版本也出现了这个问题,SDK混用了,还有其他原因吗?

13915426184

0个粉丝

15

问答

0

专栏

0

资料

13915426184 2017-07-18 11:15:40
认可0
大神你好,请教一下,我也在做一个i2c设备的porting,请问I2C_BOARD_INFO,也就是i2c 地址和irq的信息在哪个c文件里注册,就是类似
static __devinitdata struct i2c_board_info timberdale_adv7180_i2c_board_info = {
        /* Requires jumper JP9 to be off */
        //I2C_BOARD_INFO("adv7180", 0x42 >> 1),
        I2C_BOARD_INFO("adv7180", 0x40),//add by matt
        .irq = IRQ_TIMBERDALE_ADV7180
};这样的,我找了老久都没有找到,万分感谢

power9

0个粉丝

8

问答

0

专栏

5

资料

power9 2017-07-21 17:53:55
认可0
是硬件哪方面问题呢?请楼主赐教,遇到同样问题

SA12009903

0个粉丝

12

问答

0

专栏

2

资料

SA12009903 2017-07-21 18:01:54
认可0
求楼主赐教啊,遇到同样的问题,驱动也加载成功了,但是就是报这个错,出不了图
加载中···
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区