-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
downloading from PC formatted card gets hung on IndexerVolumeGUID #22
Comments
Diagnosed... and narrowed a bit: suspect Windows 10 formatted fs hidden/system files are giving sdreaper trouble. TODO: instead of always downloading the whole FAT filesystem, allow choosing of a directory, for example |
TODOs:
|
I can repro with FS formatted on Mac. Not related to hidden files or Windows formatting. Suspecting that it is card speed issue. Previously I was testing with older/slower card. New Samsung card shows problem. dm: your card is newer/fastish, yes? |
No need to test |
Setting #define USE_MULTI_BLOCK_IO 0 at bottom fixes the problem. Don't see a clean way to do that (yet) as USE_MULTIBLOCK_IO is not wrapped with an |
- file read errors will eventually timeout and write zeros to the data file. This allows sdreaper to continue if some files have errors (reviously it blocked) but it does not fix the files that errored. - info command will attempt 3 times to get SD card info before giving up. This should help with intermittent empty responses to SD card info command.
f622996 avoids hangs when the error occurs so it will allow the download to proceed even if some files error. But it does not fix the underlying problem.
The problem also appears to be fixed in this version of Updating my The commit history shows that multi block io was reworked, so using the latest SdFat-Beta is probably the way to go. dm: please confirm everything works with latest SdFat and reaper code and close. |
using old version of reaper (from when first posted bug) and setting
does not fix problem installing latest version of reaper does fix problem |
Getting 91KB/s for a 4MB file with latest code. |
dm confirmed works. |
The text was updated successfully, but these errors were encountered: