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-Q1: Application logs loading slowly and camera is not started

Part Number: TDA4VM-Q1
Other Parts Discussed in Thread: DS90UB913A-Q1, DS90UB964-Q1EVM

Dear Sir,

I am working with

PSDK 08_02_00_05

Serializer: DS90UB913A-Q1 (ISX016)

Deserializer: DS90UB964-Q1EVM

Last Friday, we tested the application and it was working fine. But when we tested the same application on Monday the Camera was not working.

Observation:

When the application is started, the logs of the camera loads very slowly( each line takes 10-20sec)

We wait for the application to completely start(waiting for 4-5 minutes), and the display is empty with the Core utilization graphics.

I am sharing the logs for the same:

root@j7-evm:/opt/vision_apps# ./vx_app_btc_cam_topview.out --cfg btc_topviewcam.cfg 
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
    71.597712 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
    71.604213 s:  VX_ZONE_INIT:Enabled
    71.604224 s:  VX_ZONE_ERROR:Enabled
    71.604237 s:  VX_ZONE_WARNING:Enabled
    71.608402 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    71.608591 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
Main started
app_default_param_set start
app_default_param_set end
Default param set! 
app_parse_cmd_line_args start
app_parse_cmd_line_args end
Parsed user params! 
app_querry_sensor start
    71.612742 s: ISS: Enumerating sensors ... !!!
[MCU2_0]     71.614742 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CREATE 
[MCU2_0]     89.501968 s: Error writing to TCA6408 register 0x3 
[MCU2_0]     89.601772 s: rawtestpat_PowerOn Error : initFusion2_UB97x returned 0xffffffff 
[MCU2_0]     89.601833 s: UB960 config start 
[MCU2_0]    107.488499 s: Error writing 0xf0 to UB960 register 0xf 
[MCU2_0]    107.488556 s:  UB960 Error: Reg Write Failed for regAddr f
[MCU2_0]    107.488587 s: End of UB960 config 
[MCU2_0]    107.488628 s: Error : ub960_cfgScript returned -1 while configuring DES 0 
[MCU2_0]    107.488662 s: UB960 config start 
   125.375616 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
   125.375641 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
   125.375662 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
   125.375667 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
   125.375672 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
   125.375677 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
   125.375682 s: ISS: Enumerating sensors ... found 6 : ISX016_UB913A_Q1
7 sensor(s) found 
Supported sensor list: 
a : IMX390-UB953_D3 
b : AR0233-UB953_MARS 
c : AR0820-UB953_LI 
d : UB9xxx_RAW12_TESTPATTERN 
e : UB96x_UYVY_TESTPATTERN 
f : GW_AR0233_UYVY 
g : ISX016_UB913A_Q1 
Select a sensor above or press '0' to autodetect the sensor 
[MCU2_0]    125.375277 s: Error writing 0xf0 to UB960 register 0xf 
[MCU2_0]    125.375331 s:  UB960 Error: Reg Write Failed for regAddr f
[MCU2_0]    125.375363 s: End of UB960 config 
[MCU2_0]    125.375401 s: Error :  returned -1 while configuring DES 1 
[  135.206358] Initializing XFRM netlink socket
[  138.001978] process 'docker/tmp/qemu-check115319298/check' started with executable stack

Invalid selection 169. Try again 
7 sensor(s) found 
Supported sensor list: 
a : IMX390-UB953_D3 
b : AR0233-UB953_MARS 
c : AR0820-UB953_LI 
d : UB9xxx_RAW12_TESTPATTERN 
e : UB96x_UYVY_TESTPATTERN 
f : GW_AR0233_UYVY 
g : ISX016_UB913A_Q1 
Select a sensor above or press '0' to autodetect the sensor 
g
Sensor selected : ISX016_UB913A_Q1
Querying ISX016_UB913A_Q1 
   160.243040 s: ISS: Querying sensor [ISX016_UB913A_Q1] ... !!!
   160.243519 s: ISS: Querying sensor [ISX016_UB913A_Q1] ... Done !!!
