Since I'm desperate to get this working I now tried connecting it via ribbon cable and a raspberry pi 3B v1.2. I had an old SD card with the raspberry pi image on it and the raspberry pi boots up and connects to ethernet. But it does not load a DWC, and when running lsusb
it does not seem to find the duet. I will admit that I'm not 100% if the Pi image and the duet have the same version number, but I'm sure they are close (possibly the Pi is 3.2.2 while duet is 3.3. Is there a way to check Pi firmware version?).
I have the duet powering the RasPi via jumper settings. It's a 3B pi with nothing else connected to it and both the duet and the Pi seem to run fine, except not communicating.
I'd still prefer having it working in standalone mode but if this is easier to fix I'll settle for that, so long as I get it running again quickly.
Results of journalctl -u duetcontrolserver -e
Apr 19 16:18:53 duet3 systemd[1]: duetcontrolserver.service: Succeeded.
Apr 19 16:18:58 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec=5s expired, scheduling restart.
Apr 19 16:18:58 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 49.
Apr 19 16:18:58 duet3 systemd[1]: Stopped Duet Control Server.
Apr 19 16:18:58 duet3 systemd[1]: Started Duet Control Server.
Apr 19 16:18:58 duet3 DuetControlServer[2005]: Duet Control Server v1.1.0.5
Apr 19 16:18:58 duet3 DuetControlServer[2005]: Written by Christian Hammacher for Duet3D
Apr 19 16:18:58 duet3 DuetControlServer[2005]: Licensed under the terms of the GNU Public License Version 3
Apr 19 16:18:58 duet3 DuetControlServer[2005]: Loading settings... Done!
Apr 19 16:18:59 duet3 DuetControlServer[2005]: Initialising variables... Done!
Apr 19 16:18:59 duet3 DuetControlServer[2005]: Connecting to RepRapFirmware... Error: Duet is not available
Apr 19 16:18:59 duet3 systemd[1]: duetcontrolserver.service: Succeeded.
Apr 19 16:19:04 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec=5s expired, scheduling restart.
Apr 19 16:19:04 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 50.
Apr 19 16:19:04 duet3 systemd[1]: Stopped Duet Control Server.
Apr 19 16:19:04 duet3 systemd[1]: Started Duet Control Server.
Apr 19 16:19:05 duet3 DuetControlServer[2019]: Duet Control Server v1.1.0.5
Apr 19 16:19:05 duet3 DuetControlServer[2019]: Written by Christian Hammacher for Duet3D
Apr 19 16:19:05 duet3 DuetControlServer[2019]: Licensed under the terms of the GNU Public License Version 3
Apr 19 16:19:05 duet3 DuetControlServer[2019]: Loading settings... Done!
Apr 19 16:19:05 duet3 DuetControlServer[2019]: Initialising variables... Done!
Apr 19 16:19:06 duet3 DuetControlServer[2019]: Connecting to RepRapFirmware... Error: Duet is not available
Apr 19 16:19:06 duet3 systemd[1]: duetcontrolserver.service: Succeeded.
Results of M122:
[17:15:19:033] === Diagnostics ===␊
[17:15:19:033] RepRapFirmware for Duet 3 MB6HC version 3.3 (2021-06-15 21:45:47) running on Duet 3 MB6HC v1.01 or later (SBC mode)␊
[17:15:19:033] Board ID: 08DJM-956BA-NA3TN-6J9F0-3SJ6R-1V86U␊
[17:15:19:033] Used output buffers: 1 of 40 (1 max)␊
[17:15:19:033] === RTOS ===␊
[17:15:19:033] Static ram: 150904␊
[17:15:19:033] Dynamic ram: 59980 of which 0 recycled␊
[17:15:19:036] Never used RAM 143308, free system stack 190 words␊
[17:15:19:036] Tasks: SBC(ready,4.1%,606) HEAT(delaying,0.0%,405) Move(notifyWait,0.0%,352) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,339) TMC(notifyWait,7.0%,93) MAIN(running,88.8%,1244) IDLE(ready,0.1%,29), total 100.0%␊
[17:15:19:036] Owned mutexes: USB(MAIN)␊
[17:15:19:036] === Platform ===␊
[17:15:19:036] Last reset 00:01:56 ago, cause: power up␊
[17:15:19:036] Last software reset at 2023-04-06 19:09, reason: User, GCodes spinning, available RAM 107800, slot 1␊
[17:15:19:036] Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a␊
[17:15:19:036] Error status: 0x00␊
[17:15:19:036] Step timer max interval 14997␊
[17:15:19:036] MCU temperature: min 31.8, current 42.4, max 42.4␊
[17:15:19:036] Supply voltage: min 28.9, current 28.9, max 28.9, under voltage events: 0, over voltage events: 0, power good: yes␊
[17:15:19:036] 12V rail voltage: min 12.1, current 12.2, max 12.3, under voltage events: 0␊
[17:15:19:036] Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0␊
[17:15:19:036] Driver 0: position 0, standstill, reads 63092, writes 11 timeouts 0, SG min/max 0/0␊
[17:15:19:036] Driver 1: position 0, standstill, reads 63092, writes 11 timeouts 0, SG min/max 0/0␊
[17:15:19:036] Driver 2: position 0, standstill, reads 63092, writes 11 timeouts 0, SG min/max 0/0␊
[17:15:19:036] Driver 3: position 0, standstill, reads 63092, writes 11 timeouts 0, SG min/max 0/0␊
[17:15:19:036] Driver 4: position 0, standstill, reads 63092, writes 11 timeouts 0, SG min/max 0/0␊
[17:15:19:036] Driver 5: position 0, standstill, reads 63092, writes 11 timeouts 0, SG min/max 0/0␊
[17:15:19:036] Date/time: 1970-01-01 00:00:00␊
[17:15:19:036] Slowest loop: 0.12ms; fastest: 0.00ms␊
[17:15:19:036] === Storage ===␊
[17:15:19:036] Free file entries: 10␊
[17:15:19:036] SD card 0 not detected, interface speed: 37.5MBytes/sec␊
[17:15:19:036] SD card longest read time 0.0ms, write time 0.0ms, max retries 0␊
[17:15:19:036] === Move ===␊
[17:15:19:036] DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000␊
[17:15:19:036] === MainDDARing ===␊
[17:15:19:036] Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1␊
[17:15:19:036] === AuxDDARing ===␊
[17:15:19:036] Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1␊
[17:15:19:036] === Heat ===␊
[17:15:19:036] Bed heaters = -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1␊
[17:15:19:036] === GCodes ===␊
[17:15:19:036] Segments left: 0␊
[17:15:19:036] Movement lock held by null␊
[17:15:19:036] HTTP is idle in state(s) 0␊
[17:15:19:036] Telnet is idle in state(s) 0␊
[17:15:19:036] File is idle in state(s) 0␊
[17:15:19:036] USB is ready with "M122" in state(s) 0␊
[17:15:19:036] Aux is idle in state(s) 0␊
[17:15:19:036] Trigger is idle in state(s) 0␊
[17:15:19:036] Queue is idle in state(s) 0␊
[17:15:19:036] LCD is idle in state(s) 0␊
[17:15:19:036] SBC is idle in state(s) 0␊
[17:15:19:036] Daemon is idle in state(s) 0␊
[17:15:19:036] Aux2 is idle in state(s) 0␊
[17:15:19:036] Autopause is idle in state(s) 0␊
[17:15:19:036] Code queue is empty.␊
[17:15:19:036] === CAN ===␊
[17:15:19:036] Messages queued 583, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 49 (min 49), ts 583/0/0␊
[17:15:19:036] Tx timeouts 0,0,582,0,0,0 last cancelled message type 30 dest 127␊
[17:15:19:036] ␊
[17:15:19:036] === SBC interface ===␊
[17:15:19:036] State: 0, failed transfers: 1, checksum errors: 3␊
[17:15:19:036] Last transfer: 99003ms ago␊
[17:15:19:036] RX/TX seq numbers: 1/1␊
[17:15:19:036] SPI underruns 0, overruns 0␊
[17:15:19:036] Disconnects: 0, timeouts: 0, IAP RAM available 0x2c83c␊
[17:15:19:036] Buffer RX/TX: 0/0-0␊
[17:15:19:036] ok␊