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

    DCS Not Started

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    20
    678
    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.
    • kzobarlowundefined
      kzobarlow @chrishamm
      last edited by

      @chrishamm

      I have tried this which worked having both boards by itself. But once I plugged everything up to the 3D printer I got the same error. I separated the board and pi once again then flashed the pi but now still getting the error again....

      sonderzugundefined 1 Reply Last reply Reply Quote 0
      • sonderzugundefined
        sonderzug @kzobarlow
        last edited by

        @kzobarlow Hi, I had the same error when I first set up my Duet 3 5+ mini with a Pi.
        I had the ribbon cable plugged backwards into the Duet, which was possible since the connector doesn't have a indexing indentation. Double-check against the online documentation for the 6HC that the ribbon cable is plugged in correctly, e.g. the position of the red wire is important.
        Once I had it correct everything came together without further issues.

        kzobarlowundefined 1 Reply Last reply Reply Quote 0
        • kzobarlowundefined
          kzobarlow @sonderzug
          last edited by

          @sonderzug

          Seeing the mini has a key slot I don't see how it's possible to plug it in incorrectly?

          ![alt text](cb13487b-588b-4687-af93-b84a0ce8d68c-image.png image url)

          I made sure the red band on the cable seats on the bottom row of the pi as well

          alt text

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

            Do you have a different pi to test with?

            Z-Bot CoreXY Build | Thingiverse Profile

            kzobarlowundefined 1 Reply Last reply Reply Quote 0
            • sonderzugundefined
              sonderzug @kzobarlow
              last edited by

              @kzobarlow sorry, must have remembered wrongly. I might have had the cable plugged in backwards to the Pi but that doesn't seem the case with your setup.

              1 Reply Last reply Reply Quote 0
              • kzobarlowundefined
                kzobarlow @Phaedrux
                last edited by

                @phaedrux

                not on hand but may try it at this point

                1 Reply Last reply Reply Quote 0
                • kzobarlowundefined
                  kzobarlow
                  last edited by kzobarlow

                  Upgraded/Changed to a Raspberry Pi 4 Model B and still getting the same error as before....

                  Edit:
                  SD Card was re flashed before doing anything

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

                    Thanks for testing with a new Pi. Can you confirm that you reflashed with the latest Duet Pi image download?

                    If you enable logging again do you get the same errors?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    kzobarlowundefined 1 Reply Last reply Reply Quote 0
                    • kzobarlowundefined
                      kzobarlow @Phaedrux
                      last edited by

                      @phaedrux

                      Hello,

                      Yes SD card was re-flashed with the latest image

                      This is what I got running $ sudo journalctl -u duetcontrolserver -e

                      
                      
                      pi@duet3:~ $ sudo journalctl -u duetcontrolserver -e
                      Jan 31 19:48:24 duet3 DuetControlServer[10320]: [fatal] Could not connect to Due
                      Jan 31 19:48:24 duet3 systemd[1]: duetcontrolserver.service: Failed with result 
                      Jan 31 19:48:24 duet3 systemd[1]: Failed to start Duet Control Server.
                      Jan 31 19:48:24 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec=
                      Jan 31 19:48:24 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart j
                      Jan 31 19:48:24 duet3 systemd[1]: Stopped Duet Control Server.
                      Jan 31 19:48:24 duet3 systemd[1]: Starting Duet Control Server...
                      Jan 31 19:48:25 duet3 DuetControlServer[10354]: Duet Control Server v3.3.0
                      Jan 31 19:48:25 duet3 DuetControlServer[10354]: Written by Christian Hammacher f
                      Jan 31 19:48:25 duet3 DuetControlServer[10354]: Licensed under the terms of the 
                      Jan 31 19:48:25 duet3 DuetControlServer[10354]: [info] Settings loaded
                      Jan 31 19:48:25 duet3 DuetControlServer[10354]: [info] Environment initialized
                      Jan 31 19:48:26 duet3 DuetControlServer[10354]: [fatal] Could not connect to Due
                      Jan 31 19:48:26 duet3 systemd[1]: duetcontrolserver.service: Failed with result 
                      Jan 31 19:48:26 duet3 systemd[1]: Failed to start Duet Control Server.
                      Jan 31 19:48:26 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec=
                      Jan 31 19:48:26 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart j
                      Jan 31 19:48:27 duet3 systemd[1]: Stopped Duet Control Server.
                      Jan 31 19:48:27 duet3 systemd[1]: Starting Duet Control Server...
                      Jan 31 19:48:28 duet3 DuetControlServer[10387]: Duet Control Server v3.3.0
                      Jan 31 19:48:28 duet3 DuetControlServer[10387]: Written by Christian Hammacher f
                      Jan 31 19:48:28 duet3 DuetControlServer[10387]: Licensed under the terms of the 
                      lines 980-1001/1001 (END)
                      
                      
                      chrishammundefined 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by Phaedrux

                        Have you tested the Duet in standalone mode to see if it's otherwise functional? What firmware is flashed on it?

                        Is the touch screen powered by it's own supply?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        kzobarlowundefined 1 Reply Last reply Reply Quote 0
                        • chrishammundefined
                          chrishamm administrators @kzobarlow
                          last edited by

                          @kzobarlow Please use journalctl -u duetcontrolserver -e --no-pager because the error mesage is truncated. If it is the same "Cannot put line into event mode" error message (also truncated before), it indicates that something keeps blocking a required GPIO pin.

                          If this is the case, please run the following commands:

                          sudo systemctl stop duetcontrolserver
                          sudo gpioinfo
                          

                          If you get an error invoking gpioinfo, try installing gpiod (sudo apt install gpiod) first. The line starting with line 25 shows you which program blocks access to the GPIO pin.

                          Duet software engineer

                          kzobarlowundefined 1 Reply Last reply Reply Quote 0
                          • kzobarlowundefined
                            kzobarlow @Phaedrux
                            last edited by

                            @phaedrux

                            Yes I tested it without the Pi connected and was able to interact with it through my browser

                            The touch screen is powered by the pi but I switched to a PC monitor powered independently so I can see the terminal screen better but still have the same problem

                            1 Reply Last reply Reply Quote 0
                            • kzobarlowundefined
                              kzobarlow @chrishamm
                              last edited by

                              @chrishamm

                              Result from journalctl -u duetcontrolserver -e --no-pager

                              eb 01 21:08:04 duet3 DuetControlServer[21900]: Duet Control Server v3.3.0
                              Feb 01 21:08:04 duet3 DuetControlServer[21900]: Written by Christian Hammacher for Duet3D
                              Feb 01 21:08:04 duet3 DuetControlServer[21900]: Licensed under the terms of the GNU Public License Version 3
                              Feb 01 21:08:05 duet3 DuetControlServer[21900]: [info] Settings loaded
                              Feb 01 21:08:05 duet3 DuetControlServer[21900]: [info] Environment initialized
                              Feb 01 21:08:06 duet3 DuetControlServer[21900]: [fatal] Could not connect to Duet (Timeout while waiting for transfer ready pin)
                              Feb 01 21:08:06 duet3 systemd[1]: duetcontrolserver.service: Failed with result 'protocol'.
                              Feb 01 21:08:06 duet3 systemd[1]: Failed to start Duet Control Server.
                              Feb 01 21:08:06 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec=100ms expired, scheduling restart.
                              Feb 01 21:08:06 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 623.
                              Feb 01 21:08:06 duet3 systemd[1]: Stopped Duet Control Server.
                              Feb 01 21:08:06 duet3 systemd[1]: Starting Duet Control Server...
                              

                              After tying this

                              sudo systemctl stop duetcontrolserver
                              sudo gpioinfo
                              
                              pi@duet3:~ $ sudo gpioinfo
                              gpiochip0 - 58 lines:
                              	line   0:     "ID_SDA"       unused   input  active-high 
                              	line   1:     "ID_SCL"       unused   input  active-high 
                              	line   2:       "SDA1"       unused   input  active-high 
                              	line   3:       "SCL1"       unused   input  active-high 
                              	line   4:  "GPIO_GCLK"       unused   input  active-high 
                              	line   5:      "GPIO5"       unused   input  active-high 
                              	line   6:      "GPIO6"       unused   input  active-high 
                              	line   7:  "SPI_CE1_N"   "spi0 CS1"  output   active-low [used]
                              	line   8:  "SPI_CE0_N"   "spi0 CS0"  output   active-low [used]
                              	line   9:   "SPI_MISO"       unused   input  active-high 
                              	line  10:   "SPI_MOSI"       unused   input  active-high 
                              	line  11:   "SPI_SCLK"       unused   input  active-high 
                              	line  12:     "GPIO12"       unused   input  active-high 
                              	line  13:     "GPIO13"       unused   input  active-high 
                              	line  14:       "TXD1"       unused   input  active-high 
                              	line  15:       "RXD1"       unused   input  active-high 
                              	line  16:     "GPIO16"       unused   input  active-high 
                              	line  17:     "GPIO17"       unused   input  active-high 
                              	line  18:     "GPIO18"       unused   input  active-high 
                              	line  19:     "GPIO19"       unused   input  active-high 
                              	line  20:     "GPIO20"       unused   input  active-high 
                              	line  21:     "GPIO21"       unused   input  active-high 
                              	line  22:     "GPIO22"       unused   input  active-high 
                              	line  23:     "GPIO23"       unused   input  active-high 
                              	line  24:     "GPIO24"       unused   input  active-high 
                              	line  25:     "GPIO25"       unused   input  active-high 
                              	line  26:     "GPIO26"       unused   input  active-high 
                              	line  27:     "GPIO27"       unused   input  active-high 
                              	line  28: "RGMII_MDIO"       unused   input  active-high 
                              	line  29:  "RGMIO_MDC"       unused   input  active-high 
                              	line  30:       "CTS0"       unused   input  active-high 
                              	line  31:       "RTS0"       unused   input  active-high 
                              	line  32:       "TXD0"       unused   input  active-high 
                              	line  33:       "RXD0"       unused   input  active-high 
                              	line  34:    "SD1_CLK"       unused   input  active-high 
                              	line  35:    "SD1_CMD"       unused   input  active-high 
                              	line  36:  "SD1_DATA0"       unused   input  active-high 
                              	line  37:  "SD1_DATA1"       unused   input  active-high 
                              	line  38:  "SD1_DATA2"       unused   input  active-high 
                              	line  39:  "SD1_DATA3"       unused   input  active-high 
                              	line  40:  "PWM0_MISO"       unused   input  active-high 
                              	line  41:  "PWM1_MOSI"       unused   input  active-high 
                              	line  42: "STATUS_LED_G_CLK" "led0" output active-high [used]
                              	line  43: "SPIFLASH_CE_N" unused input active-high 
                              	line  44:       "SDA0"       unused   input  active-high 
                              	line  45:       "SCL0"       unused   input  active-high 
                              	line  46: "RGMII_RXCLK" unused input active-high 
                              	line  47: "RGMII_RXCTL" unused input active-high 
                              	line  48: "RGMII_RXD0"       unused   input  active-high 
                              	line  49: "RGMII_RXD1"       unused   input  active-high 
                              	line  50: "RGMII_RXD2"       unused   input  active-high 
                              	line  51: "RGMII_RXD3"       unused   input  active-high 
                              	line  52: "RGMII_TXCLK" unused input active-high 
                              	line  53: "RGMII_TXCTL" unused input active-high 
                              	line  54: "RGMII_TXD0"       unused   input  active-high 
                              	line  55: "RGMII_TXD1"       unused   input  active-high 
                              	line  56: "RGMII_TXD2"       unused   input  active-high 
                              	line  57: "RGMII_TXD3"       unused   input  active-high 
                              gpiochip1 - 8 lines:
                              	line   0:      "BT_ON"       unused  output  active-high 
                              	line   1:      "WL_ON"       unused  output  active-high 
                              	line   2: "PWR_LED_OFF" "led1" output active-low [used]
                              	line   3: "GLOBAL_RESET" unused output active-high 
                              	line   4: "VDD_SD_IO_SEL" "vdd-sd-io" output active-high [used]
                              	line   5:   "CAM_GPIO"       unused  output  active-high 
                              	line   6:  "SD_PWR_ON" "sd_vcc_reg"  output  active-high [used]
                              	line   7:    "SD_OC_N"       unused   input  active-high 
                              pi@duet3:~ $ ^C
                              

                              If I'm seeing this right... I don't see anything that's tied to 25?

                              chrishammundefined 1 Reply Last reply Reply Quote 0
                              • chrishammundefined
                                chrishamm administrators @kzobarlow
                                last edited by

                                @kzobarlow That's a different error message now. Please ensure you do not have a microSD card in the Duet.

                                Duet software engineer

                                kzobarlowundefined 1 Reply Last reply Reply Quote 0
                                • kzobarlowundefined
                                  kzobarlow @chrishamm
                                  last edited by

                                  @chrishamm

                                  No SD card is present in the Duet Mini board

                                  1 Reply Last reply Reply Quote 0
                                  • kzobarlowundefined
                                    kzobarlow
                                    last edited by

                                    So again.... if I'm seeing this right "GPIO25" reads unused still and unless I'm missing something don't see anything getting blocked?

                                    1 Reply Last reply Reply Quote 0
                                    • chrishammundefined
                                      chrishamm administrators
                                      last edited by

                                      @kzobarlow Does the DIAG LED on the Duet blink or is it dimmed? Do you have firmware 3.3 installed on the board? If in doubt, you can flash it again. You can find firmware version 3.3 here ( Duet3Firmware_Mini5plus.uf2).

                                      If you have a multimeter, you can also check continuity between pin 22 of the Pi and Duet. When you're at it, you could check pin 17 as well, because that signal is required for SPI comms, too.

                                      Duet software engineer

                                      kzobarlowundefined 1 Reply Last reply Reply Quote 0
                                      • kzobarlowundefined
                                        kzobarlow @chrishamm
                                        last edited by

                                        @chrishamm

                                        Still getting DCS Error...

                                        "Does the DIAG LED on the Duet blink or is it dimmed?"

                                        • Not sure which one that is, looking at the wiring diagram LED V FUSED and LED 12V are the only ones active and showing a solid light.
                                        • All other lights LED ACT, LED STATUS, LED +5V, and LED +3.3V do not turn on even during powering on the PSU
                                        • Again Pi is powered by an independent 5V PSU and Mini is powered by a 24 PSU

                                        "Do you have firmware 3.3 installed on the board?"

                                        • Yes checked with M115
                                        • Reflashed using Fallback procedure #1 and Fallback procedure #2
                                        • SD Card was removed after confirming again with YAT RRF is up to date

                                        "If you have a multimeter, you can also check continuity between pin 22 of the Pi and Duet. When you're at it, you could check pin 17 as well, because that signal is required for SPI comms, too."

                                        • Checked with a multimeter and continuity is fine for both pins

                                        Trying terminal again

                                        Feb 06 22:19:30 duet3 DuetControlServer[4022]: Duet Control Server v3.3.0
                                        Feb 06 22:19:30 duet3 DuetControlServer[4022]: Written by Christian Hammacher for Duet3D
                                        Feb 06 22:19:30 duet3 DuetControlServer[4022]: Licensed under the terms of the GNU Public License Version 3
                                        Feb 06 22:19:30 duet3 DuetControlServer[4022]: [info] Settings loaded
                                        Feb 06 22:19:31 duet3 DuetControlServer[4022]: [info] Environment initialized
                                        Feb 06 22:19:31 duet3 DuetControlServer[4022]: [fatal] Could not connect to Duet (Timeout while waiting for transfer ready pin)
                                        Feb 06 22:19:31 duet3 systemd[1]: duetcontrolserver.service: Failed with result 'protocol'.
                                        Feb 06 22:19:31 duet3 systemd[1]: Failed to start Duet Control Server.
                                        Feb 06 22:19:32 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec=100ms expired, scheduling restart.
                                        Feb 06 22:19:32 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 87.
                                        Feb 06 22:19:32 duet3 systemd[1]: Stopped Duet Control Server.
                                        Feb 06 22:19:32 duet3 systemd[1]: Starting Duet Control Server...
                                        -----------------------------------------------------------------------------------
                                        pi@duet3:~ $ gpioinfo
                                        gpiochip0 - 58 lines:
                                        	line   0:     "ID_SDA"       unused   input  active-high 
                                        	line   1:     "ID_SCL"       unused   input  active-high 
                                        	line   2:       "SDA1"       unused   input  active-high 
                                        	line   3:       "SCL1"       unused   input  active-high 
                                        	line   4:  "GPIO_GCLK"       unused   input  active-high 
                                        	line   5:      "GPIO5"       unused   input  active-high 
                                        	line   6:      "GPIO6"       unused   input  active-high 
                                        	line   7:  "SPI_CE1_N"   "spi0 CS1"  output   active-low [used]
                                        	line   8:  "SPI_CE0_N"   "spi0 CS0"  output   active-low [used]
                                        	line   9:   "SPI_MISO"       unused   input  active-high 
                                        	line  10:   "SPI_MOSI"       unused   input  active-high 
                                        	line  11:   "SPI_SCLK"       unused   input  active-high 
                                        	line  12:     "GPIO12"       unused   input  active-high 
                                        	line  13:     "GPIO13"       unused   input  active-high 
                                        	line  14:       "TXD1"       unused   input  active-high 
                                        	line  15:       "RXD1"       unused   input  active-high 
                                        	line  16:     "GPIO16"       unused   input  active-high 
                                        	line  17:     "GPIO17"       unused   input  active-high 
                                        	line  18:     "GPIO18"       unused   input  active-high 
                                        	line  19:     "GPIO19"       unused   input  active-high 
                                        	line  20:     "GPIO20"       unused   input  active-high 
                                        	line  21:     "GPIO21"       unused   input  active-high 
                                        	line  22:     "GPIO22"       unused   input  active-high 
                                        	line  23:     "GPIO23"       unused   input  active-high 
                                        	line  24:     "GPIO24"       unused   input  active-high 
                                        	line  25:     "GPIO25"       unused   input  active-high 
                                        	line  26:     "GPIO26"       unused   input  active-high 
                                        	line  27:     "GPIO27"       unused   input  active-high 
                                        	line  28: "RGMII_MDIO"       unused   input  active-high 
                                        	line  29:  "RGMIO_MDC"       unused   input  active-high 
                                        	line  30:       "CTS0"       unused   input  active-high 
                                        	line  31:       "RTS0"       unused   input  active-high 
                                        	line  32:       "TXD0"       unused   input  active-high 
                                        	line  33:       "RXD0"       unused   input  active-high 
                                        	line  34:    "SD1_CLK"       unused   input  active-high 
                                        	line  35:    "SD1_CMD"       unused   input  active-high 
                                        	line  36:  "SD1_DATA0"       unused   input  active-high 
                                        	line  37:  "SD1_DATA1"       unused   input  active-high 
                                        	line  38:  "SD1_DATA2"       unused   input  active-high 
                                        	line  39:  "SD1_DATA3"       unused   input  active-high 
                                        	line  40:  "PWM0_MISO"       unused   input  active-high 
                                        	line  41:  "PWM1_MOSI"       unused   input  active-high 
                                        	line  42: "STATUS_LED_G_CLK" "led0" output active-high [used]
                                        	line  43: "SPIFLASH_CE_N" unused input active-high 
                                        	line  44:       "SDA0"       unused   input  active-high 
                                        	line  45:       "SCL0"       unused   input  active-high 
                                        	line  46: "RGMII_RXCLK" unused input active-high 
                                        	line  47: "RGMII_RXCTL" unused input active-high 
                                        	line  48: "RGMII_RXD0"       unused   input  active-high 
                                        	line  49: "RGMII_RXD1"       unused   input  active-high 
                                        	line  50: "RGMII_RXD2"       unused   input  active-high 
                                        	line  51: "RGMII_RXD3"       unused   input  active-high 
                                        	line  52: "RGMII_TXCLK" unused input active-high 
                                        	line  53: "RGMII_TXCTL" unused input active-high 
                                        	line  54: "RGMII_TXD0"       unused   input  active-high 
                                        	line  55: "RGMII_TXD1"       unused   input  active-high 
                                        	line  56: "RGMII_TXD2"       unused   input  active-high 
                                        	line  57: "RGMII_TXD3"       unused   input  active-high 
                                        gpiochip1 - 8 lines:
                                        	line   0:      "BT_ON"       unused  output  active-high 
                                        	line   1:      "WL_ON"       unused  output  active-high 
                                        	line   2: "PWR_LED_OFF" "led1" output active-low [used]
                                        	line   3: "GLOBAL_RESET" unused output active-high 
                                        	line   4: "VDD_SD_IO_SEL" "vdd-sd-io" output active-high [used]
                                        	line   5:   "CAM_GPIO"       unused  output  active-high 
                                        	line   6:  "SD_PWR_ON" "sd_vcc_reg"  output  active-high [used]
                                        	line   7:    "SD_OC_N"       unused   input  active-high 
                                        
                                        
                                        -------------------------------------------------------------------------
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post
                                        Unless otherwise noted, all forum content is licensed under CC-BY-SA