1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>Save Data Size List</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11
12<H1 align="left">Save Data Size List&nbsp;<IMG src="../image/TWL.gif" align="middle"></H1>
13
14<H2>Description</H2>
15<P>
16This is a list of the values that can be specified within RSF files for <CODE>PublicSaveDataSize</CODE> and <CODE>PrivateSaveDataSize</CODE>.
17</P>
18<P>
19With 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.
20</P>
21<P>
22The 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 <a href="../fs/overview/about_Archive.html#FAT">FS Library Overview</a>. To determine the size that files in the save data region can actually consume, use the <a href="../fs/archive/FS_HasEnoughSpaceToCreateFile.html"><CODE>FS_HasEnoughSpaceToCreateFile</CODE></a> function.
23</P>
24
25<H2>How to View This Table</H2>
26
27<P>
28The meanings of each column are shown below.
29</P>
30
31<table class="table">
32<tr><th nowrap="1">Specified Value
33	<td>Shows the values that can be specified in RSF files for <CODE>PublicSaveDataSize</CODE> and <CODE>PrivateSaveDataSize</CODE>.
34<tr><th nowrap="1">Region Size
35	<td>The value of <CODE>totalSize</CODE> that can be obtained with the <a href="../fs/archive/FS_GetArchiveResource.html"><CODE>FS_GetArchiveResource</CODE></a> function when the corresponding &quot;Specified Value&quot; is chosen. This value indicates the maximum size of the file that can be created.
36<tr><th nowrap="1">Maximum Number of Files
37	<td>The maximum total number of files and directories that can be created directly under the root directory when the corresponding &quot;Specified Value&quot; 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.
38<tr><th nowrap="1">Cluster Size
39	<td>The units used for the size of the region when the corresponding &quot;Specified Value&quot; 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.
40</table>
41
42<H2>Tables</H2>
43
44<table class="table float_left">
45<thead>
46<tr><th>Specified Value<th>Region Size<th>Maximum Number of Files<th>Cluster Size
47</thead>
48<tbody>
49<tr><th class="number" nowrap="1">16K<td class="number" nowrap="1">11,264 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
50<tr><th class="number" nowrap="1">32K<td class="number" nowrap="1">30,208 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
51<tr><th class="number" nowrap="1">48K<td class="number" nowrap="1">38,400 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
52<tr><th class="number" nowrap="1">64K<td class="number" nowrap="1">61,440 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
53<tr><th class="number" nowrap="1">80K<td class="number" nowrap="1">74,240 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
54<tr><th class="number" nowrap="1">96K<td class="number" nowrap="1">89,600 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
55<tr><th class="number" nowrap="1">112K<td class="number" nowrap="1">108,032 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
56<tr><th class="number" nowrap="1">128K<td class="number" nowrap="1">126,464 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
57<tr><th class="number" nowrap="1">160K<td class="number" nowrap="1">147,968 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
58<tr><th class="number" nowrap="1">176K<td class="number" nowrap="1">173,056 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
59<tr><th class="number" nowrap="1">208K<td class="number" nowrap="1">197,120 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
60<tr><th class="number" nowrap="1">224K<td class="number" nowrap="1">225,792 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
61<tr><th class="number" nowrap="1">256K<td class="number" nowrap="1">258,560 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
62<tr><th class="number" nowrap="1">288K<td class="number" nowrap="1">291,328 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
63<tr><th class="number" nowrap="1">336K<td class="number" nowrap="1">328,192 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
64<tr><th class="number" nowrap="1">368K<td class="number" nowrap="1">368,640 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
65<tr><th class="number" nowrap="1">416K<td class="number" nowrap="1">410,112 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
66<tr><th class="number" nowrap="1">464K<td class="number" nowrap="1">456,192 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
67<tr><th class="number" nowrap="1">512K<td class="number" nowrap="1">507,392 bytes<td class="number" nowrap="1">16<td class="number" nowrap="1">512 bytes
68<tr><th class="number" nowrap="1">560K<td class="number" nowrap="1">544,768 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
69<tr><th class="number" nowrap="1">608K<td class="number" nowrap="1">600,064 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
70<tr><th class="number" nowrap="1">672K<td class="number" nowrap="1">663,552 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
71<tr><th class="number" nowrap="1">736K<td class="number" nowrap="1">722,944 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
72<tr><th class="number" nowrap="1">800K<td class="number" nowrap="1">790,528 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
73<tr><th class="number" nowrap="1">864K<td class="number" nowrap="1">864,256 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
74<tr><th class="number" nowrap="1">944K<td class="number" nowrap="1">937,984 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
75<tr><th class="number" nowrap="1">1024K<td class="number" nowrap="1">1,017,856 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
76<tr><th class="number" nowrap="1">1104K<td class="number" nowrap="1">1,105,920 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
77<tr><th class="number" nowrap="1">1184K<td class="number" nowrap="1">1,191,936 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
78<tr><th class="number" nowrap="1">1280K<td class="number" nowrap="1">1,284,096 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
79<tr><th class="number" nowrap="1">1376K<td class="number" nowrap="1">1,384,448 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
80<tr><th class="number" nowrap="1">1472K<td class="number" nowrap="1">1,484,800 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
81<tr><th class="number" nowrap="1">1584K<td class="number" nowrap="1">1,591,296 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
82<tr><th class="number" nowrap="1">1696K<td class="number" nowrap="1">1,708,032 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
83<tr><th class="number" nowrap="1">1808K<td class="number" nowrap="1">1,822,720 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
84<tr><th class="number" nowrap="1">1920K<td class="number" nowrap="1">1,945,600 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
85<tr><th class="number" nowrap="1">2048K<td class="number" nowrap="1">2,076,672 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
86<tr><th class="number" nowrap="1">2176K<td class="number" nowrap="1">2,205,696 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
87<tr><th class="number" nowrap="1">2320K<td class="number" nowrap="1">2,344,960 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
88<tr><th class="number" nowrap="1">2464K<td class="number" nowrap="1">2,494,464 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
89<tr><th class="number" nowrap="1">2608K<td class="number" nowrap="1">2,641,920 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
90<tr><th class="number" nowrap="1">2768K<td class="number" nowrap="1">2,797,568 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
91<tr><th class="number" nowrap="1">2928K<td class="number" nowrap="1">2,963,456 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
92<tr><th class="number" nowrap="1">3104K<td class="number" nowrap="1">3,129,344 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
93<tr><th class="number" nowrap="1">3264K<td class="number" nowrap="1">3,303,424 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
94<tr><th class="number" nowrap="1">3456K<td class="number" nowrap="1">3,487,744 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
95<tr><th class="number" nowrap="1">3616K<td class="number" nowrap="1">3,672,064 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
96<tr><th class="number" nowrap="1">3808K<td class="number" nowrap="1">3,866,624 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
97<tr><th class="number" nowrap="1">4000K<td class="number" nowrap="1">4,071,424 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
98<tr><th class="number" nowrap="1">4224K<td class="number" nowrap="1">4,276,224 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
99<tr><th class="number" nowrap="1">4416K<td class="number" nowrap="1">4,491,264 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
100<tr><th class="number" nowrap="1">4640K<td class="number" nowrap="1">4,716,544 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
101<tr><th class="number" nowrap="1">4864K<td class="number" nowrap="1">4,941,824 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
102<tr><th class="number" nowrap="1">5088K<td class="number" nowrap="1">5,177,344 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
103</tbody>
104</table>
105
106<table class="table float_left">
107<thead>
108<tr><th>Specified Value<th>Region Size<th>Maximum Number of Files<th>Cluster Size
109</thead>
110<tbody>
111<tr><th class="number" nowrap="1">5344K<td class="number" nowrap="1">5,427,200 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
112<tr><th class="number" nowrap="1">5568K<td class="number" nowrap="1">5,677,056 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
113<tr><th class="number" nowrap="1">5824K<td class="number" nowrap="1">5,935,104 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
114<tr><th class="number" nowrap="1">6112K<td class="number" nowrap="1">6,205,440 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
115<tr><th class="number" nowrap="1">6368K<td class="number" nowrap="1">6,475,776 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
116<tr><th class="number" nowrap="1">6624K<td class="number" nowrap="1">6,758,400 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
117<tr><th class="number" nowrap="1">6912K<td class="number" nowrap="1">7,053,312 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
118<tr><th class="number" nowrap="1">7200K<td class="number" nowrap="1">7,348,224 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
119<tr><th class="number" nowrap="1">7520K<td class="number" nowrap="1">7,655,424 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
120<tr><th class="number" nowrap="1">7840K<td class="number" nowrap="1">7,974,912 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
121<tr><th class="number" nowrap="1">8128K<td class="number" nowrap="1">8,294,400 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
122<tr><th class="number" nowrap="1">8480K<td class="number" nowrap="1">8,626,176 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
123<tr><th class="number" nowrap="1">8800K<td class="number" nowrap="1">8,974,336 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
124<tr><th class="number" nowrap="1">9152K<td class="number" nowrap="1">9,318,400 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
125<tr><th class="number" nowrap="1">9504K<td class="number" nowrap="1">9,678,848 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
126<tr><th class="number" nowrap="1">9856K<td class="number" nowrap="1">10,051,584 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
127<tr><th class="number" nowrap="1">10208K<td class="number" nowrap="1">10,424,320 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
128<tr><th class="number" nowrap="1">10592K<td class="number" nowrap="1">10,809,344 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
129<tr><th class="number" nowrap="1">10976K<td class="number" nowrap="1">11,210,752 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
130<tr><th class="number" nowrap="1">11392K<td class="number" nowrap="1">11,612,160 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
131<tr><th class="number" nowrap="1">11776K<td class="number" nowrap="1">12,029,952 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
132<tr><th class="number" nowrap="1">12224K<td class="number" nowrap="1">12,460,032 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
133<tr><th class="number" nowrap="1">12640K<td class="number" nowrap="1">12,890,112 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
134<tr><th class="number" nowrap="1">13056K<td class="number" nowrap="1">13,332,480 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
135<tr><th class="number" nowrap="1">13504K<td class="number" nowrap="1">13,795,328 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
136<tr><th class="number" nowrap="1">13952K<td class="number" nowrap="1">14,254,080 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
137<tr><th class="number" nowrap="1">14432K<td class="number" nowrap="1">14,729,216 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
138<tr><th class="number" nowrap="1">14912K<td class="number" nowrap="1">15,224,832 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
139<tr><th class="number" nowrap="1">15392K<td class="number" nowrap="1">15,712,256 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
140<tr><th class="number" nowrap="1">15872K<td class="number" nowrap="1">16,220,160 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">4096 bytes
141<tr><th class="number" nowrap="1">16896K<td class="number" nowrap="1">17,250,304 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
142<tr><th class="number" nowrap="1">17472K<td class="number" nowrap="1">17,788,928 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
143<tr><th class="number" nowrap="1">17984K<td class="number" nowrap="1">18,345,984 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
144<tr><th class="number" nowrap="1">18560K<td class="number" nowrap="1">18,900,992 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
145<tr><th class="number" nowrap="1">19136K<td class="number" nowrap="1">19,474,432 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
146<tr><th class="number" nowrap="1">19712K<td class="number" nowrap="1">20,066,304 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
147<tr><th class="number" nowrap="1">20288K<td class="number" nowrap="1">20,656,128 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
148<tr><th class="number" nowrap="1">20864K<td class="number" nowrap="1">21,264,384 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
149<tr><th class="number" nowrap="1">21440K<td class="number" nowrap="1">21,891,072 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
150<tr><th class="number" nowrap="1">22080K<td class="number" nowrap="1">22,515,712 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
151<tr><th class="number" nowrap="1">22720K<td class="number" nowrap="1">23,160,832 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
152<tr><th class="number" nowrap="1">23360K<td class="number" nowrap="1">23,822,336 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
153<tr><th class="number" nowrap="1">24000K<td class="number" nowrap="1">24,485,888 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
154<tr><th class="number" nowrap="1">24704K<td class="number" nowrap="1">25,165,824 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
155<tr><th class="number" nowrap="1">25344K<td class="number" nowrap="1">25,866,240 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
156<tr><th class="number" nowrap="1">26048K<td class="number" nowrap="1">26,564,608 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
157<tr><th class="number" nowrap="1">26752K<td class="number" nowrap="1">27,283,456 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
158<tr><th class="number" nowrap="1">27456K<td class="number" nowrap="1">28,020,736 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
159<tr><th class="number" nowrap="1">28160K<td class="number" nowrap="1">28,760,064 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
160<tr><th class="number" nowrap="1">28928K<td class="number" nowrap="1">29,515,776 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
161<tr><th class="number" nowrap="1">29696K<td class="number" nowrap="1">30,294,016 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
162<tr><th class="number" nowrap="1">30464K<td class="number" nowrap="1">31,070,208 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
163<tr><th class="number" nowrap="1">31232K<td class="number" nowrap="1">31,868,928 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
164<tr><th class="number" nowrap="1">32000K<td class="number" nowrap="1">32,686,080 bytes<td class="number" nowrap="1">256<td class="number" nowrap="1">2048 bytes
165</tbody>
166</table>
167
168
169<br clear="all">
170
171<H2>Revision History</H2>
172<P>
1732009/03/11 Noted that only the root directory has restrictions on the number of files.<br>2009/01/13 Made slight revision to the description of the FAT file system.<br>2008/11/26 Added a link to FS.<br>2008/09/16 Initial version.
174</P>
175<hr><p>CONFIDENTIAL</p></body>
176</HTML>
177