Duet3/pi DCS is unavailable after wiring 24V
-
@fractalengineer, thanks for doing that. We suspect a hardware problem. Please ask your supplier to replace the Duet and ribbon cable under warranty. You may refer your supplier to this post for authorisation.
@Azul, please start a new thread for your issue, explaining what the problem is, what software versions you are using, and what you have tried.
-
@dc42 Hi Tony; well ok I bought it directly from Duet, order #7829. Will send a request RMA. Thanks
-
@fractalengineer said in Duet3/pi flashing Diag LED after wiring 24V DCS is unavailable:
@dc42 Hi Tony; well ok I bought it directly from Duet, order #7829. Will send a request RMA. Thanks
In that case, see https://www.duet3d.com/warranty for the procedure.
-
Hi Again...
So I just received my replacement board and I'm still getting an error
Here's what I did upon opening up the box:
1-Wrote @chrishamm image on the SD card
2-Flashed the board to 3.01 RC7 using Bossa
3-Connected the pi to the boardHere's the error message I get; it's different than last time:
pi@duet3:~ $ sudo journalctl -u duetcontrolserver -e Apr 23 11:09:06 duet3 DuetControlServer[2500]: Licensed under the terms of the G Apr 23 11:09:09 duet3 DuetControlServer[2500]: [info] Settings loaded Apr 23 11:09:09 duet3 DuetControlServer[2500]: [info] Environment initialized Apr 23 11:09:10 duet3 DuetControlServer[2500]: [fatal] Duet is not available Apr 23 11:09:10 duet3 systemd[1]: duetcontrolserver.service: Succeeded. Apr 23 11:09:15 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec= Apr 23 11:09:15 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart j Apr 23 11:09:15 duet3 systemd[1]: Stopped Duet Control Server. Apr 23 11:09:15 duet3 systemd[1]: Started Duet Control Server. Apr 23 11:09:16 duet3 DuetControlServer[2566]: Duet Control Server v1.3.2 Apr 23 11:09:16 duet3 DuetControlServer[2566]: Written by Christian Hammacher fo Apr 23 11:09:16 duet3 DuetControlServer[2566]: Licensed under the terms of the G Apr 23 11:09:18 duet3 DuetControlServer[2566]: [info] Settings loaded Apr 23 11:09:19 duet3 DuetControlServer[2566]: [info] Environment initialized Apr 23 11:09:20 duet3 DuetControlServer[2566]: [fatal] Duet is not available Apr 23 11:09:20 duet3 systemd[1]: duetcontrolserver.service: Succeeded. Apr 23 11:09:25 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec= Apr 23 11:09:25 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart j Apr 23 11:09:25 duet3 systemd[1]: Stopped Duet Control Server. Apr 23 11:09:25 duet3 systemd[1]: Started Duet Control Server. Apr 23 11:09:26 duet3 DuetControlServer[2596]: Duet Control Server v1.3.2 Apr 23 11:09:26 duet3 DuetControlServer[2596]: Written by Christian Hammacher fo Apr 23 11:09:26 duet3 DuetControlServer[2596]: Licensed under the terms of the G
I don't understand what's going on anymore.
Following the getting started guide I even enabled SPI and started DCS; still no luck
Really bummed out now; any idea what to do?
I left all the components version as is from the image:
pi@duet3:~ $ apt list 2>/dev/null | grep duet duetcontrolserver/now 1.3.2 armhf [installed,local] duetruntime/now 1.3.2 armhf [installed,local] duetsd/now 1.0.6 all [installed,local] duetsoftwareframework/now 1.3.2 armhf [installed,local] duettools/now 1.3.2 armhf [installed,local] duetwebcontrol/now 2.1.2 all [installed,local] duetwebserver/now 1.3.1 armhf [installed,local]
-
Do you have a spare Raspberry Pi? If you can confirm proper connectivity between the Pi and the Duet 3, then the only option left is a damanged SPI controller on the Pi itself.
-
@chrishamm We tried another pi on the previous board already, that's why I'm so confused
I can try again on the new one
-
@fractalengineer said in Duet3/pi flashing Diag LED after wiring 24V DCS is unavailable:
2-Flashed the board to 3.01 RC7 using Bossa
did you confirm the new firmware version with M115 or M122 after flashing?
(not that it'd matter, but they have released RC9 since last time.)
-
@bearer yep
M115 FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.01-RC7 ELECTRONICS: Duet 3 MB6HC v0.6 or 1.0 FIRMWARE_DATE: 2020-04-14b3
I'll try RC9 fwiw
Edit: Yeah RC9 no luck
-
Not to make light of the situation, but I did say you should get the volcano insurance..
So you've tried new pi, new cable, new duet.
That leaves power supply?
-
@bearer lol
Well so far I tried different USB ports, including the 3A charging port, and powersupply when powered through VIN is a brand new MeanWell 350W 24V
The 5 and 3.3V power lights on the Duet are on as they should when plugged in usb
-
Unless you've got a scope or a logic analyzer I'm out of ideas; sorry.
-
@bearer yes I'm looking forward to try another pi
One thing happened to me once on a quadcopter
It used a separate board for ESC connected to the flight controller board by pwm
One day I plugged in and one motor started acting funny; then after trying to connect to the firmware front end it got worse, and eventually, the flight controller became unresponsive.
A couple messages back and forth with the FC designer (used an STM32 F7 chip; wasn't junk) he told me he had experiences of shorts happening on the ESC, running back to the FC board and frying sectors of the chip
Anyway I have no clue what's going on, but if anything I would like to try if there's a possibilty something on the old board may have fried the SPI capability of my pi on top of it's own
New duet and new pi must do something
-
@fractalengineer said:
pi@duet3:~ $ apt list 2>/dev/null | grep duet
duetsoftwareframework/now 1.3.2 armhf [installed,local]Flashed the board to 3.01 RC7 using Bossa
I believe those two won't talk to each other. I would do a standard
sudo apt update sudo apt upgrade
And let the system move itself to DSF 2.1.0. That should fix things... but... it may not be able to auto-flash the board.
-
If, after the update/upgrade, your apt-list shows duetsoftwareframework/now 2.1.0 armhf [installed,local], and things are still not working, then bossa the board with the file /opt/dsf/sd/sys/Duet3Firmware_MB6HC.bin
-
If, after the update/upgrade, your apt list shows anything else for DSF itself, ask again here.
You are very close. We'll get you going.
-
-
@Danal Thank you;
So I just updated the packages and I saw this message while it was running: (line 4)
Setting up duetwebserver (2.1.0) ... Setting up git (1:2.20.1-2+deb10u3) ... Setting up reprapfirmware (2.1.0-1) ... [fatal] Duet is not available Setting up rpi-eeprom (5.8-1) ... Setting up duetsoftwareframework (2.1.0) ... Processing triggers for mime-support (3.62) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for desktop-file-utils (0.23-4) ... Processing triggers for initramfs-tools (0.133+deb10u1) ... pi@duet3:~ $ apt list 2>/dev/null | grep duet duetcontrolserver/unstable,now 2.1.0 armhf [installed,automatic] duetruntime/unstable,now 2.1.0 armhf [installed,automatic] duetsd/unstable,now 1.0.6 all [installed,automatic] duetsoftwareframework/unstable,now 2.1.0 armhf [installed] duettools/unstable,now 2.1.0 armhf [installed,automatic] duetwebcontrol/unstable,now 2.1.4 all [installed,automatic] duetwebserver/unstable,now 2.1.0 armhf [installed,automatic]
Still not working.
I can't find this location
/opt/dsf/sd/sys/Duet3Firmware_MB6HC.bin
But the board is already flashed in 3.01 RC9.M115 FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.01-RC9 ELECTRONICS: Duet 3 MB6HC v0.6 or 1.0 FIRMWARE_DATE: 2020-04-21b1
I'll borrow my friend's pi 4 in a couple hours; keep you posted
-
Man I don't get it anymore...
On the other Pi the wifi now doesn't work; I triple checked the wpa supplicant and it still won't show on network
Meanwhile, even through the HDMI it still shows DCS not started
Halp
-
@fractalengineer said in Duet3/pi flashing Diag LED after wiring 24V DCS is unavailable:
On the other Pi the wifi now doesn't work
i'm sure we can figure that out, maybe do a new thread after having tested the new pi
-
Progress! Clearly upgraded to 2.1.0
Line 4 I sort of expected. That is why we may need to bossa the board one more time. After we get everything in sync, future upgrades will take care of this and keep things in sync.
Not finding /opt/dsf/sd/sys/Duet3Firmware_MB6HC.bin is a little concerning. Can you please:
ls /opt/dsf ls /opt/dsf/sd ls /opt/dsf/sd/sys
And post the results here?
-
Chris built your image, so the following SHOULD be OK, but just for triple-check:
Run sudo raspi-config Navigate to 5 Interface options Go to P4 SPI Confirm to enable the SPI interface
Once done, run
ls /dev/spidev*
and verify that /dev/spidev0.0 exists.Then run this command:
echo "options spidev bufsiz=8192" | sudo tee /etc/modprobe.d/spidev.conf
And reboot
-
@Danal said in Duet3/pi flashing Diag LED after wiring 24V DCS is unavailable:
Chris built your image, so the following SHOULD be OK, but just for triple-check:
Run sudo raspi-config Navigate to 5 Interface options Go to P4 SPI Confirm to enable the SPI interface
Once done, run
ls /dev/spidev*
and verify that /dev/spidev0.0 exists.Then run this command:
echo "options spidev bufsiz=8192" | sudo tee /etc/modprobe.d/spidev.conf
And reboot
no need. DCS specifically says
[error] Failed to connect to Duet System.IO.IOException: Error 2. Can not open SPI device file '/dev/spidev0.0'.
if thats the case; the shown error Duet not available as such confirms the SPI device is accessible.
-
@bearer said in Duet3/pi flashing Diag LED after wiring 24V DCS is unavailable:
[error] Failed to connect to Duet
System.IO.IOException: Error 2. Can not open SPI device file '/dev/spidev0.0'.Can an error 2 on open happen because the device does not exist?