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

    OctoPrint as Canvas... Error Connecting to Duet

    Scheduled Pinned Locked Moved
    Third-party add-ons
    5
    14
    1.2k
    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.
    • BlueDustundefined
      BlueDust
      last edited by

      I am not able to get OctoPrint to connect to DuetEth.

      A few different tests..

      Connecting to: /dev/ttyACM0
      Changing monitoring state from "Offline" to "Opening serial port"
      Connected to: Serial<id=0x6c5afd70, open=True>(port='/dev/ttyACM0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
      Starting baud rate detection...
      Changing monitoring state from "Opening serial port" to "Detecting baudrate"
      Trying baudrate: 115200
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #1
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #2
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #3
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #4
      Send: N0 M110 N0125
      Recv:
      Trying baudrate: 250000
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #1
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #2
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #3
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #4
      Send: N0 M110 N0
      125
      Recv:
      Trying baudrate: 230400
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #1
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #2
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #3
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #4
      Send: N0 M110 N0125
      Recv:
      Trying baudrate: 57600
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #1
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #2
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #3
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #4
      Send: N0 M110 N0
      125
      Recv:
      Trying baudrate: 38400
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #1
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #2
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #3
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #4
      Send: N0 M110 N0125
      Recv:
      Trying baudrate: 19200
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #1
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #2
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #3
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #4
      Send: N0 M110 N0
      125
      Recv:
      Trying baudrate: 9600
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #1
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #2
      Send: N0 M110 N0125
      Recv:
      Baudrate test retry #3
      Send: N0 M110 N0
      125
      Recv:
      Baudrate test retry #4
      Send: N0 M110 N0*125
      Recv:
      Changing monitoring state from "Detecting baudrate" to "Error: No more baudrates to test, and no suitable baudrate found."
      Changing monitoring state from "Error: No more baudrates to test, and no suitable baudrate found." to "Offline (Error: No more baudrates to test, and no suitable baudrate found.)"
      Connection closed, closing down monitor

      Fun, that 3 letter word with "u" in the middle.

      1 Reply Last reply Reply Quote 0
      • BlueDustundefined
        BlueDust
        last edited by

        If I start messing around, and change the Hello from "M110 N0" to "M122"
        It does give me back the Diagnostics, but OctoPrint still things its not working at each baudrate and errors out.

        Sometimes, if I keep messing it with it, the Duet2 just stops responding (per the terminal screen in OctoPi), but it will respond using YAT.

        Fun, that 3 letter word with "u" in the middle.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          I'll have to boot up my Octo pi canvas hub to see if I changed anything, but I don't think there was anything in particular. I used the highest baud rate available without issue.

          I seem to recall a option for ignoring any unhandled errors in Octo prints settings.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • BlueDustundefined
            BlueDust
            last edited by

            Connecting to: /dev/ttyACM0Changing monitoring state from "Offline" to "Opening serial port"Connected to: Serial<id=0x712d0890, open=True>(port='/dev/ttyACM0', baudrate=500000, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitorStarting baud rate detection...Changing monitoring state from "Opening serial port" to "Detecting baudrate"Trying baudrate: 500000Send: N0 M110 N0*125Recv: Error: Bad command: \x01\x0e\x01\x14Changing monitoring state from "Detecting baudrate" to "Error: Bad command: \x01\x0e\x01\x14"Changing monitoring state from "Error: Bad command: \x01\x0e\x01\x14" to "Offline (Error: Bad command: \x01\x0e\x01\x14)"Connection closed, closing down monitor

            Fun, that 3 letter word with "u" in the middle.

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

              I also have used a Canvas Hub and it "just worked". Homebuilt on a PI 3B+, started with the Octoprint image, added the Mosaic plugins, cabled it to Duet USB... and it just worked.

              I do also remember checking the "ignore errors" box, but I believe it had to do with spurious tool changes that Mosaic is/was leaving in the file. I finally started just editing them out between the Mosiac Chroma Post-Process (and/or the online thingie) before putting the SD in the Hub.

              Delta / Kossel printer fanatic

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                Try a different USB cable?

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • BlueDustundefined
                  BlueDust
                  last edited by

                  I have tried 3 cables.
                  The Cable I generally use when I connect the Duet2 to YAT, is the main cable I have been playing with.

                  Fun, that 3 letter word with "u" in the middle.

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

                    • The baud rate setting is irrelevant, because there is no async serial link involved (unlike with almost all 8-bit boards).
                    • The compatibility setting in RRF needs to be set to Marlin, because Octoprint expects to receive an OK response after each command.
                    • Use recent firmware e.g. 2.02. The Octoprint response parser is very fussy about having apparently redundant spaces in exactly the right places in responses, and older versions of RRF had one less space in one of the responses.

                    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

                    BlueDustundefined Dodika3997undefined 2 Replies Last reply Reply Quote 1
                    • BlueDustundefined
                      BlueDust @dc42
                      last edited by

                      @dc42

                      Setting M555 to P2 did it!

                      Thank you! Thank you very much!

                      I am guessing that everyone else who got this working and told me that it just worked, already had this set....

                      Fun, that 3 letter word with "u" in the middle.

                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @BlueDust
                        last edited by

                        @bluedust said in OctoPrint as Canvas... Error Connecting to Duet:

                        I am guessing that everyone else who got this working and told me that it just worked, already had this set....

                        Very likely. I think it's the default in the configurator.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 1
                        • Dodika3997undefined
                          Dodika3997 @dc42
                          last edited by

                          @dc42 Hello, and good morning, ive now come across this problem but i have no idea how to do any of the things you just said to do. i know this forum is old, but i was hoping if you could run me through how to do such things that you describe to do to fix

                          State: Offline (Error: No more baudrates to test, and no suitable baudrate found.)

                          Thank you for your time and have a good day

                          Phaedruxundefined 1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator @Dodika3997
                            last edited by

                            @Dodika3997 Do you have M555 P2 in your config.g?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            Dodika3997undefined 1 Reply Last reply Reply Quote 0
                            • Dodika3997undefined
                              Dodika3997 @Phaedrux
                              last edited by

                              @Phaedrux I dont even know how i would look for that or how to do that.

                              Phaedruxundefined 1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator @Dodika3997
                                last edited by

                                @Dodika3997 You've got a bit of a learning curve ahead of you: https://duet3d.dozuki.com/c/Getting_Started

                                Z-Bot CoreXY Build | Thingiverse Profile

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