qxclby

qxclby

0个粉丝

2

问答

0

专栏

0

资料

qxclby  发布于  2022-06-27 10:54:09
采纳率 0%
2个问答
2416

HI3559设置VI_OFFLINE_VPSS_ONLINE,无中断触发

 

根据HI3559 SDK2.0.3.1开发包运行例程vio中的SAMPLE_VIO_4x4K30_WBC程序,hi3559接收MIPI0和MIPI2的FPGA数据,PIPE MODE设置为VI_OFFLINE_VPSS_ONLINE,显示两路均无中断,采集一路的时候,也没有中断。
以下是logmpp的信息

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

undefined

<3>[ vi] [func]:vi_drv_cap_is_wrong_int [line]:12449 [info]:pipe:2 err intterupt status:0x8011 !! EOF:0 BUFOVF:0 DATATHROW:0 .
以下是hi_mipi的信息
~ # cat /proc/umap/hi_mipi

Module: [MIPI], Build Time: [Sep 16 2019, 16:37:29]

——-MIPI LANE DIVIDE MODE——————————————————————————————————————————————-
MODE LANE DIVIDE
7 4+4+4+4

——-MIPI DEV ATTR——————————————————————————————————————————————————-
Devno WorkMode DataRate DataType WDRMode LinkId ImgX ImgY ImgW ImgH
0 MIPI X1 YUV422 None 0, 1 0 0 1920 1080
2 MIPI X1 YUV422 None 2, 3 0 0 1920 1080

——-MIPI LANE INFO——————————————————————————————————————————————————-
Devno LaneCnt LaneID
0 4 0, 1, 2, 3, -1, -1, -1, -1
2 4 4, 5, 6, 7, -1, -1, -1, -1

——-MIPI LINK INFO———————————————————————————
LinkIdx LaneCount LaneId PhyData0 PhyData1 AlignedData0 AlignedData1 ValidLane
0 2 0, 2 0x2b 0x2b 0xa9 0x0 0
1 2 1, 3 0xbb 0xbb 0xdd 0x77 1, 3
2 2 4, 6 0x0 0x0 0x0 0x0 4, 6
3 2 5, 7 0x70 0x70 0xf9 0x3f 5, 7
——-MIPI DETECT INFO——————————————————————————
Devno VC width height
0 0 1920 1080
0 1 0 0
0 2 0 0
0 3 0 0
2 0 1920 1080
2 1 0 0
2 2 0 0
2 3 0 0

——-FSM TIMEOUT AND ESCAPE INFO——————————————————————-
phy clkTOutCnt d0TOutCnt d1TOutCnt d2TOutCnt d3TOutCnt clkEscCnt d0EscCnt d1EscCnt d2EscCnt d3EscCnt
0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0 0 0
——-MIPI INT ERROR INFO—————————————————————————————-
Devno vc0CRC vc1CRC vc2CRC vc3CRC vc0OrderErr vc1OrderErr vc2OrderErr vc3OrderErr vc0NMatCnt vc1NMatCnt vc2NMatCnt vc3NMatCnt
0 0 0 0 0 0 0 0 0 0 0 0 0

  1. 2 0 0 0 0 0 0 0 0 0 0 0 0

Devno HCntErr vc0HECC vc1HECC vc2HECC vc3HECC vc0DtErr vc1DtErr vc2DtErr vc3DtErr
0 0 0 0 0 0 0 0 0 0

  1. 2 0 0 0 0 0 0 0 0 0

Devno CMD_FIFO_RERR DATA_FIFO_RERR CMD_FIFO_WERR DATA_FIFO_WERR
0 0 0 0 0

  1. 2 0 0 0 0

——-ALING ERROR INFO———————————————————
Devno FIFO_FullErr Lane0Err Lane1Err Lane2Err Lane3Err Lane4Err Lane5Err Lane6Err Lane7Err Lane8Err Lane9Err Lane10Err Lane11Err Lane12Err Lane13Err Lane14Err Lane15Err
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Devno FIFO_FullErr Lane0Err Lane1Err Lane2Err Lane3Err Lane4Err Lane5Err Lane6Err Lane7Err Lane8Err Lane9Err Lane10Err Lane11Err Lane12Err Lane13Err Lane14Err Lane15Err
2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
~ #

以下是vi的信息
~ # cat /proc/umap/vi

[VI] Version: [Hi3559AV100_MPP_V2.0.3.1 B020 Release], Build Time[Sep 16 2019, 16:21:48]

———————————————-MODULE PARAM —————————————————————————————————————-
DetectErrFrame DropErrFrame VbSource
0 0 Common

———————————————-VI MODE ————————————————————————————————————————
Pipe0Mode Pipe1Mode Pipe2Mode Pipe3Mode Pipe4Mode Pipe5Mode Pipe6Mode Pipe7Mode
offline offline offline offline offline offline offline offline
———————————————-VPSS MODE ———————————————————————————————————————
Pipe0Mode Pipe1Mode Pipe2Mode Pipe3Mode Pipe4Mode Pipe5Mode Pipe6Mode Pipe7Mode
online online online online online online online online

