Uploaded image for project: 'Sitara MPU & SPMCU SDKs'
  1. Sitara MPU & SPMCU SDKs
  2. EXT_SITMPUSW-38

Remote core getting hangs when doing IPC with HLOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • SITSW-5091
    • 08.06.00
    • 10.01.00
    • Hide
      am62xx-sk
      am62xx-sk-lp
      am62x-sip-sk
      am62a-sk
      am62p-sk
      am62d-evm
      Show
      am62xx-sk am62xx-sk-lp am62x-sip-sk am62a-sk am62p-sk am62d-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 the 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.

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

              Created:
              Updated:
              Resolved: