Uploaded image for project: 'EtherNet/IP Scanner'
  1. EtherNet/IP Scanner
  2. PSEIM-546

Detection of successful autonegotiation is not properly implemented

    Details

    • Account:
      SPC EthernetIp Master (SPCETHERNETMA)

      Description

      The stack currently does this:

      if( tConnectionState.fIsLinkUp )
      { /* link is up */

        ulStatusFlags |= 0x01;   /* set flag "link up" */

        if (tConnectionState.fIsFullDuplex)
        {
          ulStatusFlags |= 0x02;   /* set flag "Full Duplex"          */
          ulStatusFlags |= 0x0C;   /* set flag "auto neg successful"  */
        }
        else
        {
          ulStatusFlags |= 0x08;   /* set flag "auto neg failed but detected speed" */
        }
      }

      Which of course fails for fixed duplex mode 100 MBit/s full.
      We need access to more PHY status information from within the stack (2PS/STDMAC needs adaption).

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    KMichel Kai Michel
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: