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

    Duet 2 Wifi/Ethernet + SBC (RRF 3.2)

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    8
    12
    994
    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.
    • A Former User?
      A Former User
      last edited by

      i doubt they'd be able to sell a board much cheaper than ordering one yourself from https://forum.duet3d.com/post/178134 jlcpcb even does the smt assembly for ridicilous prices; or gang up to split the costs like PCR suggest. (the design is the same as on the duet3 mini/duet 3 6hc)

      as for manual, what the thread you linked to doesn't cover the RRF3 and Duet3 documentation covers

      (incidentally, if random norwegians need one, hit me up)

      1 Reply Last reply Reply Quote 0
      • javitopiaundefined
        javitopia
        last edited by

        I also in the process to "update" my duet 2. I have ordered a few pcbs and currently I'm waiting for the components, so as soon as I test them I could sell the spares.

        I'm from Europe (spain) BTW

        1 Reply Last reply Reply Quote 0
        • MartinNYHCundefined
          MartinNYHC
          last edited by

          May I ask if someone is so kind to summarize the firmware related steps neccessary to connect a Duet 2 Wifi to the SBC?

          I connect the Duet 2 Wifi to the RPI4, removed the SD card from the Duet but obviously stucking to install the firmware. Read all the realted posts but are quite confused currently 😊

          Thanks!

          Phaedruxundefined resamundefined 2 Replies Last reply Reply Quote 0
          • TopperHarleyundefined
            TopperHarley
            last edited by

            I have ordered some of these nice PCBs by @deadwood83 for Duet2-Ethernet at JLCPCB: (PCBs are full by JLCPCB)
            https://easyeda.com/p.cartwrig/duetdaughterboard_sbc
            (Big thanks for the great work!)

            Because i only need one of these, i have to share 4 to the community. So if you live in germany, fell free to contact me.

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

              @martinnyhc Perhaps best to start a new thread and detail how far you've gotten and where you're stuck.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • resamundefined
                resam @MartinNYHC
                last edited by

                @martinnyhc follow https://forum.duet3d.com/topic/20576/duet-2-wifi-ethernet-sbc-rrf-3-2/1 to flash this firmware file: https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2Firmware_SBC.bin

                MartinNYHCundefined 1 Reply Last reply Reply Quote 0
                • MartinNYHCundefined
                  MartinNYHC @resam
                  last edited by MartinNYHC

                  @resam Already did that. What I see is

                  DuetControlServer -l debug
                  Duet Control Server v3.2.0
                  Written by Christian Hammacher for Duet3D
                  Licensed under the terms of the GNU Public License Version 3
                  
                  [info] Settings loaded
                  [info] Environment initialized
                  [fatal] Could not connect to Duet (Timeout while waiting for transfer ready pin)
                  [debug] System.OperationCanceledException: Timeout while waiting for transfer ready pin
                     at DuetControlServer.SPI.DataTransfer.WaitForTransfer(Boolean inTransfer) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 1086
                     at DuetControlServer.SPI.DataTransfer.ExchangeHeader() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 1148
                     at DuetControlServer.SPI.DataTransfer.PerformFullTransfer(Boolean connecting) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 162
                     at DuetControlServer.SPI.DataTransfer.Init() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 104
                     at DuetControlServer.Program.Main(String[] args) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Program.cs:line 113
                  

                  With jumpers placed on GPIO pins 22-24 and 19-21

                  pi@duet3:~/spidev-test $ ./spidev_test -v
                  spi mode: 0x4
                  bits per word: 8
                  max speed: 500000 Hz (500 KHz)
                  TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D  | ......@....�..................�.
                  RX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D  | ......@....�..................�.
                  

                  With jumpers placed on GPIO pins 22-24 and 19-21

                  pi@duet3:~/spidev-test $ RDY=22 CS=24 ; {  gpio -1 mode $CS out; gpio -1 mode $RDY in; gpio -1 write $CS 1 && echo "(Pin RDY/$RDY) `gpio -1 read $RDY` should equal `gpio -1 read $CS` (Pin CS/$CS)"; gpio -1 write $CS 0 && echo "(Pin RDY/$RDY) `gpio -1 read $RDY` should equal `gpio -1 read $CS` (Pin CS/$CS)"; { ~/spidev-test/spidev_test -v -s 8000000 -D /dev/spidev0.0 && echo RX should equal TX. ;} | tail -n3 | cut -b-100 ;}
                  (Pin RDY/22) 0 should equal 1 (Pin CS/24)
                  (Pin RDY/22) 0 should equal 1 (Pin CS/24)
                  TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D
                  RX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D
                  RX should equal TX.
                  
                  MartinNYHCundefined 1 Reply Last reply Reply Quote 0
                  • MartinNYHCundefined
                    MartinNYHC @MartinNYHC
                    last edited by

                    @martinnyhc Flashed the board again and now it looks different.

                    [debug] Lost connection to Duet
                       System.OperationCanceledException: Board is not available (no header)
                       at DuetControlServer.SPI.DataTransfer.ExchangeHeader() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 1170
                       at DuetControlServer.SPI.DataTransfer.PerformFullTransfer(Boolean connecting) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 162
                    [warn] Bad header CRC32 (expected 0x00000000, got 0x1523f9ff)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x0004005f)
                    [warn] Bad header CRC16 (expected 0x2000, got 0x5561)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x0004005f)
                    [warn] Restarting transfer because the number of maximum retries has been exceeded
                    [warn] Bad header CRC16 (expected 0x2000, got 0x5561)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x0004005f)
                    [warn] Bad header CRC32 (expected 0x00000000, got 0x1523f9ff)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x00000005)
                    [warn] Bad header CRC16 (expected 0x0000, got 0xacf2)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x0004005f)
                    [warn] Restarting transfer because the number of maximum retries has been exceeded
                    [warn] Bad header CRC16 (expected 0x2000, got 0x5561)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x0004005f)
                    [warn] Bad header CRC32 (expected 0x00000000, got 0x1523f9ff)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x00000005)
                    [warn] Bad header CRC16 (expected 0x0000, got 0xacf2)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x0004005f)
                    [warn] Restarting transfer because the number of maximum retries has been exceeded
                    [warn] Restarting transfer because the number of maximum retries has been exceeded
                    [warn] Bad header CRC32 (expected 0xd3455a09, got 0x7431ad0c)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x000000f8)
                    [debug] Lost connection to Duet
                       System.OperationCanceledException: Board is not available (no header)
                       at DuetControlServer.SPI.DataTransfer.ExchangeHeader() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 1170
                       at DuetControlServer.SPI.DataTransfer.PerformFullTransfer(Boolean connecting) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 162
                    [warn] Bad header CRC32 (expected 0xd1455a09, got 0x7431ad0c)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x00000005)
                    [warn] Bad header CRC32 (expected 0x00000000, got 0x1523f9ff)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x0004005f)
                    [warn] Restarting transfer because the number of maximum retries has been exceeded
                    [warn] Bad header CRC16 (expected 0x0000, got 0xacf2)
                    [warn] Note: RepRapFirmware didn't receive valid data either (code 0x0004005f)
                    [debug] Lost connection to Duet
                       System.OperationCanceledException: Board is not available (no header)
                       at DuetControlServer.SPI.DataTransfer.ExchangeHeader() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 1170
                       at DuetControlServer.SPI.DataTransfer.PerformFullTransfer(Boolean connecting) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 162
                    [fatal] Abnormal program termination
                    [fatal] SPI task faulted
                       System.Exception: RepRapFirmware refused message format
                       at DuetControlServer.SPI.DataTransfer.ExchangeHeader() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 1274
                       at DuetControlServer.SPI.DataTransfer.PerformFullTransfer(Boolean connecting) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 162
                       at DuetControlServer.SPI.Interface.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 891
                    [fatal] SPI task faulted
                       System.Exception: RepRapFirmware refused message format
                       at DuetControlServer.SPI.DataTransfer.ExchangeHeader() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 1274
                       at DuetControlServer.SPI.DataTransfer.PerformFullTransfer(Boolean connecting) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 162
                       at DuetControlServer.SPI.Interface.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 891
                    [debug] IPC task terminated
                    [debug] Periodic updater task terminated
                    [debug] Job task terminated
                    [debug] Update task terminated
                    [debug] Stopping plugins and saving their execution state
                    [info] Application has shut down
                    
                    1 Reply Last reply Reply Quote 0
                    • CNCModellerundefined
                      CNCModeller @TopperHarley
                      last edited by

                      @topperharley said in Duet 2 Wifi/Ethernet + SBC (RRF 3.2):

                      I have ordered some of these nice PCBs by @deadwood83 for Duet2-Ethernet at JLCPCB: (PCBs are full by JLCPCB)
                      https://easyeda.com/p.cartwrig/duetdaughterboard_sbc
                      (Big thanks for the great work!)

                      Because i only need one of these, i have to share 4 to the community. So if you live in germany, fell free to contact me.

                      Hi @TopperHarley ,
                      I've been wanting to try JLC PCB for ages but have no idea how to go about it.

                      Could you please give me some advice what files etc I'd need to provide from the linked pages to get a fully assembled board.

                      I guess I could get a few made up and share in the UK if there is demand.

                      Many thanks
                      Barry M

                      Polar Duet3 Mini + 1HCL
                      https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                      Wanhao D4S: Duet2
                      https://forum.duet3d.com/post/296755
                      K40 Laser, Duet2
                      https://forum.duet3d.com/post/312082
                      Wanhao D5S
                      https://www.youtube.com/CNCModellerUK

                      1 Reply Last reply Reply Quote 0
                      • MartinNYHCundefined
                        MartinNYHC
                        last edited by

                        I changed the frequency to 200000 in config.json and the connection is now established 🙂

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