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.

RTOS/TDA2SX: assertion error in system link create function

Part Number: TDA2SX

Tool/software: TI-RTOS

Hi I wanted to do a frame copy on tidl_OD use case , following is the txt file generated :

UseCase: chains_tidlOD

capture-> Dup

Dup -> Alg_FrameCopy (A15) -> Null

Dup -> Merge

Dup -> Alg_tidlpreproc (A15)

Alg_tidlpreproc (A15) -> Alg_tidl_Eve1 (EVE1)
Alg_tidlpreproc (A15) -> Alg_tidl_Eve2 (EVE2)
Alg_tidlpreproc (A15) -> Alg_tidl_Eve3 (EVE3)
Alg_tidlpreproc (A15) -> Alg_tidl_Eve4 (EVE4)

Alg_tidl_Eve1 (EVE1) -> Merge_OD (DSP1)
Alg_tidl_Eve2 (EVE2) -> Merge_OD (DSP1)
Alg_tidl_Eve3 (EVE3) -> Merge_OD (DSP1)
Alg_tidl_Eve4 (EVE4) -> Merge_OD (DSP1)
Merge_OD (DSP1) -> Alg_tidl_Dsp (DSP1) -> Merge

Merge -> Sync -> Alg_tiop (DSP1) -> Alg_ObjectDraw -> Display

GrpxSrc -> Display_Grpx

I am just redirecting the frame copy output to null source for later use . everything is got compiled but when i try to execute the use case im getting the following error 

 vision_sdk/apps/src/rtos/usecases/tidl_OD/chains_tidlOD_priv.c: status == SYSTEM_LINK_STATU!

