MakeFiles Folders and Files update
Zip of resulting SD Disk image - with a folder holding makefile.ino:
Should offer a good base test for integrity and function using one or more of the folders
Changes running makefiles:
> USB send when complete will print DIR
> For Mike - disk can change from SD with:: #define DISK SD
> Adds folder 'Ascii' of 32/64 byte files of the filename char.
- with 'char'.txt for ascii chars 33 to 127 with a few skipped [=;,.><"|:*%?\/]
- upper/lower case are the same file.
Code:
[U]// This is 54 files[/U]
!.txt #.txt $.txt &.txt '.txt (.txt ).txt +.txt -.txt 0.txt 1.txt 2.txt 3.txt
4.txt 5.txt 6.txt 7.txt 8.txt 9.txt @.txt A.txt B.txt C.txt D.txt E.txt F.txt G.txt H.txt
I.txt J.txt K.txt L.txt M.txt N.txt O.txt P.txt Q.txt R.txt S.txt T.txt U.txt V.txt W.txt
X.txt Y.txt Z.txt [.txt ].txt ^.txt _.txt `.txt {.txt }.txt ~.txt
> All other files still have File and HEX Block count indexing content up to the 'END'
> END of 16 chars plus 0-15 chars of *'s and the file path (truncated from start as needed).
When viewed files end like some of the following:
Code:
********/111/aaa.txt
*ManyD10/D0/2548.txt
D6/D7/D8/D9/2548.txt
****MoreFD/D0/D1/D2/10125.txt
The disk image (plus MakeFiles folder in the ZIP):
Code:
111
222
333
Ascii
[B]MakeFiles[/B] // source code
ManyD10
ManyD8
ManyF
MoreFD
9 dirs
Total 3259 files of Size 3059276 Bytes
Code makes from:
Code:
char szStart[][8] = { "", "ManyF", "ManyD10", "ManyD8", "MoreFD", "Ascii" };
MakeData( szStart[0] );
MakeDataFiles( szStart[1], 1024, 400, 1 );
MakeDeepDirs( szStart[2], 10, 5, 500, 512 );
MakeDeepDirs( szStart[3], 8, 6, 100, 400 );
MakeDeepDirs( szStart[4], 4, 6, 125, 250, 8 );
MakeNames( szStart[5] );
EDIT: Tested T_4.1 with above SD image on MTP with simple_SD.
> Copy of each folder 1 by 1 - none look right - named file not holding that content when place on PC drive.
> ManyD8 and D10 copied only empty folder with no notice
> ManyF took a long time to est. time and said 35 minutes and worked for 5 and quit
-> Copy of All folders at once - estimated 7 minutes??? and didn't get far.
The ASCII files should be repeats of the title char and ones observed, like the other files have the file content disassociated from file name.
Casual browsing of .txt files now shows missing files, empty folders.