Firmware
-
Was attempting to update my firmware( I've been running 1.18.1) and the wifi server, and I accidentally updated the wifi server first and now I've lost communiction and can't update the firmware. Someone help me please.
-
-
Dc42, still working on upgrading from 1.18.1 to 1.19. Here's where I'm at. I've put the DuetWifiFirmware.bin on the sd, along with DuetWifiServer.bin. I created the required macro and put it in a folder called SetNetwork within the macros file. Lastly, I created a www folder in the main sd section and placed DuetWebControl.zip inside it. Also commented out M552 S1 in the config.g. When I send M997 S0:1, here's what I see.>>> M997 S0:1
SENDING:M997 S0:1
[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.I could really use some help! Thanks in advance.
-
Try sending M997 S1 from USB first. That should update the WiFi firmware. If that works, send M997 S0, at which point it will disconnect. Allow it a couple of minutes to update, then try to connect via USB again.
-
I sent M997 S1 first and it was successful, but when I send M997 S0 next, I get another error message…...... SENDING:M997 S0
[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.)Also, every time I have a failed attempt at uploading, the DuetWifiFirmware.bin disappears fron the sys folder on the sd. ??
-
Like I said before, the USB will disconnect after you send M997 S0. That is normal, because the USB port is not operation when the firmware is being upgraded.
-
Thanks dc42! I'm back in business. Yes, I wasn't being patient!
-
Wow. Now that I've successfully updated, I open DWC and start the process to begin a print and bam, my x and y axes are wacko. X+ direction arrow moves Y and vice versa. Z axis movement is still correct
-
Did you check the changelog? If you're using CoreXY kinematics, the motor directions have changed.
-
I'm not tremendously knowledgable about everything Duet Wifi elmoret. How do I access the changelog and reverse whatever happened. Thanks.
-
Would this change have occurred in my config.g? Can't understand that.
-
The changelog is a list of changes between firmware versions. Like how if Chevy came out with a new Corvette they might have a list of things like "now with 500HP, better handling" etc.
From the place where you (presumably) downloaded the firmware:
https://github.com/dc42/RepRapFirmware/releases
IMPORTANT! Before upgrading to this release, read the important upgrade notes in the WHATS_NEW file (https://github.com/dc42/RepRapFirmware/blob/dev/WHATS_NEW.md) . You will also find the list of all the new features and bug fixes in the same place.
Bingo!
-
Would this change have occurred in my config.g? Can't understand that.
No, it changes the math behind coreXY kinematics. Your config.g should unchanged (but now needs to be changed to match the new kinematic method).
-
Yes! You are exactly correct elmoret. BINGO! "Important! On a CoreXY machine, if upgrading from a version prior to 1.19beta9, you need to reverse the Y motor direction in the M569 command. Similarly for CoreXYU machines."