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/TDA2PXEVM: Questions on the stopping phenomenon after TIDL OD execution

Part Number: TDA2PXEVM

Tool/software: TI-RTOS

Hello.

I executed the TIDL OD usecase with the sample input files supported from TI on the TDA2PX EVM board, but it was not proceed after the following message displayed.

Can you guess what happend?

[IPU1-0]
[IPU1-0] TIDL Usecases
[IPU1-0] ---------------
[IPU1-0] 1: TIDL File I/O Usecase
[IPU1-0] 2: Semantic Segmentation Usecase
[IPU1-0] 3: TIDL OD Usecase
[IPU1-0]
[IPU1-0] x: Exit
[IPU1-0]
[IPU1-0] Enter Choice:
[IPU1-0]
[IPU1-0] 45.748124 s:
[IPU1-0] 47.552491 s: FILE: Reading file [inHeader_OD] ...
[IPU1-0] 47.559903 s: FILE: File read Done. [12000 bytes]
[IPU1-0] 47.589123 s: DECODE: Create in progress ... !!!
[IPU1-0] 47.844872 s: DECODE: Creating CH0 of 768 x 320 [1] [0],target bitrate = 10000 Kbps ...
[IPU1-0] 47.845726 s: DECODE: All CH Create ... DONE !!!
[IPU1-0] 47.847739 s: DECODE: Create ... DONE !!!
[IPU1-0] 47.848136 s: VPE: Create in progress !!!
[IPU1-0] 47.942292 s: VPE: Loading Down-scaling Co-effs
[IPU1-0] 47.942505 s: VPE: Co-effs Loading ... DONE !!!
[IPU1-0] 47.942719 s: VPE: Create Done !!!
[IPU1-0] 47.943786 s: IPC_OUT_0 : Create in progress !!!
[IPU1-0] 47.944152 s: IPC_OUT_0 : Create Done !!!
[IPU1-0] 47.952632 s: SYSTEM: NOTIFY: [EVE4] is NOT ENABLED in this build !!!
[IPU1-0] 47.952723 s: Assertion @ Line: 199 in system_ipc_bios_ipc.c: (Bool)FALSE : failed !!!
[IPU1-0] 47.953150 s: Assertion @ Line: 199 in system_ipc_bios_ipc.c: (Bool)FALSE : failed !!!
[HOST ] 47.944335 s: IPC_IN_0 : Create in progress !!!
[HOST ] 47.944641 s: IPC_IN_0 : Create Done !!!
[HOST ] 47.944763 s: ALGORITHM: Create in progress (algId = 12) !!!
[HOST ] 47.952388 s: UTILS: DMA: Allocated CH (TCC) = 0 (0)
[HOST ] 47.952418 s: UTILS: DMA: 0 of 1: Allocated PaRAM = 0 (0x43305600)
[HOST ] 47.952418 s: ALGORITHM: Create Done (algId = 12) !!!
[HOST ] 47.952540 s: IPC_OUT_3 : Create in progress !!!
[HOST ] 47.952571 s: IPC_OUT_3 : Create Done !!!

  • Hi

    TIDL is not validated on tda2px ,
    for tda2px there are 2 eve . you will have to modify the usecase and then try .


    change the NUM_PIPELINES to 2 and also change the SYNC_DELTA and SYNC_THRESHOLD accordingly

    Regards
    Chetan.M
  • Thank you. Mr. Matad.

    I tried with modified values as below:
    NUM_PIPELINES to 2,
    SYNC_DELTA to 100 (previously 10),
    SYNC_THRESHOLD to 1200 (previously 600)

    Now, I can see different message of failure, and system is stopped.
    Message on the consol is this:

    [IPU1-0]
    [IPU1-0] TIDL Usecases
    [IPU1-0] ---------------
    [IPU1-0] 1: TIDL File I/O Usecase
    [IPU1-0] 2: Semantic Segmentation Usecase
    [IPU1-0] 3: TIDL OD Usecase
    [IPU1-0]
    [IPU1-0] x: Exit
    [IPU1-0]
    [IPU1-0] Enter Choice:
    [IPU1-0]
    [IPU1-0] 17.909534 s:
    [IPU1-0] 19.735100 s: FILE: Reading file [inHeader_OD] ...
    [IPU1-0] 19.742603 s: FILE: File read Done. [12000 bytes]
    [IPU1-0] 19.771823 s: DECODE: Create in progress ... !!!
    [IPU1-0] 20.027511 s: DECODE: Creating CH0 of 768 x 320 [1] [0],target bitrate = 10000 Kbps ...
    [IPU1-0] 20.028365 s: DECODE: All CH Create ... DONE !!!
    [IPU1-0] 20.030378 s: DECODE: Create ... DONE !!!
    [IPU1-0] 20.030805 s: VPE: Create in progress !!!
    [IPU1-0] 20.124870 s: VPE: Loading Down-scaling Co-effs
    [IPU1-0] 20.125083 s: VPE: Co-effs Loading ... DONE !!!
    [IPU1-0] 20.125297 s: VPE: Create Done !!!
    [IPU1-0] 20.126425 s: IPC_OUT_0 : Create in progress !!!
    [IPU1-0] 20.126791 s: IPC_OUT_0 : Create Done !!!
    [HOST ] 20.126974 s: IPC_IN_0 : Create in progress !!!
    [HOST ] 20.127279 s: IPC_IN_0 : Create Done !!!
    [HOST ] 20.127401 s: ALGORITHM: Create in progress (algId = 12) !!!
    [HOST ] 20.132251 s: UTILS: DMA: Allocated CH (TCC) = 0 (0)
    [HOST ] 20.132251 s: UTILS: DMA: 0 of 1: Allocated PaRAM = 0 (0x43305600)
    [HOST ] 20.132251 s: ALGORITHM: Create Done (algId = 12) !!!
    [HOST ] 20.132373 s: IPC_OUT_3 : Create in progress !!!
    [HOST ] 20.132373 s: Assertion @ Line: 219 in ipcOutLink_drv.c: pObj->createArgs.inQueParams.prevLinkQueId < pObj->prevLinkInfo.numQue : failed !!!

    Is it a problem caused by improper SYNC_DELTA or SYNC_THRESHOLD ?

    Thank you.
  • You need to re-create the usecase with 2 eve's .

    Regards
    Chetan.M
  • Hello, Chetan.

    Thank you for your reply.

    Do you mean that I should make the new use-case from the begining (i.e. write *.txt file for chain config)   using "Use-case Generation Tool"?

    Is there any possibility to modify the existing TIDL OD use-case?

    Please give me your opinion.

    Thank you.

    B.R.

    Jeon.

  • Yes ,

    You can use the same usecase .c file but you will have to regenerate the priv .c and .h by modifying the .txt

    Regards
    Chetan.M
  • Hello, Chetan.

    Thank you so much.
    I will try.

    B.R.
    Jeon.