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

Help setting up new Duet 2 Wifi

Scheduled Pinned Locked Moved
General Discussion
3
22
646
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.
  • undefined
    sadrian @Phaedrux
    last edited by 28 Nov 2022, 07:52

    @Phaedrux I have no Windows machine myself, but I tested with one of a friend. In device manager, the board is shown as «serial device COMx». Flashing via bossac works, same result as on macOS. It does not show up as «Duet 2 Wifi …».

    I did not test YAT but I can connect via Serial Tools on macOS. I get no terminal output though.

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 28 Nov 2022, 17:19

      Just to be sure, you've been following along with this guide?

      https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet

      When and where did you purchase the Duet?

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 28 Nov 2022, 18:49 Reply Quote 1
      • undefined
        sadrian @Phaedrux
        last edited by 28 Nov 2022, 18:49

        @Phaedrux basically, yes. Just that the DIAG led is constantly on and that I only get the tty.usbmodem port on macOS after erasing the flash. Once flashed, I get no port shown.

        The board is a refurbished unit that I got directly from Duet, INV-1594. It arrived about two weeks ago.

        undefined 1 Reply Last reply 30 Nov 2022, 19:34 Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by Phaedrux 28 Nov 2022, 19:08

          Are you able to test with YAT when firmware has been flashed?

          Unfortunately modern MacOS complicates things.

          The fact it's taking a firmware flash is promising, and it sounds like a terminal software issue. If you're able to communicate over USB terminal you can add an SSID and then communicate over the network more easily using the web interface.

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 28 Nov 2022, 20:28 Reply Quote 1
          • undefined
            sadrian @Phaedrux
            last edited by sadrian 28 Nov 2022, 20:28

            @Phaedrux I just installed a VM with Windows 10.
            Bossa can flash successfully.
            YAT can connect but gets no answer after flashing but before power cycle.
            After a power cycle, no port is shown.

            Screenshot 2022-11-28 at 21.22.41.png
            Screenshot 2022-11-28 at 21.24.12.png
            Screenshot 2022-11-28 at 21.25.21.png

            Do I flash the correct binary?
            Screenshot 2022-11-28 at 21.29.31.png

            1 Reply Last reply Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by 28 Nov 2022, 20:40

              Yes that would be the correct bin file for a Duet2.

              Will see if DC42 has any thoughts. I find it strange that it will take a flash, but not communicate afterwards.

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 28 Nov 2022, 22:09 Reply Quote 1
              • undefined
                sadrian @Phaedrux
                last edited by sadrian 28 Nov 2022, 22:09

                @Phaedrux thank you for talking to DC42 about this!

                One more observation:
                When flashed and power cycled, no serial port is shown.
                When I short the erase jumper pins with the SD card in, no port is shown.
                Only when I short the pins with the SD card OUT, the BOSSA port is connected.

                For completeness: I verified the SD card once again, formatted FAT32 in Windows. All default config from the RepRap Configurator extracted to the card. Additional folders gcodes and macros.

                Should the board respond in YAT even when no SD card is present? Or must the full system be loaded from SD?

                Screenshot 2022-11-28 at 22.20.20.png Screenshot 2022-11-28 at 22.20.08.png

                undefined 1 Reply Last reply 28 Nov 2022, 22:34 Reply Quote 0
                • undefined
                  Phaedrux Moderator @sadrian
                  last edited by 28 Nov 2022, 22:34

                  @sadrian said in Help setting up new Duet 2 Wifi:

                  Should the board respond in YAT even when no SD card is present?

                  Yes as long as there is firmware that's all that matters for USB serial terminal access.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined 1 Reply Last reply 30 Nov 2022, 11:31 Reply Quote 1
                  • undefined
                    sadrian @Phaedrux
                    last edited by 30 Nov 2022, 11:31

                    Is there anything I can do right now, @Phaedrux ?

                    undefined 1 Reply Last reply 30 Nov 2022, 12:42 Reply Quote 0
                    • undefined
                      droftarts administrators @sadrian
                      last edited by droftarts 30 Nov 2022, 12:42

                      @sadrian Did you try with the SD card removed? Remove the SD card, reset the Duet. Does the DIAG light stay on even then? If not, connect via USB. A Duet with working firmware should show up in the Mac System Information in the USB device tree (this is a Maestro), though make sure the Windows VM isn't capturing the USB port:
                      System info.png
                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      undefined 2 Replies Last reply 30 Nov 2022, 18:34 Reply Quote 1
                      • undefined
                        sadrian @droftarts
                        last edited by 30 Nov 2022, 18:34

                        @droftarts Yes, I did. When flashed and rebooted there is no port at all. Neither on macOS nor Windows, with or without SD card. When I set the erase jumper I get a port. On macOS its tty.usbmodemXXXXX, on Windows its called bossaport(Com3). When I flash and reboot, there's again no port. The diag led has been always on so far.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Phaedrux Moderator
                          last edited by 30 Nov 2022, 18:54

                          When and where did you purchase your Duet?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          undefined 1 Reply Last reply 30 Nov 2022, 19:33 Reply Quote 0
                          • undefined
                            sadrian @Phaedrux
                            last edited by 30 Nov 2022, 19:33

                            @Phaedrux got it directly from Duet, received it 2-3 weeks ago.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Phaedrux Moderator @sadrian
                              last edited by 30 Nov 2022, 19:34

                              @sadrian said in Help setting up new Duet 2 Wifi:

                              The board is a refurbished unit that I got directly from Duet, INV-1594. It arrived about two weeks ago.

                              Right, I forgot about that. Will look into how to proceed and get back to you.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              undefined 1 Reply Last reply 30 Nov 2022, 19:59 Reply Quote 1
                              • undefined
                                sadrian @Phaedrux
                                last edited by 30 Nov 2022, 19:59

                                Thank you, @Phaedrux

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  sadrian @droftarts
                                  last edited by 1 Dec 2022, 08:20

                                  @droftarts my last reply was from memory, here's a screenshot of the port showing when the erase jumper was set:

                                  Screenshot 2022-12-01 at 09.17.08.png

                                  Once flashed, no port is showing anymore.

                                  undefined 1 Reply Last reply 23 Dec 2022, 20:46 Reply Quote 0
                                  • undefined
                                    Phaedrux Moderator
                                    last edited by 1 Dec 2022, 17:34

                                    Please send an email to warranty@duet3d.com. Include a link to this forum thread and the details of your original purchase and details from the first refurb board.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    undefined 1 Reply Last reply 1 Dec 2022, 19:26 Reply Quote 1
                                    • undefined
                                      sadrian @Phaedrux
                                      last edited by 1 Dec 2022, 19:26

                                      Thank you very much for your help @Phaedrux, I'll do that.

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        sadrian @sadrian
                                        last edited by sadrian 23 Dec 2022, 20:46

                                        @Phaedrux The replacement board has arrived and it immediately worked. We could install it in the printer an started configuring today. We have everything working, but one major issue:

                                        Any motor connected to E0 only wiggles/vibrates but doesn't turn. There are no error messages in the console. We tested with several stepper motors. All motors work as expected on any port but E0.

                                        As the built has independent dual z-motors, we can't just use E1 instead of E0.

                                        How can we troubleshoot this?

                                        This is the configuration for the drives:

                                        ; Drive Mappings (S0 = backwards, S1 = forwards)
                                        M569 P0 S0                                                 ; Drive 0 goes forwards: X Axis
                                        M569 P1 S1                                                 ; Drive 1 goes forwards: Y Axis
                                        M569 P2 S0                                                 ; Drive 2 goes forwards: Z Axis Left
                                        M569 P3 S0                                                 ; Drive 3 goes backward: E Axis
                                        M569 P4 S0                                                 ; Drive 4 goes forwards: Z Axis Right (using E1)
                                        
                                        ; Motor Configuration
                                        M350 X16 Y16 Z16 E16 I1                                    ; Set X, Y, and Z Microstepping with interpolation 
                                        M92 X100.00 Y100.00 Z400.00 E397.00                        ; Steps per mm
                                        M566 X840.00 Y840.00 Z48.00 E120.00 P1                     ; Set maximum instantaneous speed changes (mm/min)
                                        M203 X15000.00 Y15000.00 Z900.00 E1200.00                  ; Set maximum speeds (mm/min)
                                        M201 X4000.00 Y4000.00 Z1000.00 E600.00                    ; Set accelerations (mm/s^2)
                                        M906 X620.00 Y620.00 Z560.00 E1000.00 I10.                 ; Set motor currents (mA) and motor idle factor in percent
                                        M84 S30   
                                        

                                        === EDIT ===

                                        This definitely comes from the config: When I boot a generic config, drive E0 works normal. Maybe you can see something in the config above, already? If not, I'll have a try again in a few days.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          Phaedrux Moderator
                                          last edited by 24 Dec 2022, 02:45

                                          I don't see an M584 command in your sample to bind the drivers to an axis.

                                          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