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: VX_Zone Error while TDA4 doing TIDL

Part Number: TDA4VM


HI CHamps:

I'm able to run the Single + MultiCam demo on the TDA4 EVM without any problem.

But, while I run the other demos, I have met those 2 errors, logs are posted as the below.

Any solution to fix it?

Thanks.

BR Rio

Case 1: ./run_app_tidl_cam.sh will have the VX_Zone error.

432.653252 s: ISS: Initializing sensor [IMX390-UB953_D3] ... Done !!!
Scaler output1 width = 960
Scaler output1 height = 540
Scaler output2 width = 480
Scaler output2 height = 270
Config file size (0 bytes) does not match size of sTIDL_IOBufDesc_t (36360 bytes)
432.655374 s: VX_ZONE_ERROR:[vxGetStatus:700] Reference is NULL
432.655380 s: VX_ZONE_ERROR:[vxMapUserDataObject:473] Invalid user data object reference
[MCU2_0] 432.653056 s: IMX390 config done
[MCU2_0] 432.653122 s: IM_SENSOR_CMD_CONFIG returning status = 0
./run_app_tidl_cam.sh: line 1: 1464 Segmentation fault (core dumped) /opt/vision_apps/vx_app_tidl_cam.out --cfg /opt/vision_apps/app_tidl_cam.cfg

Case 2: 

root@j7-evm:/opt/vision_apps# ./run_app_tidl.sh
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 !!!
289.331336 s: VX_ZONE_INIT:Enabled
289.331344 s: VX_ZONE_ERROR:Enabled
289.331348 s: VX_ZONE_WARNING:Enabled
289.331840 s: VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
289.332041 s: VX_ZONE_INIT:[tivxHostInit:48] Initialization Done for HOST !!!
app_tidl: ERROR: Config file size (0 bytes) does not match size of sTIDL_IOBufDesc_t (36360 bytes)
289.332755 s: VX_ZONE_ERROR:[vxCreateUserDataObject:193] Invalid size for the user data object.
289.332990 s: VX_ZONE_ERROR:[tivxAddKernelTIDL:260] invalid values for num_input_tensors or num_output_tensors
289.342393 s: VX_ZONE_ERROR:[tivx_utils_bmp_read:883] Invalid file size: 0 bytes.
289.342883 s: VX_ZONE_ERROR:[vxMapUserDataObject:473] Invalid user data object reference
./run_app_tidl.sh: line 1: 1424 Segmentation fault (core dumped) /opt/vision_apps/vx_app_tidl.out --cfg app_oc.cfg