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.

Linux: TDA2x, TIDL_OD Usecase on Linux, file open error



Tool/software: Linux

Hi.

I'm working on porting TIDL_OD Usecase to Linux + BIOS using TDA2xx EVM.

I moved the TIDL/TIOP algorithm and chains_common_tidl.h, etc to hlos directory and successfully build TIDL app.

However, an error occurs in the tidl_Init() function when the application is executed.

pObj->netFileName = "/opt/vision_sdk/tidl_net_jdetNet_ssd.bin"

fp = ChainsCommon_Osal_fileOpen(pObj->netFileName, CHAINSCOMMON_OSAL_FILEMODE_READ_BIN);
Vps_printf("[DEBUG] Read file : %s", pObj->netFileName);
UTILS_assert(-1 != fp);

 ASSERT (chains_ti_dl_od.c|tidl_Init|183)

 "ChainsCommon_Osal_fileOpen()" function does not support Null Source(A15)?

If "ChainsCommon_Osal_fileOpen" function does nor support NullSource, How can I fix it?

Thanks.