Erased Duet 2 Wifi SD card, panic reaction
bellus last edited by
My Printer was running just fine on 3.0 and then I started having some issues. long story short I tried updating the firmware unsuccessfully, then I thought it would easier to follow fall back method #1. I think I have really screwed the pooch on this one. I have scoured the forum and tried to follow the SD card formatting/file setup page with no luck. Alas, here I am requesting help. Using serial I keep getting errors when I try M997 S0 and M997 S1. I took some screen shots of the errors, although I don't know if I have all of the required files to even begin with. I think I'm missing something with the guides, looking for validation that I have everything on the card that is required. !
@bellus Can you still connect via DWC? If so, upload the combined updater zip file again, and it will put the firmware files in the correct place.
I'd guess you were on firmware 3.2.2 or 3.3, and it's looking for the files in the /firmware folder (this change was introduced in 3.2.2 to tidy up the sys folder). When you updated from 3.0, the 3.2.2 files will have been put in sys. Then I guess you uploaded just the firmware .bin file (not the whole zip package), which was put in the /firmware folder. 'Duet2CombinedFirmware.bin' is there, but you also need the In App Programmer (IAP) file in there.
If you want to update from USB (or can't connect via DWC), copy the 'Duet2_SDiap32_WiFiEth.bin' and 'DuetWiFiServer.bin' files to the firmware folder. As the firmware is responding, I think it's most likely the WiFi firmware update hasn't worked correctly (it happens occasionally). Reflashing just that should get the Duet back on your network, and make DWC accessible again.
bellus last edited by bellus
@droftarts I believe I was on 3.0, can remember for sure.
I cannot currently connect to DWC, so I was trying fallback method #1 via the SD and a computer.
so I tried what you suggested and moved the two files to the firmware folder and tried M997 S1 & M997 S0 vis the serial app for OS. M997 S0 gives a "Error: M997: Firmware binary "0:/firmware/Duet2CombinedFirmware.bin" not found" M997 S1 gives a "Error: M997: File 0:/firmware/DuetWiFiServer.bin not found"
on initial connection to the Serial app it gives this message: "RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3
Warning: Cannot mount SD card 0: no FAT filesystem found on card (EXFAT is not supported)
WiFi is disabled.
RepRapFirmware for Duet 2 WiFi/Ethernet is up and running." I'm almost positive that I formatted the 4Gb card FAT
jay_s_uk last edited by
bellus last edited by
@jay_s_uk huge thank you to you and @droftarts!!! Reformatting with FAT32 and Creating a firmware folder, I was finally able to get it up and running again! I initially had the firmware folder named as "/firmware" but once I changed it to "firmware" and placed the .bin files in it I was able to run M997 S0 & M997 S1 no problem. 3.2.2 to 3.3 sucked trying to do. for some reason it didn't create a "firmware" file automatically. I had to re-build the file structure manually. I've been racking my brain about it for along time, and I only had about an hour a day to mess around with it, donesky.
thanks again for the help!
@bellus the firmware folder was introduced with 3.3, not 3.2.2 as I said earlier, sorry for any confusion. You have to be on 3.3 and upload a firmware file (zip or bin) in DWC for it to be created if it does not exist, and the firmware bin file and IAP bin need to be there to effect any firmware upgrade or downgrade. Hope that helps!