Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Error count | M122 ?

    Scheduled Pinned Locked Moved
    General Discussion
    2
    5
    225
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • User3Dundefined
      User3D
      last edited by User3D

      M122 output:

      -Ethernet-
      state : active
      Error counts : 0 0 1 0 0
      socket states : 5 2 2 2 2 0 0 0

      what does this error count inform?
      Using board - Duet3 MB6HC (3.3beta)
      X-Y on EXP1XD
      Observing using DWC 3.2

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        The error counts are:

        rxErrorCount, rxBuffersNotFullyPopulatedCount, txErrorCount, txBufferNotFreeCount, txBufferTooShortCount
        

        The nonzero txErrorCount means either there was a "Transmit Frame Corruption Due to AHB Error" or "HRESP Not OK" error. From the datasheet:

        Bit 4 – TFC Transmit Frame Corruption Due to AHB Error
        This bit is set when an error occurs during reading transmit frame from the AHB. Error causes include HRESP errors and buffers exhausted mid frame. (If the buffers run out during transmission of a frame then transmission stops, FCS shall be bad and GTXER asserted).
        In DMA packet buffer mode, this bit is also set if a single frame is too large for the configured packet buffer memory size.

        Bit 8 – HRESP HRESP Not OK
        Set when the DMA block sees HRESP not OK.

        The datasheet doesn't explain HRESP but it seems to be related to Ethernet in general rather than to Microchip's MAC implementation.

        Do you get these errors frequently?

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        User3Dundefined 1 Reply Last reply Reply Quote 0
        • User3Dundefined
          User3D @dc42
          last edited by

          @dc42 said in Error count | M122 ?:

          Do you get these errors frequently?

          @dc42 YES !

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            Does the Ethernet connection run reliably, or not?

            Do you just get one txerror when you first connect? I'm wondering whether the client is trying to see whether the Duet will accept a jumbo frame, or something like that.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            User3Dundefined 1 Reply Last reply Reply Quote 0
            • User3Dundefined
              User3D @dc42
              last edited by User3D

              @dc42 said in Error count | M122 ?:

              Does the Ethernet connection run reliably, or not?

              yes I suppose. DWC works fine!

              Do you just get one txerror when you first connect?

              I get it all the time... after connecting , during print , after print finishes .
              If it is so because of unreliable Ethernet connection then how do i verify that?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA