Save Data Size List 

Description

This is a list of the values that can be specified within RSF files for PublicSaveDataSize and PrivateSaveDataSize.

With NAND applications, you must specify the size of the save data region in the RSF file. Below is a list of the values that can be specified as the sizes for save data regions, along with the sizes that can actually be used in applications when each value is specified.

The save data region of NAND applications are managed using a FAT file system. Because it is necessary to maintain internal information for filenames and directories, some additional amount of memory is required in addition to the actual file size. For information on the TWL FAT file system, see FS Library Overview. To determine the size that files in the save data region can actually consume, use the FS_HasEnoughSpaceToCreateFile function.

How to View This Table

The meanings of each column are shown below.

Specified Value Shows the values that can be specified in RSF files for PublicSaveDataSize and PrivateSaveDataSize.
Region Size The value of totalSize that can be obtained with the FS_GetArchiveResource function when the corresponding "Specified Value" is chosen. This value indicates the maximum size of the file that can be created.
Maximum Number of Files The maximum total number of files and directories that can be created directly under the root directory when the corresponding "Specified Value" is chosen. The total number of files and directories that can be created immediately under the root directory depends on the length of the names, so the practical maximum is this value or less. Only the root directory has restrictions on the number of files.
Cluster Size The units used for the size of the region when the corresponding "Specified Value" is chosen. For example, if the cluster size is 512 bytes, both a 1-byte file and a 512-byte file consume a region of 512 bytes each. Likewise, a 513-byte file and a 1024-byte file both consume a region of 1024 bytes.

Tables

Specified ValueRegion SizeMaximum Number of FilesCluster Size
16K11,264 bytes16512 bytes
32K30,208 bytes16512 bytes
48K38,400 bytes16512 bytes
64K61,440 bytes16512 bytes
80K74,240 bytes16512 bytes
96K89,600 bytes16512 bytes
112K108,032 bytes16512 bytes
128K126,464 bytes16512 bytes
160K147,968 bytes16512 bytes
176K173,056 bytes16512 bytes
208K197,120 bytes16512 bytes
224K225,792 bytes16512 bytes
256K258,560 bytes16512 bytes
288K291,328 bytes16512 bytes
336K328,192 bytes16512 bytes
368K368,640 bytes16512 bytes
416K410,112 bytes16512 bytes
464K456,192 bytes16512 bytes
512K507,392 bytes16512 bytes
560K544,768 bytes2562048 bytes
608K600,064 bytes2562048 bytes
672K663,552 bytes2562048 bytes
736K722,944 bytes2562048 bytes
800K790,528 bytes2562048 bytes
864K864,256 bytes2562048 bytes
944K937,984 bytes2562048 bytes
1024K1,017,856 bytes2562048 bytes
1104K1,105,920 bytes2562048 bytes
1184K1,191,936 bytes2562048 bytes
1280K1,284,096 bytes2562048 bytes
1376K1,384,448 bytes2562048 bytes
1472K1,484,800 bytes2562048 bytes
1584K1,591,296 bytes2562048 bytes
1696K1,708,032 bytes2562048 bytes
1808K1,822,720 bytes2562048 bytes
1920K1,945,600 bytes2562048 bytes
2048K2,076,672 bytes2562048 bytes
2176K2,205,696 bytes2562048 bytes
2320K2,344,960 bytes2562048 bytes
2464K2,494,464 bytes2562048 bytes
2608K2,641,920 bytes2562048 bytes
2768K2,797,568 bytes2562048 bytes
2928K2,963,456 bytes2562048 bytes
3104K3,129,344 bytes2562048 bytes
3264K3,303,424 bytes2562048 bytes
3456K3,487,744 bytes2562048 bytes
3616K3,672,064 bytes2562048 bytes
3808K3,866,624 bytes2562048 bytes
4000K4,071,424 bytes2562048 bytes
4224K4,276,224 bytes2562048 bytes
4416K4,491,264 bytes2562048 bytes
4640K4,716,544 bytes2562048 bytes
4864K4,941,824 bytes2562048 bytes
5088K5,177,344 bytes2562048 bytes
Specified ValueRegion SizeMaximum Number of FilesCluster Size
5344K5,427,200 bytes2564096 bytes
5568K5,677,056 bytes2564096 bytes
5824K5,935,104 bytes2564096 bytes
6112K6,205,440 bytes2564096 bytes
6368K6,475,776 bytes2564096 bytes
6624K6,758,400 bytes2564096 bytes
6912K7,053,312 bytes2564096 bytes
7200K7,348,224 bytes2564096 bytes
7520K7,655,424 bytes2564096 bytes
7840K7,974,912 bytes2564096 bytes
8128K8,294,400 bytes2564096 bytes
8480K8,626,176 bytes2564096 bytes
8800K8,974,336 bytes2564096 bytes
9152K9,318,400 bytes2564096 bytes
9504K9,678,848 bytes2564096 bytes
9856K10,051,584 bytes2564096 bytes
10208K10,424,320 bytes2564096 bytes
10592K10,809,344 bytes2564096 bytes
10976K11,210,752 bytes2564096 bytes
11392K11,612,160 bytes2564096 bytes
11776K12,029,952 bytes2564096 bytes
12224K12,460,032 bytes2564096 bytes
12640K12,890,112 bytes2564096 bytes
13056K13,332,480 bytes2564096 bytes
13504K13,795,328 bytes2564096 bytes
13952K14,254,080 bytes2564096 bytes
14432K14,729,216 bytes2564096 bytes
14912K15,224,832 bytes2564096 bytes
15392K15,712,256 bytes2564096 bytes
15872K16,220,160 bytes2564096 bytes
16896K17,250,304 bytes2562048 bytes
17472K17,788,928 bytes2562048 bytes
17984K18,345,984 bytes2562048 bytes
18560K18,900,992 bytes2562048 bytes
19136K19,474,432 bytes2562048 bytes
19712K20,066,304 bytes2562048 bytes
20288K20,656,128 bytes2562048 bytes
20864K21,264,384 bytes2562048 bytes
21440K21,891,072 bytes2562048 bytes
22080K22,515,712 bytes2562048 bytes
22720K23,160,832 bytes2562048 bytes
23360K23,822,336 bytes2562048 bytes
24000K24,485,888 bytes2562048 bytes
24704K25,165,824 bytes2562048 bytes
25344K25,866,240 bytes2562048 bytes
26048K26,564,608 bytes2562048 bytes
26752K27,283,456 bytes2562048 bytes
27456K28,020,736 bytes2562048 bytes
28160K28,760,064 bytes2562048 bytes
28928K29,515,776 bytes2562048 bytes
29696K30,294,016 bytes2562048 bytes
30464K31,070,208 bytes2562048 bytes
31232K31,868,928 bytes2562048 bytes
32000K32,686,080 bytes2562048 bytes

Revision History

2009/03/11 Noted that only the root directory has restrictions on the number of files.
2009/01/13 Made slight revision to the description of the FAT file system.
2008/11/26 Added a link to FS.
2008/09/16 Initial version.


CONFIDENTIAL