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: tidl_od_cam in SDK 7.1

Part Number: TDA4VM

Hi,

We are trying to use the tidl_od_cam app in SDK 7.1 but are facing an error with mosaic node when trying to run the app on the board. We have the app working in SDK 7.0 with a few patches applied, given by TI but the app doesn't seem to run on the SDK 7.1. I have attached the log of app on TDA4 board. 

root@j7-evm:/opt/vision_apps# ./vx_app_tidl_od_cam.out --cfg app_tidl_od_cam.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 !!!
APP: Init ... Done !!!
   332.421596 s:  VX_ZONE_INIT:Enabled
   332.421622 s:  VX_ZONE_ERROR:Enabled
   332.421635 s:  VX_ZONE_WARNING:Enabled
   332.422113 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
   332.422301 s:  VX_ZONE_INIT:[tivxHostInit:48] Initialization Done for HOST !!!
   332.422408 s: ISS: Enumerating sensors ... !!!
   332.422847 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
   332.422854 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
   332.422859 s: ISS: Enumerating sensors ... found 2 : AR0820-MAX9295
   332.422863 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
   332.422867 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
   332.422872 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
Sensor selected : IMX390-UB953_D3
Querying IMX390-UB953_D3 
   332.422882 s: ISS: Querying sensor [IMX390-UB953_D3] ... !!!
   332.423053 s: ISS: Querying sensor [IMX390-UB953_D3] ... Done !!!
   332.431401 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_PWRON ... !!!
   333.232131 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_CONFIG ... !!!
   336.010915 s: ISS: Initializing sensor [IMX390-UB953_D3] ... Done !!!
Scaler output1 width   = 512
Scaler output1 height  = 512
Scaler output2 width   = 1024
Scaler output2 height  = 512
Computing checksum at 0x0000FFFF9C9143C0, size = 911672
   336.399206 s:  VX_ZONE_ERROR:[ownContextSendCmd:782] Command ack message returned failure cmd_status: -1
   336.399232 s:  VX_ZONE_ERROR:[ownContextSendCmd:818] tivxEventWait() failed.
   336.399253 s:  VX_ZONE_ERROR:[ownNodeKernelInit:526] Target kernel, TIVX_CMD_NODE_CREATE failed
   336.399259 s:  VX_ZONE_ERROR:[ownNodeKernelInit:527] Please be sure the target callbacks have been registered for this core
   336.399265 s:  VX_ZONE_ERROR:[ownNodeKernelInit:528] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
   336.399442 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 8, kernel com.ti.img_proc.img.mosaic ... failed !!!
   336.399458 s:  VX_ZONE_ERROR:[vxVerifyGraph:2010] Node kernel init failed
   336.399463 s:  VX_ZONE_ERROR:[vxVerifyGraph:2064] Graph verify failed
   336.505987 s: ISS: De-initializing sensor [IMX390-UB953_D3] ... !!!
   336.506133 s: ISS: De-initializing sensor [IMX390-UB953_D3] ... Done !!!
   336.631791 s:  VX_ZONE_INIT:[tivxHostDeInit:56] De-Initialization Done for HOST !!!
   336.636127 s:  VX_ZONE_INIT:[tivxDeInit:111] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
MEM: Alloc's: 101 alloc's of 102217195 bytes 
MEM: Free's : 101 free's  of 102217195 bytes 
MEM: Open's : 0 allocs  of 0 bytes 
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!

I also changed the reference name for image mosaic from mossaic_node to MosaicNode and ran the app again, and attached the log here. I can only see the TIDL icon but no video stream for this.

root@j7-evm:/opt/vision_apps# ./vx_app_tidl_od_cam.out --cfg app_tidl_od_cam.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 !!!
APP: Init ... Done !!!
    28.166647 s:  VX_ZONE_INIT:Enabled
    28.166685 s:  VX_ZONE_ERROR:Enabled
    28.166690 s:  VX_ZONE_WARNING:Enabled
    28.167299 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
    28.167484 s:  VX_ZONE_INIT:[tivxHostInit:48] Initialization Done for HOST !!!
    28.170536 s: ISS: Enumerating sensors ... !!!
    28.170964 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
    28.170971 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
    28.170975 s: ISS: Enumerating sensors ... found 2 : AR0820-MAX9295
    28.170980 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
    28.170984 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
    28.170988 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
Sensor selected : IMX390-UB953_D3
Querying IMX390-UB953_D3 
    28.170998 s: ISS: Querying sensor [IMX390-UB953_D3] ... !!!
    28.171176 s: ISS: Querying sensor [IMX390-UB953_D3] ... Done !!!
    28.178397 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_PWRON ... !!!
    28.979186 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_CONFIG ... !!!
    31.756991 s: ISS: Initializing sensor [IMX390-UB953_D3] ... Done !!!
Scaler output1 width   = 512
Scaler output1 height  = 512
Scaler output2 width   = 1024
Scaler output2 height  = 512
Computing checksum at 0x0000FFFFA72243C0, size = 911672

Let me know if we need to make any changes to the SDK or the app. Let me know if you need me to send you the app as well.

Regards,

Prithvi