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

    Flakey Behaviour from Duex 5

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    18
    1.4k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      @dougjones said in Flakey Behaviour from Duex 5:

      Sometimes the board powers up and does not recognize the Duex. Under the settings screen, it does not say Duet Ethernet + Duex 5, just Duet Ethernet.

      If it doesn't recognise the DueX then the DueX endstops and fans will not work.

      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
      • DougJonesundefined
        DougJones
        last edited by

        When it does connect, This is happening.

        The stepper drivers appear to work thermister inputs work. The Endstops and Fan outputs do not seem to be working.

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

          @dougjones said in Flakey Behaviour from Duex 5:

          When it does connect, This is happening.

          The stepper drivers appear to work thermister inputs work. The Endstops and Fan outputs do not seem to be working.

          That indicates that I2C comms between the Duet and the DueX has broken down, even though it must have been working well enough when the DueX was recognised at startup. If you run M122, I expect you will see a lot of I2C errors reported.

          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
          • DougJonesundefined
            DougJones
            last edited by

            I cannot seem to get the Duet to reliably start. Meaning, the red diag led by the ethernet just blinks and I cannot connect to the web interface.

            When it does start sometimes it finds the duex 5 board and sometimes not.

            When the board is found it almost never shows the endstops changing state.

            That said, after a whole lot of screwing around tonight, removing and re-seating connectors, checking contacts and replacing cables. I got it to all connect properly and the drivers were working, endstops functioning, I even homed the machine. I re-taught my z-probe height (un-related by i had removed my bracket and needed to reset zero position).

            Everything was grand, decided to power cycle the machine again and double-check to make sure I had fixed it. And nope, same set of problems, won't detect Duex or devices on Duex won't respond.

            I checked M122 and am getting nak errors. No other IIC errors reported.

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

              @dougjones said in Flakey Behaviour from Duex 5:

              I cannot seem to get the Duet to reliably start. Meaning, the red diag led by the ethernet just blinks and I cannot connect to the web interface.

              Possible causes:

              • Power supply problem
              • Problem reading the SD card
              • The blinking LED could indicate that the Duet is in a reboot loop. Next time you succeed in starting it, run M122 and check the software reset data.

              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
              • DougJonesundefined
                DougJones
                last edited by

                I have replaced the Duex5 and the unit fired up the first time.

                See below for reset details from M122.

                Software reset code 0x4033 HFSR 0x40000000 CFSR 0x00008200 ICSR 0x0041f803 BFAR 0x43910046 SP 0x2000464c Task 0x4e49414d
                Stack: 00420831 00421220 21000000 20000168 200001c8 20004954 00000000 0000008d 20013da0 a5a5a5a5 00452ff7 200001c8 00000000 0000000a 00000035 2000ac10 004236cf 2000ac10 20004954 00000000 2000ac10 20009aa8 2000ac10

                1 Reply Last reply Reply Quote 1
                • DougJonesundefined
                  DougJones
                  last edited by

                  Update: I rebooted and the unit would not restart. The red Diag light just blinked. It took me 10 power cycles before the controller would boot properly and I could re-connect to the web interface.

                  Note that all the power leds come on but no interface lights on the rJ45 connector.

                  I have received a new Duet Wifi and I am going to pull this board off the machine and set it up on the bench until I can figure out what is wrong.

                  1 Reply Last reply Reply Quote 1
                  • DougJonesundefined
                    DougJones
                    last edited by

                    Update:

                    I have removed the Duet Ethernet and put in a brand new Duet Wifi. Everything seems to go fine, until I put in my config file. I could not get the web interface to start, similar to the previous board after I copied my old config files over. So, I wiped the config file down to basics and added line by line the config file items and traced the problem down to the chamber heater.

                    If I leave the code below out, the system boots up just fine every time. If it is included, it fails to boot. This doesn't seem like it should be an issue, but I have confirmed the problem about a dozen times. I can't see what about the chamber heater code could be the problem. Note: my chamber heater is a little underpowered, hence the long D value for the M307 settings. This was not previously a problem on prior firmware versions.

                    This new wifi board is 2.02 (RTOS) out of the box I had recently upgraded the Ethernet board to 2.02 (RC2) and I am wondering if this explains some of the booting problems on both boards (granted, I might still have an I2C problem on either the old ethernet board/old duex5 board).

                    By omitting the offending code below, everything seems to be running just fine. I've got the new unit powered up, homing and doing a small test print.

                    What are your thoughts? I do need to get the chamber heater running again.

                    ; Chamber Heater
                    M141 H5                        ; heater 5 is the chamber heater
                    M305 P5 R4700 T100000 B3950    ;heater 5 is monitored by a 100K thermistor with B=3950 and a 4.7K series resistor
                    M307 H5 A21.5 C171.8  D60     ; Setup Heater PID Settings
                    M307 H5 B1                    ; setup bang-bang control]
                    
                    1 Reply Last reply Reply Quote 1
                    • dc42undefined
                      dc42 administrators
                      last edited by

                      It sounds like either a firmware bug or running out of memory. Please can you post the complete config.g file that makes it fail to boot.

                      When the board failed to boot prior to you getting that software reset data report, which firmware version was it running?

                      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
                      • dc42undefined
                        dc42 administrators
                        last edited by dc42

                        Scratch that, I've just found the bug in the chamber heater setup code. It will be fixed in the forthcoming 2.03beta3 release, which I am aiming to do later today.

                        Thanks for your help in pinning this down. The software reset data you posted located the problem.

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