This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: Run openvx host on R5F, app_single_cam cann't get the image data

Part Number: TDA4VM


hi ti

    Our LINUX sdk ver is 08_02_00_03, RTOS sdk ver is  08_02_00_05. And we can run app_single_cam normally.We get the patch Application Note Proof of Concept Enablement for OpenVx Host on R5F (MCU2_0). Git apply the patchs of  Linux_SDK8_1_changes.patch& RTOS_SDK8_1_tiovxChanges.patch& RTOS_SDK8_1_visionAppsChanges.patch.

in linux sdk,do the followings

make all

make install

in rtos sdk,do the followings

cd vision_apps
make tiovx_scrub
make vision_apps_scrub
make tiovx -jN
make sdk -jN

make linux_fs_install_tar

make linux_img UDISK=yes

I try to use SD boot and emmc boot. It is found that the logs are somewhat different, but neither of the two startup eDP displays images.

  • EMMC boot up log: JUST A LITTLE LOGS
    
    [MCU2_0]      6.113780 s:  VX_ZONE_ERROR:[tivxCaptResetInstance:2204] Instance Id = 0
    [MCU2_0]      6.114279 s:  VX_ZONE_ERROR:[tivxCaptResetInstance:2204] Instance Id = 1
    [MCU2_0]      6.114731 s: src/csirx_drvInit.c @ Line 512:
    [MCU2_0]      6.114770 s: lockSem is not null,not alloc sem!!
    [MCU2_0]      6.117263 s: src/csirx_drvInit.c @ Line 512:
    [MCU2_0]      6.117312 s: lockSem is not null,not alloc sem!!
    [MCU2_0]      6.128097 s: Scaler is enabled!
    [MCU2_0]      6.133527 s: Scaler is disabled end
    [MCU2_0]      6.133578 s: app_create_graph exiting
    [MCU2_0]      6.133611 s: app_create_graph done
    [MCU2_0]      6.133638 s: ISS: Starting sensor [ST_UB960_UB933_UYVY] ... !!!
    [MCU2_0]      6.133689 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON
    [MCU2_0]      6.133731 s: IM_SENSOR_CMD_STREAM_ON:  channel_mask = 0x1
    [MCU2_0]      6.133786 s:  : sensor handle channel_mask 1 =
    [MCU2_0]      6.133851 s: imaging_drv: <TI960ST> <INFO> st_dsub960_StreamOn:229   st_dsub960_StreamOn  staru
    [MCU2_0]      6.133915 s: imaging_drv: <DS90UB960> <INFO> ub960_cfgScript_byd:70  UB960 config start
    
    
    root@j7-evm:/opt/vision_apps# [MCU2_0]    514.440046 s: imaging_drv: <DS90UB960> <INFO> ub960_cfgScript_byd:98  End of UB960 config
    [MCU2_0]    514.440129 s: imaging_drv: <TI960ST> <INFO> st_dsub960_StreamOn:239    st_dsub960_StreamOn end
    [MCU2_0]    514.440190 s:  : sensor handle#### channel_mask 0 =
    [MCU2_0]    514.440240 s: ImageSensor_RemoteServiceHandler 2297 return  status 0
    [MCU2_0]    514.440292 s: ImageSensor_RemoteServiceHandler 2297 return  status 0
    [MCU2_0]    514.440330 s: ISS: Starting sensor [ST_UB960_UB933_UYVY] ... !!!
    [MCU2_0]    514.440367 s:  app_run_graph satrt end...
    [MCU2_0]    514.440754 s:  VX_ZONE_WARNING:[tivxCaptureSetTimeout:780]  CAPTURE: WARNING: Error frame not provided using tivxCaptureRegisterErrorFrame, defaulting to waiting forever !!!
    [MCU2_0]    514.440926 s:  app_run_graph...
    [MCU2_0]    514.440985 s:  frm_loop_cnt 1004...
    [MCU2_0]    514.441038 s:  loop 0...
    
    
    
    SD BOOT UP LOG:
    [MCU2_0]      1.398499 s: CIO: Init ... Done !!!
    [MCU2_0]      1.398568 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0]      1.398612 s: APP: Init ... !!!
    [MCU2_0]      1.398637 s: SCICLIENT: Init ... !!!
    [MCU2_0]      1.398878 s: SCICLIENT: DMSC FW version [22.1.1--v2022.01 (Terrific Llam]
    [MCU2_0]      1.398929 s: SCICLIENT: DMSC FW revision 0x16
    [MCU2_0]      1.398965 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      1.399002 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      1.399041 s: UDMA: Init ... !!!
    [MCU2_0]      1.400274 s: UDMA: Init ... Done !!!
    [MCU2_0]      1.400336 s: MEM: Init ... !!!
    [MCU2_0]      1.400376 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ b8000000 of size 536870912 bytes !!!
    [MCU2_0]      1.400450 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 3600000 of size 262144 bytes !!!
    [MCU2_0]      1.400511 s: MEM: Init ... Done !!!
    [MCU2_0]      1.400536 s: IPC: Init ... !!!
    [MCU2_0]      1.400594 s: IPC: 9 CPUs participating in IPC !!!
    [MCU2_0]      1.400645 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0]      5.915204 s: IPC: HLOS is ready !!!
    [MCU2_0]      5.938746 s: IPC: Init ... Done !!!
    [MCU2_0]      5.938814 s: APP: Syncing with 8 CPUs ... !!!
    [MCU2_0]      6.149405 s: APP: Syncing with 8 CPUs ... Done !!!
    [MCU2_0]      6.149647 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]      6.151351 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]      6.151421 s: FVID2: Init ... !!!
    [MCU2_0]      6.151491 s: FVID2: Init ... Done !!!
    [MCU2_0]      6.151541 s: DSS: Init ... !!!
    [MCU2_0]      6.151571 s: DSS: Display type is eDP !!!
    [MCU2_0]      6.151599 s: DSS: M2M Path is enabled !!!
    [MCU2_0]      6.151626 s: DSS: SoC init ... !!!
    [MCU2_0]      6.151650 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0]      6.152321 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.152373 s: SCICLIENT: Sciclient_pmSetModuleState module=297 state=2
    [MCU2_0]      6.152884 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.152920 s: SCICLIENT: Sciclient_pmSetModuleState module=151 state=2
    [MCU2_0]      6.153443 s: SCICLIENT: Sciclient_pmSetModuleState soccess
    [MCU2_0]      6.153478 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=9 parent=11
    [MCU2_0]      6.153955 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]      6.153993 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=13 parent=18
    [MCU2_0]      6.154623 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]      6.154661 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=1 parent=2
    [MCU2_0]      6.155273 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]      6.155311 sq SCICLIENT: Sciclient_pmSetModuleClkFreq module=152 clk=1 freq=148500000
    [MCU2_0]      6.156891 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0]      6.156928 s: SCICLIENT: Sciclient_pmModuleClkRequest module=152 clk=1 state=2 flag=0
    [MCU2_0]      6.157500 s: SCICLIENT: Sciclient_pmModuleClkRequest success
    [MCU2_0]      6.157539 s: DSS: SoC init ... Done !!!
    [MCU2_0]      6.157567 s: DSS: Board init ... !!!
    [MCU2_0]      6.157593 s: DSS: Turning on DP_PWR pin for eDP adapters ... !!!
    [MCU2_0]      6.162040 s: DSS: ERROR: Turning on DP_PWR pin for eDP adapters failed !!!
    [MCU2_0]      6.162096 s: DSS: Board init ... Done !!!
    [MCU2_0]      6.192889 s: DSS: Init ... Done !!!
    [MCU2_0]      6.192958 s: VHWA: VPAC Init ... !!!
    [MCU2_0]      6.192987 s: SCICLIENT: Sciclient_pmSetModuleState module=290 state=2
    [MCU2_0]      6.193270 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.193312 s: VHWA: LDC Init ... !!!
    [MCU2_0]      6.196901 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]      6.196964 s: VHWA: MSC Init ... !!!
    [MCU2_0]      6.208500 s: VHWA: MSC Init ... Done !!!
    [MCU2_0]      6.208558 s: VHWA: NF Init ... !!!
    [MCU2_0]      6.210371 s: VHWA: NF Init ... Done !!!
    [MCU2_0]      6.210431 s: VHWA: VISS Init ... !!!
    [MCU2_0]      6.221233 s: VHWA: VISS Init ... Done !!!
    [MCU2_0]      6.221298 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0]      6.221341 s:  VX_ZONE_INIT:Enabled
    [MCU2_0]      6.221371 s:  VXNZONE_ERROR:Enabled
    [MCU2_0]      6.221396 s:  VX_ZONE_WARNING:Enabled
    [MCU2_0]      6.222550 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target IPU1-0
    [MCU2_0]      6.222789 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_NF
    [MCU2_0]      6.223010 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_LDC1
    [MCU2_0]      6.223243 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_MSC1
    [MCU2_0]      6.223466 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_MSC2
    [MCU2_0]      6.223775 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_VISS1
    [MCU2_0]      6.224049 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE1
    [MCU2_0]      6.224307 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE2
    [MCU2_0]      6.224551 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DISPLAY1
    [MCU2_0]      6.224796 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DISPLAY2
    [MCU2_0]      6.225022 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CSITX
    [MCU2_0]      6.225304 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE3
    [MCU2_0]      6.225567 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE4
    [MCU2_0]      6.225822 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE5
    [MCU2_0]      6.226128 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE6
    [MCU2_0]      6.226430 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE7
    [MCU2_0]      6.226689 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE8
    [MCU2_0]      6.226913 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M1
    [MCU2_0]      6.227150 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M2
    [MCU2_0]      6.227386 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M3
    [MCU2_0]      6.227614 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M4
    [MCU2_0]      6.227669 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_0]      6.227851 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
    [MCU2_0]      6.227893 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0]      6.247337 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0]      6.247397 s: CSI2RX: Init ... !!!
    [MCU2_0]      6.247424 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0]      6.247572 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.247612 s: SCICLIENT: Sciclient_pmSetModuleState module=26 state=2
    [MCU2_0]      6.247780 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.247815 s: SCICLIENT: Sciclient_pmSetModuleState module=27 state=2
    [MCU2_0]      6.248013 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.248056 s: SCICLIENT: Sciclient_pmSetModuleState module=147 state=2
    [MCU2_0]      6.248177 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.248213 s: SCICLIENT: Sciclient_pmSetModuleState module=148 state=2
    [MCU2_0]      6.248322 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.249082 s: CSI2RX: Init ... Done !!!
    [MCU2_0]      6.249183 s: appSerializerInitI2c: I2C Open gI2cHandle=0xa2da9034
    [MCU2_0]      6.261030 s: PG configurations for serializer with slave address - 0x18...
    [MCU2_0]      6.261093 s: regAddr - 0x 1 --- regData - 0x 1
    [MCU2_0]      6.389475 s:  --- read back data - 0x 0
    [MCU2_0]      6.389519 s: regAddr - 0x 2 --- regData - 0x72
    [MCU2_0]      6.405472 s:  --- read back data - 0x72
    [MCU2_0]      6.405517 s: regAddr - 0x 6 --- regData - 0x21
    [MCU2_0]      6.406472 s:  --- read back data - 0x21
    [MCU2_0]      6.406514 s: regAddr - 0x 7 --- regData - 0x28
    [MCU2_0]      6.407470 s:  --- read back data - 0x28
    [MCU2_0]      6.407510 s: regAddr - 0x d --- regData - 0x 1
    [MCU2_0]      6.408470 s:  --- read back data - 0x 1
    [MCU2_0]      6.408508 s: regAddr - 0x e --- regData - 0xf0
    [MCU2_0]      6.409471 s:  --- read back data - 0xf0
    [MCU2_0]      6.409529 s: regAddr - 0xb0 --- regData - 0x 4
    [MCU2_0]      6.410470 s:  --- read back data - 0x 4
    [MCU2_0]      6.410511 s: regAddr - 0xb1 --- regData - 0x 8
    [MCU2_0]      6.411472 s:  --- read back data - 0x 8
    [MCU2_0]      6.411510 s: regAddr - 0xb2 --- regData - 0x 7
    [MCU2_0]      6.412468 s:  --- read back data - 0x 7
    [MCU2_0]      6.412512 s: appSerializerConfigure   Configuration... Done !!!
    [MCU2_0]      6.412547 s: CSI2TX: Init ... !!!
    [MCU2_0]      6.412570 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0]      6.412723 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.412763 s: SCICLIENT: Sciclient_pmSetModuleState module=28 state=2
    [MCU2_0]      6.413001 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.413044 s: SCICLIENT: Sciclient_pmSetModuleState module=296 state=2
    [MCU2_0]      6.413183 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      6.413770 s: CSI2TX: Init ... Done !!!
    [MCU2_0]      6.413827 s: ISS: Init ... !!!
    [MCU2_0]      6.413854 s: IssSensor_Init   start
    [MCU2_0]      6.413926 s: imaging_drv: <GPIO_CTL> <INFO>  Enter func ====>> <IssSensor_InitHardwareVersion:492>
    [MCU2_0]      6.414036 s: imaging_drv: <GPIO_CTL> <INFO> IssSensor_InitHardwareVersion:509  read hardware info: hwid = 0x00, CamPwrSwID = 0, carid = 0x01
    [MCU2_0]      6.414132 s: imaging_drv: <GPIO_CTL> <INFO> IssSensor_InitHardwareVersion:510  Hardware version: E1-V020, Camera POC: MAX20086 , CarType: HC Car
    [MCU2_0]      6.414212 s: imaging_drv: <GPIO_CTL> <INFO>  Exit func ====>> <IssSensor_InitHardwareVersion:512>
    [MCU2_0]      6.414257 s: Found sensor ST_UB960_UB933_UYVY at location 0
    [MCU2_0]      6.414324 s: imaging_drv: <TI960ST> <INFO> IssSensor_ST_dsub960_dsub933_Init:155  IssSensor_ST_dsub960_dsub933_Init   success
    [MCU2_0]      6.414438 s: imaging_drv: <DESREPORT> <INFO> DeserialPortRreportCreatTask:324  DeserialPortRreportCreatTask start  ... !!!
    [MCU2_0]      6.414581 s: imaging_drv: <DESREPORT> <INFO> DeserialPortRreportCreatTask:339  DeserialPortRreportCreatTask: create  service task success
    [MCU2_0]      6.414644 s: IssSensor_Init ... Done !!!
    [MCU2_0]      6.414741 s: vissRemoteServer_Init ... Done !!!
    [MCU2_0]      6.414801 s: ItMRemoteServer_Init ... Done !!!
    [MCU2_0]      6.414837 s: UDMA Copy: Init ... !!!
    [MCU2_0]      6.416636 s: UDMA Copy: Init ... Done !!!
    [MCU2_0]      6.416732 s: APP: Init ... Done !!!
    [MCU2_0]      6.416771 s: APP: Run ... !!!
    [MCU2_0]      6.423907 s: tivxImagingLoadKernels done
    [MCU2_0]      6.423956 s: ISS: Enumerating sensors ... !!!
    [MCU2_0]      6.424002 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE
    [MCU2_0]      6.424085 s: imaging_drv: <GPIO_CTL> <INFO>  Enter func ====>> <IssSensor_GpioInit:540>
    [MCU2_0]      6.424162 s: imaging_drv: <GPIO_CTL> <INFO> IssSensor_GpioInit:545  Hardware version: E1-V020, Camera POC: MAX20086 , CarType: HC Car
    [MCU2_0]      6.424240 s: imaging_drv: <GPIO_CTL> <INFO>  Enter func ====>> <IssSensor_Max20086_Dsub960_GpioInit_E1:290>
    [MCU2_0]      6.424350 s: imaging_drv: <DESREPORT> <INFO> DeserialReportErrTaskMain:258  DeserialReportErrTaskMain  service: task run...
    [MCU2_0]      6.429068 s: imaging_drv: <GPIO_CTL> <INFO>  Exit func ====>> <IssSensor_Max20086_Dsub960_GpioInit_E1:328>
    [MCU2_0]      6.429144 s: imaging_drv: <GPIO_CTL> <INFO>  Exit func ====>> <IssSensor_GpioInit:5>2>
    [MCU2_0]      6.429209 s: imaging_drv: <GPIO_CTL> <INFO>  Enter func ====>> <IssSensor_GpioPowerUpSequence:558>
    [MCU2_0]      6.429280 s: imaging_drv: <GPIO_CTL> <INFO>  Enter func ====>> <IssSensor_Max20086_Dsub960_GpioPowerUpSequence_E1:333>
    [MCU2_0]      6.662064 s: imaging_drv: <GPIO_CTL> <INFO>  Exit func ====>> <IssSensor_Max20086_Dsub960_GpioPowerUpSequence_E1:356>
    [MCU2_0]      6.662148 s: imaging_drv: <GPIO_CTL> <INFO>  Exit func ====>> <IssSensor_GpioPowerUpSequence:565>
    [MCU2_0]      6.662265 s: iss_sensors.c: gISS_Sensor_I2cHandle = a2da9040
    [MCU2_0]      6.662817 s: imaging_drv: <TI960ST> <INFO> Get_ST_Ub933_status:570  read  deSerial Device TI960 ID success! regValue=0x60 status=0
    [MCU2_0]      6.662897 s: imaging_drv: <DS90UB960> <INFO> ub960_cfgScript_byd:70  UB960 config start
    [MCU2_0]      7.038378 s: imaging_drv: <DS90UB960> <INFO> ub960_cfgScript_byd:98  End of UB960 config
    [MCU2_0]      7.038456 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:383  Enter: ReadSerialUb933ID()
    [MCU2_0]      7.039305 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:401  ds90ub960 port:0 read ser_id:0xb0 success count:1
    [MCU2_0]      7.039388 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:405  Enter: Get_ST_Ub933_status() Shengtai module connected
    [MCU2_0]      7.040244 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:401  ds90ub960 port:1 read ser_id:0xb0 success count:1
    [MCU2_0]      7.040325 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:405  Enter: Get_ST_Ub933_stattTI960ST> <INFO> st_dsub960_PowerOn:274   st_dsub960_PowerOn start
    [MCU2_0]      7.054610 s: imaging_drv: <TI960ST> <INFO> st_dsub960_PowerOn:275   st_dsub960_PowerOn end
    [MCU2_0]      7.054666 s: ImageSensor_RemoteServiceHandler 2297 return  status 0
    [MCU2_0]      7.054715 s: ImageSensor_RemoteServiceHandler 2297 return  status 0
    [MCU2_0]      7.054751 s: ISS: Initializing sensor [ST_UB960_UB933_UYVY], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0]      7.054798 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG
    [MCU2_0]      7.054834 s: Application requested features = 0x0
    [MCU2_0]
    [MCU2_0]      7.054869 s: Configuring camera  0
    [MCU2_0]      7.054923 s: imaging_drv: <TI960ST> <INFO> st_dsub960_Config:181  Enter func: st_dsub960_Config()
    [MCU2_0]      7.054987 s: imaging_drv: <TI960ST> <INFO> st_dsub960_Config:211  Exit func: st_dsub960_Config()
    [MCU2_0]      7.055037 s: IM_SENSOR_CMD_CONFIG returning status = 0
    [MCU2_0]      7.055088 s: ImageSensor_RemoteServiceHandler 2297 return  status 0
    [MCU2_0]      7.055136 s: ImageSensor_RemoteServiceHandler 2297 return  status 0
    [MCU2_0]      7.055173 s: ISS: Initializing sensor [ST_UB960_UB933_UYVY] ... Done !!!
    [MCU2_0]      7.055213 s: Creating graph
    [MCU2_0]      7.055396 s: Initializing params for capture node
    [MCU2_0]      7.057368 s: capture_config = 0xa267b728
    [MCU2_0]      7.057417 s: Creating capture node
    [MCU2_0]      7.057795 s: obj->capture_node = 0xa2633028
    [MCU2_0]      7.057894 s: Enabling LDC
    [MCU2_0]      7.057935 s: Creating LDC
    [MCU2_0]      7.057968 s: Invalid DCC size for LDC. Disabling DCC
    [MCU2_0]      7.069974 s: Display Set Target done
    [MCU2_0]      7.114692 s: Scaler is enabled!
    
    root@j7-evm:/opt/vision_apps# [MCU2_0]    562.359079 s: imaging_drv: <DS90UB960> <INFO> ub960_cfgScript_byd:98  End of UB960 config
    [MCU2_0]    562.359162 s: imaging_drv: <TI960ST> <INFO> st_dsub960_StreamOn:239    st_dsub960_StreamOn end
    [MCU2_0]    562.359222 s:  : sensor handle#### channel_mask 0 =
    [MCU2_0]    562.359271 s: ImageSensor_RemoteServiceHandler 2297 return  status 0
    [MCU2_0]    562.359322 s: ImageSensor_RemoteServiceHandler 2297 return  status 0
    [MCU2_0]    562.359360 s: ISS: Starting sensor [ST_UBr60_UB933_UYVY] ... !!!
    [MCU2_0]    562.359418 s:  app_run_graph satrt end...
    [MCU2_0]    562.359842 s:  VX_ZONE_WARNING:[tivxCaptureSetTimeout:780]  CAPTURE: WARNING: Error frame not provided using tivxCaptureRegisterErrorFrame, defaulting to waiting forever !!!
    [MCU2_0]    562.360018 s:  app_run_graph...
    [MCU2_0]    562.360086 s:  frm_loop_cnt 1004...
    [MCU2_0]    562.360124 s:  loop 0...
    
    
    this is the mcu2_0 log,Please help to check the cause of the problem, thanks a lot.

  • Hi,

    As mentioned in the App_Note, the patches are created and tested on SDK 8.1.

    Could you please test the same at your end in SDK 8.1?

    As mentioned, porting the patches to the lated versions of SDK is currently not a part of TI's plan.

    Also from your above logs, i see the below error in DSS init

    [MCU2_0]      6.162040 s: DSS: ERROR: Turning on DP_PWR pin for eDP adapters failed !!!

    You could check why you are seeing this error.

    Regards,
    Nikhil

  • hi Nikhil

        I didn't use edp to display the image which get from the sensor, so I think this error prompt will not affect the image output. Dose  8.02 has some difference from 8.01 in vx node?

  • Hi,

    but neither of the two startup eDP displays images

    But you had mentioned that you are using eDP to display image from the graph?

    Also could you try the below vision_apps patch instead of SDK 8.1 patch for vision_apps?

    /cfs-file/__key/communityserver-discussions-components-files/791/RTOS_5F00_SDK8_5F00_2_5F00_visionAppsChanges.patch

    For TIOVX and Linux, the same patch should work as in SDK 8.1

    Regards,
    Nikhil

  • hi Nikhil

       Thanks for your reply!

       Sorry, I didn't make it clear. This error will occur whether I use the edp to display  or not, and the error will occur whether the patch is added or not. But if i didn't add the patch,single_cam_app will get the image from sensor, but after add the patch, single_cam_app  will not get the image.

      Our SDK has been updated to 8.02. It is not very helpful to verify the patch in 8.01. Can't this patch be used in later sdks?Could you help us use this patch in the later sdk? Thanks!

  • Hi,

    Also could you try the below vision_apps patch instead of SDK 8.1 patch for vision_apps

    There are 3 patches in the App note. For, Vision_apps, TIOVX and Linux.

    In case of TIOVX, Linux... the patches for SDK 8.2 should be same as SDK 8.1

    In case of vision_Apps, there are slight modifications. Hence, please use the patch provided above for SDK 8.2.

    Please let me know if you facing issue with this new vision_apps patch.

    Also could you tell me how are you running the single cam application?

    Regards,
    Nikhil

  • hi Nikhil

        With the patch, i just boot the board and catch the log. 

         root

         cd /opt/vision_apps

        source ./vision_apps_init.sh

       I will use the new patch to SDK8.2 to test, thanks a lot!

  • hi Nikhil

       I have update the patch, but it seems something wrong,the app_single_cam_main didn't go to the end. It's  strange。

    [MCU2_0] 1.360772 s: CIO: Init ... Done !!!
    [MCU2_0] 1.360844 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0] 1.360887 s: APP: Init ... !!!
    [MCU2_0] 1.360912 s: SCICLIENT: Init ... !!!
    [MCU2_0] 1.361146 s: SCICLIENT: DMSC FW version [22.1.1--v2022.01 (Terrific Llam]
    [MCU2_0] 1.361194 s: SCICLIENT: DMSC FW revision 0x16
    [MCU2_0] 1.361228 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0] 1.361284 s: SCICLIENT: Init ... Done !!!
    [MCU2_0] 1.361315 s: UDMA: Init ... !!!
    [MCU2_0] 1.362613 s: UDMA: Init ... Done !!!
    [MCU2_0] 1.362676 s: MEM: Init ... !!!
    [MCU2_0] 1.362720 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ b8000000 of size 536870912 bytes !!!
    [MCU2_0] 1.362797 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 3600000 of size 262144 bytes !!!
    [MCU2_0] 1.362859 s: MEM: Init ... Done !!!
    [MCU2_0] 1.362884 s: IPC: Init ... !!!
    [MCU2_0] 1.362946 s: IPC: 9 CPUs participating in IPC !!!
    [MCU2_0] 1.362997 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0] 4.985445 s: IPC: HLOS is ready !!!
    [MCU2_0] 5.008804 s: IPC: Init ... Done !!!
    [MCU2_0] 5.008871 s: APP: Syncing with 8 CPUs ... !!!
    [MCU2_0] 5.219643 s: APP: Syncing with 8 CPUs ... Done !!!
    [MCU2_0] 5.219895 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0] 5.221671 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0] 5.221734 s: FVID2: Init ... !!!
    [MCU2_0] 5.221810 s: FVID2: Init ... Done !!!
    [MCU2_0] 5.221862 s: DSS: Init ... !!!
    [MCU2_0] 5.221891 s: DSS: Display type is eDP !!!
    [MCU2_0] 5.221918 s: DSS: M2M Path is enabled !!!
    [MCU2_0] 5.221945 s: DSS: SoC init ... !!!
    [MCU2_0] 5.221969 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0] 5.222576 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.222631 s: SCICLIENT: Sciclient_pmSetModuleState module=297 state=2
    [MCU2_0] 5.223137 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.223173 s: SCICLIENT: Sciclient_pmSetModuleState module=151 state=2
    [MCU2_0] 5.223698 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.223733 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=9 parent=11
    [MCU2_0] 5.224203 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0] 5.224243 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=13 parent=18
    [MCU2_0] 5.224867 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0] 5.224900 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=1 parent=2
    [MCU2_0] 5.225519 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0] 5.225556 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=152 clk=1 freq=148500000
    [MCU2_0] 5.227133 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0] 5.227170 s: SCICLIENT: Sciclient_pmModuleClkRequest module=152 clk=1 state=2 flag=0
    [MCU2_0] 5.227727 s: SCICLIENT: Sciclient_pmModuleClkRequest success
    [MCU2_0] 5.227763 s: DSS: SoC init ... Done !!!
    [MCU2_0] 5.227792 s: DSS: Board init ... !!!
    [MCU2_0] 5.227818 s: DSS: Turning on DP_PWR pin for eDP adapters ... !!!
    [MCU2_0] 5.232246 s: DSS: ERROR: Turning on DP_PWR pin for eDP adapters failed !!!
    [MCU2_0] 5.232306 s: DSS: Board init ... Done !!!
    [MCU2_0] 5.250384 s: DSS: Init ... Done !!!
    [MCU2_0] 5.250449 s: VHWA: VPAC Init ... !!!
    [MCU2_0] 5.250479 s: SCICLIENT: Sciclient_pmSetModuleState module=290 state=2
    [MCU2_0] 5.250681 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.250723 s: VHWA: LDC Init ... !!!
    [MCU2_0] 5.255184 s: VHWA: LDC Init ... Done !!!
    [MCU2_0] 5.255247 s: VHWA: MSC Init ... !!!
    [MCU2_0] 5.266988 s: VHWA: MSC Init ... Done !!!
    [MCU2_0] 5.267073 s: VHWA: NF Init ... !!!
    [MCU2_0] 5.268953 s: VHWA: NF Init ... Done !!!
    [MCU2_0] 5.269008 s: VHWA: VISS Init ... !!!
    [MCU2_0] 5.279489 s: VHWA: VISS Init ... Done !!!
    [MCU2_0] 5.279551 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0] 5.279597 s: VX_ZONE_INIT:Enabled
    [MCU2_0] 5.279627 s: VX_ZONE_ERROR:Enabled
    [MCU2_0] 5.279655 s: VX_ZONE_WARNING:Enabled
    [MCU2_0] 5.280820 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target IPU1-0
    [MCU2_0] 5.281065 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_NF
    [MCU2_0] 5.281320 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_LDC1
    [MCU2_0] 5.281566 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_MSC1
    [MCU2_0] 5.281797 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_MSC2
    [MCU2_0] 5.282112 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_VISS1
    [MCU2_0] 5.282396 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE1
    [MCU2_0] 5.282659 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE2
    [MCU2_0] 5.282914 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DISPLAY1
    [MCU2_0] 5.283173 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DISPLAY2
    [MCU2_0] 5.283421 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CSITX
    [MCU2_0] 5.283752 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE3
    [MCU2_0] 5.284032 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE4
    [MCU2_0] 5.284318 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE5
    [MCU2_0] 5.284588 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE6
    [MCU2_0] 5.284854 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE7
    [MCU2_0] 5.285115 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE8
    [MCU2_0] 5.285372 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M1
    [MCU2_0] 5.285615 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M2
    [MCU2_0] 5.285837 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M3
    [MCU2_0] 5.286056 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M4
    [MCU2_0] 5.286111 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_0] 5.286291 s: VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
    [MCU2_0] 5.286334 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0] 5.306989 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0] 5.307043 s: CSI2RX: Init ... !!!
    [MCU2_0] 5.307070 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0] 5.307248 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.307290 s: SCICLIENT: Sciclient_pmSetModuleState module=26 state=2
    [MCU2_0] 5.307462 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.307498 s: SCICLIENT: Sciclient_pmSetModuleState module=27 state=2
    [MCU2_0] 5.307636 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.307668 s: SCICLIENT: Sciclient_pmSetModuleState module=147 state=2
    [MCU2_0] 5.307780 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.307811 s: SCICLIENT: Sciclient_pmSetModuleState module=148 state=2
    [MCU2_0] 5.307944 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.308653 s: CSI2RX: Init ... Done !!!
    [MCU2_0] 5.308749 s: appSerializerInitI2c: I2C Open gI2cHandle=0xa2da9cb4
    [MCU2_0] 5.320239 s: PG configurations for serializer with slave address - 0x18...
    [MCU2_0] 5.320301 s: regAddr - 0x 1 --- regData - 0x 1
    [MCU2_0] 5.448688 s: --- read back data - 0x 0
    [MCU2_0] 5.448731 s: regAddr - 0x 2 --- regData - 0x72
    [MCU2_0] 5.464677 s: --- read back data - 0x72
    [MCU2_0] 5.464720 s: regAddr - 0x 6 --- regData - 0x21
    [MCU2_0] 5.465680 s: --- read back data - 0x21
    [MCU2_0] 5.465719 s: regAddr - 0x 7 --- regData - 0x28
    [MCU2_0] 5.466676 s: --- read back data - 0x28
    [MCU2_0] 5.466714 s: regAddr - 0x d --- regData - 0x 1
    [MCU2_0] 5.467679 s: --- read back data - 0x 1
    [MCU2_0] 5.467719 s: regAddr - 0x e --- regData - 0xf0
    [MCU2_0] 5.468679 s: --- read back data - 0xf0
    [MCU2_0] 5.468715 s: regAddr - 0xb0 --- regData - 0x 4
    [MCU2_0] 5.469676 s: --- read back data - 0x 4
    [MCU2_0] 5.469712 s: regAddr - 0xb1 --- regData - 0x 8
    [MCU2_0] 5.470678 s: --- read back data - 0x 8
    [MCU2_0] 5.470714 s: regAddr - 0xb2 --- regData - 0x 7
    [MCU2_0] 5.471676 s: --- read back data - 0x 7
    [MCU2_0] 5.471721 s: appSerializerConfigure Configuration... Done !!!
    [MCU2_0] 5.471758 s: CSI2TX: Init ... !!!
    [MCU2_0] 5.471782 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0] 5.471991 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.472030 s: SCICLIENT: Sciclient_pmSetModuleState module=28 state=2
    [MCU2_0] 5.472198 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.472239 s: SCICLIENT: Sciclient_pmSetModuleState module=296 state=2
    [MCU2_0] 5.472371 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 5.472975 s: CSI2TX: Init ... Done !!!
    [MCU2_0] 5.473032 s: ISS: Init ... !!!
    [MCU2_0] 5.473060 s: IssSensor_Init start
    [MCU2_0] 5.473133 s: imaging_drv: <GPIO_CTL> <INFO> Enter func ====>> <IssSensor_InitHardwareVersion:492>
    [MCU2_0] 5.473257 s: imaging_drv: <GPIO_CTL> <INFO> IssSensor_InitHardwareVersion:509 read hardware info: hwid = 0x01, CamPwrSwID = 0, carid = 0x01
    [MCU2_0] 5.473355 s: imaging_drv: <GPIO_CTL> <INFO> IssSensor_InitHardwareVersion:510 Hardware version: E0, Camera POC: MAX20086 , CarType: HC Car
    [MCU2_0] 5.473438 s: imaging_drv: <GPIO_CTL> <INFO> Exit func ====>> <IssSensor_InitHardwareVersion:512>
    [MCU2_0] 5.473484 s: Found sensor GZ_MAX96722_MAX96701_YUYV at location 0
    [MCU2_0] 5.473524 s: IssSensor_GZ_max96722_max96701_Init success
    [MCU2_0] 5.473556 s: Found sensor KK_MAX96722_MAX96705_UYVY at location 1
    [MCU2_0] 5.473593 s: IssSensor_KK_max96722_max96705_Init success
    [MCU2_0] 5.473625 s: Found sensor ST_UB960_UB933_UYVY at location 2
    [MCU2_0] 5.473692 s: imaging_drv: <TI960ST> <INFO> IssSensor_ST_dsub960_dsub933_Init:155 IssSensor_ST_dsub960_dsub933_Init success
    [MCU2_0] 5.473808 s: imaging_drv: <DESREPORT> <INFO> DeserialPortRreportCreatTask:324 DeserialPortRreportCreatTask start ... !!!
    [MCU2_0] 5.473960 s: imaging_drv: <DESREPORT> <INFO> DeserialPortRreportCreatTask:339 DeserialPortRreportCreatTask: create service task success
    [MCU2_0] 5.474019 s: IssSensor_Init ... Done !!!
    [MCU2_0] 5.474110 s: vissRemoteServer_Init ... Done !!!
    [MCU2_0] 5.474173 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0] 5.474206 s: UDMA Copy: Init ... !!!
    [MCU2_0] 5.475962 s: UDMA Copy: Init ... Done !!!
    [MCU2_0] 5.476054 s: APP: Init ... Done !!!
    [MCU2_0] 5.476089 s: APP: Run ... !!!
    [MCU2_0] 5.482903 s: tivxImagingLoadKernels done
    [MCU2_0] 5.482952 s: ISS: Enumerating sensors ... !!!
    [MCU2_0] 5.483001 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE
    [MCU2_0] 5.483075 s: imaging_drv: <GPIO_CTL> <INFO> Enter func ====>> <IssSensor_GpioInit:540>
    [MCU2_0] 5.483153 s: imaging_drv: <GPIO_CTL> <INFO> IssSensor_GpioInit:545 Hardware version: E0, Camera POC: MAX20086 , CarType: HC Car
    [MCU2_0] 5.483251 s: imaging_drv: <GPIO_CTL> <INFO> Enter func ====>> <IssSensor_Max20086_Dsub960_GpioInit_E1:290>
    [MCU2_0] 5.483364 s: imaging_drv: <DESREPORT> <INFO> DeserialReportErrTaskMain:258 DeserialReportErrTaskMain service: task run...
    [MCU2_0] 5.488281 s: imaging_drv: <GPIO_CTL> <INFO> Exit func ====>> <IssSensor_Max20086_Dsub960_GpioInit_E1:328>
    [MCU2_0] 5.488360 s: imaging_drv: <GPIO_CTL> <INFO> Exit func ====>> <IssSensor_GpioInit:552>
    [MCU2_0] 5.488428 s: imaging_drv: <GPIO_CTL> <INFO> Enter func ====>> <IssSensor_GpioPowerUpSequence:558>
    [MCU2_0] 5.488498 s: imaging_drv: <GPIO_CTL> <INFO> Enter func ====>> <IssSensor_Max20086_Dsub960_GpioPowerUpSequence_E1:333>
    [MCU2_0] 5.721272 s: imaging_drv: <GPIO_CTL> <INFO> Exit func ====>> <IssSensor_Max20086_Dsub960_GpioPowerUpSequence_E1:356>
    [MCU2_0] 5.721354 s: imaging_drv: <GPIO_CTL> <INFO> Exit func ====>> <IssSensor_GpioPowerUpSequence:565>
    [MCU2_0] 5.721467 s: iss_sensors.c: gISS_Sensor_I2cHandle = a2da9cc0
    [MCU2_0] 5.722020 s: imaging_drv: <TI960ST> <INFO> Get_ST_Ub933_status:570 read deSerial Device TI960 ID success! regValue=0x60 status=0
    [MCU2_0] 5.722104 s: imaging_drv: <DS90UB960> <INFO> ub960_cfgScript_byd:70 UB960 config start
    [MCU2_0] 6.097586 s: imaging_drv: <DS90UB960> <INFO> ub960_cfgScript_byd:98 End of UB960 config
    [MCU2_0] 6.097670 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:383 Enter: ReadSerialUb933ID()
    [MCU2_0] 6.098531 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:401 ds90ub960 port:0 read ser_id:0xb0 success count:1
    [MCU2_0] 6.098614 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:405 Enter: Get_ST_Ub933_status() Shengtai module connected
    [MCU2_0] 6.099461 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:401 ds90ub960 port:1 read ser_id:0xb0 success count:1
    [MCU2_0] 6.099541 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:405 Enter: Get_ST_Ub933_status() Shengtai module connected
    [MCU2_0] 6.100401 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:401 ds90ub960 port:2 read ser_id:0xb0 success count:1
    [MCU2_0] 6.100483 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:405 Enter: Get_ST_Ub933_status() Shengtai module connected
    [MCU2_0] 6.101333 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:401 ds90ub960 port:3 read ser_id:0xb0 success count:1
    [MCU2_0] 6.101414 s: imaging_drv: <TI960ST> <INFO> ReadSerialUb933ID:405 Enter: Get_ST_Ub933_status() Shengtai module connected
    [MCU2_0] 6.105826 s: imaging_drv: <TI960ST> <DEBUG> Get_ST_Ub933_status:593 remove camera sensor isp setting and mirror flip setting && set sensor alias
    [MCU2_0] 6.105924 s: Enumerate to a camera module ===>> [num: 2, i: 0, count: 0, sensor name: ST_UB960_UB933_UYVY]
    [MCU2_0] 6.105989 s: ImageSensor_RemoteServiceHandler 2297 return status 0
    [MCU2_0] 6.106028 s: ISS: Enumerating sensors ... found 0 : ST_UB960_UB933_UYVY
    [MCU2_0] 6.106082 s: Sensor selected : ST_UB960_UB933_UYVY
    [MCU2_0] 6.106123 s: app_init done
    [MCU2_0] 6.106162 s: Querying ST_UB960_UB933_UYVY
    [MCU2_0] 6.106197 s: ISS: Querying sensor [ST_UB960_UB933_UYVY] ... !!!
    [MCU2_0] 6.106248 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_QUERY
    [MCU2_0] 6.106287 s: Received Query for ST_UB960_UB933_UYVY
    [MCU2_0] 6.106356 s: imaging_drv: <TI960ST> <INFO> st_dsub960_GetDetectedNUM:322 st_dsub960_GetDetectedNUM start
    [MCU2_0] 6.107197 s: imaging_drv: <TI960ST> <INFO> st_dsub960_GetDetectedNUM:334 st_dsub960_GetDetectedNUM read 0x4d =0x13
    [MCU2_0] 6.108043 s: imaging_drv: <TI960ST> <INFO> st_dsub960_GetDetectedNUM:334 st_dsub960_GetDetectedNUM read 0x4d =0x53
    [MCU2_0] 6.108878 s: imaging_drv: <TI960ST> <INFO> st_dsub960_GetDetectedNUM:334 st_dsub960_GetDetectedNUM read 0x4d =0x93
    [MCU2_0] 6.109719 s: imaging_drv: <TI960ST> <INFO> st_dsub960_GetDetectedNUM:334 st_dsub960_GetDetectedNUM read 0x4d =0xd3
    [MCU2_0] 6.112274 s: imaging_drv: <TI960ST> <INFO> st_dsub960_GetDetectedNUM:360 st_dsub960_GetDetectedNUM found=0x0
    [MCU2_0] 6.113111 s: imaging_drv: <TI960ST> <INFO> st_dsub960_GetDetectedNUM:372 st_dsub960_GetDetectedNUM 0x20=0x0
    [MCU2_0] 6.113173 s: num_channels =15
    [MCU2_0] 6.113219 s: ImageSensor_RemoteServiceHandler 2297 return status 0
    [MCU2_0] 6.113267 s: ISS: Querying sensor [ST_UB960_UB933_UYVY] ... Done !!!
    [MCU2_0] 6.113308 s: YUV Input selected. VISS and AEWB nodes will be bypassed.
    [MCU2_0] 6.113347 s: Sensor DCC is NOT enabled
    [MCU2_0] 6.113386 s: Sensor width = 1280
    [MCU2_0] 6.113422 s: Sensor height = 960
    [MCU2_0] 6.113457 s: Sensor DCC ID = 0
    [MCU2_0] 6.113495 s: Sensor Supported Features = 0x0
    [MCU2_0] 6.113533 s: Sensor Enabled Features = 0x0
    [MCU2_0] 6.113562 s: ISS: Initializing sensor [ST_UB960_UB933_UYVY], doing IM_SENSOR_CMD_PWRON ... !!!
    [MCU2_0] 6.113612 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWRON
    [MCU2_0] 6.113646 s: IM_SENSOR_CMD_PWRON : channel_mask = 0x1
    [MCU2_0] 6.113716 s: imaging_drv: <TI960ST> <INFO> st_dsub960_PowerOn:274 st_dsub960_PowerOn start
    [MCU2_0] 6.113781 s: imaging_drv: <TI960ST> <INFO> st_dsub960_PowerOn:275 st_dsub960_PowerOn end
    [MCU2_0] 6.113839 s: ImageSensor_RemoteServiceHandler 2297 return status 0
    [MCU2_0] 6.113874 s: ISS: Initializing sensor [ST_UB960_UB933_UYVY], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0] 6.113919 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG
    [MCU2_0] 6.113646 s: IM_SENSOR_CMD_PWRON : channel_mask = 0x1
    [MCU2_0]
    [MCU2_0] 6.113953 s: Application requested features = 0x0
    [MCU2_0] 6.114047 s: imaging_drv: <TI960ST> <INFO> st_dsub960_Config:181 Enter func: st_dsub960_Config()
    [MCU2_0] 6.114116 s: imaging_drv: <TI960ST> <INFO> st_dsub960_Config:211 Exit func: st_dsub960_Config()
    [MCU2_0] 6.114159 s: IM_SENSOR_CMD_CONFIG returning status = 0
    [MCU2_0] 6.114209 s: ImageSensor_RemoteServiceHandler 2297 return status 0
    [MCU2_0] 6.114253 s: ISS: Initializing sensor [ST_UB960_UB933_UYVY] ... Done !!!
    [MCU2_0] 6.114295 s: Creating graph
    [MCU2_0] 6.114480 s: Initializing params for capture node
    [MCU2_0] 6.116483 s: capture_config = 0xa267b728
    [MCU2_0] 6.116532 s: Creating capture node
    [MCU2_0] 6.116953 s: obj->capture_node = 0xa2633028
    [MCU2_0] 6.117087 s: Enabling LDC
    [MCU2_0] 6.117128 s: Creating LDC
    [MCU2_0] 6.117157 s: Invalid DCC size for LDC. Disabling DCC
    [MCU2_0] 6.129014 s: Display Set Target done
    [MCU2_0] 6.129356 s: vxSetGraphScheduleConfig done

  • hi Nikhil

         I returned our software to 8.01,i can run app_single_cam_main successfully. 8.01 and 8.02 may have some differences。

    [MCU2_0] 41.498780 s: i 1000...
    [MCU2_0] 41.531973 s: i 1001...
    [MCU2_0] 41.565376 s: i 1002...
    [MCU2_0] 41.598773 s: i 1003...
    [MCU2_0] 41.684630 s: ISS: Stopping sensor [ST_UB960_UB933_UYVY] ... !!!
    [MCU2_0] 41.684731 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_OFF
    [MCU2_0] 41.684779 s: IM_SENSOR_CMD_STREAM_ON: channel_mask = 0x1
    [MCU2_0] 41.684874 s: imaging_drv: <TI960ST> <INFO> st_dsub960_StreamOff:255 st_dsub960_StreamOff start
    [MCU2_0] 41.684947 s: imaging_drv: <DS90UB960> <INFO> ub960_cfgScript_byd:70 UB960 config start
    [MCU2_0] 41.700829 s: imaging_drv: <DS90UB960> <INFO> ub960_cfgScript_byd:98 End of UB960 config
    [MCU2_0] 41.700951 s: imaging_drv: <TI960ST> <INFO> st_dsub960_StreamOff:265 st_dsub960_StreamOff end
    [MCU2_0] 41.701089 s: ImageSensor_RemoteServiceHandler 2297 return status 0
    [MCU2_0] 41.701134 s: ISS: Stopping sensor [ST_UB960_UB933_UYVY] ... Done !!!
    [MCU2_0] 41.701177 s: app_run_graph done
    [MCU2_0] 41.701205 s: releasing capture node
    [MCU2_0] 41.701244 s: releasing displayNode
    [MCU2_0] 41.701291 s: releasing cap_frame # 0
    [MCU2_0] 41.701333 s: releasing cap_frame # 1
    [MCU2_0] 41.706928 s: releasing cap_frame # 2
    [MCU2_0] 41.712540 s: releasing cap_frame # 3
    [MCU2_0] 41.718068 s: releasing capt_yuv_image
    [MCU2_0] 41.718143 s: releasing Display Param Data Object
    [MCU2_0] 41.718187 s: releasing LDC Mesh Image
    [MCU2_0] 41.718223 s: releasing LDC Output Image
    [MCU2_0] 41.718258 s: releasing LDC Mesh Parameters Object
    [MCU2_0] 41.718295 s: releasing LDC Parameters Object
    [MCU2_0] 41.718327 s: releasing LDC Region Parameters Object
    [MCU2_0] 41.718360 s: releasing LDC Node
    [MCU2_0] 41.718389 s: releasing Scaler Output Image
    [MCU2_0] 41.718570 s: releasing Scaler Node
    [MCU2_0] 41.718623 s: release Scalar coefficient data object
    [MCU2_0] 41.718727 s: releasing graph
    [MCU2_0] = 41.729815 s: ==========================================================
    [MCU2_0] 41.729908 s: Capture Status: Instance|0
    [MCU2_0] 41.729944 s: ==========================================================
    [MCU2_0] 41.729990 s: overflowCount: 0
    [MCU2_0] 41.730024 s: spuriousUdmaIntrCount: 0
    [MCU2_0] 41.730057 s: frontFIFOOvflCount: 0
    [MCU2_0] 41.730088 s: crcCount: 1
    [MCU2_0] 41.730115 s: eccCount: 0
    [MCU2_0] 41.730145 s: correctedEccCount: 0
    [MCU2_0] 41.730177 s: dataIdErrorCount: 0
    [MCU2_0] 41.730208 s: invalidAccessCount: 0
    [MCU2_0] 41.730240 s: invalidSpCount: 0
    [MCU2_0] 41.730276 s: strmFIFOOvflCount[0]: 0
    [MCU2_0] 41.730305 s: Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count |
    [MCU2_0] 41.730380 s: 0 | 1008 | 1008 | 0 | 0 |
    [MCU2_0] 41.731226 s: ============4=============================================
    [MCU2_0] 41.731318 s: Capture Status: Instance|1
    [MCU2_0] 41.731355 s: ==========================================================
    [MCU2_0] 41.731401 s: overflowCount: 0
    [MCU2_0] 41.731506 s: spuriousUdmaIntrCount: 0
    [MCU2_0] 41.731552 s: frontFIFOOvflCount: 0
    [MCU2_0] 41.731587 s: crcCount: 0
    [MCU2_0] 41.731614 s: eccCount: 0
    [MCU2_0] 41.731644 s: correctedEccCount: 0
    [MCU2_0] 41.731676 s: dataIdErrorCount: 0
    [MCU2_0] 41.731707 s: invalidAccessCount: 0
    [MCU2_0] 41.731738 s: invalidSpCount: 0
    [MCU2_0] 41.731773 s: strmFIFOOvflCount[0]: 0
    [MCU2_0] 41.731802 s: Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count |
    [MCU2_0] 41.744610 s: releasing graph done
    [MCU2_0] 41.744677 s: app_delete_graph done
    [MCU2_0] 41.744989 s: tivxHwaUnLoadKernels done
    [MCU2_0] 41.745066 s: tivxImagingUnLoadKernels done
    [MCU2_0] 41.746763 s: vxReleaseContext done
    [MCU2_0] 41.746823 s: app_deinit done
    [MCU2_0] 41.746852 s: ISS: De-initializing sensor [ST_UB960_UB933_UYVY] ... !!!
    [MCU2_0] 41.746907 s: IM_SENSOR_CMD_PWROFF
    [MCU2_0] 41.746939 s: IM_SENSOR_CMD_PWROFF: channel_mask = 0x0
    [MCU2_0] 41.747008 s: imaging_drv: <GPIO_CTL> <INFO> Enter func ====>> <IssSensor_GpioPowerDownSequence:570>
    [MCU2_0] 41.747080 s: imaging_drv: <GPIO_CTL> <INFO> Enter func ====>> <IssSensor_Max20086_Dsub960_GpioPowerDownSequence_E1:361>
    [MCU2_0] 41.749513 s: imaging_drv: <GPIO_CTL> <INFO> Exit func ====>> <IssSensor_Max20086_Dsub960_GpioPowerDownSequence_E1:374>
    [MCU2_0] 41.749599 s: imaging_drn: <GPIO_CTL> <INFO> Exit func ====>> <IssSensor_GpioPowerDownSequence:577>
    [MCU2_0] 41.749666 s: imaging_drv: <TI960ST> <INFO> st_dsub960_PowerOff:285 st_dsub960_PowerOff
    [MCU2_0] 41.749718 s: IssSensor_PowerOff : I2C_close
    [MCU2_0] 41.749718 s: IssSensor_PowerOff : I2C_close
    [MCU2_0] 41.749764 s: Error : sensor handle at channel Id 0 = NULL
    [MCU2_0] 41.749811 s: ImageSensor_RemoteServiceHandler 2297 return status 0
    [MCU2_0] 41.749848 s: ISS: De-initializing sensor [ST_UB960_UB933_UYVY] ... Done !!!
    [MCU2_0] 41.749887 s: APP: Run ... Done !!!

  • Hi,

    That is great. It works as expected in SDK 8.1 as it has been tested and validated on the same.

    Please let me know if you are continuing with the same or are to trying to port the same to SDK 8.2?

    Regards,

    Nikhil

  • hi Nikhil

        We will trying to port the same to later SDK.But we will first assess whether our needs can be realized.We are estimating this feature for a new project. Detailed requirements are described in the following questions.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1201704/tda4vm-after-the-openvx-host-is-enabled-on-mcu2_0-how-to-transmit-the-image-data-of-mcu2_0-to-the-a72-core-and-how-to-enable-ipc-communication-between-each-core

    Can't the following  function be implemented?

    2)Can the data from VISS be divided into two channels? (One channel is transferred inside MCU2_0 and output through CSI2-TX, and the second channel is sent to the A72 part for sensing function. The sensing function will use the relevant node of the dsp.) Is it possible for the A72 to do it?

  • Hi

    Can the data from VISS be divided into two channels? (One channel is transferred inside MCU2_0 and output through CSI2-TX, and the second channel is sent to the A72 part for sensing function. The sensing function will use the relevant node of the dsp.) Is it possible for the A72 to do it?

    Yes, you could send the same object array that is being sent to CSI2-tx node and to the sensing node. Are both openvx nodes?

    If yes, this is currently supported with A72 as OpenVX host. (As node on A72 is not supported with R5F as openvx host)

    Regards,
    Nikhil