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.

[TDA4M] In PSDKRA v0.9 appRemoteServiceRun function for MCU2_1 is hanging.

Other Parts Discussed in Thread: TDA4VM

Hello.

I'm using TDA4VM EVM & PSDKRA / PSDKLA v0.9.

But application app_single_cam_main appRemoteServiceRun function for MCU2_1 is hanging.

application is stopped.

It looks like IPC call for MPU1_0 --> MCU2_1 is not working, so it is hanging.

For using IM_SENSOR_CMD_QUERY ... IOCTL appRemoteServiceRun have to run.

Is there any modify point for this problem at PSDKRA v0.9 ?

regards,

Jukyeong

  • Hello,

    I find where to IPC call is stopped.

    After TDA4VM EVM Linux booting.

    $ cd /opt/vision_apps

    $ ./vision_apps_init.sh

    Through working and In the MCU2_1

    app_init --> appDssDefaultInit( ) --> appDctrlDefaultInit( )

    -->     retVal+= appRemoteServiceRun(cpuId, APP_DCTRL_REMOTE_SERVICE_NAME, APP_DCTRL_CMD_SET_PATH, &pathInfo, sizeof(pathInfo), 0U);

    This IPC call is not respond.

    Through IPC call stopped in here.

    static int32_t appDctrlSetPathCmd(Fvid2_Handle handle,
                                      const app_dctrl_path_info_t *pathInfo,
                                      uint32_t params_size)

    {

    ......

    retVal = Fvid2_control(handle, IOCTL_DSS_DCTRL_SET_PATH, &drvPathInfo, NULL);

    ......

    }

    So this APP_DCTRL_CMD_SET_PATH IPC calling is have to disabled and It is not affect to display?

    regards,

    Jukyeong

  • When disable ENABLE_DSS_EDP,

    IPC call APP_DCTRL_CMD_SET_PATH is not stopped.

    DP-port for display is not supported in the PSDK version 0.9 ?

    regards,

    Jukyeong

  • Hi Jukyeong,

    Can you disable ENABLE_DSS when you enable ENABLE_DSS_EDP and try?

    Regards,

    Rishabh

  • Hi Jukyeong,

    Please ignore the previous suggestion.

    It seems that DP programming on your setup is not working properly and hence you are getting this hang.

    SDK 0.9 supports DP but on some displays the same is not working consistently and currently this issue is under debug.

    I would suggest you to disable ENABLE_DSS_EDP and move ahead with HDMI display.

    Regards,

    Rishabh

  • Sorry, I replied below before reading Rishabh's comments.

    Yes, look like MCU2-1 is stuck in eDP init, this is a known issue.

    Disable eDP as mentioned in the user guide.

    This means you wont see anything on display unless you have HDMI, but the rest of MCU2-1 IPC will work.

    regards
    Kedar

    hi Jukyeong,

    You can confirm IPC is working by running the vx_app_linux_arm_ipc.out.

    This has a unit level test for appRemoteServiceRun between MPU1_0 and MCU2_1.

    If this is passing then tell me which lines the singe_cam_app is exactly hanging.

    If this is failing then send me complete log right from the start of Linux boot.

    Btw, do you have a Fusion1 daughtercard and IMX390 sensor connected to the EVM ?

    regards
    Kedar

  • Yes, IPC is work properly. It is not a problem to communicate MPU1_0 <---> MCU2_1.

    But Display EDP related function is stopped, so it looks like IPC is hanging.

    I have only TDA4VM SOM / CP / Fusion-1 boards and OV2775 camera sensor.

    We make custom camera interface board to connect our camera sensor at EVM.

    I am work to porting our camera sensor w/ our custom camera interface board.

    So I asked this question.

    I want to see camera image via DP-port.

    Because I don't have FPD-LINK board to see HDMI output.

    Is there anyway to using CP board's DP-port at PSDK version 0.9 ?

    regards

    Jukyeong

  • We have tried DP with below monitor, if you can get one of these it should work

      • DELL P2417H
      • DELL P2419H
      • LG27UK650

    In next release we are trying to improve the DP display support.

    regards
    Kedar

  • I mean we have to disable  ENABLE_DSS_EDP define for IPC call in upper comments.

    So, disabled ENABLE_DSS_EDP define how to dp-port is working ?????

    regards,

    Jukyeong

  • Hi Jukyeong,

    In case you use any of the monitors mentioned by Kedar you don't need to disable ENABLE_DSS_EDP.

    IPC will work without any issues as DP call will not result in a hang.

    On other monitors DP might not work and hence you will need to comment ENABLE_DSS_EDP.

    In this case only option is to use HDMI for display which needs a daughter card.

    Regards,

    Rishabh

  • Hi Rishabh,

    I understand about Kedar's comment.

    I am sorry to miss understand, commented monitor's needed for using dp-port for now.

    How about using DP to HDMI gender?

    Is it same as limited by monitor?

    Regards

    Jukyeong 

  • Hi Jukyeong,

    We have not tried DP to HDMI convertors so far.

    However I am not sure how link training will work for this case.

    Regards,

    Rishabh