AM6421: ipcnotify not working

Part Number: AM6421
Other Parts Discussed in Thread: SYSCONFIG

Hi,

   We are using AM6421 SOC in below configuration and SDK's used as below.

 1) A53 - Linux PROCESSOR-SDK-LINUX-RT-AM64X Version: 11.02.08.02

2) R5F0_0 - INDUSTRIAL-COMMUNICATIONS-SDK-AM64X Version: 11.00.00.13 

3) R5F1_0 : MCU+ SDK  Version: 11.00.00.15

 

  We are using IPCNotify mechanism between R5F0_0 and R5F1_0.

 -  The IPC notify works fine when we use  IpcNotify_sendMsg() Api to send IPCNotify from R5F1_0 to      R5F0_0. Able to go to the registered call back for the notify clientId.

 -  But when we use IpcNotify_sendMsg() Api to send IPCNotify from R5F0_0 to      R5F1_0. Not able            to go to the registered call back for the notify clientId.

   Please suggest how we can slove this issue.

The SDK's used on R5F0_0 and R5F1_0 are given above.

   

 

 

 
  • Hi,

    Please suggest how we can slove this issue.

    Are you calling the IpcNotify_sendMsg() API with correct parameters? Have you registered the callback function using IpcNotify_registerClient () API?

    Regards,

    Tushar

  • Hi Tushar,

               Thank you for the response.

                Yes we are calling the  IpcNotify_sendMsg()  api with correct parameters.

                 and we  have registered the callback function using IpcNotify_registerClient () API.

                   The same works when we use IpcNotify_sendMsg() from MCU+SDK application running on R5F1_0  to 

                   Industrial SDK running on R5F0_0.

                   We are able to use in both ways with MCU+SDK 9 and Industrial SDK 9

  • Hi Narasimha,

    I tried the above at my setup and able to notify from both cores.

    Please refer the project attached below.

    Project - IPC_notify.zip

    Regards,

    Tushar

  • Hi Tushar,

             Can you please confirm if you have used

              Industrial Communication SDK on R5F0_0 : INDUSTRIAL-COMMUNICATIONS-SDK-AM64X Version: 11.00.00.13 

              MCU+SDK on R5F1_0 : MCU+ SDK  Version: 11.00.00.15

           Even we tested with MCU+SDK on both cores and it works.

             But not on in above configuration.

  • Hi Narasimha,

    Industrial Communication SDK on R5F0_0 : INDUSTRIAL-COMMUNICATIONS-SDK-AM64X Version: 11.00.00.13 

              MCU+SDK on R5F1_0 : MCU+ SDK  Version: 11.00.00.15

    Yes, I have tested with the above mentioned configuration.

    You can see the project properties of attached zip to confirm the configurations.

    Regards,

    Tushar

  • Hi Tushar,

                  I have tried the project send by you.

                  I am getting the below error 

    and 

      As per this error it is expecting the CCS 20.4.0 which is not the CCS to be used in the SDK we are using.

     In the SDK we are using it is CCS12.8.1 and TI ARM CLANG 4.0.1 LTS.

    Again we are giving the SDK versions we are using 

     1) A53 - Linux PROCESSOR-SDK-LINUX-RT-AM64X Version: 11.02.08.02     

    2) R5F0_0 - INDUSTRIAL-COMMUNICATIONS-SDK-AM64X Version: 11.00.00.13 

            CCS 12.8.1 

           TI ARM CLANG 4.0.1 LTS

           SysConfig 1.22.0 

    3) R5F1_0 : MCU+ SDK  Version: 11.00.00.15

            CCS 12.8.1 

           TI ARM CLANG 4.0.1 LTS

           SysConfig 1.22.0 

  • Hi Narasimha,

    I have created the above project using latest CCS v20.4.0 and it looks like this is not compatible with older versions of CCS. I will create the project using CCS v12.8.1 and share it on the thread.

    Regards,

    Tushar

  • Hi Tushar,

                 Thank you for the response.

                 We have tried the reference project sent by you. It was working as is.

                But when we modify the project of R5F0_0 core by enabling ethercat feature.The R5F0_0 core project compiles without errors.

                But the R5F1_0 project  without ethercat fails with below error 

    Please suggest how to resolve.

     In brief our requirement is on R5F0_0 we have ethercat protocol running.

     and on R5F1_0 we have another application running without ethercat and ipc should work between the 2 cores.

  • Hi,

    Can you please share the build logs for the R5F1-0 project? There will be error messages in the logs specifying the cause of error.

    Also Have you tried doing IPC between the R5F0-0 and R5F1-0 example both from Industrial SDK?

    Regards,

    Tushar

  • Hi Tushar,

                  Thank you for the response.

              Below is the build log for R5F1_0

    Yes we have  tried doing IPC between the R5F0-0 and R5F1-0 example what is sent by you.

  • Hello Narasimha,

    The Ethercat module which the example is trying to find is in Industrial SDK and not in the MCU+SDK. 

    Please try building the example using MCU+SDK provided as part of Industrial Communication SDK.

    In CCS open the project properties, navigate to Resources -> Linked Resources -> Path Variables

    Update the value of COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR variable with the path of your Indus Comm SDK.

    It should be like ${INDUS_SDK}/mcu_plus_sdk.

    Let us know if this works.

    Regards,

    Tushar