Crash after I´ve uploaded gcode file
-
1. Which browser are you using?
2. Are you trying to upload or download a file? The title of this thread says upload but your post says download,.
-
1. I use Firefox and Chrome. Issue comes on both of them.
But I don´t believe it is a issue in webbrowser. My 2nd printer with DuetWifi hasn´t that issue.Only diffrent is the PanelDue. The printer whith the issue has a 7inch PanelDue Display. It was working good for about 6 weeks.
2. year some times I am a bit confuse. I tried to UPLOAD the file from my computer to the DuetWifi
-
One possibility is that the SD card is quite full and the cluster size is small, making finding free space to store the file take a long time. If that's the case then reformatting the SD card to use 64K clusters may help. See https://duet3d.dozuki.com/Wiki/Network_disconnections_after_uploading_large_files even though that describes a different symptom.
-
I´ll try this
SD card isn´t full but has a cluster size of 32kB
[[language]] M39 SD card in slot 0: capacity 31.91Gb, free space 31.41Gb, speed 20.00MBytes/sec, cluster size 32kb -
If the cluster size is 32K that that's probably not the problem.
Does the problem only occur the first time you upload a file to the Duet after starting it?
-
dc42:
My SD card is 4GB, and I couldn't get 64kb clusters. I would get the following error message on macOS:
[c]
$ sudo newfs_msdos -F 32 -c 128 -v DUET /dev/disk2s1
512 bytes per physical sector
newfs_msdos: 61432 clusters too few clusters for FAT32, need 65525[/c]Feel free to add this to the wiki page:
If you are on macOS, the following command might work. Make sure to select the correct disk and partition!
# find the correct disk and partition diskutil list # format partition as FAT32 with 64kb cluster size, for 8/16/32GB SD cards sudo newfs_msdos -F 32 -c 128 -v DUET /dev/disk2s1 # format partition as FAT32 with 32kb cluster size, for 4GB SD cards sudo newfs_msdos -F 16 -c 128 -v DUET /dev/disk2s1 edit: updated commands
-
I have tried to use a new sd card full formated with FAT32 64K with copied files from the old one.
Issue was still there after restart.
You are right its only occur after first start and after 10 or 15 minutes runningI´ve resolved the issue, I hope, as I deleted all G-CODE files in gcode folder.
Seems to work now.Thanks David
-
dc42:
My SD card is 4GB, and I couldn't get 64kb clusters. I would get the following error message on macOS:
[c]
$ sudo newfs_msdos -F 32 -c 128 -v DUET /dev/disk2s1
512 bytes per physical sector
newfs_msdos: 61432 clusters too few clusters for FAT32, need 65525[/c]Feel free to add this to the wiki page:
If you are on macOS, the following command might work. Make sure to select the correct disk and partition!
# find the correct disk and partition diskutil list # format partition as FAT32 with 64kb cluster size sudo newfs_msdos -F 32 -c 128 -v DUET /dev/disk2s1 # format partition as FAT32 with 32kb cluster size, for small SD cards sudo newfs_msdos -F 32 -c 64 -v DUET /dev/disk2s1 With a 4Gb or smaller card you need to use FAT16 to have the option of 64K clusters. There would be no point in using FAT32 with 64K clusters on a small SD card, because FAT16 will do and it is more efficient.
-
dc42: yes, but I think that's the way how I got my SD card from your factory.
-
Yes, the factory was supplying SD cards formatted to FAT32 with 4kb clusters. We have since changed to FAT16 with 64Kb clusters.
I am guessing that the -F 32 parameter in that command means FAT32, in which case you could use -F 16 instead.