Can't connect with USB
-
(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 errorM997 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 errorM552 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? -
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.
-
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,
-
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.
-
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.