LDC Selection Yes(1)/No(0)
Invalid selection 
. Try again 
LDC Selection Yes(1)/No(0)
[MCU2_0]    160.243255 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_QUERY 
[MCU2_0]    160.243331 s: Received Query for ISX016_UB913A_Q1 
1
Max number of cameras supported by sensor ISX016_UB913A_Q1 = 4 
Please enter number of cameras to be enabled 
Invalid selection 
. Try again 
Max number of cameras supported by sensor ISX016_UB913A_Q1 = 4 
Please enter number of cameras to be enabled 
4
app_querry_sensor end
Sensor params queried! 
app_update_param_set start
app_update_param_set end
Updated user params! 
app_init start
Creating context done!
Kernel loading done!
   163.252983 s: ISS: Initializing sensor [ISX016_UB913A_Q1], doing IM_SENSOR_CMD_PWRON ... !!!
   163.253624 s: ISS: Initializing sensor [ISX016_UB913A_Q1], doing IM_SENSOR_CMD_CONFIG ... !!!
[MCU2_0]    163.253193 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWRON 
[MCU2_0]    163.253263 s: IM_SENSOR_CMD_PWRON : channel_mask = 0xf 
[MCU2_0]    163.253338 s: ISX016_PowerOn : chId = 0x0 
[MCU2_0]    163.253381 s: ISX016_PowerOn : chId = 0x1 
[MCU2_0]    163.253419 s: ISX016_PowerOn : chId = 0x2 
[MCU2_0]    163.253457 s: ISX016_PowerOn : chId = 0x3 
[MCU2_0]    163.253835 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG 
[MCU2_0]    163.253890 s: Application requested features = 0x158 
[MCU2_0]  
[MCU2_0]    163.253937 s: UB960 config start 
[MCU2_0]    181.129101 s: Error writing 0x1 to UB960 register 0x4c 
[MCU2_0]    181.129158 s:  UB960 Error: Reg Write Failed for regAddr 4c
[MCU2_0]    181.129190 s: End of UB960 config 
[MCU2_0]    181.129219 s: UB960 config start 
[MCU2_0]    199.003835 s: Error writing 0x1 to UB960 register 0x4c 
[MCU2_0]    199.003889 s:  UB960 Error: Reg Write Failed for regAddr 4c
[MCU2_0]    199.003920 s: End of UB960 config 
[MCU2_0]    216.889985 s: Error reading from UB960 register 0x4c 
[MCU2_0]    216.890030 s: UB960 config start 
[MCU2_0]    234.776874 s: Error writing 0x1 to UB960 register 0x4c 
[MCU2_0]    234.776927 s:  UB960 Error: Reg Write Failed for regAddr 4c
[MCU2_0]    234.776958 s: End of UB960 config 
[MCU2_0]    234.777005 s: ISX016_Probe Error: UB960_SetSensorAlias for chId 0 returned -1 
[MCU2_0]    234.777057 s: Error : sensor probe failed for channel 0 
[MCU2_0]    252.664198 s:  Error reading from UB960 register 0x4c 
[MCU2_0]    252.664240 s: UB960 config start 
[MCU2_0]    270.550771 s: Error writing 0x12 to UB960 register 0x4c 
[MCU2_0]    270.550828 s:  UB960 Error: Reg Write Failed for regAddr 4c
[MCU2_0]    270.550861 s: End of UB960 config 
[MCU2_0]    270.550906 s: ISX016_Probe Error: UB960_SetSensorAlias for chId 1 returned -1 
[MCU2_0]    270.550957 s: Error : sensor probe failed for channel 1 
[MCU2_0]    288.438093 s:  Error reading from UB960 register 0x4c 
[MCU2_0]    288.438134 s: UB960 config start 
[MCU2_0]    306.324940 s: Error writing 0x24 to UB960 register 0x4c 
[MCU2_0]    306.324995 s:  UB960 Error: Reg Write Failed for regAddr 4c
[MCU2_0]    306.325026 s: End of UB960 config 
[MCU2_0]    306.325071 s: ISX016_Probe Error: UB960_SetSensorAlias for chId 2 returned -1 
[MCU2_0]    306.325123 s: Error : sensor probe failed for channel 2 
[MCU2_0]    324.212013 s:  Error reading from UB960 register 0x4c 
[MCU2_0]    324.212056 s: UB960 config start 
[MCU2_0]    342.098627 s: Error writing 0x38 to UB960 register 0x4c 
[MCU2_0]    342.098683 s:  UB960 Error: Reg Write Failed for regAddr 4c
[MCU2_0]    342.098748 s: End of UB960 config 
[MCU2_0]    342.098800 s: ISX016_Probe Error: UB960_SetSensorAlias for chId 3 returned -1 
   342.099085 s: ISS: ERROR: Initializing sensor [ISX016_UB913A_Q1] failed !!!
   342.099099 s: ISS: Initializing sensor [ISX016_UB913A_Q1] ... Done !!!
Error initializing sensor ISX016_UB913A_Q1 
Sensor init done!
Capture init done!
app_init_color_conv() : ENTERING 
app_init_color_conv() : EXITING 
Color Conv init done!
LDC init done!
app_init_color_conv_RGB_NV12_exp() : ENTERING 
app_init_color_conv_RGB_NV12_exp() : EXITING 
Scaler init done!
[MCU2_0]    342.098854 s: Error : sensor probe failed for channel 3 
[MCU2_0]    342.098887 s: IM_SENSOR_CMD_CONFIG returning status = -1 
Computing checksum at 0x0000FFFF8F4AB5C0, size = 942680
TIDL Init Done! 
Pre Proc Update Done! 
Pre Proc Init Done! 
app_init_color_conv_RGB_NV12() : ENTERING 
app_init_color_conv_RGB_NV12() : EXITING 
Pld Init Done! 
Post Proc Update Done! 
Post Proc Init Done! 
Img Mosaic init done!
app_init end
App Init Done!                                                                       
app_create_graph start                                                                
Graph create start!                                                                   
Capture graph done!                                                                
Color Conversion graph done!                                                         
LDC graph done!
app_create_graph_color_conv_RGB_NV12_exp() : ENTERING 
Color convert RGB_NV12 node create started
Color convert node RGB_NV12 create done 
app_create_graph_color_conv_RGB_NV12_exp() : EXITING 
Scaler graph done!
Pre proc graph done!
TIDL graph done!
Draw detections graph done!
app_create_graph_color_conv_RGB_NV12() : ENTERING 
Color convert RGB_NV12 node create started
Color convert node RGB_NV12 create done 
app_create_graph_color_conv_RGB_NV12() : EXITING 
Img Mosaic graph done!
Display graph done!
Pipeline params setup done!
Graph create done!
app_create_graph end
App Create Graph Done! 
app_verify_graph start
[MCU2_0]    342.477079 s:  m2m input is YVYU 
[MCU2_0]    342.478007 s: m2m input is YVYU 
[MCU2_0]    342.478868 s: m2m input is YVYU 
[MCU2_0]    342.479599 s: m2m input is YVYU 
Grapy verify SUCCESS!
app_verify_graph end
App Verify Graph Done! 
app_run_graph_interactive start
   342.608599 s: ISS: Starting sensor [ISX016_UB913A_Q1] ... !!!
[MCU2_0]    342.609170 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON 
[MCU2_0]    342.609254 s: IM_SENSOR_CMD_STREAM_ON:  channel_mask = 0xf
[MCU2_0]    342.609303 s: UB960 config start 

please let me know, what could be the possible reason for this behaviour.

For your reference please find the deserializer, we have modified the j30 jumper to make the 4-camera run with the deserializer


Thanks and Regards,

Vyom Mishra