Using CDD IPC driver unable to receive maximum allowed 496 bytes of data in VRING

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • MCAL
    • MCAL-27655
    • Hide
      MCUSW_J7_10.00.00
      MCAL_SitaraMPU_10.01.00
      Show
      MCUSW_J7_10.00.00 MCAL_SitaraMPU_10.01.00
    • Hide
      MCAL_SitaraMPU_11.00.00
      MCUSW_J7_11.00.00
      Show
      MCAL_SitaraMPU_11.00.00 MCUSW_J7_11.00.00
    • Hide
      am275x-evm
      am62a-evm
      am62d-evm
      am62p-evm
      am62x-evm
      j7200-evm
      j721e-evm
      j721s2-evm
      j742s2-evm
      j784s4-evm
      Show
      am275x-evm am62a-evm am62d-evm am62p-evm am62x-evm j7200-evm j721e-evm j721s2-evm j742s2-evm j784s4-evm

      Description:
      When trying to recieve 496 bytes (which should be the maximum allowed) an if-statement fails.

      if (((isCtrlMsg == TRUE)  && ((payload->len) < (CDD_IPC_MAX_CTRL_MSG_LEN))) || ((payload->len) < (CDD_IPC_MAX_MSG_LEN)))
      

      if the payload is of exactly 496 bytes (which is CDD_IPC_MAX_MSG_LEN) the message will not be received. The test should look like this:

      ((payload->len) <= (CDD_IPC_MAX_MSG_LEN))
      

      Resolution:
      if condition check such that, the message will not be received for payload of exactly 496 bytes (which is CDD_IPC_MAX_MSG_LEN)
      Root Cause:
      Updated the if condition to recieve the payload of exactly 496 bytes (which is CDD_IPC_MAX_MSG_LEN)

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-5313 - Using CDD IPC driver unable to rece...
                SYNCHRONIZED
                • Last Sync Date: