AM64/AM243: M4F core getting hangs when doing IPC with Linux

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • SITSW-5891
    • 08.06.00
    • 11.01.00
    • Hide
      am243x-evm
      am64xx-evm
      Show
      am243x-evm am64xx-evm

      One of the customer is trying to do IPC between RTOS on M4F core and linux running on A53 core.

      Test Procedure:

      Linux on A53 core is continuously sending messages to M4F core and not waiting for any response from the M4F core.

      M4F core is sleeping for 40 sec. Once M4F core comes out of Sleep function it starts to process the messages. After some time the M4F core hangs.

      From debug I found it is getting stuck in the below piece of code.

       

      if(msgValue == rxMsgValue)
      {   /* check full ring */
         while((RPMessage_vringIsFullRxBuf(remoteCoreId) != 0U))
         {
             RPMessage_recvHandler(remoteCoreId);
         }
      }  

       

      Please refer below e2e - 

      https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1365362/processor-sdk-am62x-multicore-development-ipc-process-multiple-endpoints-reserved-memory-purpose 

       

      Please go through the attached zip file for code changes.

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-5301 - AM64/AM243: M4F core getting hangs ...
                SYNCHRONIZED
                • Last Sync Date: