Duet 2 Wifi/Ethernet + SBC (RRF 3.2)
-
If more than 10 people want an adapter in Europe i would make some! Best
-
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)
-
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
-
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!
-
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.
-
@martinnyhc Perhaps best to start a new thread and detail how far you've gotten and where you're stuck.
-
-
@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.
-
@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
-
@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 -
I changed the frequency to 200000 in config.json and the connection is now established