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: SDK_09_01: TIDL node replicate issue

Part Number: TDA4VM


Hi, TI

I found another issue in SDK_09_01, dl_demos/app_tidl_avp2/app_tidl_mudole.c.

- When the macro 'COMPUTE_CHECKSUM' is disableed(which is set by default), the tidl_node can replicate successfully.

- If I enable 'COMPUTE_CHECKSUM', the app will not work.

- If I enable 'COMPUTE_CHECKSUM' and close replicate func in tidl_node, the app can work fine.

I looked up for SDK_08_05, this macro is all enabled. So Why did it have such an impact in SDK 9.1 ?

Regards,

Damon

  • Thanks for the question.

    Let me check with TIOVX expert

  • Hi Damon,

    Yes, I see it being disabled in SDK 9.1. May I know what is the error that you are seeing if you enable the same?

    Could you please share your application logs along with the remote core logs (i.e. run vision_apps_init.sh before running the application)

    Regards,

    Nikhil

  • Hi Nikhil,

    Here are the logs:

    root@Linux:/opt/vision_apps/tidl_test# ./vx_app_tidl_avp2.out --cfg config/app_avp2.cfg
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=5) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
        80.876617 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
        80.886946 s:  VX_ZONE_INIT:Enabled
        80.886987 s:  VX_ZONE_ERROR:Enabled
        80.886993 s:  VX_ZONE_WARNING:Enabled
        80.888115 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
        80.896463 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
    Computing checksum at 0x0000FFFF7A0E5180, size = 7568240
    Computing checksum at 0x0000FFFF79B3EAC0, size = 5369904
        81.661295 s:  VX_ZONE_ERROR:[ownContextSendCmd:822] Command ack message returned failure cmd_status: -1
        81.661348 s:  VX_ZONE_ERROR:[ownContextSendCmd:862] tivxEventWait() failed.
        81.661357 s:  VX_ZONE_ERROR:[ownNodeKernelInit:584] Target kernel, TIVX_CMD_NODE_CREATE failed for node PCTIDLNode
        81.661363 s:  VX_ZONE_ERROR:[ownNodeKernelInit:585] Please be sure the target callbacks have been registered for this core
        81.661370 s:  VX_ZONE_ERROR:[ownNodeKernelInit:586] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
        81.661378 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 2, kernel com.ti.tidl:1:1 ... failed !!!
        81.661409 s:  VX_ZONE_ERROR:[vxVerifyGraph:2059] Node kernel init failed
        81.661415 s:  VX_ZONE_ERROR:[vxVerifyGraph:2113] Graph verify failed
    MSC: Node send command failed!
    [C7x_1 ]     81.661068 s:  VX_ZONE_ERROR:[testChecksum:1087] Computing checksum at 0x00000000, size = -1199588672
        82.079847 s:  VX_ZONE_WARNING:[vxReleaseContext:1088] Found a reference 0xffff85c2d170 of type 0000080f at external count 1, internal count 0, releasing it
        82.079895 s:  VX_ZONE_WARNING:[vxReleaseContext:1090] Releasing reference (name=image_168) now as a part of garbage collection
        82.080030 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:115] De-Initialization Done for HOST !!!
        82.084423 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
    APP: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... Done !!!
    IPC: Deinit ... !!!
    IPC: DeInit ... Done !!!
    MEM: Deinit ... !!!
    DDR_SHARED_MEM: Alloc's: 111 alloc's of 50314734 bytes
    DDR_SHARED_MEM: Free's : 111 free's  of 50314734 bytes
    DDR_SHARED_MEM: Open's : 0 allocs  of 0 bytes
    MEM: Deinit ... Done !!!
    APP: Deinit ... Done !!!
    root@Linux:/opt/vision_apps/tidl_test#
    

    Regards,

    Damon