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

Magic Smoke on the USB port

Scheduled Pinned Locked Moved
Duet Hardware and wiring
2
9
986
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.
  • undefined
    minim
    last edited by 31 Oct 2018, 22:40

    I failed upgrading to the newest firmware so I had to plug my computer in to save it. It worked for a few seconds before I noticed the smell of magic smoke and the connector was very hot..

    Now when I power it from 24V it works fine but when I try to connect usb only it powers on/off in pulses. Can it be fixed without sending it in?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by dc42 11 Jan 2018, 10:45 1 Nov 2018, 08:44

      It sounds like you had a USB ground loop, see https://duet3d.dozuki.com/Wiki/USB_ground_loops. Check that the wire between the ground side of the Duet VIN terminal block and your PSU is secure. In particular, check that the screws in the VIN terminal block are still tight.

      If you have a non-integrated 7" PanelDue in your system, then don't expect to be able to power it from USB unless you disconnect the PanelDue first. Otherwise, try a new USB cable. If that doesn't fix the problem then the ground connector on the USB socket is probably damaged. The socket can be replaced, using either hot air rework equipment or low melting point solder such as ChipQuik to remove the old one.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        minim
        last edited by 1 Nov 2018, 10:43

        Yeh I always use my laptop without having it hooked up to mains for this reason but since the laptop was not around I just hooked up my desktop without thinking... I think the pin closest to the SD card (gnd??) is burned out. I thought at first that it was the usb cable that burnt out so I replaced that but now when I look closer I think that pin is missing. Is it possible to get it back alive without replacing the micro usb port? I don't really need it since I just use it when FW update fails ^^

        I don't have a paneldue.

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 1 Nov 2018, 10:50

          You could hack a USB cable, separating out the ground wire so that you can connect it to a ground pin on the Duet, for example the ground pin on one of the endstop connectors or the PanelDue port.

          You don't normally need to apply 24V power to upgrade firmware. USB power alone is sufficient.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • undefined
            minim
            last edited by minim 11 Jan 2018, 11:24 1 Nov 2018, 11:06

            to make a long story short I'll add a picture after me trying to desolder the usb port 😛

            alt text

            @dc42 said in Magic Smoke on the USB port:

            Here are two options:

            1. Cut the micro USB plug off the end of the cable. Solder the data wires to the ends of R2 and R3 where the traces from the USB connector went (it does matter which way round). Solder the ground wire to a ground point, such as the ground side of the Reset switch. You can leave the 5V wire not connected unless you want to be able to power the Duet from USB.

            2. Buy a USB-to-serial converter with 3.3V signal levels, and update the firmware through the PanelDue port instead.

            Ok. I do have serial converters lying around I think. I'll check later this evening. Is it D- on R3, D+ on R2 and vcc on R1? Kinda hard to track the traces when a moron have messed them up like this 😄

            1 Reply Last reply Reply Quote 0
            • undefined
              dc42 administrators
              last edited by dc42 11 Jan 2018, 11:21 1 Nov 2018, 11:20

              Here are two options:

              1. Cut the micro USB plug off the end of the cable. Solder the data wires to the ends of R2 and R3 where the traces from the USB connector went (it does matter which way round). Solder the ground wire to a ground point, such as the ground side of the Reset switch. You can leave the 5V wire not connected unless you want to be able to power the Duet from USB.

              2. Buy a USB-to-serial converter with 3.3V signal levels, and update the firmware through the PanelDue port instead. I haven't tried this, but it should work. The same considerations about USB ground loops will still apply.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              undefined 1 Reply Last reply 1 Nov 2018, 18:32 Reply Quote 0
              • undefined
                minim @dc42
                last edited by minim 11 Jan 2018, 18:35 1 Nov 2018, 18:32

                @dc42 said in Magic Smoke on the USB port:

                Here are two options:

                1. Cut the micro USB plug off the end of the cable. Solder the data wires to the ends of R2 and R3 where the traces from the USB connector went (it does matter which way round). Solder the ground wire to a ground point, such as the ground side of the Reset switch. You can leave the 5V wire not connected unless you want to be able to power the Duet from USB.

                2. Buy a USB-to-serial converter with 3.3V signal levels, and update the firmware through the PanelDue port instead. I haven't tried this, but it should work. The same considerations about USB ground loops will still apply.

                It just says "connecting" in proterface with a usb to serial converter powering the board. It has 3.3V serial level and I've hooked it up with RX->UTXD0, TX->URXD0, gnd->gnd and +5v -> +5v. It has a light on the 5v and the 3.3v led. Doesn't want to connect properly 😞

                If I try to solder on a usb pigtail to where the usb port was it just says unknown USB device (device descriptor request failed). I'm pretty sure I got D+/- in the correct orientation. I measure approx 3V from V- to R2 when USB is connected and the board is powered up.

                Could I have hit reset or erase by accident and wiped the board so I need to flash it with another method?

                1 Reply Last reply Reply Quote 0
                • undefined
                  minim
                  last edited by minim 11 Jan 2018, 19:56 1 Nov 2018, 19:03

                  To answer myself on the pinout.. DDM is D- and DDP is D+. I had them connected the wrong way. When I turned it the proper way around it connects without problems but it's throwing a lot of errors in pronterface with "Received opcode 000013e lenght 0 data" and crashes pronterface. I guess I need to find a way to flash it but now USB is running atleast.

                  alt text

                  Got it sorted. Had to disable the wifi module, update the firmware from scratch and add a new setnetwork file to connect again.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 1 Nov 2018, 20:05

                    I'm glad to hear that you got it sorted.

                    I would not expect Pronterface to work with the serial port unless you patch it to not expect an "ok" response to every command. RRF sends that response to commands received on the USB port when Marlin compatibility mode is selected, but not on the serial port. But you should be able to flash firmware via the serial port.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

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