Folder Accidently Deleted
-
@mesacrash said in Folder Accidently Deleted:
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 9.5ms, write time 0.0ms, max retries 0This is the bit we are interested in, and it says that the SD card interface is working correctly. If you send
M20 P"0:/www/"
what does it list?I can also see that you have it connected to the access point, and have an IP address, so you have managed that part. Have you made any changes to the sys/config.g file? Did you use the one I posted earlier?
Ian
-
@droftarts said in Folder Accidently Deleted:
M20 P"0:/www/"
M20 P"0:/www/"
Begin file list
NONE
End file list
okYes it is in there, now.
-
@mesacrash said in Folder Accidently Deleted:
Yes it is in there, now
You mean the SD card is in the Duet? Make sure you have pushed it in far enough that it clicks in. Also, the card needs to be in when you turn on the Duet, or it will think there is no card mounted.
Please can you send
M39
and thenM20 P"0:/sys/"
Ian
-
@droftarts Is M20 telling us there is nothing in www?
-
@droftarts no, I meant your config is in there now. I put it in and it still wasn't working so I changed back temporarily, to test. This is in a custom that I recently decided to put the duet in. I had it working but, a few days ago I took the card out and put it in my PC, something happened in Explorer and when I re-opened it my sys file folder was empty. Now, here we are today.
-
@droftarts M39 says, "no sd card"
-
@droftarts "no sd card mounted in slot 0"
-
@mesacrash Hmmm.... Yes, it should show the contents of www. M39 should show the card info:
M39
SD card in slot 0: capacity 3.97GB, free space 3.81GB, speed 20.00MB/sec, cluster size 32kBWhen you reformatted the SD card, what formatting utility did you use?
Ian
-
@droftarts Explorer
-
@mesacrash said in Folder Accidently Deleted:
@droftarts Explorer
Ah! See https://docs.duet3d.com/User_manual/RepRapFirmware/SD_card#formatting
DO NOT use Windows 'Quick Erase'. This generally does not create a clean FAT32 partition.
We recommend using https://www.sdcard.org/downloads/formatter/
Try that, then put the card in the Duet and sendM39
.Ian
-
@droftarts Let me make sure I have this right. Formatting is going to lose my files. So, can I copy what is on the card, format the card, then put my files back on the card? Or are the files corrupt now?
-
Yes you can make a copy of the files first. And then replace them after formatting.
-
@Phaedrux Quick format ok?
-
Using the SD card formatter? Yes that should be ok.
-
@Phaedrux says, no sd card mounted in slot 0
-
Do you have another SD card to try?
-
@Phaedrux Yes, I am formatting it now. I will let you know in a minute.
-
@Phaedrux I tried it. It still has no card in slot 0
-
@Phaedrux last week when I pulled the card out to look at in my PC, it was because I suspected something was wrong. Then, the sys file disappeared. Now I think I was right.
-
@Phaedrux so what do I do now?