SD Card failure
-
@duncan-rtfm said in SD Card failure:
OK, I've found this site: https://github.com/T3P3/Duet/tree/master/Duet2/SD Card Contents but I have no idea how to actually download the files. Clicking on them opens up their contents. There is no download button.
https://github.com/T3P3/Duet/blob/master/Duet2/SD Card Contents/SD_Card_Contents.zip
-
@duncan-rtfm said in SD Card failure:
Hi, I've had this before. The card is not even recognised by Windows. The only acnowledgement it receives is a message saying that the card is not recognised.
Format the card as FAT32 (or if needed open the disk manager and create a partition on the card, format it and assign a drive letter)
@duncan-rtfm said in SD Card failure:
So basically, I need to build a new card. I have the card, and I have the files. I just can't figure out how to get the files onto the card.
you should have a removable drive that is accessible under My Computer after the step above, then just copy the files accross.
-
Download the SD card files as a .zip file as @bearer shows 2 posts up. Then extract the files from that zip file to the root of the SD card. If your PC runs Windows 10, see https://www.simplehow.tips/a/56/how-to-zip-and-unzip-files-in-windows10.
-
(Files other than .zip wil have a similar button that may saw "Raw" that will allow you to download individual files off GitHub, but in this case the zip file is the convenient way to do it.)
-
Hi. I have downloaded the zip file, unzipped them into the root of a new SD card, and inserted it into the Duet board. I switched the power on, but there is no light which comes on to show that the WiFi module is active. And navigating to its IP address results in a time out error message. I'm running out of ideas.
-
@duncan-rtfm
The Wifi was working flawlessly till the SD card died. Do I just copy the files onto the card? Nothing else? How does the board know that boot files are there? Does the SD card need any special partitions or boot files? How does it even know to read what's on the card when it fires up? -
@duncan-rtfm The SD card doesn't need anything fancy. It's just an SD card. The only thing that needs to be there are the folders and the config files. The main system files that the duet uses are located in the /sys folder. Config.g is read at startup and all the gcode commands within it are executed to configure your printer.
-
OK, it sounds then like my WiFi card has somehow given up the ghost again. What commands can I issue from YAT to verify it is OK and healthy?
-
You can manually reset the wifi module if you have console access via USB, or a PanelDue. Send M552 S0, to disable networking, followed by M552 S1 to enable networking. When you do so, you should see the blue led on the wifi module blink a few times and then go solid when it has a connection. If the light is off, and stays off, that would mean there is a problem. In that case, send M122 to get a diagnostic report. The wifi part is towards the end, and may provide some insight.
-
OK, Here's what happens...
M552 S0
ok
M552 S1
Turn off the current WiFi mode before selecting a new one
ok
M122- WiFi -
Network state is starting
WiFi module is disabled
Failed messages: pending 0, notready 1, noresp 0
Socket states: 0 0 0 0 0 0 0 0
ok
- WiFi -
-
Do you happen to know what main and wifi firmware versions you are running?
-
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
Board ID: 08DGM-917DA-G4MS8-6JKD6-3SN6N-9TVB9
Used output buffers: 1 of 20 (10 max)And then a bit lower down:
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0 -
The SD card is fine. Works on my laptop...
-
This doesn't make sense...
M552 S0
ok
M552 S1
Turn off the current WiFi mode before selecting a new one
ok
M552
WiFi module is being started
ok
M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.02(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-12-24b1
ok -
What does it respond when you send just M552?
-
M552
WiFi module is being started
ok -
So the wifi works with one card but not the other?
-
I have already had this board replaced because the WiFi module was dead. Now the SD card reader seems to have packed up, and the WiFi board is dead again. I think it is time to put this board in the bin, laugh of the money I paid for it and go bacvk to the original board the Ender3 came with. I'm spending hours and hours just trying to get the board to work. I want to be printing...
-
@phaedrux The wifi was working perfectly until the SD card died. Perhaps there is some magic on the original SD card which is missing on my replacement card. I unzipped the contents of the correct zip file directly onto the SD card, and verified that all the correct files were there.
But it's as though the card reader doesn't even see the SD card.
And the M122 command results in:
SD card 0 detected, interface speed: 20.0MBytes/secI have no idea if this means that "no SD card detected" or "SD card #0 detected" But no LED light up on the wifi module whren I power up.
-
I wonder if there has been a short that could have damaged the SD card and the wifi module.
@dc42 will have better insight.
Hopefully it's something that can be resolved.