Site Navigation

Your Account

Choose Language

Network disconnections after uploading large files

After you have uploaded a large file to the SD card, you may find that Duet Web Control disconnects with a timeout error whenever you try to switch to the GCode Files page.

This issue is triggered by the combination of a large GCode file with a small cluster size. Duet Web Control attempts to extract details about the print from the end of the file, and the nature of the FAT filesystem used on SD cards can make this a very slow process.

A workaround is to reformat the SD card to use a larger cluster size. Here's how:

  1. Check the existing cluster size. If you are running firmware 1.21 then you can run M39 from the command line to find this. Otherwise, move the card to a PC and examine the disk properties.
  2. If the cluster size is already 64Kb then the following won't help; although defragmenting the large file that is causing the problem may help.
  3. Move the SD card to a PC
  4. Create a temporary folder on your PC to hold the contents of the card
  5. Copy all files and subfolders on the SD card into your temporary folder
  6. Reformat the SD card. If it is 4Gb or smaller, specify FAT16 format, with cluster size 64kb if you are given a choice. If it is larger than 4Gb then FAT16 will not be available, so use FAT32 and specify 64kb cluster size.
  7. Copy all the files and folders form your temporary folder back on to the SD card
  8. Eject or safely remove the SD card form the PC and put it back in the Duet
  9. Restart the Duet

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 0

Past 7 Days: 7

Past 30 Days: 22

All Time: 244