TI中文支持网
TI专业的中文技术问题搜集分享网站

DM8148EVM 通过TVP7002采集视频,采集不到数据???

Other Parts Discussed in Thread:TVP7002, TVP5158

DM8148EVM板子,DVRRDK_04.01.00.02的版本,通过mcfw_api_demos来进行采集

下面是打印信息:

 [m3vpss ][m3vpss ]  *** Capture Driver Advanced Statistics ***[m3vpss ][m3vpss ]  VIP Parser Reset Count : 0
 [m3vpss ][m3vpss ]|TotalEvenOdd  Total  EvenOdd  Min /  Max  Min /  Max Dropped Fid Repeat Frame Error Y/C
 [m3vpss ]  CH  |  Fields  Fields  FieldsFPSFPSFPSWidthHeight  FieldsCount (Desc Error Y/C)
 [m3vpss ]  ------------------------------------------------------------------------------------------------------------
 [m3vpss ]  000 |110000 65535 /0 65535 /010 0/0 (0/0)
 [m3vpss ][m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0[m3vpss ][m3vpss ]  *** Capture List Manager Advanced Statistics ***[m3vpss ][m3vpss ]  List Post Count: 69298[m3vpss ]  List Stall Count: 0[m3vpss ]  List Post Time (ms): Max = 0, Min = 0, Avg = 0, Total = 0[m3vpss ]  INTC Timeout Count: (0, 0) (Min timeout value = 993, 1000)[m3vpss ]  Descriptor miss found count : 0[m3vpss ][m3vpss ][m3vpss ]  VIP and VPDMA registers,[m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x00000000
 [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
 [m3vpss ]  VPDMA: LIST_BUSY: 0x4810d00c = 0x00000000
 [m3vpss ][m3vpss ][m3vpss ]  560376: CAPTURE: Fields = 0 (fps = 0, CPU Load = 0)
 [m3vpss ]  560377: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
 [m3vpss ]  560377: SYSTEM  : FREE SPACE : System Heap= 244240 B, Mbx = 10239 msgs)[m3vpss ]  560377: SYSTEM  : FREE SPACE : SR0 Heap= 2129920 B (2 MB)[m3vpss ]  560377: SYSTEM  : FREE SPACE : Frame Buffer= 73633664 B (70 MB)[m3vpss ]  560377: SYSTEM  : FREE SPACE : Bitstream Buffer = 78296704 B (74 MB)[m3vpss ] TILER_STATS: CNT :8BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:16384 x 5440
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  0
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  1
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:73691136 (82 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:15372288 (17 %)
 [m3vpss ] TILER_STATS: TOTAL WASTE AREA:  0 (0 %)
 [m3vpss ] TILER_STATS: MAX WIDTH RECT:16384 x 3204
 [m3vpss ] TILER_STATS: MAX HEIGHT RECT:16384 x 3204
 [m3vpss ] TILER_STATS: RES ALLOC COUNT [1080P] :  7
 [m3vpss ] TILER_STATS: CNT :16BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:32768 x 1344
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  0
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  1
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:36354048 (82 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:7686144 (17 %)
 [m3vpss ] TILER_STATS: TOTAL WASTE AREA:  0 (0 %)
 [m3vpss ] TILER_STATS: MAX WIDTH RECT:32768 x 228
 [m3vpss ] TILER_STATS: MAX HEIGHT RECT:26624 x 576
 [m3vpss ] TILER_STATS: RES ALLOC COUNT [1080P] :  7
 [m3vpss ]  560380: SYSTEM  : FREE SPACE : Tiler 8-bit= 73691136 B (70 MB)  - TILER ON[m3vpss ]  560380: SYSTEM  : FREE SPACE : Tiler 16-bit= 36354048 B (34 MB)  - TILER ON[m3vpss ][m3vpss ]  *** [DEI2] DEI Statistics ***[m3vpss ][m3vpss ]  Elasped Time: 458 secs
 [m3vpss ]  Total Fields Processed : 0[m3vpss ]  Total Fields FPS: 0 FPS
 [m3vpss ][m3vpss ][m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency[m3vpss ]  Num | FPSFPSFPSFPSFPSFPSFPSFPSFPSFPSFPSFPSFPSSkip FPSSkip FPSSkip FPSSkip FPSSkip FPSMin / Max[m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 [m3vpss ]0 |000000000000000000 255 /0

有几个问题已经确认,采集模块tvp7002的输出是正常的,问题可能是capture link模块部分,根据上面的打印,我应当查程序里面的哪几个模块呢???

Eason Wang:

TVP7002是用分离同步还是嵌入同步, DM8148是否是一样的配置?

,

binbin xu1:

是嵌入同步,16bit采集,我在DVRRDK3.0的版本里面是可以采集编码数据的,现在到4.1的版本里面就是上面的打印了

,

Eason Wang:

所以硬件都是一样的,只是软件不同?

,

binbin xu1:

嗯,是的

[m3vpss ]  VIP and VPDMA registers,
[m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x00000000
[m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
[m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00000000
这几个寄存器地址的值为 0,和有分辨率信息也没有检测到? 在detected get ic info的时候读到分辨率,采集的时候也是设置的1080P,为什么这个capture模块里面连分辨率信息都没有呢?

,

Eason Wang:

你把完整的log贴一下看看吧

,

binbin xu1:

### BEGIN LOG - DATE: 140623, TIME: 193341 ###
root@dm814x:~/mount# ./run.sh*** Bootargs Validated for mem param ***
*** Bootargs Validated for notifyk.vpssm3 params ***
Kernel bootargs validated
numid=1,iface=MIXER,name='PCM Playback Volume'; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0: values=127,127| dBscale-min=-63.50dB,step=0.50dB,mute=0[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000[m3video] Remote Debug Shared Memory @ 0xbff10820[m3vpss ] Remote Debug Shared Memory @ 0xbff21040
SysLink version : 2.20.02.20
SysLink module created on Date:Jun 11 2014 Time:14:35:04
Trace enabled
Trace SetFailureReason enabledSetting DMM priority for [DUCATI] to [0] ( 0x4e000624 = 0x08000000 )Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )*** TVP5158 probe : START ***TI VS EVM : TVP5158 device address : 0x58, 0x5a, 0x5c, 0x5eTI DVR: TVP5158 device address : 0x58, 0x59, 0x5a, 0x5bDevice found: I2C (0xXX): 0x08 = 0x51I2C (0xXX): 0x09 = 0x58I2C (0x5d): 0x00 = 0x02I2C (0x5d): 0x01 = 0x67I2C (0x21): 0x08 = 0xc5I2C (0x21): 0x09 = 0xc5/home/root/mount
Attached to slave procId 2.
Loaded file ../firmware/dvr_rdk_fw_m3vpss_512M_128M.xem3 on slave procId 2.
Started slave procId 2.
After Ipc_loadcallback status [0x00000000][m3vpss ]ISS Freq: 400 MHz
After Ipc_startcallback status [0x00000000][m3vpss ] ***** VPSS Firmware build time 13:59:08 Jun 19 2014EDG gcc 3.0 mode[m3vpss ] ***** SYSTEM: Frequency <ORG> - 200000000, <NEW> - 200000000[m3vpss ] notify_attachrtnVal0[m3vpss ] initProxyServerrtnVal0[m3vpss ][m3vpss ]*** UTILS: CPU KHz = 400000 Khz ***[m3vpss ][m3vpss ]51: SYSTEM: System Common Init in progress !!![m3vpss ]51: SYSTEM: IPC init in progress !!![m3vpss ]51: SYSTEM: Attaching to [HOST] ...[m3vpss ]56: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
Attached to slave procId 1.
Loaded file ../firmware/dvr_rdk_fw_m3video_512M_128M.xem3 on slave procId 1.
Started slave procId 1.
After Ipc_loadcallback status [0x00000000][m3video]ISS Freq: 400 MHz
After Ipc_startcallback status [0x00000000][m3video] ***** VIDEO Firmware build time 13:59:43 Jun 19 2014EDG gcc 3.0 mode[m3video] ***** SYSTEM: Frequency <ORG> - 200000000, <NEW> - 200000000[m3video][m3video]*** UTILS: CPU KHz = 400000 Khz ***[m3video][m3video]477: SYSTEM: System Common Init in progress !!![m3video]477: SYSTEM: IPC init in progress !!![m3video]477: SYSTEM: Attaching to [HOST] ...[m3video]482: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
Attached to slave procId 0.
Loaded file ../firmware/dvr_rdk_fw_c6xdsp_512M_128M.xe674 on slave procId 0.
Started slave procId 0.
After Ipc_loadcallback status [0x00000000]
After Ipc_startcallback status [0x00000000][c6xdsp ]DSP Freq: 500 MHz[m3video]736: SYSTEM: Attaching to [DSP] ... SUCCESS !!![m3vpss ]737: SYSTEM: Attaching to [DSP] ... SUCCESS !!![m3video]739: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!![m3vpss ]739: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!![c6xdsp ] ***** VIDEO Firmware build time 13:58:26 Jun 19 2014EDG gcc 3.0 mode[m3video]740: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_1] ...[m3vpss ]739: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_2] ...[c6xdsp ] ***** SYSTEM: Frequency <ORG> - 500000000, <NEW> - 500000000[m3video]740: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...[m3vpss ]740: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...[c6xdsp ][m3video]740: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...[m3vpss ]740: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...[c6xdsp ]*** UTILS: CPU KHz = 500000 Khz ***[m3video]742: SYSTEM: Notify register to [HOST] line 0, event 15 ...[m3vpss ]742: SYSTEM: Notify register to [HOST] line 0, event 15 ...[c6xdsp ][m3video]743: SYSTEM: Notify register to [DSP] line 0, event 15 ...[m3vpss ]743: SYSTEM: Notify register to [DSP] line 0, event 15 ...[c6xdsp ]1: SYSTEM: System Common Init in progress !!![m3video]743: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...[m3vpss ]743: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...[c6xdsp ]1: SDMA: Module install successful, device major num = 251YSTEM: IPC init DRV: Module install successful
in progress !!!
DRV: Module built on Jun 11 2014 14:35:52[m3video]743: SYSTEM: IPC init DONE !!![m3vpss ]743: SYSTEM: IPC init DONE !!![c6xdsp ]1: SYSTEM: Attaching to [HOST] ...[c6xdsp ]7: SYSTEM: Attaching to [HOST] ... SUCCESS !!![c6xdsp ]9: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!![c6xdsp ]11: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!![c6xdsp ]11: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_0] ...[c6xdsp ]11: SYSTEM: Creating MsgQ [DSP_MSGQ] ...[c6xdsp ]11: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...[c6xdsp ]12: SYSTEM: Notify register to [HOST] line 0, event 15 ...[c6xdsp ]12: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...[c6xdsp ]12: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...[c6xdsp ]12: SYSTEM: IPC init DONE !!![c6xdsp ]15: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB)[c6xdsp ]16: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB)[c6xdsp ]16: SYSTEM: System Common Init Done !!![c6xdsp ]15: SYSTEM: System DSP Init in progress !!![c6xdsp ]15: SYSTEM: RpeServer_init() done... Ret Val 0!!![c6xdsp ]21: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ...[c6xdsp ]21: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ...[c6xdsp ]21: SYSTEM: ListElem Shared Addr = 0xbf173e00[c6xdsp ]23: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ...[c6xdsp ]23: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ...[c6xdsp ]23: SYSTEM: ListElem Shared Addr = 0xbf199600[m3vpss ]752: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB)[c6xdsp ]24: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ...[m3video]752: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB)[c6xdsp ]24: SYSTEM: Creating ListMP [DSP_IPC_IN_21] in region 0 ...[c6xdsp ]24: SYSTEM: ListElem Shared Addr = 0xbf1bee00[c6xdsp ]25: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...[m3vpss ]752: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB)[c6xdsp ]25: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...[c6xdsp ]25: SYSTEM: ListElem Shared Addr = 0xbf1e4600[c6xdsp ]26: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...[m3video]752: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB)[m3vpss ]754: SYSTEM: System Common Init Done !!![c6xdsp ]27: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...[m3video]755: SYSTEM: System Common Init Done !!![m3vpss ]755: SYSTEM: System VPSS Init in progress !!![c6xdsp ]27: SYSTEM: ListElem Shared Addr = 0xbf203080[m3video]755: SYSTEM: System Video Init in progress !!![c6xdsp ] !!WARNING.Resource already registered:2[c6xdsp ]26: SYSTEM: Initializing Links !!![m3video]755: SYSTEM: System Video Init Done !!![m3video]756: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...[m3vpss ] === I2C0/2 Clk is active ===[c6xdsp ]28: SYSTEM: FREE SPACE : System Heap= 6393472 B, Mbx = 10240 msgs)[m3video]756: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...[m3video]756: SYSTEM: ListElem Shared Addr = 0xbf221b00[c6xdsp ]45: SYSTEM: Initializing Links ... DONE !!![m3video]759: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...[m3vpss ]779: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...[m3video]760: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...[m3vpss ]779: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...[c6xdsp ]45: SYSTEM: System DSP Init Done !!![m3video]760: SYSTEM: ListElem Shared Addr = 0xbf225000[m3vpss ]780: SYSTEM: ListElem Shared Addr = 0xbf298d00[m3video]768: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ...[m3vpss ]783: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...[m3video]769: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ...[m3vpss ]783: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...[m3video]769: SYSTEM: ListElem Shared Addr = 0xbf228500[m3vpss ]783: SYSTEM: ListElem Shared Addr = 0xbf29c200[m3video]772: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ...[m3vpss ]804: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ...[m3video]772: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ...[m3vpss ]804: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ...[m3video]773: SYSTEM: ListElem Shared Addr = 0xbf24dd00[m3vpss ]805: SYSTEM: ListElem Shared Addr = 0xbf2dcc00[m3video]776: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ...[m3vpss ]808: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ...[m3video]776: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ...[m3vpss ]809: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ...[m3video]777: SYSTEM: ListElem Shared Addr = 0xbf273500[m3vpss ]809: SYSTEM: ListElem Shared Addr = 0xbf302400[m3video]796: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ...[m3vpss ]812: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ...[m3video]797: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ...[m3vpss ]813: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ...[m3video]797: SYSTEM: ListElem Shared Addr = 0xbf29f700[m3vpss ]813: SYSTEM: ListElem Shared Addr = 0xbf327c00[m3video]800: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ...[m3vpss ]815: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37[m3video]800: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ...[m3vpss ]815: SYSTEM: FVID2 Init in progress !!![m3video]801: SYSTEM: ListElem Shared Addr = 0xbf2be180[m3video]803: HDVICP: Doing PRCM for IVAHD[0] ...[m3video]803: HDVICP: PRCM for IVAHD[0] ... DONE.[m3video]805: UTILS: DMA: HWI Create for INT62 !!![m3video]806: SYSTEM: ISS Init in progress !!![m3vpss ] TILER_STATS: CNT :8BIT[m3video]806: SYSTEM: ISS Power-ON in progress !!![m3video]815: SYSTEM: ISS Power-ON in progress DONE !!![m3vpss ] TILER_STATS: CNT RESOLUTION:16384 x 5440[m3video]816: SYSTEM: ISS Init in progress DONE !!![m3video]816: VCOP BOOST BIT is Set[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436[m3video]816: SYSTEM: VCOP Init in progress !!![m3video]816: SYSTEM: VCOP needs 172 B of memory !!![m3vpss ] TILER_STATS: NUM FREE BUCKETS:1[m3video]818: SYSTEM: VCOP Init in progress DONE !!![m3video]818: SYSTEM: Initializing Links !!![m3vpss ] TILER_STATS: NUM USED BUCKETS:0[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000[m3video] Remote Debug Shared Memory @ 0xbff10820[m3vpss ] Remote Debug Shared Memory @ 0xbff21040[m3vpss ] Received character 's'[m3video]818: SYSTEM: FREE SPACE : System Heap= 6263296 B, Mbx = 10240 msgs)[m3vpss ] TILER_STATS: TOTAL FREE AREA:89063424 (99 %)[c6xdsp ] Remo[module] vpss probe done.
te Debug Shared Memory @ 0xbff00000[m3video] Remote Debug Shared Memory @ 0xbff10820[m3vpss ] Remote Debug Shared Memory @ 0xbff21040[m3video] Received character 's'[m3video]818: SYSTEM: FREE SPACE : SR0 Heap= 5714432 B (5 MB)[m3vpss ] TILER_STATS: TOTAL USED AREA:0 (0 %)[c6xdsp ] Remote Debug Shared Memory @ 0xbff0[module] ti81xxfb probe done.
0000[m3video] Remote Debug Shared Memory @ 0xbff10820[m3vpss ] Remote Debug Shared Memory @ 0xbff21040[c6xdsp ] Received character 's'
/home/root/mount[m3video]818: SYSTEM: FREE SPACE : Frame Buffer= 117440384 B (111 MB)[m3video]819: SYSTEM: FREE SPACE : Bitstream Buffer = 82837376 B (78 MB)[m3video]819: SYSTEM: OpHDMI W1 rev 4.0
ening MsgQ [VPSSHDMI CEC Spec version 1.2
-M3_MSGQ] ...[m3vpss ] TILER_STATS: CNT :16BIT[m3video]821: SYSTEM: FREE SPACE : Tiler 8-bit= 89063424 B (84 MB)- TILER ON[m3vpss ] TILER_STATS: CNT RESOLUTION:32768 x 1344[m3video]822: SYSTEM: FREE SPACE : Tiler 16-bit= 44040192 B (42 MB)- TILER ON[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344[m3video]891: SYSTEM: Initializing Links ... DONE !!![m3vpss ] TILER_STATS: NUM FREE BUCKETS:1[m3vpss ] TILER_STATS: NUM USED BUCKETS:0[m3vpss ] TILER_STATS: TOTAL FREE AREA:44040192 (100 %)[m3vpss ] TILER_STATS: TOTAL USED AREA:0 (0 %)[m3vpss ]905: SYSTEM: FVID2 Init in progress DONE !!![m3vpss ]905: SYSTEM: Device Init in progress !!![m3vpss ]1007: SYSTEM: Device Init in progress DONE !!![m3vpss ]HDVPSS Freq: 220 MHz[m3vpss ]1062: SYSTEM: System VPSS Init Done !!![m3vpss ]1063: UTILS: DMA: HWI Create for INT63 !!![m3vpss ]1064: SYSTEM: Initializing Links !!![m3vpss ]1064: SYSTEM: FREE SPACE : System Heap= 250280 B, Mbx = 10240 msgs)[m3vpss ]1064: SYSTEM: FREE SPACE : SR0 Heap= 5714432 B (5 MB)[m3vpss ]1064: SYSTEM: FREE SPACE : Frame Buffer= 113130368 B (107 MB)[m3vpss ]1065: SYSTEM: FREE SPACE : Bitstream Buffer = 82837376 B (78 MB)[m3vpss ] TILER_STATS: CNT :8BIT[m3vpss ] TILER_STATS: CNT RESOLUTION:16384 x 5440[m3vpss ] TILER_STATS: BUCKET RI2C No AckESOLUTION: 16384
HDMI failed to read E-EDIDx 5436[m3vpss ] TILER_STATS: NUM FREE BUCKETS:1[m3vpss ] TILER_STATS: NUM USED BUCKETS:0[m3vpss ] TILER_STATS: TOTAL FREE AREA:89063424 (99 %)[m3vpss ] TILER_STATS: TOTAL USED AREA:0 (0 %)[m3vpss ] TILER_STATS: CNT :16BIT[m3vpss ] TILER_STATS: CNT RESOLUTION:32768 x 1344[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344[m3vpss ] TILER_STATS: NUM FREE BUCKETS:1[m3vpss ] TILER_STATS: NUM USED BUCKETS:0[m3vpss ] TILER_STATS: TOTAL FREE AREA:44040192 (100 %)[m3vpss ] TILER_STATS: TOTAL USED AREA:0 (0 %)[m3vpss ]1066: SYSTEM: FREE SPACE : Tiler 8-bit= 89063424 B (84 MB)- TILER ON[m3vpss ]1066: SYSTEM: FREE SPACE : Tiler 16-bit= 44040192 B (42 MB)- TILER ON[m3vpss ]1240: SYSTEM: Initializing Links ... DONE !!![m3vpss ]1240: SYSTEM: Set Static L3 pressure for HDVPSS as HighORG 0x46c00524: 0NEW 0x46c00524: 2=========Main Menu=========1: 4CH VCAP + VENC + VDEC + VDIS- Progressive SD Encode + Decode2: 8CH <D1+CIF> VCAP + VENC + VDEC + VDIS- Progressive SD Encode + Decode3: 16CH RT VCAP + VENC + VDEC + VDIS- Progressive SD Encode + Decode4: 16CH NRT <D1+CIF> VCAP + VENC + VDEC + VDIS- Progressive SD Encode + Decode5:VDEC + VDIS- SD/HD Decode ONLYe: ExitEnter Choice: 1
--------------- CHANNEL DETAILS-------------
Capture Channels => 1
Enc Channels => Primary 1, Secondary 0
Dec Channels => 0
Disp Channels => 0
-------------------------------------------1: SYSTEM: System Common Init in progress !!!1: SYSTEM: IPC init in progress !!!13: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!13: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!13: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!13: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!13: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...16: SYSTEM: Creating MsgQ [HOST_MSGQ] ...18: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...19: SYSTEM: Opening MsgQ [DSP_MSGQ] ...20: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...21: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...22: SYSTEM: Notify register to [DSP] line 0, event 15 ...22: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...23: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...23: SYSTEM: IPC init DONE !!!25: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...27: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...28: SYSTEM: ListElem Shared Addr = 0x4073468029: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...31: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...33: SYSTEM: ListElem Shared Addr = 0x4076b48034: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...36: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...38: SYSTEM: ListElem Shared Addr = 0x407a228039: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...41: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...43: SYSTEM: ListElem Shared Addr = 0x407e558044: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...46: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...47: SYSTEM: ListElem Shared Addr = 0x4082888070: SYSTEM: System Common Init Done !!!70: MCFW: CPU Revision [ES2.1] !!!VCAP: DEVICE-0 (0x5d): Chip ID 0x7002, Rev 0x0002, Firmware 0x0000 !!!VCAP: DEVICE-0 (0x5d): Detected video (1920x1080@60Hz, 0) !!![m3vpss ]6186: CAPTURE: Create in progress !!![m3vpss ] pInstPrm->standard = 13[m3vpss ]6224: CAPTURE: VIP0 PortA capture mode is [16-bit, Pixel-mux Embedded Sync] !!![m3vpss ] pChObj->dataFormat = 1[m3vpss ]UTILS: DMA: Allocated CH (TCC) = 58 (58)[m3vpss ]UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)[m3vpss ]UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)[m3vpss ]UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)[m3vpss ]UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)[m3video]6463: IPC_IN_M3: Create in progress !!![m3vpss ] CAPTURE::HEAPID:0	USED:328[m3video]6463: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...[m3vpss ] CAPTURE::HEAPID:4	USED:37324800[m3video]6464: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...[m3vpss ]6441: CAPTURE: Create Done !!![m3vpss ]6442: DEI: Create in progress !!![m3vpss ] DEI: Ch 0, Outformat is PROGRESSIVE[m3vpss ]6444: DEI: OUT1:0: Format: PROGRESSIVE, 0x00010000, 1920 x 1080, 4 frames[m3vpss ]6459: DEI: Loading Down-scaling Co-effs[m3vpss ]6459: DEI: Co-effs Loading ... DONE !!![m3video]6467: IPC_IN_M3: Create Done !!![m3video]6467: ENCODE: Create in progress ... !!![m3vpss ] DEI:HEAPID:0	USED:64[m3vpss ] DEI:HEAPID:1	USED:5040[m3vpss ] DEI:HEAPID:4	USED:2073600[m3vpss ]6460: DEI: Create Done !!![m3vpss ]6461: MERGE:0: Format: PROGRESSIVE, 1920 x 1080[m3vpss ]6461: MERGE: Create Done !!![m3vpss ]6461: IPC_OUT_M3: Create in progress !!![m3vpss ]6462: IPC_OUT_M3: Create Done !!![m3video]6500: ENCODE: Creating CH0 of 1920 x 1080, pitch = (16384, 32768) [PROGRESSIVE] [TILED], bitrate = 2000 Kbps, I-P Interval 1...[host] IpcBitsInLink_tskMain:Entered[HOST]ThreadName:IpcBitsInLink_tskMain_3000001a,ThreadID:781[host]503: IPC_BITS_IN: Create in progress !!![host]503: IPC_BITS_IN: ListMPOpen start !!![host]503: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] ...504: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] ...[host]506: IPC_BITS_IN: ListMPOpen done !!![host]507: IPC_BITS_IN: System_linkGetInfo done !!![host]507: IPC_BITS_IN: Create Done !!!
[HOST]ThreadName:IpcBitsInLink_periodicTaskFxn_3000001a,ThreadID:791========bitsProducerLinkInfo============
numQ 1, numCh 1
Ch [0] Width 1920, Height 1080====================Reducing bitsProducerLinkInfo.numCh to 1[m3video] ENCLINK_H264:HEAPID:0	USED:13888[m3vpss ]6519: CAPTURE: Start in progress !!![m3video] ENCLINK_H264:HEAPID:3	USED:98304[m3video]6507: ENCODE: All CH Create ... DONE !!![m3video] ENCLINK:HEAPID:0	USED:13928[m3video] ENCLINK:HEAPID:2	USED:4540672[m3video] ENCLINK:HEAPID:3	USED:98304[m3video]6508: ENCODE: Create ... DONE !!![m3video]6508: IPC_BITS_OUT: Create in progress !!![m3video]6511: IPC_BITS_OUT: Create Done !!!Channel Selected: 0[m3vpss ]6619: CAPTURE: Enabled Time Stamping !!![m3vpss ]6627: CAPTURE: Start Done !!!
params.inputFps = 30DEMO: No video detected at CH [0] !!!
[HOST]ThreadName:Demo_run,ThreadID:778=============Run-Time Menu=============1: Capture Settings2: EncodeSettings3: DecodeSettings4: Display Settings5: Audio Capture <TVP5158> & Encode <AAC-LC, G711> demo6: Change Playback Channel <valid only if capture/playback is active>7: Audio encode demo <File In/Out>8: Audio decode demo <File In/Out>c: Change 8CH modes (8CH usecase ONLY!!!!)d: Change 16CH modes (16CH usecase ONLY!!!!)i: Print detailed system informations: Core Status: Active/In-activee: Stop DemoEnter Choice:[HOST]ThreadName:Demo_run,ThreadID:778=============Run-Time Menu=============1: Capture Settings2: EncodeSettings3: DecodeSettings4: Display Settings5: Audio Capture <TVP5158> & Encode <AAC-LC, G711> demo6: Change Playback Channel <valid only if capture/playback is active>7: Audio encode demo <File In/Out>8: Audio decode demo <File In/Out>c: Change 8CH modes (8CH usecase ONLY!!!!)d: Change 16CH modes (16CH usecase ONLY!!!!)i: Print detailed system informations: Core Status: Active/In-activee: Stop DemoEnter Choice: iDEMO:0: Detected video at CH [0,0] (1920x1080@60Hz, 0)!!![m3vpss ][m3vpss ]*** Capture Driver Advanced Statistics ***[m3vpss ][m3vpss ]VIP Parser Reset Count : 0[m3vpss ][m3vpss ]|TotalEvenOddTotalEvenOddMin /MaxMin /Max Dropped Fid Repeat Frame Error Y/C[m3vpss ]CH|FieldsFieldsFieldsFPSFPSFPSWidthHeightFieldsCount (Desc Error Y/C)[m3vpss ]------------------------------------------------------------------------------------------------------------[m3vpss ]000 |110000 65535 /0 65535 /010 0/0 (0/0)[m3vpss ][m3vpss ]VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0[m3vpss ][m3vpss ]*** Capture List Manager Advanced Statistics ***[m3vpss ][m3vpss ]List Post Count: 732[m3vpss ]List Stall Count: 0[m3vpss ]List Post Time (ms): Max = 0, Min = 0, Avg = 0, Total = 0[m3vpss ]INTC Timeout Count: (0, 0) (Min timeout value = 994, 1000)[m3vpss ]Descriptor miss found count : 0[m3vpss ][m3vpss ][m3vpss ]VIP and VPDMA registers,[m3vpss ]VIP0 : FIQ_STATUS: 0x4810551c = 0x00000000[m3vpss ]VIP1 : FIQ_STATUS: 0x48105a1c = 0x00000000[m3vpss ]VPDMA: LIST_BUSY: 0x4810d00c = 0x00000000[m3vpss ][m3vpss ][m3vpss ]12483: CAPTURE: Fields = 0 (fps = 0, CPU Load = 0)[m3vpss ]12483: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)[m3vpss ]12483: SYSTEM: FREE SPACE : System Heap= 244240 B, Mbx = 10239 msgs)[m3vpss ]12483: SYSTEM: FREE SPACE : SR0 Heap= 2129920 B (2 MB)[m3vpss ]12484: SYSTEM: FREE SPACE : Frame Buffer= 73633664 B (70 MB)[m3vpss ]12484: SYSTEM: FREE SPACE : Bitstream Buffer = 78296704 B (74 MB)[m3vpss ] TILER_STATS: CNT :8BIT[m3vpss ] TILER_STATS: CNT RESOLUTION:16384 x 5440[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436[m3vpss ] TILER_STATS: NUM FREE BUCKETS:0[m3vpss ] TILER_STATS: NUM USED BUCKETS:1[m3vpss ] TILER_STATS: TOTAL FREE AREA:73691136 (82 %)[m3vpss ] TILER_STATS: TOTAL USED AREA:15372288 (17 %)[m3vpss ] TILER_STATS: TOTAL WASTE AREA:0 (0 %)[m3vpss ] TILER_STATS: MAX WIDTH RECT:16384 x 3204[m3vpss ] TILER_STATS: MAX HEIGHT RECT:16384 x 3204[m3vpss ] TILER_STATS: RES ALLOC COUNT [1080P] :7[m3vpss ] TILER_STATS: CNT :16BIT[m3vpss ] TILER_STATS: CNT RESOLUTION:32768 x 1344[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344[m3vpss ] TILER_STATS: NUM FREE BUCKETS:0[m3vpss ] TILER_STATS: NUM USED BUCKETS:1[m3vpss ] TILER_STATS: TOTAL FREE AREA:36354048 (82 %)[m3vpss ] TILER_STATS: TOTAL USED AREA:7686144 (17 %)[m3vpss ] TILER_STATS: TOTAL WASTE AREA:0 (0 %)[m3vpss ] TILER_STATS: MAX WIDTH RECT:32768 x 228[m3vpss ] TILER_STATS: MAX HEIGHT RECT:26624 x 576[m3vpss ] TILER_STATS: RES ALLOC COUNT [1080P] :7[m3vpss ]12486: SYSTEM: FREE SPACE : Tiler 8-bit= 73691136 B (70 MB)- TILER ON[m3vpss ]12487: SYSTEM: FREE SPACE : Tiler 16-bit= 36354048 B (34 MB)- TILER ON[m3vpss ][m3vpss ]*** [DEI2] DEI Statistics ***[m3vpss ][m3vpss ]Elasped Time: 6 secs[m3vpss ]Total Fields Processed : 0[m3vpss ]Total Fields FPS: 0 FPS[m3vpss ][m3vpss ][m3vpss ]CH| In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency[m3vpss ]Num | FPSFPSFPSFPSFPSFPSFPSFPSFPSFPSFPSFPSFPSSkip FPSSkip FPSSkip FPSSkip FPSSkip FPSMin / Max[m3vpss ]-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[m3vpss ]0 |000000000000000000 255 /0[m3vpss ][m3video]18490: HDVICP-ID:0[m3video] All percentage figures are based off totalElapsedTime[m3video]totalAcquire2wait :0 %[m3video]totalWait2Isr :0 %[m3video]totalIsr2Done :0 %[m3video]totalWait2Done :0 %[m3video]totalDone2Release :0 %[m3video]totalAcquire2Release :0 %[m3video]totalAcq2acqDelay :0 %[m3video]totalElapsedTime in msec :0[m3video]numAccessCnt:0[m3video]IVA-FPS :0[m3video]Average time spent per frame in microsec:0[m3video]18491: HDVICP-ID:1[m3video] All percentage figures are based off totalElapsedTime[m3video]totalAcquire2wait :0 %[m3video]totalWait2Isr :0 %[m3video]totalIsr2Done :0 %[m3video]totalWait2Done :0 %[m3video]totalDone2Release :0 %[m3video]totalAcquire2Release :0 %[m3video]totalAcq2acqDelay :0 %[m3video]totalElapsedTime in msec :0[m3video]numAccessCnt:0[m3video]IVA-FPS :0[m3video]Average time spent per frame in microsec:0[m3video]18491: HDVICP-ID:2[m3video] All percentage figures are based off totalElapsedTime[m3video]totalAcquire2wait :0 %[m3video]totalWait2Isr :0 %[m3video]totalIsr2Done :0 %[m3video]totalWait2Done :0 %[m3video]totalDone2Release :0 %[m3video]totalAcquire2Release :0 %[m3video]totalAcq2acqDelay :0 %[m3video]totalElapsedTime in msec :0[m3video]numAccessCnt:0[m3video]IVA-FPS :0[m3video]Average time spent per frame in microsec:0[m3video][m3video]*** ENCODE Statistics ***[m3video][m3video]Elasped Time: 18 secs[m3video][m3video][m3video]CH| In Recv In Skip In UserOut Latency[m3video]Num | FPSFPSSkip FPS FPS Min / Max[m3video]--------------------------------------------[m3video]0 |00000 /0[m3video][m3video] Multi Channel Encode Average Submit Batch Size[m3video] Max Submit Batch Size : 24[m3video] IVAHD_0 Average Batch Size : 0[m3video] IVAHD_0 Max achieved Batch Size : 0[m3video][m3video] Multi Channel Encode Batch break Stats[m3video] Total Number of Batches created: 0[m3video] All numbers are based off total number of Batches created[m3video]Batch breaks due to batch sizeexceeding limit: 0 %[m3video]Batch breaks due to ReqObj Que being empty: 0 %[m3video]Batch breaks due to changed resolution class: 0 %[m3video]Batch breaks due to interlace and progressivecontent mix: 0 %[m3video]Batch breaks due to channel repeat: 0 %[m3video]Batch breaks due to different codec: 0 %[m3vpss ][m3vpss ]21495: LOAD: CPU: 2.7% HWI: 0.3%, SWI:1.0%[m3vpss ][m3vpss ]21495: LOAD: TSK: CAPTURE: 0.3%[m3vpss ]21495: LOAD: TSK: MISC: 1.1%[m3vpss ][m3video][m3video]21996: LOAD: CPU: 1.4% HWI: 0.3%, SWI:0.4%[m3video][m3video]21996: LOAD: TSK: ENC0: 0.4%[m3video]21996: LOAD: TSK: MISC: 0.3%[m3video][c6xdsp ][c6xdsp ]21771: LOAD: CPU: 0.2% HWI: 0.1%, SWI:0.0%[c6xdsp ][c6xdsp ]21771: LOAD: TSK: MISC: 0.1%[c6xdsp ]*** Encode Bitstream Received Statistics ***Elased time =17.0 secsCH | Bitrate (Kbps) | FPS | Key-frame FPS | Width (max/min) | Height (max/min) | Latency (max/min)--------------------------------------------------------------------------------------------------[host]*** SCD Frame Results Received Statistics ***Elased time =17.0 secsCH | Bitrate (Kbps) | FPS | Width (max/min) | Height (max/min)----------------------------------------------------------------------------------
[HOST]ThreadName:Demo_run,ThreadID:778=============Run-Time Menu=============1: Capture Settings2: EncodeSettings3: DecodeSettings4: Display Settings5: Audio Capture <TVP5158> & Encode <AAC-LC, G711> demo6: Change Playback Channel <valid only if capture/playback is active>7: Audio encode demo <File In/Out>8: Audio decode demo <File In/Out>c: Change 8CH modes (8CH usecase ONLY!!!!)d: Change 16CH modes (16CH usecase ONLY!!!!)i: Print detailed system informations: Core Status: Active/In-activee: Stop DemoEnter Choice:### END LOG - DATE: 140623, TIME: 193424 ###

,

kooking:

*** TVP5158 probe : START ***

检查一下代码的init的,程序走到标清分支去了

,

Eason Wang:

VIP is not receiving any frames. Issue is with TVP7002 configuration. Issue could be because after DVRRDK 3.0  configuration of external video decoder is moved out of DVRRDK. Customer app is expected to configure TVP7002 on A8. I believe customer may be using the M3 side TVP7002 drivers for configuration.

,

binbin xu1:

这里只是对I2C设备的侦测,并不是直接走I2C,这里是没有问题的

,

binbin xu1:

I don't think that is a question of TVP7002 configuration;I tested under DVRRDK3.0 environment A8 configuration I2C and M3 configuration I2C, are normal work;I also tested under DVRRDK4.01 environment in A8 and M3 TVP7002 configuration register, the configuration and DVRRDK3.0 configuration is the same, but without any data, so I feel is just the capture module has a problem?

,

jianqiang liu:

最后怎么解决的,大佬,我也是这个问题

赞(0)
未经允许不得转载:TI中文支持网 » DM8148EVM 通过TVP7002采集视频,采集不到数据???
分享到: 更多 (0)