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

Firmware 2.02 Release candidate 3 now available

Scheduled Pinned Locked Moved
Firmware installation
31
104
15.7k
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
    zerspaner_gerd
    last edited by zerspaner_gerd 11 Aug 2018, 14:54 8 Nov 2018, 14:51

    Something must be done against the accidental confirmations!

    But scary that apparently all existing buttons / commands can be executed in print, what could happen there.

    Everyone is responsible for themselves which G M command he sends over the g-code Console Manuel. But the buttons, menus Head Movement should actually be locked at a printing, so rather DWC and PanelDue firmware?

    Board: Duet WiFi 1.03 | Firmware Version: 3.1.1 | WiFi Server Version: 1.23 | Web Interface Version: 3.1.1

    undefined 1 Reply Last reply 9 Nov 2018, 08:10 Reply Quote 1
    • undefined
      kuhnikuehnast @zerspaner_gerd
      last edited by 9 Nov 2018, 08:10

      @zerspaner_gerd said in Firmware 2.02 Release candidate 3 now available:

      Something must be done against the accidental confirmations!

      But scary that apparently all existing buttons / commands can be executed in print, what could happen there.

      Everyone is responsible for themselves which G M command he sends over the g-code Console Manuel. But the buttons, menus Head Movement should actually be locked at a printing, so rather DWC and PanelDue firmware?

      Good point. And if you really have to change something during a print you could just uncheck the child safety button in the Duet Web Control. If you programm these changes in the config.g file it would be pretty difficult to make any changes during a print

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators @Greg3D
        last edited by dc42 11 Sept 2018, 08:31 9 Nov 2018, 08:30

        @greg3d said in Firmware 2.02 Release candidate 3 now available:

        I'm in the process of setting up a menu system on the 12864 LCD for my freshly acquired Duet Maestro

        The video in this tweet https://twitter.com/Greg191134/status/1060312518659358720 illustrates the glitches I'm having with buttons appearing and disappearing.

        Also for the horizontal bars, which are an image, the eight pixels on the right are not displayed.

        Are these some limitations of the current implementation of the menu system?

        Please confirm that you using firmware 2.02RC3. If so, please start a new thread about this issue, and share your menu files.

        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
        • undefined
          Googliola @Googliola
          last edited by 10 Nov 2018, 08:58

          @dc42 maybe it's a minor bug, but it does not work as you said. Could you please have a look into it.

          undefined 1 Reply Last reply 10 Nov 2018, 09:32 Reply Quote 0
          • undefined
            dc42 administrators @Googliola
            last edited by dc42 11 Oct 2018, 09:33 10 Nov 2018, 09:32

            @googliola said in Firmware 2.02 Release candidate 3 now available:

            @dc42 maybe it's a minor bug, but it does not work as you said. Could you please have a look into it.

            I assume you mean this:

            Googliola 7 Nov 2018, 07:45
            @dc42 @claustro
            M557 X15:325 Y-15:270 P3 (in config.g)
            resulting in
            Error: M557: Error: M557 P parameter is no longer supported. Use a bed.g file instead.

            Seems like a bug to me. Or what am I missing? (It worked just fine with S parameter, but defining the number of probing points is so much handier...)

            I confirm, it's a bug. Will be fixed in 2.02RC4.

            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
            • undefined
              Drammy @dc42
              last edited by Drammy 11 Dec 2018, 16:36 12 Nov 2018, 16:18

              Hey @dc42 thanks for implementing the wifi re-connecting functionality in 2.02! (I'm running RC3) I've been doing some testing on the web connectivity...

              At first I thought it was working perfectly and it was until...
              I switched on my Pi running motionEye (which is normally running 24/7). The moment that the feed came up and started displaying in Duet Web Control the drop outs started immediately exactly.
              I never thought the cause of all the problems I'd been having could be the web feed and the Pi just happened to be switched off. Sure enough, deleting the link to the feed in the user interface settings and, boom, the disconnects stopped.

              Interestingly I have just put the web feed url back in (same url as I cut it previously to put in clipboard) and I am now not getting drop outs. I will continue to monitor and test this though.... EDIT: after about 5 mins of writing this email we're back in the state where it disconnects and reconnects.

              I can open the web feed on a separate browser tab and it continues to feed as expected during the drop outs.

              Could there be an issue with taking web feeds and it causing DWC connection drop outs?

              My Duet config
              Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
              Firmware Electronics: Duet WiFi 1.02 or later
              Firmware Version: 2.02RC3(RTOS) (2018-10-17b2)
              WiFi Server Version: 1.21
              Web Interface Version: 1.22.4-b1

              My network config
              EE router in house on which my machine connects.
              Netgear EX2700 extender in garage on which Duet WiFi and motionEye both connect.

              Running Mac OSX Mojave & Google Chrome (Version 70.0.3538.77) but the same thing happens on Safari (Version 12.0.1 (14606.2.104.1.1)) and on my smart phone (Samsung s8+ on Chrome).

              note: I work in IT and am pretty confident it is not my network as I work from home and use it constantly without any other issues.

              I hope that helps?

              undefined 1 Reply Last reply 12 Nov 2018, 18:34 Reply Quote 0
              • undefined
                Drammy
                last edited by Drammy 11 Dec 2018, 16:48 12 Nov 2018, 16:32

                And another thing I noticed is that my first print on the new firmware started printing correctly but on DWC the layer had jumped to 4.

                It wasn't until the real layer 4 completed that the layer counter started displaying the correct value.

                Indeed, the first three layers were recorded as taking 0 time and layer 4 just under an hour.

                0_1542040339932_5b0f8a7c-974f-4184-8857-b23d2dab7c78-image.png

                hhmmmmm.. the stats have just changed to this..

                0_1542041305211_314ff9f9-820e-4006-8b27-0c4a443c3b1e-image.png

                1 Reply Last reply Reply Quote 0
                • undefined
                  brunofporto
                  last edited by 12 Nov 2018, 16:53

                  Issues I am having so far:

                  Normal printing - no issues. I've been printing with RC3 since published.

                  But sometimes when I start a new print or use my filament unloading/loading macros without selecting the active tool (only one) first it just changes the status to "busy" and does nothing... Sometimes, not always, it complains about not having a selected tool but most times it just "locks" at Busy doing nothing.

                  For now, I just added "T0" at the end of config.g and I am pretty sure that the error is due to something wrong with my starting and loading/unloading macros. What should I do to not have this error?

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 12 Nov 2018, 16:54

                    I have improved the layer detection code in the forthcoming 2.02RC4 release. I'll ask chrishamm to look at whether dropouts in the IP camera feed could cause disconnections.

                    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

                    undefined 1 Reply Last reply 12 Nov 2018, 17:49 Reply Quote 0
                    • undefined
                      Drammy
                      last edited by 12 Nov 2018, 17:42

                      Ah good stuff, cheers!

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        garyd9 @dc42
                        last edited by 12 Nov 2018, 17:49

                        @dc42 said in Firmware 2.02 Release candidate 3 now available:

                        I have improved the layer detection code in the forthcoming 2.02RC4 release.

                        I don't know if it's related, but I had a print (sliced by Cura engine 3.5.1) this weekend with a total height of 400mm, layer height of 0.2mm. The duet board (1.04 with 2.02RC3) failed to properly parse the proper total height of the print.

                        Instead, it showed an object height of 1mm. (It usually detects the object height properly with files sliced by this version of Cura.) Layer height and filament usage was properly detected.

                        GCode file (zipped) shared from my google drive here: https://drive.google.com/open?id=1LsdgTVO-XuDT8jmWM_NMnu4kEoQ3Fxpi

                        "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          chrishamm administrators @Drammy
                          last edited by 12 Nov 2018, 18:34

                          @drammy said in Firmware 2.02 Release candidate 3 now available:

                          I never thought the cause of all the problems I'd been having could be the web feed and the Pi just happened to be switched off. Sure enough, deleting the link to the feed in the user interface settings and, boom, the disconnects stopped.

                          It sounds very odd that a bad connection to your IP cam causes DWC to disconnect. In fact DWC does not track if the loading of a webcam image is successful, so I see no reason why it would misbehave. However if you get connectivity issues while using the webcam image, I suggest you press F12 to open the developer console and switch to the Network tab. There you can track which network requests suceeed and which ones fail. DWC should only disconnect if rr_ requests in there fail.

                          Is there any chance you can send over a screenshot of that section when the problem shows up again?

                          Duet software engineer

                          undefined 1 Reply Last reply 12 Nov 2018, 19:39 Reply Quote 0
                          • undefined
                            Drammy @chrishamm
                            last edited by Drammy 11 Dec 2018, 19:53 12 Nov 2018, 19:39

                            @chrishamm thanks for your help.

                            I'm a developer so have had the Chrome dev tools open since the print began. I cleared the console down after the last time I removed the webcam url from settings and there has been 0 xhr exceptions raised for the last 2.2 hours; everything is working as expected. Like I said, 2.2 hours without a single failure

                            0_1542049428373_e12bde66-fb6c-488a-a537-514b7f4ac1a8-image.png

                            I then add the webcam url and within a couple of minutes it permanently loses connection. Some times it may reconnect for a couple of seconds which may be long enough to remove the web url and hit save and for the rr_upload to complete. If this happens then everything returns to normal but its rare to get long enough. I've found the best way to recover the connection is to reboot the motionEye server.

                            I've done a video of the problem if you need it? Here's the screen grab. Let me know if you need any more info.

                            0_1542051392887_79445838-e387-4f3a-ac03-cca69b20c93a-image.png

                            EDIT: thought I may as well add the console exceptions..

                            arrrgghh, akismet.com is flagging the console log screenshot as spam!??

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              chrishamm administrators
                              last edited by chrishamm 11 Dec 2018, 19:54 12 Nov 2018, 19:53

                              Hmm, thanks for that - I just saw the exceptions that you showed. But as you can see the web interface fails to receive four rr_ requests in a row, which causes a disconnect in DWC's logic (provided you have set the number of AJAX timeouts to 3).

                              May I ask what OS you are using and if the same problem occurs on a different device, too?

                              Duet software engineer

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Drammy
                                last edited by 12 Nov 2018, 19:55

                                I'm running the latest MacOS Mojave and latest Chrome, happens in Safari as well and on my phone (Samsung s8+ with Chrome)

                                undefined 1 Reply Last reply 12 Nov 2018, 21:21 Reply Quote 0
                                • undefined
                                  chrishamm administrators @Drammy
                                  last edited by chrishamm 11 Dec 2018, 21:22 12 Nov 2018, 21:21

                                  @drammy I honestly have no good explanation for this - it almost seems like your webcam server DOSes the Duet.

                                  I actually tried to reproduce your problem on three different devices on my network and each of them stays connected (Safari on OS X, Firefox on Windows and Chrome/WebKit on Android). Does the problem persist when you set the webcam URL to a different image source? If so, what does M122 output when the problem is present - could you attach a notebook to your board over USB and check via the serial console?

                                  Duet software engineer

                                  undefined 1 Reply Last reply 12 Nov 2018, 21:51 Reply Quote 0
                                  • undefined
                                    Drammy @chrishamm
                                    last edited by Drammy 11 Dec 2018, 21:52 12 Nov 2018, 21:51

                                    @chrishamm well thanks for looking. Yeah this all suggests that the problem is with the motionEye system. It does have a DOS feel about it as the two tabs, dwc and motionEye both degrade at the same time.

                                    I'll do some more tests and check the M122 output when this print has finished so will be another couple of days..

                                    Out of interest what webcam stream do you point dwc at? Maybe I can recreate your test environments a bit to try rule out the network..?

                                    Just re-read your last post and remembered I have a octopi on another machine that is streaming a web image.
                                    Will test that in the morning.

                                    undefined undefined 2 Replies Last reply 12 Nov 2018, 22:36 Reply Quote 0
                                    • undefined
                                      chrishamm administrators @Drammy
                                      last edited by 12 Nov 2018, 22:36

                                      @drammy I have had some success running motion from a RaspPi using an always-capture config but it's been a few months since I used it. Nevertheless I think it even provides an MJPG stream which eliminates the need for regular refreshes (you can set the update interval to 0 in this case).

                                      Duet software engineer

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Phaedrux Moderator @Drammy
                                        last edited by 12 Nov 2018, 23:41

                                        @drammy I'm using a raspberry Pi w running motion OS as a camera feed and have had no issues with the DWC. Just as a point of reference.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        undefined 1 Reply Last reply 13 Nov 2018, 09:30 Reply Quote 0
                                        • undefined
                                          Drammy @Phaedrux
                                          last edited by 13 Nov 2018, 09:30

                                          @phaedrux thanks for the info. What camera is running on it?

                                          undefined 1 Reply Last reply 13 Nov 2018, 18:24 Reply Quote 0
                                          93 out of 104
                                          • First post
                                            93/104
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA