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.

Tda4VMEco SDK 8.4.0.2 com.ti.tidl service



Hello,

I enabled C7x_1 IPC by opening the comment.
#define ENABLE_IPC_C7x_1
I replaced c7x_1 binary
After porting the SDK, I tried to run my application and faced this error.
  3148.968581 s:  VX_ZONE_ERROR:[ownContextSendCmd:814] Command ack message returned failure cmd_status: -1
  3148.968615 s:  VX_ZONE_ERROR:[ownContextSendCmd:850] tivxEventWait() failed.
  3148.968628 s:  VX_ZONE_ERROR:[ownNodeKernelInit:538] Target kernel, TIVX_CMD_NODE_CREATE failed for node node_145
  3148.968637 s:  VX_ZONE_ERROR:[ownNodeKernelInit:539] Please be sure the target callbacks have been registered for this core
  3148.968644 s:  VX_ZONE_ERROR:[ownNodeKernelInit:540] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
  3148.968653 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 0, kernel com.ti.tidl ... failed !!!
  3148.968671 s:  VX_ZONE_ERROR:[vxVerifyGraph:2055] Node kernel init failed
  3148.968679 s:  VX_ZONE_ERROR:[vxVerifyGraph:2109] Graph verify failed
It looks like the SDK does not support com.ti.tidl
I compared 8.4.0.2 and 8.2.2 and found the TI SDKs handle the service slightly differently.
8.4.0.2: Introduce an intermediate variable and pass the service name.
/* Create kernel name by concatonating TIDL kernel name with number of input and output tensors to create a unique kernel */
    snprintf( tidl_kernel_name, VX_MAX_KERNEL_NAME, "%s:%d:%d", TIVX_KERNEL_TIDL_NAME, num_input_tensors, num_output_tensors );
kernel = vxAddUserKernel(tidl_kernel_name);
8.2.2: directly pass the service name.
kernel = vxAddUserKernel(TIVX_KERNEL_TIDL_NAME);
I tried to replace the 8.4.0.2 code with the 8.2.2 code(direct passing).
make vx_kernels_tidl.
make sdk
make vision_apps
build my application
but it looks the same.
That is, the com.ti.tidl service looks not available with the 8.4.0.2.
If anybody can provide any advice, please let me know. Slight smile
Best regards,