Uploaded image for project: 'rcX - Operating System'
  1. rcX - Operating System
  2. RCX-348

2-Port EDD driver may call send confirmation callback twice under special conditions, even if multiple callbacks is disabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V2.0.4.5
    • Fix Version/s: V2.0.5.0
    • Component/s: Drivers
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      The internal EDD architecture provides a mechanism to combine the two callbacks provided by XPEC to a single ARM callback. This is decided by the EDD_MASTER_CONFIRMATION bit which is inserted by the 2Port Switch. Under special timing conditions it is possible that this is signalled twice and the user's send callback is called twice.

      This only happens under special timing conditions, which were not reproducible with in-house test setup.

      This raises a fatal error inside the TCP/IP stack which results in one port not being handled anymore. After a special amount of time, it is possible that the second port also gets stuck, due to resource limits being reached (no more entries in EMPTY pointer FIFO)

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MTrensch Michael Trensch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: