Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Errors while connecting to DuetEthernet using USB

    Duet Hardware and wiring
    3
    9
    1257
    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.
    • Dr_Ju_Ju
      Dr_Ju_Ju last edited by

      Never had any problems before today, but following Windows updates (why they should make a difference I don't know), but when trying to connect to the printer from Pronterface\Simplify3D\Slic3r I'm getting an error message back:

      "Error: Bad command: XYZv3/query=aM105"

      My Duet is current:

      Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
      Firmware Electronics: Duet Ethernet 1.02 or later
      Firmware Version: 1.21 (2018-03-21)
      Web Interface Version: 1.21

      and I've checked\re-installed the USB driver, but still get the message. Everything appears to be ok using the Web interface, but I like to push\print direct from the slicer...

      Any help gratefully received. Julian

      Julian,

      Old goat, learning new things….

      1 Reply Last reply Reply Quote 0
      • Danal
        Danal last edited by

        Just for debugging, you might wish to try a USB / Serial Terminal program. YAT (Yet Another Terminal), Termite, or similar.

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • Dr_Ju_Ju
          Dr_Ju_Ju last edited by

          Thanks for the suggestion. Installed Yat, & downloaded & updated the drivers supplied by DC, for the RC candidate last week.

          Yat connects ok with no errors, & I can issue commands, also with no errors. e.g.
          M408
          {"status":"I","heaters":[25.8,25.1],"active":[0.0,0.0],"standby":[0.0,0.0],"hstat":[2,2],"pos":[150.000,145.000,20.000],"machine":[150.000,145.000,20.000],"sfactor":100.00,"efactor":[100.00],"babystep":0.000,"tool":0,"probe":"0","fanPercent":[0.00,100.00,50.00,0.00,0.00,0.00,0.00,0.00,0.00],"fanRPM":0,"homed":[1,1,1],"msgBox.mode":-1}<LF>

          Pronterface now connects with no errors, Slic3r will mostly connect but will some times fail with the "Bad command" string.

          Simply3d refuses to connect, with the following:

          Attempting connection at \.\COM8...
          Testing plaintext communication protocol...
          READ: Error: Bad command: XYZv3/query=aG90
          Testing binary communication protocol...
          Testing alternate communication protocols...
          WARNING: CRC mismatch detected
          READ: or: Bad command: ·XYZ_@3D:
          Connection failed.

          So I suspext it's more of an issue with Simply3d, which I'll take up with them directly..

          Thanks

          Julian,

          Old goat, learning new things….

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

            Make sure you set S3D to use "hardware flow control".

            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

            1 Reply Last reply Reply Quote 0
            • Dr_Ju_Ju
              Dr_Ju_Ju last edited by

              Thank you,

              I can now connect to the printer from S3D and can get it to do one thing, e.g. if I issue the Home All command, it works, but machine won't accept further commands, and it refuses to print and\or set temperatures etc.

              But at least its' a step in the right direction...

              Julian,

              Old goat, learning new things….

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

                @dr_ju_ju, do you have emulation set to Marlin, which is P2 in the M552 M555 command in config.g?

                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

                1 Reply Last reply Reply Quote 0
                • Dr_Ju_Ju
                  Dr_Ju_Ju last edited by

                  I take it you mean M555, and mine is set to P1 (RepRap firmware). I'll try P2 & see what happens

                  Julian,

                  Old goat, learning new things….

                  1 Reply Last reply Reply Quote 0
                  • Dr_Ju_Ju
                    Dr_Ju_Ju last edited by Dr_Ju_Ju

                    Thank you DC, for even though S3D states that they fully support RepRap, setting the printer to Marlin emulation (M555 P2), fixed all the issues.

                    I doesn't even need to have hand-shaking set ??

                    Julian,

                    Old goat, learning new things….

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

                      The Duet has a native USB port, (not a USB-to-serial converter as almost all 8-bit boards have), so handshaking is done by the device driver automatically.

                      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

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