Uploaded image for project: 'EtherNet/IP Firmware V3'
  1. EtherNet/IP Firmware V3
  2. PSEISV3-189

Periodic calls to RequestSync() in 1ms cycle

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V3.3.2.0, V3.4.0.0
    • Component/s: None
    • Labels:
      None
    • Account:
      SPC EthernetIp Slave (SPCETHERNE)

      Description

      In function EIP_1msCycle(), we call Cip_HandleMNS() which leads to periodic calls to CipId_SetState(CIP_ID_STATE_OPERATIONAL)->CipObj_RequestSync() each millisecond.

      This makes it nearly impossible to debug the EIP core. Also, we waste a lot of CPU time, flood queues, and more exciting stuff.

      Fix this. Do not check & set the MS/NS periodically, but event based. If it has to be checked periodically, then implement a compare&set mechanism to trigger on actual state changes only.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MBommert Marc Bommert
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: