3281
- 收藏
- 点赞
- 分享
- 举报
HI3519V101双路SENSOR采集VI1无中断
使用HI3519V101想做两路Sensor采集,其中一路VI0采集已经通了,另外一个通过VI1采集,HI_MPI_VI_GETFRAME一直报错HI_ERR_VI_BUF_EMPTY,两路采用一样的操作 打开MIPI->打开VI,两路sensor的HSYNC和VSYNC也是一致的,示波器也测到了sensor有数据输出.
MIPI目前按照INPUT_MODE_CMOS配置的,不是INPUT_MODE_MIPI之类的,但是VI0是工作正常的.
查看日志如下
[code][root@magnity]:~#cat /dev/logmpp
<3>[ viu] [Func]:ViuUserGetFrame [Line]:586 [Info]:<3>[ viu] Vichn(1) user get frame time out, s32MilliSec=2000
<3>[ viu] [Func]:ViuUserGetFrame [Line]:586 [Info]:<3>[ viu] Vichn(1) user get frame time out, s32MilliSec=2000
<3>[ viu] [Func]:ViuUserGetFrame [Line]:586 [Info]:<3>[ viu] Vichn(1) user get frame time out, s32MilliSec=2000
<3>[ viu] [Func]:VIU_DRV_DisableChn [Line]:1343 [Info]:<3>[ viu] !! Disable ViChn:1 timeout 120ms!!!
<3>[ vb] Blk in this pool(0) occupied by someone, please release it first!
<3>[ viu] [Func]:ViuUserGetFrame [Line]:586 [Info]:<3>[ viu] Vichn(1) user get frame time out, s32MilliSec=2000
<3>[ viu] [Func]:ViuUserGetFrame [Line]:586 [Info]:<3>[ viu] Vichn(1) user get frame time out, s32MilliSec=2000
<3>[ viu] [Func]:ViuUserGetFrame [Line]:586 [Info]:<3>[ viu] Vichn(1) user get frame time out, s32MilliSec=2000
<3>[ viu] [Func]:ViuUserGetFrame [Line]:586 [Info]:<3>[ viu] Vichn(1) user get frame time out, s32MilliSec=2000
[/code]
查看VI模块如下
[code][root@magnity]:~#cat /proc/umap/vi
[VIU] Version: [Hi3519V101_MPP_V2.0.4.0 B040 Release], Build Time: [Nov 10 2017, 14:28:18]
-----MODULE PARAM---------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level yuv_skip
10 0 0 0
-----VI-VPSS ONLINE STATE-------------------------------------------------------
OnlineState
offline
-----VI MODULE STATE------------------------------------------------------------
ModuleState
Started
-----VI PORT SIZE---------------------------------------------------------------
Dev WIDTH HEIGHT
1 0 0
-----VI DEV ATTR1---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2
1 BT601 1Mux ff0000 0 P -1 -1 -1
-----VI DEV ATTR2---------------------------------------------------------------
AD3 Seq DPath DType DRev CapX CapY CapW CapH BasW BasH Comp HReph VReph
-1 YVYU ByPass YUV N 0 0 640 480 640 480 N NONE NONE
-----VI HIGH DEV ATTR 1---------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2
0 DC 1Mux ff0000 0 P -1 -1
-----VI HIGH DEV ATTR 2---------------------------------------------------------
AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-1 YVYU COMP SING UP 1 STD ByPass YUV N
-----VI HIGH DEV ATTR 3---------------------------------------------------------
CapX CapY CapW CapH BasW BasH Comp HReph VReph
0 0 768 288 768 288 N NONE NONE
-----VI PHYCHN ATTR 1-----------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip
0 0 0 768 288 768 288 both N N
1 0 0 640 480 640 480 both N N
-----VI PHYCHN ATTR 2-----------------------------------------------------------
IntEn PixFom SrcRat DstRat Comp
Y YUV400 -1 -1 N
Y SP422 -1 -1 N
-----VI PHYCHN STATUS 1---------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT
0 0 22149 0 2 0 2 2 58
1 1 0 0 0 0 0 0 0
-----VI PHYCHN STATUS 2---------------------------------------------------------
SendT Field Stride MaxIntT IntGapT MaxGapT LIntCnt ThrCnt AutoDis
0 frm 768 113 20744 20776 0 1 0
0 (null) 0 0 0 0 0 0 0
-----VI PHYCHN STATUS 3---------------------------------------------------------
CasAutD TmgErr ccErrN IntRat
0 0 0 49
0 0 0 0
-----VI LDC ATTR----------------------------------------------------------------
PhyChn ViewType Ratio minRatio COffX COffY Enable
-----VI Cylind Correction ATTR------------------------------------------------------------
PhyChn Enable Ratio CYOffX CYOffY
-----VI SPREAD ATTR------------------------------------------------------------
PhyChn Enable OutW OutH Coef
-----VI ROTATE_EX ATTR------------------------------------------------------------
PhyChn Enable ViewType Angle CYOffX CYOffY OutW OutH
-----VI Stitching Correction ATTR------------------------------------------------------------
PhyChn Enable OutW OutH Coef0 Coef1 Coef2 Coef3 Coef4 Coef5 Coef6 Coef7 Coef8
-----VI FLASH ATTR--------------------------------------------------------------
Dev Mode StartTime DuraTime InterVal CapIdx Enable FlashedNum
0 Once 0 0 0 0 N 0
1 Once 0 0 0 0 N 0
-----VI CSC ATTR----------------------------------------------------------------
Dev Type HueVal ContrVal LumaVal StatuVal TVMode
0 709 50 50 50 50 N
1 709 50 50 50 50 N
-----VI DCI ATTR----------------------------------------------------------------
Dev Enable BlackGain ContrGain LightGain ManBlendEn BlendRatio BlackStretchEn
0 Y 18 18 18 N 0 N
1 Y 18 18 18 N 0 N
-----VI DIS ATTR----------------------------------------------------------------
Dev Enable
0 N
1 N
-----VI VC NUMBER---------------------------------------------------------------
Dev Linear DES0 DES1 DES2
0 NA NA NA NA
1 NA NA NA NA
-----VI WDR ATTR----------------------------------------------------------------
Dev Mode BufNum DstW DstH PoolId VcNum DesNum State Comp
0 NONE 0 0 0 -1 0 0 NONE N
1 NONE 0 0 0 -1 0 0 NONE N
-----VI WDR DES STATUS----------------------------------------------------------
Dev Idx IntGap IntCnt CcErrCnt
-----VI WDR SRC STATUS----------------------------------------------------------
Dev Idx IntGap IntCnt CcErrCnt
-----VI WDR COMBINE STATUS------------------------------------------------------
Dev IntGap IntCnt CcErrCnt
0 0 0 0
1 0 0 0
-----VI SNAP ATTR-------------------------------------------------------------------------
Dev IspDev Type RefNum Depth SrcRat DstRat bZSL RollbackMs Interval FrameCnt
-----VI SNAP STATUS-----------------------------------------------------------------------
Dev State TotalCnt CapturedCnt ReadCnt OverCnt 0RefCurCnt 2RefCurCnt 2RefRefCnt
-----VI EXTCHN ATTR 1-----------------------------------------------------------
ExtChn BindChn CropEn CropX CropY CropW CropH DstW DstH PixFom
-----VI EXTCHN ATTR 2-----------------------------------------------------------
SrcRat DstRat Depth Comp
-----VI FISHEYE ATTR-----------------------------------------------------
ViChn Enable MntMode RgnNum BgEnable BgColor LMF HOffset VOffset TCoef FStrength
-----VI FISHEYE Region Attr----------------------------------------------------------------
ExtChn RgnIndex ViewMode InRadius OutRadius Pan Tilt HorZoom VerZoom OutX OutY OutW OutH
-----VI DIS INFO1--------------------------------------------------------------------------------
ViChn bEnable Acc Mode Fixlevel Roef BufNum MovSub NoMov Dof CropRatio DISFrmRate
-----VI DIS INFO2--------------------------------------------------------------------------------
ViChn TimeLag AngleType ViewAngle bScale OutW OutH DelayNum RetCenter GyroWeight bStillCrop
-----VI DISDebug INFO---------------------------------------------------------------------
ViChn PyFrmlost AfFrmlost Pyflag Srcflag Mvflag PyTime AfTime MvTime MaxPyTime MaxAfTime MaxMvTime
-----VI CHN STATUS--------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate Depth
0 N 20745 48 22147 0 NONE 2
1 N 0 0 0 0 NONE 2
-----VI CHN CALL VGS STATUS 1---------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk
-----VI CHN CALL VGS STATUS 2---------------------------------------------------
ViChn CovBgnNOk CovCancel CovEndOk CovCbOk
-----VI CHN CALL VGS STATUS 3---------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk
-----VI CHN CALL VGS STATUS 4---------------------------------------------------
ViChn ScaleNOk SclCancel SclEndOk SclCbOk
-----VI CHN CALL VGS STATUS 5---------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk
-----VI CHN CALL VGS STATUS 6---------------------------------------------------
ViChn LDCNOk LDCCancel LDCEndOk LDCCbOk
-----VI CHN CALL VGS STATUS 7---------------------------------------------------
ViChn OnlineNOk OnlCancel OnlEndOk OnlCbOk
-----VI CHN CALL FISHEYE STATUS 8-----------------------------------------------
ViChn PMFNOk PMFCancel PMFEndOk PMFCbOk
[/code]
查看MIPI如下
[code][root@magnity]:~#cat /proc/umap/hi_mipi
Module: [MIPI], Build Time: [Nov 10 2017, 14:30:03]
-----Combo DEV ATTR-----------------------------------------------------------------------------------------------------
Devno WorkMode DataType WDRMode LinkId ImgX ImgY ImgW ImgH SyncMode DataEndian SyncCodeEndian
0 CMOS N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
1 CMOS N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
-----LINK INFO------------------------------------------------------
LinkIdx LaneCount LaneId PhyData AlignedData ValidLane
-----ALING Err info--------------------------------------
[/code]
我来回答
回答5个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2017-04-27 10:07:48
-
2020-04-07 11:21:47
-
2018-04-12 14:02:29
-
2018-11-30 14:57:05
-
2017-11-02 09:36:11
-
2020-06-12 10:20:34
-
2017-10-24 15:37:54
-
2017-11-13 15:29:50
-
2017-11-29 19:36:43
-
12019-04-08 15:59:32
-
2017-03-21 10:45:45
-
2018-05-18 17:22:08
-
2017-10-19 17:54:47
-
2019-04-13 17:16:08
-
2019-06-13 20:17:32
-
2017-03-04 09:58:19
-
2018-07-25 14:36:24
-
2017-08-07 19:39:18
-
2018-08-20 17:10:00
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
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驱动
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认