- 收藏
- 点赞
- 分享
- 举报
h3518+ov97712的问题
[i=s] 本帖最后由 old_ghost_he 于 2016-7-5 17:39 编辑 [/i]
我设计的板用的是市面上通用的fpc排线的ov9712,使用mpp下的sample_venc测试,出现:
./sample_venc 0
please press twice ENTER to exit this sample [SAMPLE_COMM_VENC_GetVencStreamProc]-920: get venc stream time out, exit thread [SAMPLE_COMM_VENC_GetVencStreamProc]-920: get venc stream time out, exit thread program termination abnormally! 的错误,
cat /proc/umap/venc
[VENC] Version: [Hi3518_MPP_V1.0.8.1 ], Build Time[Mar 18 2014, 11:52:09]
-----VENC CHN ATTR------------------------------------------------------------- NO. Width Height Type Field VIField StreamType ByFrame BlockFlag Sequence Registered LeftBytes LeftFrm CurPacks BuffCache
-----VENC STREAM STATE------------------------------------------------------------ NO. FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate 显示根本没有数据操作。 按http://www.ebaina.com/bbs/forum.php?mod=viewthread&tid=8610&highlight=get%2Bisp%2Binterrupt的帖子看了我的/dev 目录下有hi_i2c驱动,我使用i2c_read 上电第一次读取寄存器的值为:(我用0x60和0x61都试过了,是一样的)
./i2c_read 0x61 0x0 0xdf
dev_addr:0x61; reg_addr:0x 0; reg_addr_end:0xdf; reg_width: 1; data_width: 1. 0x0 0x3f 0x1 0x40 0x2 0x40 0x3 0x2 0x4 0x8 0x5 0x40 0x6 0x0 0x7 0x0 0x8 0x0 0x9 0x0 0xa 0x97 0xb 0x11 0xc 0x0 0xd 0x1 0xe 0x40 0xf 0x0 0x10 0x35 0x11 0x0 0x12 0x0 0x13 0x85 0x14 0x40 0x15 0x0 0x16 0x3 0x17 0x26 0x18 0xa2 0x19 0x1 0x1a 0xc8 0x1b 0x81 0x1c 0x7f 0x1d 0xa2 0x1e 0x0 0x1f 0x0 0x20 0x0 0x21 0x3 0x22 0x0 0x23 0x0 0x24 0x60 0x25 0x55 0x26 0xd2 0x27 0x0 0x28 0x0 0x29 0x0 0x2a 0x9b 0x2b 0x6 0x2c 0x50 0x2d 0x0 0x2e 0x0 0x2f 0x2 0x30 0x8 0x31 0x20 0x32 0x1 0x33 0x0 0x34 0x0 0x35 0x0 0x36 0x0 0x37 0x6 0x38 0x10 0x39 0x28 0x3a 0x9 0x3b 0x0 0x3c 0x0 0x3d 0x3c 0x3e 0x3 0x3f 0x0 0x40 0x0 0x41 0x82 0x42 0x14 0x43 0xc0 0x44 0x6c 0x45 0x6c 0x46 0x88 0x47 0x87 0x48 0x55 0x49 0xcf 0x4a 0x0 0x4b 0x36 0x4c 0x13 0x4d 0x10 0x4e 0x55 0x4f 0x55 0x50 0x55 0x51 0x55 0x52 0x10 0x53 0x42 0x54 0x30 0x55 0xff 0x56 0x1f 0x57 0x0 0x58 0xc8 0x59 0xa0 0x5a 0x57 0x5b 0x20 0x5c 0x59 0x5d 0x0 0x5e 0xa 0x5f 0x0 0x60 0xd 0x61 0x82 0x62 0x2 0x63 0x0 0x64 0x33 0x65 0x1a 0x66 0xc 0x67 0x2 0x68 0x7 0x69 0x4 0x6a 0x2 0x6b 0x0 0x6c 0x1 0x6d 0x82 0x6e 0xc0 0x6f 0xe0 0x70 0x2 0x71 0x0 0x72 0x60 0x73 0xb0 0x74 0x40 0x75 0xe0 0x76 0xc0 0x77 0xc0 0x78 0xff 0x79 0xff 0x7a 0x10 0x7b 0x0 0x7c 0x0 0x7d 0x0 0x7e 0x0 0x7f 0x0 0x80 0x0 0x81 0x0 0x82 0x0 0x83 0x0 0x84 0x0 0x85 0x0 0x86 0x0 0x87 0x0 0x88 0x0 0x89 0x0 0x8a 0x0 0x8b 0x0 0x8c 0x0 0x8d 0x0 0x8e 0x0 0x8f 0x0 0x90 0x0 0x91 0x0 0x92 0x0 0x93 0x0 0x94 0x0 0x95 0x0 0x96 0xf9 0x97 0x80 0x98 0x0 0x99 0x0 0x9a 0x0 0x9b 0x4 0x9c 0x0 0x9d 0xff 0x9e 0x0 0x9f 0x80 0xa0 0xf1 0xa1 0x6a 0xa2 0x0 0xa3 0x80 0xa4 0x90 0xa5 0x12 0xa6 0x22 0xa7 0xc2 0xa8 0x87 0xa9 0x80 0xaa 0x90 0xab 0x12 0xac 0x22 0xad 0xc2 0xae 0x87 0xaf 0x80 0xb0 0x90 0xb1 0x12 0xb2 0x22 0xb3 0xc2 0xb4 0x87 0xb5 0x0 0xb6 0x7 0xb7 0x0 0xb8 0x4 0xb9 0x8 0xba 0x0 0xbb 0x20 0xbc 0x68 0xbd 0xa0 0xbe 0xc8 0xbf 0x0 0xc0 0x0 0xc1 0x0 0xc2 0x80 0xc3 0x20 0xc4 0xab 0xc5 0xb6 0xc6 0x80 0xc7 0x9d 0xc8 0x0 0xc9 0x80 0xca 0x20 0xcb 0xa6 0xcc 0x40 0xcd 0x0 0xce 0x1 0xcf 0x0 0xd0 0xff 0xd1 0xff 0xd2 0xff 0xd3 0x0 0xd4 0x3 0xd5 0x0 0xd6 0xc 0xd7 0x0 0xd8 0x0 0xd9 0x0 0xda 0x0 0xdb 0x0 0xdc 0x1 0xdd 0x0 0xde 0x0 0xdf 0x0 运行sample_venc后再读值全为0x00或0xff,然后我再运行i2c_write写寄存器值也不能写入:
./i2c_write 0x60 0x0 0x3f
dev_addr:0x60; reg_addr:0x 0; reg_value:0x3f; reg_width: 1; data_width: 1.
./i2c_read 0x61 0x0 0x2
dev_addr:0x61; reg_addr:0x 0; reg_addr_end:0x 2; reg_width: 1; data_width: 1. 0x0 0x0 0x1 0x0 0x2 0x0 这种问题怎么解决呢?各位大神帮帮忙好吗,谢谢啊!
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
-
02017-04-26 13:40:32
-
2016-05-10 16:57:48
-
2014-09-24 09:03:52
-
2015-11-05 15:13:24
-
2015-12-17 10:48:38
-
2015-05-07 18:12:17
-
2014-12-10 17:59:40
-
2015-11-27 16:10:43
-
2016-04-27 16:46:00
-
2016-10-11 14:59:28
-
2015-07-15 09:08:38
-
2016-08-19 09:53:19
-
2015-04-05 16:20:40
-
2017-06-30 23:29:08
-
2017-06-30 23:29:53
-
2017-09-05 19:45:03
-
2017-01-15 20:20:21
-
2017-06-05 14:08:37
-
2015-02-09 08:54:31
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
-
5有偿求HI3516DV500 + OV5647驱动
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明