AM62A7-Q1: [AM62A] Issue running third-party algorithm on Linux + MCU+ SDK environment

Part Number: AM62A7-Q1

Headline: Issue with running custom vendor algorithm on AM62A product board

Environment:

  • Hardware: Custom AM62A product board
  • SDK Version: Latest (including Linux Kernel 6.12, ti-firmware-builder  v11.01.05  , and mcu+sdk 11.01.00.16+  )
  • Software Stack: Linux + MCU+ C7X SDK integration

Description:
I am currently working on a product board based on the TI AM62A. I am using the latest SDK versions for the Linux kernel, ti-firmware-builder, and the MCU+ SDK.

While attempting to integrate and run a custom algorithm provided by our vendor, I encountered the following error:

Error Logs:

root@cadms:~# /userfs/root/hi_dms_supr 
[DMS BASE] [2025-05-30 00:31:54.762] INFO  : 92: -------- Init start --------
[DMS BASE] [2025-05-30 00:31:54.762] INFO  : 129: HENRUN_DMS_EU_ENCAP2026_3.00.00.2026.01.30.0, pinned_version=3.00.00.2026.01.30.0, default_standard=0, sup_subreg_mask=5 
libtidl_onnxrt_EP loaded 0xffff9c75d580 
Final number of subgraphs created are : 1, - Offloaded Nodes - 229, Total Nodes - 229 
APP: Init ... !!!
    94.973917 s: MEM: Init ... !!!
    94.974321 s: MEM: Initialized DMA HEAP (fd=10) !!!
    94.974654 s: MEM: Init ... Done !!!
    94.974775 s: IPC: Init ... !!!
    94.990584 s: IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
    94.997128 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
    94.999807 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
    94.999877 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
    94.999890 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
    95.003686 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target MPU-0 
    95.004027 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target MPU-1 
    95.004304 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target MPU-2 
    95.004628 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target MPU-3 
    95.004677 s:  VX_ZONE_INFO: [tivxInitLocal:202] Initialization Done !!!
    95.004747 s:  VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
    95.021444 s:  VX_ZONE_ERROR: [ownContextSendCmd:1001] Command ack message returned failure cmd_status: -1
    95.021496 s:  VX_ZONE_ERROR: [ownNodeKernelInit:704] Target kernel, TIVX_CMD_NODE_CREATE failed for node TIDLNode
    95.021508 s:  VX_ZONE_ERROR: [ownNodeKernelInit:705] Please be sure the target callbacks have been registered for this core
    95.021521 s:  VX_ZONE_ERROR: [ownNodeKernelInit:706] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
    95.021536 s:  VX_ZONE_ERROR: [ownGraphNodeKernelInit:793] kernel init for node 0, kernel com.ti.tidl:1:2 ... failed !!!
    95.021598 s:  VX_ZONE_ERROR: [ TIDL subgraph output2 ] Node kernel init failed
    95.021612 s:  VX_ZONE_ERROR: [ TIDL subgraph output2 ] Graph verify failed
[C7x_1 ]     95.021179 s:  VX_ZONE_ERROR: [tivxKernelTIDLCreate:1115] Network version - 0x20241120, Expected version - **0x20250821**
Context:

The algorithm is being integrated into the existing SDK framework. I have ensured that the firmware is correctly built and loaded, but the execution fails with the error shown above.

Questions:

  1. Based on the error log, what could be the potential root cause of this issue?
  2. Are there any specific memory mapping or resource allocation considerations I should check when running custom algorithms on the AM62A with the latest SDK?
  3. Is there any additional configuration required in ti-firmware-builder or the device tree for this type of integration?

Any guidance or suggestions would be greatly appreciated. Thank you!

  • Hi epoll,

    It is our pleasure to help.

    While attempting to integrate and run a custom algorithm provided by our vendor, I encountered the following error:

    When you say custom algorithm, do you mean you are replacing the fw for c7x and not using the default TIDL fw on c7x? We do not provide support for running custom fw on c7x.  Otherwise, please provide more details about what you changed.

    Best regards,

    Qutaiba

  • Hi epoll,

    Looking closely at the error:

    [C7x_1 ]     95.021179 s:  VX_ZONE_ERROR: [tivxKernelTIDLCreate:1115] Network version - 0x20241120, Expected version - **0x20250821**

    It seems that the model you are trying to run is for an older sdk. TIDL version 0x20250821 is for SDK 11.1 which you installed while the algorithm is using a model from compiled on version 0x20241120 is for SDK 10.1. 

    You have to either go back to use the SDK which was used to compile the model or recompile the model for the new SDK.

    Best regards,

    Qutaiba