Not connecting
-
@droftarts I have tried a cable that I confirmed will transfer data from my phone. It did not work either.
-
As long as the computer makes a noise the data pair should be present me thinks. But if erasing doesn't give you a Bossa serial port I think this is one for dc42
-
If the computer makes a noise when you connect the Duet via USB, then if it is running Windows one of the following should happen:
-
You get a popup message in the lower right corner of the screen for a few seconds saying that connection failed (typically "invalid device descriptor" or something like that). If this happens, try another port, or reboot the computer. Also ensure that you either have VIN power connected and the internal 5V regulator enabled, or you do not have a RPi or PanelDue connected (because a USB port can't supply enough power for a Pi, and possibly not for a PanelDue).
-
You get something appearing in Device Manager - usually an entry under "Ports - COM and LPT" but possibly an "Unknown device".
-
-
@dc42 I tried again. I first tested the cable on my mobile phone. I then tried it on the Duet 3. I get a ding on the computer quickly followed by another ding as if it was unplugged. I'm somewhat sure I didn't get that second ding before. Nothing shows in device manage. I re-seated the cable, 2 dings. On the third try, no dings. I tested the cable on my mobile phone, it still works. Tried again on my PC, no ding. I tried the board on another PC, no ding. Each time I plug the cable in I get a red light at the port on the board. I'm clawing my knees out of frustration here.
-
@dc42 Also, I am using a 24V power supply. Nothing else is connected to the board.
-
Do you have a Raspberry Pi? You can also run bossa there, and avoid a lot of windows USB oddities.
If you wish to try this, logon to Pi (ssh is fine) and:
Part 1, install bossa:
git clone https://github.com/shumatech/BOSSA
cd BOSSA
makeThat should work, if the make fails, you might need to install a pre-req of some sort, look for messages and sudo apt-get install xxxxxx to get whatever is missing.
Part 2: Be sure you have the firmware.
If your Pi is already part of a Duet3+Pi configuration, the firmware will be in:
/opt/dsf/sd/sys/Duet3Firmware_MB6HC.bin
If your Pi is not part of a Duet install, get the firmware from https://github.com/dc42/RepRapFirmware/releases
Part 3: Running bossa (really bossac, the command line version):
Use a USB cable to attach the Pi to the Duet. It is OK to power the duet from VIN. It is OK to power the Duet from the Pi usb. If part of a D3/Pi, it is OK to leave the ribbon cable attached.
Erase and reset the Duet.
Run this command:
~/BOSSA/bin/bossac -e -w -v -b /opt/dsf/sd/sys/Duet3Firmware_MB6HC.bin
It should take less than one minute.
-
@Weevil said in Not connecting:
@dc42 I tried again. I first tested the cable on my mobile phone. I then tried it on the Duet 3. I get a ding on the computer quickly followed by another ding as if it was unplugged. I'm somewhat sure I didn't get that second ding before. Nothing shows in device manage. I re-seated the cable, 2 dings. On the third try, no dings. I tested the cable on my mobile phone, it still works. Tried again on my PC, no ding. I tried the board on another PC, no ding. Each time I plug the cable in I get a red light at the port on the board. I'm clawing my knees out of frustration here.
You should get two red LEDs (the one near the USB socket, and the +5V one), also the green +3.3V LED should be lit. Are they all lit?
Have you tried powering up with the ERASE jumper in place? That should cause the Bossa port to appear on the PC.
-
@dc42 Holy crap! The jumper got the port detected on the PC and the Bossa port appeared. I do have the 2 red LED's as you described. I don't want to screw this up again. What should be my next step? I have just the 24v connected to the power in (1st set), the reset jumper is still in place and the USB cable.
-
now that you actually erased the board, flash it..
https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Firmware_update_on_older_versions_and_fallback_method(not sure the bossac binary is still part of DSF, but there are threads on here on how to compile or you would also download a windows version)
-
Thanks guys, especially DC42. The Force is strong with you!
-
If you connect to Bossa on your PC with the Erase jumper installed, be sure to remove the jumper before you give Bossa the command to write the firmware file. Otherwise, the newly-written firmware will get erased again immediately. It's safe to remove the jumper using your fingers while the board is powered from USB; just take care not to drop it, and don't use pliers or anything else conductive to grip it.
-
@dc42 Thank you, sir!