Replacing a Duet WiFi with a new one
-
Hi,
What is the easiest way to replace a damaged Duet3D wifi with a new one? The new one will probably have a different firmware on it and also different configuration files. Is there a published guide for this case?
Thanks,
-
(Note: To clarify: I am not asking about wiring but only the firmware and configuration part)
-
@drmaestro, just did something similar recently. Things that come to mind, assuming you use the same SD card you used on the old board.
-
You will need to update the Wifi firmware. There is a gcode for that.
-
You will need to set the SSID information and password (this is saved on the WifiModule). There is a gcode for that.
-
The new board will have a different MAC address. If your router has any MAC specific settings, you will need to update.
I am not sure that these are the only things to pay attention to.
-
-
i did just have a think about it and made some notes in another thread
https://forum.duet3d.com/post/151738 -
@bearer said in Replacing a Duet WiFi with a new one:
i did just have a think about it and made some notes in another thread
https://forum.duet3d.com/post/151738This is what you post suggests:
"As far as I can tell the cloning could have been smooth if
-connect usb cable, send m587 with wifi key and ftp enable, get new_ip
-http to old_ip and enable ftp
-download all files from old_ip
-make changes to hostname and ip if needed. (in downloaded files)
-upload all files to new_ip
-run bossac with downloaded reprap binary
-send m997 s1, over usb, to update wifi
-send m587, over usb, with the wifi key again just in case this update was incompatible with the old internal structure."Does this sequence work as a way to clone the old Duet and copy to the new Duet? Does it work?
-
@drmaestro said in Replacing a Duet WiFi with a new one:
Does this sequence work as a way to clone the old Duet and copy to the new Duet? Does it work?
There the odd edge case, like the board not having been updated with DWC/IAP before cloning. But in general it should work - while I haven't specifically tried cloning a running Duet I've used the second half to get a new board up and running with 2.05.1.
You can skip the FTP part and just copy files from the old sd card to your computer and then to the new sd card. (Or even just move the old sd card to the new board, download the matching reprap firmware and flash it with bossac (my approac was primarily aimed at zapta who wanted to clone an existing (and presumably running) board.
The only real "trick" is to use bossa(c) to flash rrf to the board ensuring no problems due to missing or renamed files between what version the new board is delivered with and what you had running on the old. Followed by updating the wifi module and setting the wifi key; the rest is contained within the SD card.