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: Using A15 instead of IPU

Part Number: TDA2PXEVM

Tool/software: TI-RTOS

Hello,

I wrote new algo link and it is working well in IPU0_1.

But, when I change the processor for new algo link to A15, a link creation was failed like below:

[IPU1-0] Vision SDK Usecases,
[IPU1-0] --------------------
[IPU1-0] 1: Single Camera Usecases
[IPU1-0] 2: Multi-Camera LVDS Usecases
[IPU1-0] 3: AVB RX Usecases, (TDA2x & TDA2Ex ONLY)
[IPU1-0] 4: Dual Display Usecases, (TDA2x EVM ONLY)
[IPU1-0] 5: ISS Usecases, (TDA3x ONLY)
[IPU1-0] 6: TDA2x Stereo Usecases
[IPU1-0] a: Miscellaneous test's
[IPU1-0] b: OPENCL Usecases (TDA2x EVM ONLY)
[IPU1-0] f: TIDL Usecase
[IPU1-0]
[IPU1-0] s: System Settings
[IPU1-0]
[IPU1-0] x: Exit
[IPU1-0]
[IPU1-0] Enter Choice:
[IPU1-0]
[IPU1-0] 20.463002 s:
[IPU1-0] 20.463124 s:
[IPU1-0]
[IPU1-0] ISS Usecases (TDA3x ONLY)
[IPU1-0] ---------------------------
[IPU1-0] 1: 1CH ISS capture + ISS ISP + ISS LDC+VTNF + Display
[IPU1-0]
[IPU1-0] x: Exit
[IPU1-0]
[IPU1-0] Enter Choice:
[IPU1-0]
[IPU1-0] 21.938967 s:
[IPU1-0] 21.939120 s: Entered Chains_issIspSimcop_Display()
[IPU1-0] 23.659946 s: ISSCAPTURE: Create in progress !!!
[IPU1-0] 23.661227 s: UTILS: DMA: Allocated CH (TCC) = 48 (48)
[IPU1-0] 23.661379 s: UTILS: DMA: 0 of 1: Allocated PaRAM = 48 (0x63304800)
[IPU1-0] 23.661623 s: ISSCAPTURE: Create Done !!!
[IPU1-0] 23.661776 s: IPC_OUT_0 : Create in progress !!!
[IPU1-0] 23.662081 s: IPC_OUT_0 : Create Done !!!
[IPU1-0] 23.662782 s: Assertion @ Line: 213 in /home/gooddata/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/apps/src/rtos/usecases/iss_capture_isp_simcop_display/chains_issIspSimcop_Display_priv.c: status == SYSTEM_LINK_STATUS_SOK : failed !!!
[IPU1-0] 23.664033 s: Assertion @ Line: 213 in /home/gooddata/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/apps/src/rtos/usecases/iss_capture_isp_simcop_display/chains_issIspSimcop_Display_priv.c: status == SYSTEM_LINK_STATUS_SOK : failed !!!
[HOST ] 23.662233 s: IPC_IN_0 : Create in progress !!!
[HOST ] 23.662538 s: IPC_IN_0 : Create Done !!!
[HOST ] 23.662721 s: ALG: ERROR: No alg create function specified (algId = 14) !!!

The only difference is a processor configureation.

I modified a chains_issIspSimcop_Display.txt (Alg_newalgolink (IPU0_1) to Alg_newalgolink (A15)),

and regenerated usecase.

Could you give me some advice why this situation happend?

  • Hi Jeon,

    In addition to this, you also require to add this algorithm for A15. Please include this algo in A15, register it for A15, include alg id for A15 etc..
    Without this, since algo is not registered for A15, it will fail.

    Rgds,
    Brijesh
  • Hi Brijesh,

    At first, I modified ~/vision_sdk/apps/src/common/app_init/app_init_a15.c file.

    I put some code like below:
    #ifdef ALG_NewAlgo
    Int32 AlgorithmLink_NewAlgo_initPlugin(void);
    #endif

    and.. call AlgorithmLink_NewAlgo_initPlugin(); functions at App_init()
    #ifdef ALG_NewAlgo
    AlgorithmLink_NewAlgo_initPlugin();
    #endif

    Next, I modifed ~/vision_sdk/apps/src/rtos/usecases/iss_capture_isp_simcop_display/chains_issIspSimcop_Display.c
    I put some code in chains_issIspSimcop_Display_SetNewAlgoAlgPrms()
    if (chainsCfg->algProcId == SYSTEM_PROC_A15_0)
    {
    pPrm->baseClassCreate.algId = ALGORITHM_LINK_A15_ALG_NEWALGO;
    }

    and add some code in chains_issIspSimcop_Display_SetAppPrms()
    pUcObj->IPCIn_A15_0_IPU1_0_0LinkID =
    SYSTEM_MAKE_LINK_ID(pObj->chainsCfg->algProcId, pUcObj->IPCIn_A15_0_IPU1_0_0LinkID);
    pUcObj->Alg_NewAlgoLinkID =
    SYSTEM_MAKE_LINK_ID(pObj->chainsCfg->algProcId, pUcObj->Alg_NewAlgoLinkID );
    pUcObj->IPCOut_A15_0_IPU1_0_0LinkID =
    SYSTEM_MAKE_LINK_ID(pObj->chainsCfg->algProcId, pUcObj->IPCOut_A15_0_IPU1_0_0LinkID );


    What should I do next?

    Thank you.

    Regards,
    Jeon

  • Hi Jeon,

    The changes look fine. did it work? do you still see this issue?

    Rgds,
    Brijesh
  • Hi Brijesh,

    I solved this problem.
    Thank you.

    Regards,
    Jeon