———————————————-VI STITCH GRP ATTR———————————————————————————————————
StitchGrp bStitch Mode MaxPTSGap PipeNum PipeId

———————————————-VI DEV ATTR1——————————————————————————————————————
DevID DevEn BindPipe Width Height IntfM WkM ComMsk0 ComMsk1 ScanM
0 Y Y 1920 1080 MIPI_YUV422 1Mux ff000000 ff0000 P
2 Y Y 1920 1080 MIPI_YUV422 1Mux ff000000 ff0000 P

———————————————-VI DEV ATTR2——————————————————————————————————————
DevID AD0 AD1 AD2 AD3 Seq DataType DataRev BasW BasH HReph VReph WDRMode CacheLine DataRate
0 -1 -1 -1 -1 UVUV YUV N 1920 1080 NONE NONE None 1080 X1
2 -1 -1 -1 -1 UVUV YUV N 1920 1080 NONE NONE None 1080 X1

———————————————-VI BIND ATTR——————————————————————————————————————
DevID PipeNum PipeId
0 1 0
2 1 2

———————————————-VI DEV TIMING ATTR———————————————————————————————————
DevID DevTimingEn DevFrmRate DevWidth DevHeight

———————————————-VI PIPE ATTR1—————————————————————————————————————-
PipeID BypassMode YuvSkip IspBypass Width Height PixFmt BitWidth NrEn SharpenEn CompressMode
0 BypassNone N Y 1920 1080 SP422 8 N N None
2 BypassNone N Y 1920 1080 SP422 8 N N None

———————————————-VI PIPE ATTR2—————————————————————————————————————-
DiscProPic SrcFRate DstFRate FrameSource RepeatMode VCNum IntType EarlyLine VbPoolId
N -1 -1 DEV NONE 0 START 0 -1
N -1 -1 DEV NONE 0 START 0 -1

———————————————-VI PIPE CROP ATTR———————————————————————————————————-
PipeID CropEn CoorX CoorY Width Height

———————————————-VI PIPE NR ATTR————————————————————————————————————-
PipeID BitWidth CompressMode PixFmt RefSrc Intf Version OptMode

———————————————-VI PIPE NRX_V1 PARAM——————————————————————————————————
PipeID ISO nRef SBS0 SBS1 SBS2 SDS0 SDS1 SDS2 STH0 STH1 STH2 MATH TFS SFC TFC CSFS

———————————————-VI PIPE USER PIC ATTR—————————————————————————————————-
PipeID Enable ChnID Mode BgColor PicID Width Height Stride PixFmt PoolID PhyAddr

———————————————-VI PIPE DUMP ATTR———————————————————————————————————-
PipeID Enable Depth DumpType

———————————————-VI PIPE BNR DUMP ATTR—————————————————————————————————-
PipeID Enable Depth

———————————————-VI CHN ATTR1——————————————————————————————————————
PipeID ChnID Width Height Mirror Flip SrcFRate DstFRate PixFmt VideoFmt DynamicRange

———————————————-VI CHN ATTR2——————————————————————————————————————
CompressMode Depth Align VbPoolId

———————————————-VI EXTCHN ATTR1————————————————————————————————————-
PipeID ChnID Source SrcChn Width Height SrcFRate DstFRate PixFmt DynamicRange CompressMode Depth

———————————————-VI EXTCHN ATTR2————————————————————————————————————-
Align VbPoolId

———————————————-VI CHN LOW DELAY ATTR—————————————————————————————————-
PipeID ChnID Enable LineCnt Effect

———————————————-VI CHN CROP INFO————————————————————————————————————
PipeID ChnID CropEn CoorType CoorX CoorY Width Height TrimX TrimY TrimWid TrimHgt

———————————————-VI CHN ROTATION INFO——————————————————————————————————
PipeID ChnID Rotation

———————————————-VI CHN LDC INFO————————————————————————————————————-
PipeID ChnID Enable Aspect XRatio YRatio XYRatio XOffset YOffset DistortionRatio

———————————————-VI CHN ROTATIO_EX INFO—————————————————————————————————
PipeID ChnID Enable ViewType Angle XOffset YOffset Width Height

———————————————-VI CHN SPREAD INFO———————————————————————————————————
PipeID ChnID Enable OutW OutH Coef

———————————————-VI EXTCHN FISHEYE ATTR—————————————————————————————————
PipeID ChnID Enable MntMode RgnNum BgEnable BgColor LMF HOffset VOffset TCoef FStrength

———————————————-VI EXTCHN FISHEYE REGION ATTR—————————————————————————————-
PipeID ChnID RgnIndex ViewMode InRadius OutRadius Pan Tilt HorZoom VerZoom OutX OutY OutW OutH

