Got update to MTP_Storage.cpp : Not back at it for another couple hours.
reminder: The MakeFiles.ino sketch has the 'v'erify for files it makes for testing on non-removable media.
> should be able to create desired: number of files, and DIR depth, file size of known content
> verify they are created and stored right
> then MTP copied to host for storage
> "W"iped from local T_4.1 storage
> then copied back to T_4.1 storage with MTP
> 'v'erify should show those files as Good or otherwise
Example output on a GOOD and BAD folder:
Code:
D0.7 /
2048_390.txt XXXX File name Size 2048 MISMATCH != size of 2017: removed file data before copy
DONE RESULTS BAD HERE XXX 'b XX MISSING 1 FILE(S) Removed this file before copy
2 File Error(s)
with 6 files of Size 12257 Bytes 4.205872 ms
D0.8 /
DONE RESULTS GOOD HERE 8 Files(s) with 8 files of Size 12000 Bytes 5.388092 ms
Total 14 files of Size 24257 Bytes Verify Errors 2 11.333312 msec
Bytes Used: 2490368, Bytes Total:125062610944
---- Task 'v' complete! ----
Other LFS data can also "C"opy to SD when USE_SDIO_SD commented out, assume this still works. To allow data written to LFS to be pulled off to do COMPARE on PC via SD card.
Custom 'u'ser data set specific to LFS media
Other options:
Code:
Menu Options:
t - Test Files write 2204
b - Test Files write BIG
s - Test Files write small
u - Test Files write USER edit change code at: case 'u': // USER
n - Test ASCII and UTF8 Filenames
v - Verify Files
l - List files on media
R - Restart Teensy
U - USB reset
W - Remove ALL media content
C - Copy LFS media content to SD