您好,专家
我们在实际项目,中遇到了两个问题
捕获 节点在长时间运行后突然卡住
重复重新启动应用程序后、包括捕获节点和 显示节点、捕获节点卡住
我尝试找到并分析问题的原因,节点卡在以下位置:
在:PSDK_RTOS_auto_J7_07_00_00_11/tiovx/kernels_J7/ha/capture/vx_capture_target.c 中
静态 vx_status vx_callback tivxCaptureProcess (tivx_target_kernel_instance kernel、uint32_t node_cmd_id、tivx_obj_desc_t * obj_desc[]、uint16_t num_params、void * priv_arg)
{
(笑声)
TIvxCaptureSetTimeout (PRMS); <--此处
(笑声)
}
让 PRMs->enableErrorFrameTimeout = 1时,程序可以正常退出。 但是、当您再次启动应用程序时、捕获将不起作用!
[MCU2_0] 3447.748854 s:vx_zone_error:[TIvxEventWait:96]信号量等待返回错误
[MCU2_0] 3447.748927 s:vx_zone_error:[TIvxCaptureIsAllChFrameAvailable:710]通道1未接收!!
[MCU2_0] 3447.748976 s:VX_ZARE_ERROR:[TIVxCaptureIsAllChAvailFrameable:710]通道2未接收!!
[MCU2_0] 3447.749019 s:vx_zone_error:[TIvxCaptureIsAllChAvailFrameable:710]未接收到通道3!!!
[MCU2_0] 3447.749088 s:vx_zone_error:[TIvxTargetKernelExecute:380]针对[com.ti.capture]返回的错误代码:-1.
[MCU2_0] 3447.838848 s:vx_zone_error:[TIvxEventWait:96]信标等待返回错误
[MCU2_0] 3447.838919 s:vx_zone_error:[TIvxCaptureIsAllChFrameAvailable:710]未接收到通道0!!!
[MCU2_0] 3447.838966 s:vx_zone_error:[TIvxCaptureIsAllChAvailFrameable:710]未接收到通道1!!!
[MCU2_0] 3447.839008 s:vx_zone_error:[TIvxCaptureIsAllChAvailFrameable:710]未接收到通道2!!!
[MCU2_0] 3447.839050 s:vx_zone_error:[TIvxCaptureIsAllChAvailFrameable:710]未接收到通道3!!!
[MCU2_0] 3447.839116 s:vx_zone_error:[TIvxTargetKernelExecute:380]针对[com.ti.capture]返回的错误代码:-1.
[MCU2_0] 3447.839415 s:
[MCU2_0] 3447.838848 s:vx_zone_error:[TIvxEventWait:96]信标等待返回错误
我在这里查看了数据表、 所有寄存器都不表示例外:
[MCU2_0] 3447.839582 s:dphy_Rx_vbus2apb_reg:0x 0:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.839623 s:dphy_Rx_vbus2apb_reg:0x 10:[0]|[0]|[1140]|[0]|
[MCU2_0] 3447.839665 s:dphy_Rx_vbus2apb_reg:0x 20:[ 429 ]|[ 5030101]|[ 32011e]|[ 400]|
[MCU2_0] 3447.839704 s:dphy_Rx_vbus2apb_reg:0x 30:[ 400c8]|[ 300c8]|[ 80103]|[ 0]|
[MCU2_0] 3447.839744 s:dphy_Rx_vbus2apb_reg:0x 40:[ 800000]|[ 15]|[0]|[ 0]|
[MCU2_0] 3447.839785 s:dphy_rx_vbus2apb_reg:0x 50:[0]|[140]|[0]|[694]|
[MCU2_0] 3447.839862 s:dphy_Rx_vbus2apb_reg:0x 74:[0]|[ f0501b0]|[ 28]|[ a]|
[MCU2_0] 3447.839908 s:dphy_rx_vbus2apb_reg:0x 84:[decdbcab]|[28]|[40400]|[ 201]|
[MCU2_0] 3447.839949 s:dphy_rx_vbus2apb_reg:0x 9c:[0]|[0]|[1370ba]|[ee8]|
[MCU2_0] 3447.839988 s:dphy_rx_vbus2apb_reg:0x ac:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840029 s:dphy_Rx_vbus2apb_reg:0x E4:[0]|[2]|[ee2e803]|[27]|
[MCU2_0] 3447.840068 s:dphy_rx_vbus2apb_reg:0x100:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840108 s:dphy_Rx_vbus2apb_reg:0x110:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840149 s:dphy_Rx_vbus2apb_reg:0x120:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840189 s:dphy_Rx_vbus2apb_reg:0x130:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840229 s:dphy_Rx_vbus2apb_reg:0x20c:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840270 s:dphy_Rx_vbus2apb_reg:0x21c:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840310 s:dphy_Rx_vbus2apb_reg:0x22c:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840350 s:dphy_Rx_vbus2apb_reg:0x23c:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840390 s:dphy_Rx_vbus2apb_reg:0x24c:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840430 s:dphy_Rx_vbus2apb_reg:0x25c:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840471 s:dphy_Rx_vbus2apb_reg:0x26c:[0]|[0]|[a000018]|[decdbcab]|
[MCU2_0] 3447.840512 s:dphy_Rx_vbus2apb_reg:0x27c:[ 28]|[ 0]|[ 0]|[ 0]|[ 0]|
[MCU2_0] 3447.840553 s:dphy_Rx_vbus2apb_reg:0x28c:[0]|[10dd0b8]|[8000]|[0]|
[MCU2_0] 3447.840595 s:dphy_Rx_vbus2apb_reg:0x29c:[ 5ee083]|[b838eb87]|[ 10200d]|[ 1001015]|
[MCU2_0] 3447.840636 s:dphy_Rx_vbus2apb_reg:0x2ac:[ 101811]|[ C09]|[ 400800]|[ 10020]|
[MCU2_0] 3447.840677 s:dphy_Rx_vbus2apb_reg:0x2bc:[ 58a0]|[ 0]|[ 0]|[ 0]|[ 0]|
[MCU2_0] 3447.840717 s:dphy_Rx_vbus2apb_reg:0x2cc:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840757:dphy_Rx_vbus2apb_reg:0x300:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840797 s:dphy_Rx_vbus2apb_reg:0x310:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840860 s:dphy_Rx_vbus2apb_reg:0x320:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840904 s:dphy_Rx_vbus2apb_reg:0x330:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840945 s:dphy_Rx_vbus2apb_reg:0x340:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.840983 s:dphy_Rx_vbus2apb_reg:0x350:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841023 s:dphy_Rx_vbus2apb_reg:0x360:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841063 s:dphy_Rx_vbus2apb_reg:0x370:[0]|[a000018]|[decdbcab]|[28]|
[MCU2_0] 3447.841104 s:dphy_Rx_vbus2apb_reg:0x380:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841145 s:dphy_Rx_vbus2apb_reg:0x390:[ 2c0b8]|[ 8000]|[ 0]|[ 5cdc83]|
[MCU2_0] 3447.841186 s:dphy_Rx_vbus2apb_reg:0x3a0:[3ccfbc7]|[ 102019]|[ 100d]|[ 102c0d]|
[MCU2_0] 3447.841228 s:dphy_Rx_vbus2apb_reg:0x3b0:[ 10a001d]|[ 400800]|[ 10020]|[ 58a0]|
[MCU2_0] 3447.841268 s:dphy_Rx_vbus2apb_reg:0x3c0:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.84309 s:dphy_rx_vbus2apb_reg:0x3d0:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841349 s:dphy_Rx_vbus2apb_reg:0x404:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841389 s:dphy_Rx_vbus2apb_reg:0x414:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841429 s:dphy_Rx_vbus2apb_reg:0x424:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841469 s:dphy_Rx_vbus2apb_reg:0x434:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841510 s:dphy_Rx_vbus2apb_reg:0x444:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841550 s:dphy_Rx_vbus2apb_reg:0x454:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.84691 s:dphy_Rx_vbus2apb_reg:0x464:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841631 s:dphy_Rx_vbus2apb_reg:0x474:[ a000018]|[decdbcab]|[ 28]|[ 0]|
[MCU2_0] 3447.841672 s:dphy_Rx_vbus2apb_reg:0x484:[0]|[0]|[0]|[10dd0b8]|
[MCU2_0] 3447.841711 s:dphy_Rx_vbus2apb_reg:0x494:[ 8000]|[ 0]|[ 60de83]|[c0410407]|
[MCU2_0] 3447.841752 s:dphy_Rx_vbus2apb_reg:0x4a4:[ 107439]|[ 11c0039]|[ 10200d]|[ 1001015]|
[MCU2_0] 3447.841792 s:dphy_Rx_vbus2apb_reg:0x4b4:[ 400800]|[ 10020]|[ 58a0]|[ 0]|
[MCU2_0] 3447.841847 s:dphy_Rx_vbus2apb_reg:0x4c4:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841892 s:dphy_Rx_vbus2apb_reg:0x4d4:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841934 s:dphy_Rx_vbus2apb_reg:0x508:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.841972 s:dphy_Rx_vbus2apb_reg:0x518:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842011 s:dphy_Rx_vbus2apb_reg:0x528:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842051 s:dphy_Rx_vbus2apb_reg:0x538:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842090 s:dphy_rx_vbus2apb_reg:0x548:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842130 s:dphy_Rx_vbus2apb_reg:0x558:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842170 s:dphy_Rx_vbus2apb_reg:0x568:[0]|[0]|[0]|[a000018]|
[MCU2_0] 3447.842210 s:dphy_rx_vbus2apb_reg:0x578:[decdbcab]|[28]|[0]|[0]|
[MCU2_0] 3447.842250 s:dphy_Rx_vbus2apb_reg:0x588:[0]|[0]|[280b8]|[45400]|
[MCU2_0] 3447.842291 s:dphy_Rx_vbus2apb_reg:0x598:[0]|[60e083]|[383838e387]|[103c19]|
[MCU2_0] 3447.84231 s:dphy_Rx_vbus2apb_reg:0x5a8:[ 10e0021]|[ 100403]|[ 1000005]|[ 400800]|
[MCU2_0] 3447.842371 s:dphy_rx_vbus2apb_reg:0x5b8:[ 10020]|[ 58a0]|[ 0]|[ 0]|
[MCU2_0] 3447.842410 s:dphy_Rx_vbus2apb_reg:0x5c8:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842450 s:dphy_Rx_vbus2apb_reg:0x5d8:[0]|[16b]|[0]|[aaaaaaaaaaaa]|
[MCU2_0] 3447.842490 s:dphy_Rx_vbus2apb_reg:b0c:[2AA]|[22222222]|[222]|[0]|
[MCU2_0]========================================================================
[MCU2_0] 3447.842569 s:dphy_rx_vbus2apb_reg:0xc00:[ 50F]|[ 0]|[ 10f]|[ e0]|
[MCU2_0] 3447.842609 s:dphy_rx_vbus2apb_reg:0xc10:[ 2D]|[ 5]|[ 580]|[ 0]|
[MCU2_0] 3447.842648 s:dphy_Rx_vbus2apb_reg:0xc20:[5]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842688 s:dphy_rx_vbus2apb_reg:0xc30:[5]|[57d]|[0]|[5]|
[MCU2_0] 3447.8427s:dphy_Rx_vbus2apb_reg:0xc40:[ 56F]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842771 s:IF_ECC_REG[1]:0x 0:[66a0ea00]|[0]|[8]|[0]|
[MCU2_0] 3447.842828 s:if_ecc_reg[1]:0x 3c:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842872 s:IF_ECC_REG[1]:0x13c:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842913 s:IF_ECC_REG[1]:0x200:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.842954 s:if_shim_reg[1]:0x 0:[64706100]|[0]|[0]|[ 0]|[ E01]|
[MCU2_0] 3447.842993 s:if_shim_reg[1]:0x 20:[8400001e]|[ 10000]|[0]|[64706100]|
[MCU2_0] 3447.843035 s:if_vbus2apb_reg_list[1]:0x 0:[8421164c]|[0]|[43210410]|[0]|
[MCU2_0] 3447.842529 s:dphy_Rx_vbus2apb_reg:b1b1c:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843076 s:if_vbus2apb_reg_list[1]:0x 18:[0]|[0]|[22]|[0]|
[MCU2_0] 3447.843120 s:if_vbus2apb_reg_list[1]:0x 28:[ 1000]|[ f03b1]|[ 1f01f]|[ 222206]|
[MCU2_0] 3447.843120 s:if_vbus2apb_reg_list[1]:0x 28:[ 1000]|[ f03b1]|[ 1f01f]|[ 222206]|
[MCU2_0] 3447.843163 s:if_vbus2apb_reg_list[1]:0x 4c:[ 10000]|[ 0]|[10000000]|[ff8b005e]|
[MCU2_0] 3447.843163 s:if_vbus2apb_reg_list[1]:0x 4c:[ 10000]|[ 0]|[10000000]|[ff8b005e]|
[MCU2_0] 3447.843206 s:if_vbus2apb_reg_list[1]:0x 80:[0]|[1]|[80000112]|[0]|
[MCU2_0] 3447.843206 s:if_vbus2apb_reg_list[1]:0x 80:[0]|[1]|[80000112]|[0]|
[MCU2_0] 3447.843247 s:if_vbus2apb_reg_list[1]:0x10c:[ 100]|[ 0]|[ 0]|[ 0]|[ 0]|
[MCU2_0] 3447.843288 s:if_vbus2apb_reg_list[1]:0x11c:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843163 s:if_vbus2apb_reg_list[1]:0x 4c:[ 10000]|[ 0]|[10000000]|[ff8b005e]|
[MCU2_0] 3447.843330 s:if_vbus2apb_reg_list[1]:0x200:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843371 s:if_vbus2apb_reg_list[1]:0x210:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843412 s:if_vbus2apb_reg_list[1]:0x220:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.8454 s:if_vbus2apb_reg_list[1]:0x304:[ 100]|[ 0]|[0]|[0]|[ 0]|
[MCU2_0] 3447.843412 s:if_vbus2apb_reg_list[1]:0x220:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843371 s:if_vbus2apb_reg_list[1]:0x210:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.8454 s:if_vbus2apb_reg_list[1]:0x304:[ 100]|[ 0]|[0]|[0]|[ 0]|
[MCU2_0] 3447.8494 s:if_vbus2apb_reg_list[1]:0x314:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843536 s:if_vbus2apb_reg_list[1]:0x324:[0]|[0]|[0]|[100]|
[MCU2_0] 3447.843577 s:if_vbus2apb_reg_list[1]:0x408:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843617 s:if_vbus2apb_reg_list[1]:0x418:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843658 s:if_vbus2apb_reg_list[1]:0x428:[0]|[0]|[0]|[7f]|
[MCU2_0] 3447.8494 s:if_vbus2apb_reg_list[1]:0x314:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843536 s:if_vbus2apb_reg_list[1]:0x324:[0]|[0]|[0]|[100]|
[MCU2_0] 3447.843577 s:if_vbus2apb_reg_list[1]:0x408:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843617 s:if_vbus2apb_reg_list[1]:0x418:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843658 s:if_vbus2apb_reg_list[1]:0x428:[0]|[0]|[0]|[7f]|
[MCU2_0] 3447.843700 s:if_vbus2apb_reg_list[1]:0x90c:[0]|[7f]|[0]|[0]|
[MCU2_0] 3447.843741 s:if_vbus2apb_reg_list[1]:0x928:[0]|[0]|[1]|[0]|
[MCU2_0] 3447.843577 s:if_vbus2apb_reg_list[1]:0x408:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843617 s:if_vbus2apb_reg_list[1]:0x418:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843658 s:if_vbus2apb_reg_list[1]:0x428:[0]|[0]|[0]|[7f]|
[MCU2_0] 3447.843700 s:if_vbus2apb_reg_list[1]:0x90c:[0]|[7f]|[0]|[0]|
[MCU2_0] 3447.843741 s:if_vbus2apb_reg_list[1]:0x928:[0]|[0]|[1]|[0]|
[MCU2_0] 3447.843700 s:if_vbus2apb_reg_list[1]:0x90c:[0]|[7f]|[0]|[0]|
[MCU2_0] 3447.843741 s:if_vbus2apb_reg_list[1]:0x928:[0]|[0]|[1]|[0]|
[MCU2_0] 3447.843783 s:if_vbus2apb_reg_list[1]:0x940:[ 3fff]|[ 0]|[50220200]|[8421164c]|
[MCU2_0] 3447.843658 s:if_vbus2apb_reg_list[1]:0x428:[0]|[0]|[0]|[7f]|
[MCU2_0] 3447.843844 s:IF_CP_INTD_REG[1]:0x 0:[6690a200]|[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843891 s:IF_CP_INTD_REG[1]:0x104:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843931 s:IF_CP_INTD_REG[1]:0x504:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843972 s:IF_CP_INTD_REG[1]:0xa84:[0]|[6690a200]|[0]|[0]|[0]|
[MCU2_0] 3447.843931 s:IF_CP_INTD_REG[1]:0x504:[0]|[0]|[0]|[0]|[0]|
[MCU2_0] 3447.843972 s:IF_CP_INTD_REG[1]:0xa84:[0]|[6690a200]|[0]|[0]|[0]|
[MCU2_0] 3447.843891 s:IF_CP_INTD_REG[1]:0x104:[0]|[0]|[0]|[0]|[0]|
在大规模生产项目中、用户不能接受上述问题。因此、我可以做些什么来帮助我发现摄像机及其捕获节点的异常、并在出现问题时修复、而无需重新启动应用程序和电路板?
另一方面 ,lpsc53和 lpsc54是否支持在用户模式下运行?
我正在寻找您的回复、谢谢!