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

    PanelDue no longer connecting on Duet3/io0 with 3.01-RC11

    Scheduled Pinned Locked Moved
    Beta Firmware
    4
    48
    1.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.
    • gtj0undefined
      gtj0 @A Former User
      last edited by

      @bearer It was new in the last 2 commits.

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

        (for CoreNG, ofc, my bad)

        1 Reply Last reply Reply Quote 0
        • Nuramoriundefined
          Nuramori @gtj0
          last edited by

          @gtj0 I downloaded the file, pushed it to the printer, and performed a "M997 S0"

          Result was :
          Error: Operation failed (Reason: ArgumentNullException in SimpleCode: Value cannot be null. (Parameter 'input'))

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

            But without the pull up? Comment said it was removed pending a M575, so the fix would be to enable it upon finding a M575 P1 command?

            1 Reply Last reply Reply Quote 0
            • gtj0undefined
              gtj0 @Nuramori
              last edited by

              @Nuramori Eh? I just did it myself and it worked. Maybe try to download again?
              @bearer Yeah I just removed it altogether to see if it helps. If it doesn't then the issue is elsewhere.

              1 Reply Last reply Reply Quote 0
              • Nuramoriundefined
                Nuramori
                last edited by Nuramori

                unfortunately, my hopes were higher. No change. ๐Ÿ˜•

                gtj0undefined 1 Reply Last reply Reply Quote 0
                • gtj0undefined
                  gtj0 @Nuramori
                  last edited by

                  @Nuramori Ah well. Don't happen to have an oscilloscope do you? ๐Ÿ™‚

                  Nuramoriundefined 1 Reply Last reply Reply Quote 0
                  • Nuramoriundefined
                    Nuramori @gtj0
                    last edited by Nuramori

                    @gtj0 I in fact do! It also does fun things like I2C. Siglent DCS 1202X-E

                    gtj0undefined 1 Reply Last reply Reply Quote 0
                    • gtj0undefined
                      gtj0 @Nuramori
                      last edited by

                      @Nuramori You could examine the level on that pin with and without the Arduino connected and see if it changes. You could also see if either the Arduino or the PanelDue is attempting to pull it up or down itself.

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

                        Arduno won't affect the Duet's RX pin, he says that's not connected and works in any case?

                        (i.e. Io0.out would be the TX pin)

                        Nuramoriundefined 1 Reply Last reply Reply Quote 0
                        • Nuramoriundefined
                          Nuramori @gtj0
                          last edited by

                          @gtj0 ok, I'll try that out. My herd of cats (family) are vying for my attention, so I'll poke at it in the morning. Thank you very much for the help!

                          1 Reply Last reply Reply Quote 0
                          • Nuramoriundefined
                            Nuramori @A Former User
                            last edited by Nuramori

                            @bearer correct. the only wire that's linking the arduino to the duet is through the io.out pin. removing the connection allows the paneldue to receive packets, but attached or not, the paneldue issues commands TO the duet correctly. It (the paneldue) just doesn't update with information such as temps, positions, etc. It WILL do that once the arduino wire is disconnected. The same setup worked prior to RC11.

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

                              @Nuramori said in PanelDue no longer connecting on Duet3/io0 with 3.01-RC11:

                              but attached or not, the paneldue issues commands TO the duet correctly.

                              then while the RX pull up is relevant, its not the cause. (unless maybe to disable it on the arduino)

                              1 Reply Last reply Reply Quote 0
                              • Nuramoriundefined
                                Nuramori
                                last edited by Nuramori

                                I thought I might throw this in here, not to conflate the issue with another, but itโ€™s somewhat related (if only because it was affected by the same port).

                                The other week when there was an update that included an update to the paneldue firmware (iirc it was RC-8?), I could not get the paneldue to communicate with Bossa at all. It finally worked, and I could flash the new version 1.24 after I physically disconnected the paneldue from the io0 connector. While plugged into io0, whether the duet3 was powered up or not during the attempt, the paneldue could not be flashed.

                                Iโ€™m not sure itโ€™s even related or a coincidence, but I thought Iโ€™d mention it.

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

                                  @Nuramori said in PanelDue no longer connecting on Duet3/io0 with 3.01-RC11:

                                  @bearer said in PanelDue no longer connecting on Duet3/io0 with 3.01-RC11:

                                  The Arduino would have to send M408 S0 or S1 depending on how much of the data it needs to update to work independent of the PanelDue.

                                  The arduino code is basically sniffing and parsing the JSON package for the time to complete, the bed temp, and the extruder(s) temps. That info is then graphically represented via driven neopixel rings.

                                  How complicated is the code that translates the temperatures into neopixel colours? Perhaps you could connect the neopixels directly to the Duet 3 and use the daemon.g file to update the colours.

                                  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
                                  • Nuramoriundefined
                                    Nuramori
                                    last edited by Nuramori

                                    There are three distinct neopixel rings, one for each data point (bed temp, extruder temp, and time of print).

                                    14FCBCAC-A782-43ED-9CD9-98EF2633210C.jpeg

                                    Iโ€™m still stumped why, from the code changes in RC-11 I saw, why there would be an issue with the paneldue.

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

                                      @Nuramori said in PanelDue no longer connecting on Duet3/io0 with 3.01-RC11:

                                      The other week when there was an update that included an update to the paneldue firmware (iirc it was RC-8?), I could not get the paneldue to communicate with Bossa at all. It finally worked, and I could flash the new version 1.24 after I physically disconnected the paneldue from the io0 connector. While plugged into io0, whether the duet3 was powered up or not during the attempt, the paneldue could not be flashed.

                                      That can happen because the SAM4 chip in PanelDue v3 accepts programming from either the USB port or the serial port. So if it sees traffic on the serial port, that can stop it responding to the USB port. We planned to support PanelDue firmware updates from the Duet via the serial port, but we haven't found time to write this functionality yet.

                                      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 @Nuramori
                                        last edited by

                                        @Nuramori said in PanelDue no longer connecting on Duet3/io0 with 3.01-RC11:

                                        Iโ€™m still stumped why, from the code changes in RC-11 I saw, why there would be an issue with the paneldue.

                                        So am I. The only significant difference should be that the pins don't get initialised as a serial port until the M575 command is executed.

                                        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
                                        • Nuramoriundefined
                                          Nuramori
                                          last edited by Nuramori

                                          I decided to just avoid the issue by reprogramming the arduino (Adafruit Metro Mini) to create and use a soft serial port, and poll a different digital pin instead. I'm suspecting that there's something odd about the Rx pin on that board, since it also shares the built-in USB comms with that UART pin. The documentation says I can use it as a normal UART Rx, but hmmmmm......

                                          I recoded it, and now everything is working. Thanks for the input, I hope I didn't waste anyone's time (too much).

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

                                            I've put new internal builds of RRF at https://www.dropbox.com/sh/3azy1njy3ayjsbp/AACquxr2m00eV568RZg5QG5wa?dl=0. In these builds the M575 command is mandatory when using PanelDue, even on the Duet WiFi/Ethernet/Maestro; however it is no longer necessary to repeat the command when changing the baud rate.

                                            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