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

New firmware 1.18RC1

Scheduled Pinned Locked Moved
Firmware installation
6
26
4.0k
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
    ChrisP
    last edited by 30 Mar 2017, 13:23

    Ok, so it's died again (as in the web interface just sits loading indefinitely) having not been touched at all since the log I got for you before. I can still connect to it using USB though. Running M122 again gives the log below. I notice that it has 255 telnet connections. Could this be whats killing it?

    [[language]]
    === Diagnostics ===
    Used output buffers: 1 of 32 (17 max)
    === Platform ===
    Static ram used: 45844
    Dynamic ram used: 39916
    Recycled dynamic ram: 256
    Stack ram used: 3240 current, 4944 maximum
    Never used ram: 7344
    Last reset 02:55:59 ago, cause: power up
    Last software reset code 0x7003, HFSR 0x00000000, CFSR 0x00000000, ICSR 0x0042f00f, BFAR 0xe000ed38, SP 0xffffffff
    Spinning module during software reset: GCodes, available RAM 5848 bytes (slot 1)
    Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 21.0MBytes/sec
    SD card longest block write time: 0.0ms
    MCU temperature: min 38.6, current 49.8, max 54.7
    Date/time: 2017-03-30 14:19:59
    Slowest main loop (seconds): 0.060425; fastest: 0.000000
    === Move ===
    MaxReps: 0, StepErrors: 0, MaxWait: 0ms, Underruns: 0, 0
    Scheduled moves: 5, completed moves: 5
    Bed compensation in use: mesh
    Bed probe heights: 0.000 0.000 -0.057 -0.011 -0.002
    === Heat ===
    Bed heater = -1, chamber heater = -1
    === GCodes ===
    Segments left: 0
    Stack records: 1 allocated, 0 in use
    Movement lock held by null
    http is idle in state(s) 0
    telnet is idle in state(s) 0
    file is idle in state(s) 0
    serial is ready with "M122" in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Free connections: 1 of 16
    Free transactions: 24 of 24
    === Webserver ===
    HTTP sessions: 0 of 8
    FTP connections: 0, state 0
    Telnet connections: 255, state 1
    ok

    edit: So I just disabled Telnet using USB and now I can get the web interface to load a basic text version that looks pretty awful. Every time I try to load / re-load the page, the terminal gives the following message too.

    [[language]]
    Network::ConnectionAccepted() - no free ConnectionStates!
    ```and occasionally this:

    [[language]]
    Network: Connection error, code -11

    And finally, power cycling fixed everything again.
    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 30 Mar 2017, 14:21

      Indeed it looks like it kept opening new Telnet connections and that used up all the network resources, which didn't all get freed when you disabled Telnet. Did you have any Telnet sessions to the Duet?

      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
        ChrisP
        last edited by 30 Mar 2017, 14:27

        No I didn't have any sessions open. That's not to say that someone else on the network wasn't trying to gain access though…
        For the time being, I've just disabled Telnet in the config and I'll see how it goes.

        1 Reply Last reply Reply Quote 0
        • undefined
          str8up
          last edited by 30 Mar 2017, 23:50

          Here is the heightmap.csv data.
          RepRapFirmware height map file v1 generated at 2017-02-30 10:19, mean error -0.01, deviation 0.12
          xmin,xmax,ymin,ymax,radius,spacing,xnum,ynum
          -100.00,100.10,-100.00,100.10,105.00,20.00,11,11
          0, 0, 0, 0, -0.107, -0.261, -0.329, 0, 0, 0, 0
          0, 0, 0.041, -0.028, -0.038, -0.016, -0.050, -0.051, -0.177, 0, 0
          0, -0.032, -0.144, -0.122, -0.152, -0.150, -0.120, -0.119, -0.113, -0.012, 0
          0, -0.034, -0.019, 0.040, 0.043, 0.100, 0.131, 0.080, 0.059, 0.122, 0
          0, -0.098, -0.132, -0.081, -0.059, -0.030, 0.039, -0.010, 0.059, 0.109, 0.153
          0, -0.078, -0.041, 0.017, 0.089, 0.109, 0.170, 0.161, 0.193, 0.159, 0.202
          0, -0.140, -0.159, -0.080, -0.032, 0.050, 0.067, 0.137, 0.160, 0.151, 0.121
          0, -0.071, -0.059, -0.039, -0.068, -0.018, 0.012, 0.077, 0.191, 0.270, 0
          0, 0, -0.122, -0.237, -0.149, -0.061, 0.020, 0.060, 0.117, 0.102, 0
          0, 0, 0, -0.128, -0.093, -0.043, -0.021, 0.048, 0.090, 0, 0
          0, 0, 0, 0, 0, -0.052, -0.069, 0, 0, 0, 0

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 31 Mar 2017, 06:19

            @str8up:

            Here is the heightmap.csv data.
            RepRapFirmware height map file v1 generated at 2017-02-30 10:19, mean error -0.01, deviation 0.12
            xmin,xmax,ymin,ymax,radius,spacing,xnum,ynum
            -100.00,100.10,-100.00,100.10,105.00,20.00,11,11
            0, 0, 0, 0, -0.107, -0.261, -0.329, 0, 0, 0, 0
            0, 0, 0.041, -0.028, -0.038, -0.016, -0.050, -0.051, -0.177, 0, 0
            0, -0.032, -0.144, -0.122, -0.152, -0.150, -0.120, -0.119, -0.113, -0.012, 0
            0, -0.034, -0.019, 0.040, 0.043, 0.100, 0.131, 0.080, 0.059, 0.122, 0
            0, -0.098, -0.132, -0.081, -0.059, -0.030, 0.039, -0.010, 0.059, 0.109, 0.153
            0, -0.078, -0.041, 0.017, 0.089, 0.109, 0.170, 0.161, 0.193, 0.159, 0.202
            0, -0.140, -0.159, -0.080, -0.032, 0.050, 0.067, 0.137, 0.160, 0.151, 0.121
            0, -0.071, -0.059, -0.039, -0.068, -0.018, 0.012, 0.077, 0.191, 0.270, 0
            0, 0, -0.122, -0.237, -0.149, -0.061, 0.020, 0.060, 0.117, 0.102, 0
            0, 0, 0, -0.128, -0.093, -0.043, -0.021, 0.048, 0.090, 0, 0
            0, 0, 0, 0, 0, -0.052, -0.069, 0, 0, 0, 0

            Thanks. The bed probe heights are correct, because after G29 you will see the first 5 points from the height map. The first 4 are zero because you are probing a circular bed.

            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
              adavidm
              last edited by 31 Mar 2017, 10:21

              @ChrisP:

              No I didn't have any sessions open. That's not to say that someone else on the network wasn't trying to gain access though…
              For the time being, I've just disabled Telnet in the config and I'll see how it goes.

              If this is a corporate network there could be all sorts of port scanners, vulnerability assessment tools or even, unfortunately, compromised machines looking to spread a virus or malware. These may well see the Duet as an 'interesting' target as telnet is a legacy protocol that used to be in use by network infrastructure vendors a great deal. There a huge lists of default passwords and usernames out there that these programs use to brute force the telnet connection and take over such devices. One example of such a list:

              http://www.defaultpassword.com/

              If this is a smaller office or home network then the malware/virus case is more likely. It might be possible to identify the source traffic, either by binary search (Switch half of the machines off, if the problem recurs, switch half of the remainder off, etc). Alternatively, you could use a tool like Wireshark to look for the offending node but this is more complex with WiFi in the mix.

              Hope this helps.

              David

              edit - clarity

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 31 Mar 2017, 13:34

                This is why I added the facility to support http but not telnet or ftp, with telnet and ftp turned off by default. But it doesn't explain why earlier versions of firmware worki for ChrisP.

                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
                  ChrisP
                  last edited by 31 Mar 2017, 15:47

                  I'm on a university network, so I'm pretty certain that there's at least one machine that will have been hacked and is scanning all the ports. To be honest, I probably should have figured out the problem sooner as it's not the first time it's happened.

                  As for it working with other firmware, I wonder whether it was just an unfortunate coincidence. When I had the problem back on Wednesday, I had tried older firmware versions and had those fail too - that's what initially made me wonder whether it was a hardware problem.

                  Anyway, having turned off Telnet (which I didn't use anyway), all is fine again… hopefully 😄

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    DjDemonD
                    last edited by 31 Mar 2017, 18:31

                    Hi David, I know previously we discussed using G30 to reset the z height after grid levelling/calibration and you mentioned doing this on a grid point. I just installed this firmware and after calibration I did a G30. I noticed the nozzle change x,y position fractionally before the G30 executed, does the firmware auto position on a grid point for this in this version?

                    Simon. Precision Piezo Z-Probe Technology
                    www.precisionpiezo.co.uk
                    PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      dc42 administrators
                      last edited by 31 Mar 2017, 19:41

                      No it doesn't, but in this version bed compensation and orthogonal axis compensation are disabled during homing moves.

                      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
                        dc42 administrators
                        last edited by 2 Apr 2017, 09:53

                        I've just released firmware 1.18RC2. I am particularly keen for Duet 0.6/0.8.5 users to test it, to see if it resolves the network issues that some users had with beta3 and RC1.

                        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
                          dc42 administrators
                          last edited by 5 Apr 2017, 17:59

                          ChrisP, thanks for your patience. Please can you try the Duet06/085 firmware at https://dl.dropboxusercontent.com/u/19369680/RepRapFirmware.bin and let me know if you have stability problems with it. If you find that you are unable to connect via HTTP at all, then please run M122 from USB and report the Network section of the diagnostic report.

                          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
                            ChrisP
                            last edited by 5 Apr 2017, 18:25

                            No problem.
                            I updated a couple of Duet 06 boards at work to 1.18RC2 and disabled Telnet and haven't had any stability problems since. Unusually, I haven't actually used those printers in the past day or so, but they have been left on 24/7 and I haven't had any problems connecting via HTTP. I'll try the FW in your link anyway, in particular with my old Duet 06 at home that I never managed to get to work on anything beyond 1.17e.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              dc42 administrators
                              last edited by 7 Apr 2017, 07:55

                              ChrisP, I think I found the problem. Does your home network have a zero in the IP addresses it uses?

                              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
                                ChrisP
                                last edited by 7 Apr 2017, 07:58

                                Yes it does. 192.168.0.x

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  dc42 administrators
                                  last edited by 7 Apr 2017, 13:04

                                  Thanks for confirming that. The problem is fixed in the 1.18 release.

                                  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
                                  20 out of 26
                                  • First post
                                    20/26
                                    Last post
                                  Unless otherwise noted, all forum content is licensed under CC-BY-SA