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

    Windows unable to flash Duet3 despite BOSSA port showing...

    Scheduled Pinned Locked Moved
    General Discussion
    4
    23
    691
    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.
    • A Former User?
      A Former User @Jim46
      last edited by

      @Jim46 said in Windows unable to flash Duet3 despite BOSSA port showing...:

      Not sure how to address the M550 message...

      set the name after M550 to "duet3" or put a ; in front of M550 to eliminate it all together (its only really used when in stand alone mode)

      1 Reply Last reply Reply Quote 0
      • Jim46undefined
        Jim46
        last edited by

        Wow! After the updates to RRF and DWC. I ran Z+25; Y+50 and X+50. Y and Z worked! Two motors on Y and two motors on Z and the both turned!
        X+50 did nothing but gave me errors on being disconnected. It referenced drive 0. That one is empty. X motor is on 1 i hope.

        IMG_5164.JPG

        Here is the physical set up...

        IMG_5161.JPG

        The Wiring diagram ...

        IMG_5162.JPG

        A Former User? 1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          Hi Jim, sounds like you've gotten some positive progress now.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @Jim46
            last edited by A Former User

            @Jim46 said in Windows unable to flash Duet3 despite BOSSA port showing...:

            X+50 did nothing but gave me errors on being disconnected. It referenced drive 0. That one is empty. X motor is on 1 i hope.

            good progress, I think that is solved by changing the drive mapping to M584 E0 X1 Y2:3 Z4:5 ; set drive mapping dual y on 2&3 + dual z on 4&5

            1 Reply Last reply Reply Quote 0
            • Jim46undefined
              Jim46
              last edited by

              @bearer said in Windows unable to flash Duet3 despite BOSSA port showing...:

              M584 E0 X1 Y2:3 Z4:5 ; set drive mapping dual y on 2&3 + dual z on 4&5

              Updated Config.g with this M584 code. Wonderful improvement.
              Single X motor moves on + and - commands
              Two Y motors move on + and - commands
              Tried to run Z motors... gave + and - commands... the Y motors moved slowly in + and - directions.
              No Z motor movement.
              Here's is the config.g

              ; Configuration file for Duet 3 (firmware version 3)
              ; executed by the firmware on start-up
              ;
              ; generated by RepRapFirmware Configuration Tool v2.1.8 on Mon May 04 2020 10:26:28 GMT-0600 (Mountain Daylight Time)
               
              ; General preferences
              G90                            ; send absolute coordinates...
              M83                            ; ...but relative extruder moves
              M550 P"duet3"             ; set printer name
               
              ; Network
              M552 P0.0.0.0 S1               ; enable network and acquire dynamic address via DHCP
              M586 P0 S1                     ; enable HTTP
              M586 P1 S0                     ; disable FTP
              M586 P2 S0                     ; disable Telnet
               
              ; Drives
              M569 P0 S1                   ; physical drive 0 goes forwards
              M569 P1 S1                   ; physical drive 1 goes forwards
              M569 P2 S1                   ; physical drive 2 goes forwards
              M569 P3 S1                   ; physical drive 3 goes forwards
              M569 P4 S1                   ; physical drive 4 goes forwards
              M569 P5 S1                   ; physical drive 5 goes forwards
              M584 E0 X1 Y2:3 Z4:5 ; set drive mapping dual y on 2&3 + dual z on 4&5
              M350 X16 Y16 Z16 I1            ; configure microstepping with interpolation
              M92 X53.33 Y53.33 Z53.33       ; set steps per mm
              M566 X900.00 Y900.00 Z12.00    ; set maximum instantaneous speed changes (mm/min)
              M203 X6000.00 Y6000.00 Z180.00 ; set maximum speeds (mm/min)
              M201 X500.00 Y500.00 Z20.00    ; set accelerations (mm/s^2)
              M906 X800 Y800 Z800 I30        ; set motor currents (mA) and motor idle factor in per cent
              M84 S30                        ; Set idle timeout
               
              ; Axis Limits
              M208 X0 Y0 Z0 S1               ; set axis minima
              M208 X1000 Y1000 Z1000 S0      ; set axis maxima
               
              ; Endstops
              M574 X1 S1 P"io1.in"
              M574 Y1 S1 P"io2.in"
              M574 Z1 S1 P"io3.in"
               
              ; Z-Probe
              M558 P0 H5 F120 T6000          ; disable Z probe but set dive height, probe speed and travel speed
              M557 X0:1000 Y0:1000 S50       ; define mesh grid
               
              ; Heaters
               
              ; Fans
               
              ; Tools
               
              ; Custom settings are not defined
              M302 P1 ; allow cold extusion
              

              any ideas

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

                @Jim46 said in Windows unable to flash Duet3 despite BOSSA port showing...:

                M350 X16 Y16 Z16 I1            ; configure microstepping with interpolation                                                                                                                                                                            
                M92 X53.33 Y53.33 Z53.33       ; set steps per mm                                                                                                                                                                            
                M566 X900.00 Y900.00 Z12.00    ; set maximum instantaneous speed changes (mm/min)                                                                                                                                                                            
                M203 X6000.00 Y6000.00 Z180.00 ; set maximum speeds (mm/min)                                                                                                                                                                            
                M201 X500.00 Y500.00 Z20.00    ; set accelerations (mm/s^2)                                                                                                                                                                            
                M906 X800 Y800 Z800 I30        ; set motor currents (mA) and motor idle factor in per cent
                

                Hi Jim, I think you'll need to set some values for the E axis in these commands.

                M350 X16 Y16 Z16 E16 I1            ; configure microstepping with interpolation
                M92 X53.33 Y53.33 Z53.33 E400     ; set steps per mm
                M566 X900.00 Y900.00 Z12.00 E2000   ; set maximum instantaneous speed changes (mm/min)
                M203 X6000.00 Y6000.00 Z180.00 E6000; set maximum speeds (mm/min)
                M201 X500.00 Y500.00 Z20.00 E3000   ; set accelerations (mm/s^2)
                M906 X800 Y800 Z800 E800 I30        ; set motor currents (mA) and motor idle factor in per cent
                

                Note I just guessed at the values for steps per mm, etc etc for your extruder. You'd need to have an educated guess on what they should be.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User
                  last edited by

                  I think its over to the config wizzards now, they're all over the forum:)

                  1 Reply Last reply Reply Quote 0
                  • Jim46undefined
                    Jim46
                    last edited by

                    Hi Phaedrux,
                    Just edited config.g with your suggestions adding E400 to M92; E2000 to M566; E6000 to M203; and E3000 to M201.
                    No change to motor behavior. No Z motor movement. Y motors do both Y and Z commands. Some sort of motor confusion.

                    1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User
                      last edited by

                      Maybe roll back the dual motor drive and test each driver individually. Simplest would be to first test

                      M584 E0 X1 Y2 Z4 and then M584 E0 X1 Y3 Z5 and see what moves.

                      if you put all three lines in your config.g file you can easily select which is inactive by placing a ; in from of them.

                      so test Y on driver 2 + Z on driver 4

                      ;M584 E0 X1 Y2:3 Z4:5 ; set drive mapping dual y on 2&3 + dual z on 4&5
                      M584 E0 X1 Y2 Z4
                      ;M584 E0 X1 Y3 Z5
                      

                      then test Y on driver 3 + Z on driver 5

                      ;M584 E0 X1 Y2:3 Z4:5 ; set drive mapping dual y on 2&3 + dual z on 4&5
                      ;M584 E0 X1 Y2 Z4
                      M584 E0 X1 Y3 Z5
                      

                      and when you're ready to go back do the original

                      M584 E0 X1 Y2:3 Z4:5 ; set drive mapping dual y on 2&3 + dual z on 4&5
                      ;M584 E0 X1 Y2 Z4
                      ;M584 E0 X1 Y3 Z5
                      
                      1 Reply Last reply Reply Quote 0
                      • Jim46undefined
                        Jim46
                        last edited by

                        Hi Bearer, here is the setup now

                        M569 P4 S1                   ; physical drive 4 goes forwards
                        M569 P5 S1                   ; physical drive 5 goes forwards
                        M584 E0 X1 Y2 Z4             ; set drive mapping dual y on 2&3 + dual z on 4&5
                        M584 E0 X1 Y3 Z5             ; new set up 050820 date
                        M350 X16 Y16 Z16 I1            ; configure microstepping with interpolation
                        M92  X53.33 Y53.33 Z53.33 E400      ; set steps per mm
                        M566 X900.00 Y900.00 Z12.00 E2000   ; set maximum instantaneous speed changes (mm/min)
                        M203 X6000.00 Y6000.00 Z180.00 E6000 ; set maximum speeds (mm/min)
                        M201 X500.00 Y500.00 Z20.00 E3000    ; set accelerations (mm/s^2)
                        

                        First test: This set up caused the X motor to run as expected.
                        Also a single Y motor moved (Not both)
                        And, wonderful, now a Z motor moved (not both).
                        I would have expected both Y motors and Z motors to move together/
                        Is there something I've not set right?
                        thanks,
                        Jim

                        1 Reply Last reply Reply Quote 0
                        • A Former User?
                          A Former User
                          last edited by

                          Only one M584 line at the time and test the drivers do work independently.

                          The ideal outcome is y on driver 2 moves and z on driver 4 moves, then put in the second line and hopefully y on driver 3 and z on driver 5 will move.

                          then after verifying each move independently get back to trying to get both to move.

                          1 Reply Last reply Reply Quote 0
                          • Jim46undefined
                            Jim46
                            last edited by

                            more precisely;
                            X motor on Driver 1 moved +/-
                            Y motor on Driver 3 moved +/-
                            Z motor on Driver 5 moved +/-

                            Driver 2 & 4 no response.

                            A Former User? 1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @Jim46
                              last edited by

                              @Jim46 said in Windows unable to flash Duet3 despite BOSSA port showing...:

                              Driver 2 & 4 no response.

                              presumably because the second M584 line overrode the first; remove or comment out the second line and verify drivers 2 and 4 work.

                              1 Reply Last reply Reply Quote 0
                              • Jim46undefined
                                Jim46
                                last edited by

                                M569 P5 S1                   ; physical drive 5 goes forwards
                                M584 E0 X1 Y2 Z4             ; set drive mapping dual y on 2&3 + dual z on 4&5
                                ;M584 E0 X1 Y3 Z5             ; new set up 050820 date
                                M350 X16 Y16 Z16 I1            ; configure microstepping with interpolation
                                

                                this caused:
                                Succcesful movements,
                                Y motor on Driver 2 moves +/-
                                Z motor on Driver 4 moves +/-

                                1 Reply Last reply Reply Quote 0
                                • Jim46undefined
                                  Jim46
                                  last edited by

                                  At this point I've been able to verify successful movements of motors on:
                                  X moves +/- on Driver 1
                                  Y1 on Driver 2 moves +/-
                                  Y2 on Driver 3 moves +/-
                                  Y1 and Y2 not together
                                  Z1 on Driver 4 moves +/-
                                  Z2 on Driver 5 moves +/-
                                  Z1 and Z2 not together

                                  1 Reply Last reply Reply Quote 0
                                  • Jim46undefined
                                    Jim46
                                    last edited by

                                    Can you write this and would it work?

                                    M584 E0 X1 Y2 Y3 Z4 Z5

                                    A Former User? 1 Reply Last reply Reply Quote 0
                                    • A Former User?
                                      A Former User @Jim46
                                      last edited by A Former User

                                      @Jim46 said in Windows unable to flash Duet3 despite BOSSA port showing...:

                                      Can you write this and would it work?

                                      M584 E0 X1 Y2 Y3 Z4 Z5

                                      ah, they all worked independently then, thats good.

                                      afaik the correct syntax was M584 E0 X1 Y2:3 Z4:5 but it could be some of the other commands require changes. Suggest you end this thread and create a new called "Independent dual X and dual Z" and post your config there to attract a config wizzard

                                      ref https://forum.duet3d.com/topic/7773/forum-feature-mark-as-question-solved/2 on how to tag a thread as solved. first tag as question, then tag as answered.

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