Folder Accidently Deleted
-
@Phaedrux Thank you, I have done all that and still nothing. I have checked myself and still nothing.
-
This post is deleted! -
@Phaedrux would pictures help?
-
@mesacrash Possibly, yes. We really need to know what firmware you are running, and the layout of the files on the SD card. What do you see when you connect via USB?
Ian
-
@droftarts I am running 3.4.5 in a Duet 2 wifi. YAT talks to it through USB. This pic shows the card.
I have the exact copy of this running a different machine as well. -
Can you show the contents of the WWW folder?
Can you send M122 in YAT and copy and paste the results. Make sure you have your line endings set so we can see the full report.
-
@Phaedrux I am new to YAT and am embarrassed to say, I do not know how to set the line endings. Let me work on that.
-
@Phaedrux Does this work?
=== Diagnostics ===<LF>RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet WiFi 1.02 or later<LF>Board ID: 0JD2M-9F8TA-GJ4TD-6J9F8-3S46Q-T7NQ7<LF>Used output buffers: 1 of 26 (2 max)<LF>=== RTOS ===<LF>Static ram: 23836<LF>Dynamic ram: 73384 of which 0 recycled<LF>Never used RAM 14860, free system stack 170 words<LF>Tasks: NETWORK(ready,27.6%,350) HEAT(notifyWait,0.0%,388) Move(notifyWait,0.0%,363) MAIN(running,72.4%,441) IDLE(ready,0.0%,30), total 100.0%<LF>Owned mutexes: WiFi(NETWORK) USB(MAIN)<LF>=== Platform ===<LF>Last reset 02:23:49 ago, cause: power up<LF>Last software reset at 2022-12-07 15:51, reason: User, GCodes spinning, available RAM 12904, slot 1<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a<LF>Error status: 0x00<LF>Step timer max interval 0<LF>MCU temperature: min 25.1, current 25.5, max 29.0<LF>Supply voltage: min 0.3, current 24.1, max 24.4, under voltage events: 1, over voltage events: 0, power[Warning: Maximal number of characters per line exceeded! Check the line break settings in Terminal > Settings > Text or increase the limit in Terminal > Settings > Advanced.] -
@mesacrash The file structure in www looks correct. But the date of 9/30/22 on some of the files makes me think you're using an older version of DWC. Use this one from the 3.4.5 release: https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.5/DuetWebControl-SD.zip
See here for YAT line endings, under 'YAT settings': https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet#h-3-connect-to-duet
YATSet YAT to use <LF> as the end of line character. This will improve the readability of the messages coming from the Duet. Click "Text Settings" in the "Terminal Settings" and change "EOL sequence:" to <LF>. Click "OK" to close Text Settings. Click "OK" again to close Terminal Settings.
Ian
-
@droftarts Oh that, yes I do know how to do that.
M122<CR>
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet WiFi 1.02 or later
Board ID: 0JD2M-9F8TA-GJ4TD-6J9F8-3S46Q-T7NQ7
Used output buffers: 1 of 26 (2 max)
=== RTOS ===
Static ram: 23836
Dynamic ram: 73384 of which 0 recycled
Never used RAM 14860, free system stack 170 words
Tasks: NETWORK(ready,27.6%,350) HEAT(notifyWait,0.0%,388) Move(notifyWait,0.0%,363) MAIN(running,72.4%,441) IDLE(ready,0.0%,30), total 100.0%
Owned mutexes: WiFi(NETWORK) USB(MAIN)
=== Platform ===
Last reset 02:23:49 ago, cause: power up
Last software reset at 2022-12-07 15:51, reason: User, GCodes spinning, available RAM 12904, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Step timer max interval 0
MCU temperature: min 25.1, current 25.5, max 29.0
Supply voltage: min 0.3, current 24.1, max 24.4, under voltage events: 1, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min n/a
Driver 1: standstill, SG min n/a
Driver 2: standstill, SG min n/a
Driver 3: standstill, SG min n/a
Driver 4: standstill, SG min n/a
Driver 5:
Driver 6:
Driver 7:
Driver 8:
Driver 9:
Driver 10:
Driver 11:
Date/time: 1970-01-01 00:00:00
Cache data hit count 4294967295
Slowest loop: 99.91ms; fastest: 0.13ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== 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 0
=== Move ===
DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is ready with "M122" in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== Network ===
Slowest loop: 15.25ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 0 of 8
= WiFi =
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.26
WiFi MAC address a4:e5:7c:03:b4:53
WiFi Vcc 3.42, reset reason Power up
WiFi flash size 2097152, free heap 27016
WiFi IP address 192.168.1.8
WiFi signal strength -35dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0
ok
Warning: VIN under-voltage event (9.5V) -
@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