———————————————-VI DIS CONFIG INFO1——————————————————————————————————-
PipeID ChnID Mode Motion PdtType BufNum CropRatio FrmRate GyroRange GyroBitWidth CamSteady Scale

———————————————-VI DIS ATTR INFO————————————————————————————————————
PipeID ChnID DisChn Enable GdcBypass MovSub Roef Timelag ViewAngle bStillCrop HorLimit VerLimit Strength

———————————————-ISP 2DofDIS INFO————————————————————————————————————
PipeID Enable
0 N
2 N

———————————————-VI SNAP ATTR INFO———————————————————————————————————-
PipeID Type bLoadCCM FrameCnt rptTimes bZSL FrmDepth RollbaskMs Interval

———————————————-VI SNAP STATUS INFO——————————————————————————————————-
Status bDoublePipe VideoPipe SnapPipe VcNum ProDelayInt

———————————————-VI CHN OUTPUT RESOLUTION————————————————————————————————
PipeID ChnID Enable Mirror Flip Width Height PixFmt VideoFmt DynamicRange CompressMode FrameRate

———————————————-VI PIPE STATUS—————————————————————————————————————
PipeID Enable IntCnt FrameRate LostFrame VbFail Width Height
0 Y 30899 1 30896 0 1920 1080
2 Y 30898 1 30895 0 1920 1080

———————————————-VI CHN STATUS—————————————————————————————————————-
PipeID ChnID Enable FrameRate LostFrame VbFail Width Height

———————————————-VI PIPE Statistic———————————————————————————————————-
PipeID RecvPic LostCnt BufCnt CurSoftTm MaxSoftTm CurTaskTm MaxTaskTm LowBandWidth BeBufNum
0 1 0 0 261 261 12904684 12904684 0 0
2 1 0 0 156 156 18652520 18652520 0 0

———————————————-VI HW STATISTIC————————————————————————————————————-
ProcIdx HWCostTm MaxHWCostTm CycleCnt MaxCycleCnt
0 12904372 12904372 0 0
1 18652319 18652319 0 0

———————————————-VI PROC OFFLINE IRQ STATISTIC—————————————————————————————
ProcIdx SubmitCnt IntCnt ListCnt TmOutCnt BusErrCnt DcmpErrCnt StartErrCnt NodeIdErrCnt
0 1 1 0 1 0 0 0 0
1 1 1 0 1 0 0 0 0

———————————————-VI PROC ONLINE IRQ STATISTIC—————————————————————————————-
ProcIdx IntCnt FrmStartCnt FrmErrCnt FrmFlowCnt BusErrCnt DcmpErrCnt CfgLossCnt FirstIntPts
0 0 0 0 0 0 0 0 227090346
1 0 0 0 0 0 0 0 0

———————————————-VI PROC COST TIME STATISTIC—————————————————————————————-
ProcIdx IntCntPerSec MaxIntCntPerSec CurIntCostTm MaxIntCostTm TotalIntCostTm IntTmPerSec MaxIntTmPerSec
0 1 1 5746129 5746129 5746129 5746129 5746129
1 1 1 5746138 5746138 5746138 5746138 5746138

———————————————-VI DEV DETECT INFO———————————————————————————————————
DevID ValidWidth ValidHeight TotalWidth
0 1920 1080 8889
2 1920 1080 8887

———————————————-VI BAS DETECT INFO———————————————————————————————————
DevID ValidWidth ValidHeight TotalWidth
0 0 0 0

———————————————-VI ISP DETECT INFO———————————————————————————————————
ISPID ValidWidth ValidHeight TotalWidth
0 1920 1080 8889
2 1920 1080 8887
~ #

但是我设置只采集一路的时候,设置PIPE MODE为VI_ONLINE_VPSS_OFFLINE,MIPI 0 和2 的数据都能采集到。请问各位大牛,有没有好的解决思路。

我来回答
回答4个
时间排序
认可量排序

maijinsheng

4个粉丝

0

问答

0

专栏

2

资料

maijinsheng 2023-11-28 14:20:01
认可0

解决了吗,我也遇到了

UncleRoderick

32个粉丝

14

问答

1

专栏

14

资料

UncleRoderick 2023-11-28 16:04:30
认可0

cat /dev/logmpp看看报啥错,看proc信息是帧全丢了

maijinsheng

4个粉丝

0

问答

0

专栏

2

资料

maijinsheng 2023-11-29 13:37:15
认可0

<3>[ vi] [func]:vi_drv_cap_is_wrong_int [line]:12449 [info]:pipe:7 err intterupt status:0x8011 !! EOF:0 BUFOVF:0 DATATHROW:0 .
这是报错信息

maijinsheng

4个粉丝

0

问答

0

专栏

2

资料

maijinsheng 2024-01-22 13:47:37
认可0

我也遇到了,真是服了,海思的技术是收费才能回答问题吗?东西不咋地,还搞那么保密

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区