Is this something related to data format . Kindly advise . 

  • Hi Surendar,

    can you make sure the Alg_frameCopy is set with correct Alg ID, it should be set as below for A15
    pPrm->baseClassCreate.algId = ALGORITHM_LINK_A15_ALG_FRAMECOPY;

    Also Frame Copy algo is supports only for YUV formats, what is the input format to it?

    Regards,
    Yordan
  • Hi Yordan ,

    Yes , I cross checked it , the Alg ID is set as below

    (pObj->Alg_FrameCopyPrm).baseClassCreate.size = sizeof(AlgorithmLink_FrameCopyCreateParams);
    (pObj->Alg_FrameCopyPrm).baseClassCreate.algId = ALGORITHM_LINK_A15_ALG_FRAMECOPY;

    The data format we are using is SYSTEM_DF_YUV420SP_UV , so it is YUV only .
  • Hi,

    You need to check first which link creation is getting failed.
    In assertion it will tell the line no using which you will get to know which link is failing.
    Please go inside the create function of that link and check where exactly it fails.
    Please share the log also.

    Regards,
    Anuj
  • Hi Anuj ,

    Framecopy link creation is getting failed  . Below is the log file.

    Inside the create function it is actually getting redirected to "vision_sdk/links_fw/src/hlos/system/system_linkApi.c" file

    I could not print statements from that file using vps_printf

    Kindly advise me where I am going wrong

    [HOST ] 18.627767 s: ALGORITHM: Create in progress (algId = 12) !!!
    [HOST ] 18.634203 s: UTILS: DMA: Allocated CH (TCC) = 0 (0)
    [HOST ] 18.634203 s: UTILS: DMA: 0 of 1: Allocated PaRAM = 0 (0x43305600)
    [HOST ] 18.634234 s: ALGORITHM: Create Done (algId = 12) !!!
    [HOST ] 18.634325 s: IPC_OUT_4 : Create in progress !!!
    [HOST ] 18.634356 s: IPC_OUT_4 : Create Done !!!
    [EVE4 ] 18.634600 s: IPC_IN_0 : Create in progress !!!
    [EVE4 ] 18.635454 s: IPC_IN_0 : Create Done !!!
    [EVE4 ] 18.636186 s: ALGORITHM: Create in progress (algId = 14) !!!
    [HOST ] 20.387146 s: IPC_OUT_3 : Create in progress !!!
    [HOST ] 20.387177 s: IPC_OUT_3 : Create Done !!!
    [DSP1 ] 20.386506 s: IPC_IN_3 : Create in progress !!!
    [DSP1 ] 20.387024 s: IPC_IN_3 : Create Done !!!
    [EVE3 ] 20.387421 s: IPC_IN_0 : Create in progress !!!
    [EVE3 ] 20.388275 s: IPC_IN_0 : Create Done !!!
    [EVE3 ] 20.389007 s: ALGORITHM: Create in progress (algId = 14) !!!
    [EVE4 ] 20.384859 s: ALGORITHM: Create Done (algId = 14) !!!
    [EVE4 ] 20.385652 s: IPC_OUT_0 : Create in progress !!!
    [EVE4 ] 20.386079 s: IPC_OUT_0 : Create Done !!!
    [HOST ] 22.141127 s: IPC_OUT_2 : Create in progress !!!
    [HOST ] 22.141157 s: IPC_OUT_2 : Create Done !!!
    [DSP1 ] 22.140547 s: IPC_IN_2 : Create in progress !!!
    [DSP1 ] 22.141005 s: IPC_IN_2 : Create Done !!!
    [EVE2 ] 22.141401 s: IPC_IN_0 : Create in progress !!!
    [EVE2 ] 22.142255 s: IPC_IN_0 : Create Done !!!
    [EVE2 ] 22.142835 s: ALGORITHM: Create in progress (algId = 14) !!!
    [EVE3 ] 22.139053 s: ALGORITHM: Create Done (algId = 14) !!!
    [EVE3 ] 22.139663 s: IPC_OUT_0 : Create in progress !!!
    [EVE3 ] 22.140059 s: IPC_OUT_0 : Create Done !!!
    [HOST ] 23.906209 s: IPC_OUT_1 : Create in progress !!!
    [HOST ] 23.906240 s: IPC_OUT_1 : Create Done !!!
    [DSP1 ] 23.905599 s: IPC_IN_1 : Create in progress !!!
    [DSP1 ] 23.906087 s: IPC_IN_1 : Create Done !!!
    [EVE1 ] 23.906484 s: IPC_IN_0 : Create in progress !!!
    [EVE1 ] 23.907338 s: IPC_IN_0 : Create Done !!!
    [EVE1 ] 23.907918 s: ALGORITHM: Create in progress (algId = 14) !!!
    [EVE2 ] 23.904013 s: ALGORITHM: Create Done (algId = 14) !!!
    [EVE2 ] 23.904623 s: IPC_OUT_0 : Create in progress !!!
    [EVE2 ] 23.905050 s: IPC_OUT_0 : Create Done !!!
    [DSP1 ] 25.667327 s: IPC_IN_0 : Create in progress !!!
    [DSP1 ] 25.667876 s: IPC_IN_0 : Create Done !!!
    [DSP1 ] 25.668212 s: ALGORITHM: Create in progress (algId = 36) !!!
    [DSP1 ] 25.675257 s: ALGORITHM: Create Done (algId = 36) !!!
    [DSP1 ] 25.675623 s: IPC_OUT_0 : Create in progress !!!
    [DSP1 ] 25.675684 s: IPC_OUT_0 : Create Done !!!
    [DSP1 ] 25.678521 s: IPC_IN_4 : Create in progress !!!
    [DSP1 ] 25.678887 s: IPC_IN_4 : Create Done !!!
    [DSP1 ] 25.679070 s: ALGORITHM: Create in progress (algId = 39) !!!
    [DSP1 ] 25.680717 s: ALGORITHM: Create Done (algId = 39) !!!
    [DSP1 ] 25.680900 s: IPC_OUT_1 : Create in progress !!!
    [DSP1 ] 25.680991 s: IPC_OUT_1 : Create Done !!!
    [EVE1 ] 25.665924 s: ALGORITHM: Create Done (algId = 14) !!!
    [EVE1 ] 25.666503 s: IPC_OUT_0 : Create in progress !!!
    [EVE1 ] 25.666931 s: IPC_OUT_0 : Create Done !!!
    [IPU1-0] 25.675806 s: IPC_IN_1 : Create in progress !!!
    [IPU1-0] 25.676843 s: IPC_IN_1 : Create Done !!!
    [IPU1-0] 25.677911 s: IPC_OUT_2 : Create in progress !!!
    [IPU1-0] 25.678307 s: IPC_OUT_2 : Create Done !!!
    [IPU1-0] 25.681083 s: IPC_IN_2 : Create in progress !!!
    [IPU1-0] 25.682120 s: IPC_IN_2 : Create Done !!!
    [IPU1-0] 25.682303 s: ALGORITHM: Create in progress (algId = 1) !!!
    [IPU1-0] 25.683462 s: UTILS: DMA: Allocated CH (TCC) = 48 (48)
    [IPU1-0] 25.683584 s: UTILS: DMA: 0 of 1: Allocated PaRAM = 48 (0x63304800)
    [IPU1-0] 25.700817 s: ALGORITHM: Create Done (algId = 1) !!!
    [IPU1-0] 25.701000 s: DISPLAY: Create in progress !!!
    [IPU1-0] 25.701610 s: DISPLAY: Create Done !!!
    [IPU1-0] 25.701762 s: IPC_OUT_0 : Create in progress !!!
    [IPU1-0] 25.702067 s: IPC_OUT_0 : Create Done !!!
    [IPU1-0] 25.702799 s: Assertion @ Line: 621 in /media/vkchlt0206/fdbf61f5-d55c-482a-9f92-a3684a80bce5/vision_sdk/apps/src/rtos/usecases/tidl_OD/chains_tidlOD_priv.c: status == SYSTEM_LINK_STATU!
    [IPU1-0] 25.703745 s: Assertion @ Line: 621 in /media/vkchlt0206/fdbf61f5-d55c-482a-9f92-a3684a80bce5/vision_sdk/apps/src/rtos/usecases/tidl_OD/chains_tidlOD_priv.c: status == SYSTEM_LINK_STATU!
    [HOST ] 25.702250 s: IPC_IN_0 : Create in progress !!!
    [HOST ] 25.702555 s: IPC_IN_0 : Create Done !!!
    [HOST ] 25.702708 s: ALGORITHM: Create in progress (algId = 0) !!!
    [HOST ] 25.702738 s: --------------framecopy surendar ---------------------------
    [HOST ] 25.702738 s: ALGORITHM: Create Done (algId = 0) !!!

  • Hi,

    Please check inside AlgorithmLink_frameCopyCreate() where it is going wrong.

    Regards,
    Anuj
  • Hi,

    I haven't heard back from you, I'm assuming you were able to resolve your issue.
    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    Regards,
    Anuj