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

    Persistent PanelDue Trouble

    Scheduled Pinned Locked Moved Solved
    PanelDue
    paneldue firmware troubleshooting
    4
    16
    1.1k
    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.
    • redroutundefined
      redrout
      last edited by

      Hey there,

      I'm having some persistent issues with my paneldue 7i. I updated my Duet 2 Wifi with RRF 3.2.2 a bit ago, and installed the PanelDue, where it did not work. I did a little reading and worked on updating the firmware via bossa with version 3.3.0-rc3. Everything worked correctly, but the PanelDue wouldn't complete a connection with the Duet. I'm using the 4-pin connectors on both the PanelDue and the Duet. I feel like listing what I've attempted would help, so here goes;

      1. checked continuity of the 4-pin cable (it works)
      2. included the M575 P1 S1 B57600 command (tried with other values for Snnn, also tried omitting the command altogether)
      3. Triple-checked the connections with pictures on the paneldue guides (https://duet3d.dozuki.com/Wiki/PanelDue_Firmware_update)
      4. installed an older firmware (3.2.0, checked also with the chip on the board with release 3.2.0, mine has ATSAM 4S4B)
      5. Attempted to update that firmware to 3.3.0 following the paneldue guide steps
        The following error message appears
        Error: Failed to communicate with PanelDue bootloader (no START signal received). Please try again or press the Erase and Reset switches on
        PanelDue.
      6. Went round and round a couple times with the erase and reset button and tried the command multiple times
      7. Reinstalled the 3.3.0 paneldue firmware to the paneldue via bossa with the erase and reset procedure (with verification)
      8. Checked the terminals for burns, scratches, blown out caps, etc. basically anything that looked like it shouldn't be there.

      I try to read up and fix things myself, but I'm getting to the end of my rope here? Have I missed something obvious, or do I have something faulty? Thx for any help at all in advance

      (PS I'm not sure why it only allows me to select 'plugins for DWC and DSF category')

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

        What issues exactly are you having? What isn't working? Or rather, what is it actually doing? Does the screen light up at all?

        When you have flashed the firmware with Bossa does the screen let you interact with it? Does it display the normal menu items when powered by USB?

        Your Duet firmware should be 3.3.
        Your PanelDue firmware should be either 3.2.11 or 3.3 RC3 if you want to try testing.
        Which firmware file specifically did you use to flash the Panel?
        M575 P1 S1 B57600 must be in config.g for it to work.

        How are your wires ordered for the 4 pin connector? Did you make the cable yourself or did it come with the Panel? When you plug it in and power on does it power up as well?

        Z-Bot CoreXY Build | Thingiverse Profile

        redroutundefined 1 Reply Last reply Reply Quote 0
        • redroutundefined
          redrout @Phaedrux
          last edited by

          @phaedrux Thanks for the help, I'm going to flash the paneldue firmware to 3.3 RC3 and check up on it.

          The problem i'm facing with the paneldue is that it boots up, shows me the logo, and then displays the 'connecting' status in the upper right hand corner, as if it's not receiving any data from the duet.

          It should be noted that I can home axes from the paneldue, but that appears to be all I can do. I can't heat the extruder.

          The cable is one I got with one of my stepper motors that I terminated with the connectors I got with the duet. I've checked the continuity and wire configuration of the cables multiple times, everything is as presented in the paneldue guide.

          I'll follow up on this soon, I've got a fairly long job on the printer at the moment, I'd like to try everything you suggested before I ask for any further help.

          Again, thanks a million for any help,
          RBIII

          mfs12undefined 1 Reply Last reply Reply Quote 0
          • mfs12undefined
            mfs12 @redrout
            last edited by mfs12

            Hey @redrout, this problem sounds a little strange. If g-codes are working in general, i.e. homing gcodes, then other communication should work as well.

            You are using Paneldue firmware 3.3.0-rc3 on a Paneldue 7.0i.

            Please upload a copy of your configuration.

            And please test the following commands and post the reply.

            M115
            

            Visit me on github at https://github.com/mfs12/

            redroutundefined 1 Reply Last reply Reply Quote 0
            • redroutundefined
              redrout @mfs12
              last edited by

              Right, thanks a ton for waiting lol.

              The output of the M115 command is as follows:

              FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03

              My config file is as follows:
              .
              ; Configuration file for Duet WiFi (firmware version 3)
              ; executed by the firmware on start-up
              ;
              ; generated by RepRapFirmware Configuration Tool v3.2.3 on Tue May 25 2021 23:51:34 GMT-0500 (Central Daylight Time)

              ; General preferences
              G90 ; send absolute coordinates...
              M83 ; ...but relative extruder moves
              M550 P"*****" ; set printer name

              ; Network
              M551 P"*****" ; set password
              M552 S1 ; enable network
              M586 P0 S1 ; enable HTTP
              M586 P1 S0 ; disable FTP
              M586 P2 S0 ; disable Telnet

              ; Drives
              M569 P0 S0 ; physical drive 0 goes backwards
              M569 P1 S0 ; physical drive 1 goes backwards
              M569 P2 S1 ; physical drive 2 goes forwards
              M569 P3 S1 ; physical drive 3 goes forwards
              M584 X0 Y1 Z2 E3 ; set drive mapping
              M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
              M92 X80.00 Y80.00 Z1590.00 E420.00 ; set steps per mm
              M566 X90.00 Y90.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
              M203 X8000.00 Y8000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
              M201 X50.00 Y50.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
              M906 X1100 Y2200 Z800 E700 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 X640 Y540 Z1000 S0 ; set axis maxima

              ; Endstops
              M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
              M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
              M574 Z1 S1 P"!zstop" ; configure active low endstop for low end on Z via pin zstop
              ; M574 Z1 S2 ; configure z to use a probe at the min

              ; Z-Probe
              ;M558 P9 C"^zprobe.in" H3 F100 T2000 ; specify probe and input pin, also enable pullup resistor
              ;M557 X15:20 Y15:195 S20 ; define mesh grid
              ;G31 P100 X10 Y10 Z2 ; define offset and sensitivity for bltouch
              ;M950 S0 C"exp.heater3" ; create servo pin index

              ; Heaters
              M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
              M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
              M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
              M140 H0 ; map heated bed to heater 0
              M143 H0 S120 ; set temperature limit for heater 0 to 120C
              M308 S1 P"e0temp" Y"pt1000" ; configure sensor 1 as thermistor on pin e0temp
              M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
              M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
              M143 H1 S280 ; set temperature limit for heater 1 to 280C
              M307 H3 A-1 C-1 D-1 ; unbind heater pin 3 for use in bltouch

              ; Fans
              M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
              M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
              M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
              M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off

              ; Tools
              M563 P1 D0 H1 F1 ; define tool 1
              G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
              G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

              ; Custom settings are not defined

              ; Miscellaneous
              M575 P1 S1 B57600 ; enable support for PanelDue

              I'm still learning a lot, so let me know if I've botched the configuration.

              Thanks

              Phaedruxundefined dc42undefined 2 Replies Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @redrout
                last edited by

                @redrout said in Persistent PanelDue Trouble:

                ; Miscellaneous
                M575 P1 S1 B57600 ; enable support for PanelDue
                I'm still learning a lot, so let me know if I've botched the configuration.

                Well the only line that matters for PanelDue is the enable command which you already have, so no problem there.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 1
                • mfs12undefined
                  mfs12
                  last edited by

                  Hey @redrout, as @Phaedrux mentioned your configuration looks ok.

                  • Are there any errors displayed in PanelDue's console tab?
                  • How long is the cable form PanelDue to Duet2?

                  Visit me on github at https://github.com/mfs12/

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

                    @redrout if you can send commands to the Duet then transmission from PanelDue to Duet must be working. So most likely there is a problem with the wire that connects UTXD on the Duet to DIN on the PanelDue.

                    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
                    • redroutundefined
                      redrout
                      last edited by redrout

                      Thanks for the replies, I did some more reading, and replaced the cable with a shorter one (4 feet before to 6 inches or so now). I tested the current cable and it looks good, but the issue still persists (can still send commands but stuck connecting). On the off chance I had a bad wire again I swapped the UTXD - DIN wire with the URXD - DOUT wire on the terminals and tried again, but the same problem happens. I looked at some of the traces on the duet and the paneldue, but nothing looks obviously amiss.

                      1 Reply Last reply Reply Quote 0
                      • mfs12undefined
                        mfs12
                        last edited by mfs12

                        Hey @redrout,

                        • are there errors in the console tab?
                        • what state does paneldue report in the top right corner?

                        Visit me on github at https://github.com/mfs12/

                        redroutundefined 1 Reply Last reply Reply Quote 0
                        • redroutundefined
                          redrout @mfs12
                          last edited by

                          @mfs12 The console tab doesn't display anything, even if I do send commands to the board via the PanelDue. The PanelDue reports "Connecting"

                          thx

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

                            It definitely sounds like it's just not connecting, though seems to be functional otherwise and you're able to flash the firmware, etc.

                            Your config looks ok, it just needs the command to enable it and set the baud rate. Have you verified in the setup page of the paneldue that the baud rate is set to match the config? 57600?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 1
                            • mfs12undefined
                              mfs12
                              last edited by mfs12

                              Hey @redrout, did you send the M115 command from DWC or PanelDue?

                              If PanelDue reports "connecting" the connection was not yet established. This points to either a physical connection problem (cabling or sockets) or not matching uart configuration of the Duet3d board and PanelDue.

                              To improve debugging such problems in future i will consider improving error reporting about connection issue in PanelDue's message log.

                              Visit me on github at https://github.com/mfs12/

                              redroutundefined 1 Reply Last reply Reply Quote 0
                              • redroutundefined
                                redrout @mfs12
                                last edited by

                                @mfs12 I appreciate the improvement potential, but is there any way for me to resolve this issue on my end? I just don't know what to do with my paneldue now, since it doesn't receive information it seems to be little better than a paperweight.

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

                                  Are you able to test with a new shorter 4 wire cable and/or the 10 pin ribbon cable?

                                  When and where did you purchase the PanelDue?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  1 Reply Last reply Reply Quote 0
                                  • mfs12undefined
                                    mfs12
                                    last edited by

                                    Hey @redrout,

                                    closing this thread due to inactivity. Please re-open if your issue persists with newer version of paneldue.

                                    Visit me on github at https://github.com/mfs12/

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