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

Can't connect with USB

Scheduled Pinned Locked Moved
Firmware installation
2
5
1.3k
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
    Arcson
    last edited by 5 Feb 2017, 00:38 1 May 2017, 04:51

    (EDIT-Grammar)

    I'm a new DuetWifi owner.
    Installing in a BigBox Dual.

    The first time booting up was fine, I got the wifi web server up and running but when I updated to latest firmware I lost connectivity to the web server. When I plugged back in the usb it would repeatedly connect/disconnect. Eventually I flashed the board and used SAM-BA to re-install the firmware, but it still repeatedly connect/disconnects. I am really frustrated, I had everything working and now nothing is working.

    Here is Pronterface readout while trying to follow another thread that seemed to have the same problems as me.

    "Connecting…
    Printer is now online.

    M552 S1
    SENDING:M552 S1
    [ERROR] Can't read from printer (disconnected?) (SerialException): call to ClearCommError failed
    [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
    [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
    [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
    [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
    [ERROR] Disconnecting after 4 failed writes.
    Disconnected.
    M115
    [ERROR] Printer is not online.
    Reset.
    Connecting…
    Printer is now online.
    M105
    SENDING:M105
    ok T:B:23.4
    M997 S1
    SENDING:M997 S1
    Trying to connect at 460800 baud:
    success
    Disconnected.
    Connecting...
    Printer is now online.
    M105
    SENDING:M105
    ok T:B:23.5
    M997 S1
    SENDING:M997 S1
    Trying to connect at 460800 baud:
    failed
    Trying to connect at 230400 baud:
    success
    Erasing 290848 bytes...
    Erase failed
    Error: Installation failed due to timeout error
    [ERROR] Error: Installation failed due to timeout error

    M997 S2
    SENDING:M997 S2
    Trying to connect at 460800 baud:
    success
    Erasing 3125248 bytes…
    Erase failed
    Error: Installation failed due to timeout error
    [ERROR] Error: Installation failed due to timeout error

    M552 S1
    SENDING:M552 S1
    [ERROR] Can't read from printer (disconnected?) (SerialException): call to ClearCommError failed
    [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
    [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
    [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
    [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
    [ERROR] Disconnecting after 4 failed writes.
    Disconnected."

    The DuetWifi is on my local wifi. I've tried using a USB cable and I get the same thing.
    What am i doing wrong?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 1 May 2017, 05:50

      Try commenting out the M552 S1 command in config.g, then see if you get a reliable USB connection. If so, download a fresh copy of DuetWiFiServer.bin and rename it to exactly that on the SD card, then install it using M997 S1.

      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
        Arcson
        last edited by 2 May 2017, 00:34

        Thank you for the quick response,
        I re-downloaded DuetWiFiServer.bin placed it as you requested.

        At first Pronterface seemed to be working but the wifi still never came up.

        Connecting…
        Printer is now online.

        M997 S1
        SENDING:M997 S1
        Trying to connect at 460800 baud:
        success
        Erasing 290848 bytes...
        Uploading file...
        5% complete
        10% complete
        15% complete
        20% complete
        25% complete
        30% complete
        35% complete
        40% complete
        45% complete
        50% complete
        55% complete
        60% complete
        65% complete
        70% complete
        75% complete
        80% complete
        85% complete
        90% complete
        95% complete
        Upload successful
        M552 S1
        SENDING:M552 S1
        WiFi server starting up
        [ERROR] Can't read from printer (disconnected?) (SerialException): call to ClearCommError failed
        [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
        [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)

        I could re-check all my wiring and look for a short, but again I was on the webserver when it crashed the first time and I haven't change anything.

        Is there anything else I can do?

        Thanks,

        1 Reply Last reply Reply Quote 0
        • undefined
          Arcson
          last edited by 3 May 2017, 04:17

          I am really at a loss on what to do, I can get my printer to work by using the sd card and the touch screen, but I purchased this board for the computer and wifi control. Do I need to return the board for a new one? I was fairly sure this was a software issue. I really would like next step options to get my printer back online.

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 3 May 2017, 08:54

            Can you confirm that you are using version 1.18.1 main firmware and version 1.03-ch DuetWiFiFirmware? If yes, ask your supplier for a replacement Duet.

            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
            5 out of 5
            • First post
              5/5
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA