Argh - failed build of 2nd defunct carrier - lost T_MM ... emailed ... not fun.
UPDATED: Defragster/T4LockBeta/tree/main/MakeFiles
Extended Menu:
Code:
Menu Options:
t - Test Files write 2204
b - Test Files write BIG
s - Test Files write small
u - Test Files write USER edit
n - Test ASCII and UTF8 Filenames
v - Verify Files
l - List files on media
R - Restart Teensy
W - Remove ALL media content
> added 'u' for user custom edit without changing the default "t,b,s" settings
--> anything can be copied or added - for repro just post the edited section"
Code:
else if ( ii == 5 ) { // USER
// EDIT HERE - for more files, Dirs, larger or alternate file sizes
// Multiple use of same FOLDER will mess up the file count - if they have same # files
showMediaSpace(); MakeDataFiles( szStart[0], 2, 100, 100 );
showMediaSpace(); MakeDataFiles( szStart[10], 2, 100, 100 );
}
Testing and editing code as this is typed. Using a 32GB SD card 'b' overfilled. I turned off Teensy. Resulted in corrupted SD card, could not remove everything. Even the PC could not open it, Had to Format.
Code:
Fail remove DIR> ManyF/111.1024/
Fail remove DIR> ManyF/222.1024/
Fail remove DIR> ManyF/
>> Shrunk the request file create to fit 32GB ??
-> still failing oddly - maybe another trashed old 32 GB card?
-> Added 'press any key' abort behavior to repeat MAKE...()
'b' Working fine on 64GB card:
Code:
Total 858 files of Size 391,274 Bytes
Bytes Used: 120,586,240, Bytes Total:63831015424
-> Used SDcardFormatter program on PC and it failed the same?
That's all for now - here is what empty media looks like after 's' and 'v' - File folders on root one deep so it should work with LFS:
Code:
================================ Media Size=63831015424 Used Size=4456448 us=149795485 KB/sec=0.00 Bytes written=0
Make DeepDir :
Make DD File:/D0.3/2048 File size=2048=2048 us=309835487 end:zE. 859x 5AE5
Make DD File:/D0.3/2048 File size=2048=2048 us=309845714 end:zE. 860x 5B63
Make DD File:/D0.3/2048 File size=2048=2048 us=309860556 end:zE. 861x 5BE1
================================ Media Size=63831015424 Used Size=4980736 us=49811 KB/sec=120.46 Bytes written=6144
Make DeepDir :
Make DD File:/D0.4/100 File size=100=100 us=309884441 end:zE. 862x 5BE6
Make DD File:/D0.4/500 File size=500=500 us=309893982 end:zE. 863x 5C04
Make DD File:/D0.4/900 File size=900=900 us=309901733 end:zE. 864x 5C3B
Make DD File:/D0.4/1300 File size=1300=1300 us=309908761 end:zE. 865x 5C8B
================================ Media Size=63831015424 Used Size=5636096 us=44102 KB/sec=62.00 Bytes written=2800
Make DeepDir :
Make DD File:/D0.5/100 File size=100=100 us=309934937 end:zE. 866x 5C90
Make DD File:/D0.5/500 File size=500=500 us=309944468 end:zE. 867x 5CAE
Make DD File:/D0.5/900 File size=900=900 us=309952085 end:zE. 868x 5CE5
Make DD File:/D0.5/1300 File size=1300=1300 us=309978511 end:zE. 869x 5D35
Make DD File:/D0.5/1700 File size=1700=1700 us=309985803 end:zE. 870x 5D9E
================================ Media Size=63831015424 Used Size=6422528 us=73380 KB/sec=59.89 Bytes written=4500
Make DeepDir :
Make DD File:/D0.6/4096 File size=4096=4096 us=310011518 end:zE. 871x 5E9C
Make DD File:/D0.6/4096 File size=4096=4096 us=310021451 end:zE. 872x 5F9A
Make DD File:/D0.6/4096 File size=4096=4096 us=310036378 end:zE. 873x 6098
Make DD File:/D0.6/4096 File size=4096=4096 us=310043882 end:zE. 874x 6196
Make DD File:/D0.6/4096 File size=4096=4096 us=310051338 end:zE. 875x 6294
Make DD File:/D0.6/4096 File size=4096=4096 us=310058838 end:zE. 876x 6392
================================ Media Size=63831015424 Used Size=7340032 us=79805 KB/sec=300.73 Bytes written=24576
MakeData done.
Task 's' complete!
D0.3 /
DONE RESULTS GOOD HERE 3 Files(s) with 3 files of Size 6144 Bytes #2
D0.4 /
DONE RESULTS GOOD HERE 4 Files(s) with 4 files of Size 2800 Bytes #2
D0.5 /
DONE RESULTS GOOD HERE 5 Files(s) with 5 files of Size 4500 Bytes #2
D0.6 /
DONE RESULTS GOOD HERE 6 Files(s) with 6 files of Size 24576 Bytes #2
Total 18 files of Size 38020 Bytes
Bytes Used: 7340032, Bytes Total:63831015424
Task 'v' complete!
Ignore the trailing #2, sometimes it is a #1, depending on the dir walk path.
... github update complete ...Zzzz's