1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Spare area autoplacement default schemes</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="MTD NAND Driver Programming Interface"><link rel="up" href="boarddriversadvanced.html" title="Chapter 5. Advanced board driver functions"><link rel="prev" href="Spare_area_placement.html" title="Spare area (auto)placement"><link rel="next" href="filesystems.html" title="Chapter 6. Filesystem support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Spare area autoplacement default schemes</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Spare_area_placement.html">Prev</a> </td><th width="60%" align="center">Chapter 5. Advanced board driver functions</th><td width="20%" align="right"> <a accesskey="n" href="filesystems.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="Spare_area_autoplacement_default"></a>Spare area autoplacement default schemes</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="sect2"><a href="Spare_area_autoplacement_default.html#pagesize_256">256 byte pagesize</a></span></dt><dt><span class="sect2"><a href="Spare_area_autoplacement_default.html#pagesize_512">512 byte pagesize</a></span></dt><dt><span class="sect2"><a href="Spare_area_autoplacement_default.html#pagesize_2048">2048 byte pagesize</a></span></dt></dl></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="pagesize_256"></a>256 byte pagesize</h3></div></div></div><div class="informaltable"><table border="1"><colgroup><col><col><col></colgroup><tbody><tr><td>Offset</td><td>Content</td><td>Comment</td></tr><tr><td>0x00</td><td>ECC byte 0</td><td>Error correction code byte 0</td></tr><tr><td>0x01</td><td>ECC byte 1</td><td>Error correction code byte 1</td></tr><tr><td>0x02</td><td>ECC byte 2</td><td>Error correction code byte 2</td></tr><tr><td>0x03</td><td>Autoplace 0</td><td> </td></tr><tr><td>0x04</td><td>Autoplace 1</td><td> </td></tr><tr><td>0x05</td><td>Bad block marker</td><td>If any bit in this byte is zero, then this block is bad. 2This applies only to the first page in a block. In the remaining 3pages this byte is reserved</td></tr><tr><td>0x06</td><td>Autoplace 2</td><td> </td></tr><tr><td>0x07</td><td>Autoplace 3</td><td> </td></tr></tbody></table></div></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="pagesize_512"></a>512 byte pagesize</h3></div></div></div><div class="informaltable"><table border="1"><colgroup><col><col><col></colgroup><tbody><tr><td>Offset</td><td>Content</td><td>Comment</td></tr><tr><td>0x00</td><td>ECC byte 0</td><td>Error correction code byte 0 of the lower 256 Byte data in 4this page</td></tr><tr><td>0x01</td><td>ECC byte 1</td><td>Error correction code byte 1 of the lower 256 Bytes of data 5in this page</td></tr><tr><td>0x02</td><td>ECC byte 2</td><td>Error correction code byte 2 of the lower 256 Bytes of data 6in this page</td></tr><tr><td>0x03</td><td>ECC byte 3</td><td>Error correction code byte 0 of the upper 256 Bytes of data 7in this page</td></tr><tr><td>0x04</td><td>reserved</td><td>reserved</td></tr><tr><td>0x05</td><td>Bad block marker</td><td>If any bit in this byte is zero, then this block is bad. 8This applies only to the first page in a block. In the remaining 9pages this byte is reserved</td></tr><tr><td>0x06</td><td>ECC byte 4</td><td>Error correction code byte 1 of the upper 256 Bytes of data 10in this page</td></tr><tr><td>0x07</td><td>ECC byte 5</td><td>Error correction code byte 2 of the upper 256 Bytes of data 11in this page</td></tr><tr><td>0x08 - 0x0F</td><td>Autoplace 0 - 7</td><td> </td></tr></tbody></table></div></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="pagesize_2048"></a>2048 byte pagesize</h3></div></div></div><div class="informaltable"><table border="1"><colgroup><col><col><col></colgroup><tbody><tr><td>Offset</td><td>Content</td><td>Comment</td></tr><tr><td>0x00</td><td>Bad block marker</td><td>If any bit in this byte is zero, then this block is bad. 12This applies only to the first page in a block. In the remaining 13pages this byte is reserved</td></tr><tr><td>0x01</td><td>Reserved</td><td>Reserved</td></tr><tr><td>0x02-0x27</td><td>Autoplace 0 - 37</td><td> </td></tr><tr><td>0x28</td><td>ECC byte 0</td><td>Error correction code byte 0 of the first 256 Byte data in 14this page</td></tr><tr><td>0x29</td><td>ECC byte 1</td><td>Error correction code byte 1 of the first 256 Bytes of data 15in this page</td></tr><tr><td>0x2A</td><td>ECC byte 2</td><td>Error correction code byte 2 of the first 256 Bytes data in 16this page</td></tr><tr><td>0x2B</td><td>ECC byte 3</td><td>Error correction code byte 0 of the second 256 Bytes of data 17in this page</td></tr><tr><td>0x2C</td><td>ECC byte 4</td><td>Error correction code byte 1 of the second 256 Bytes of data 18in this page</td></tr><tr><td>0x2D</td><td>ECC byte 5</td><td>Error correction code byte 2 of the second 256 Bytes of data 19in this page</td></tr><tr><td>0x2E</td><td>ECC byte 6</td><td>Error correction code byte 0 of the third 256 Bytes of data 20in this page</td></tr><tr><td>0x2F</td><td>ECC byte 7</td><td>Error correction code byte 1 of the third 256 Bytes of data 21in this page</td></tr><tr><td>0x30</td><td>ECC byte 8</td><td>Error correction code byte 2 of the third 256 Bytes of data 22in this page</td></tr><tr><td>0x31</td><td>ECC byte 9</td><td>Error correction code byte 0 of the fourth 256 Bytes of data 23in this page</td></tr><tr><td>0x32</td><td>ECC byte 10</td><td>Error correction code byte 1 of the fourth 256 Bytes of data 24in this page</td></tr><tr><td>0x33</td><td>ECC byte 11</td><td>Error correction code byte 2 of the fourth 256 Bytes of data 25in this page</td></tr><tr><td>0x34</td><td>ECC byte 12</td><td>Error correction code byte 0 of the fifth 256 Bytes of data 26in this page</td></tr><tr><td>0x35</td><td>ECC byte 13</td><td>Error correction code byte 1 of the fifth 256 Bytes of data 27in this page</td></tr><tr><td>0x36</td><td>ECC byte 14</td><td>Error correction code byte 2 of the fifth 256 Bytes of data 28in this page</td></tr><tr><td>0x37</td><td>ECC byte 15</td><td>Error correction code byte 0 of the sixt 256 Bytes of data 29in this page</td></tr><tr><td>0x38</td><td>ECC byte 16</td><td>Error correction code byte 1 of the sixt 256 Bytes of data 30in this page</td></tr><tr><td>0x39</td><td>ECC byte 17</td><td>Error correction code byte 2 of the sixt 256 Bytes of data 31in this page</td></tr><tr><td>0x3A</td><td>ECC byte 18</td><td>Error correction code byte 0 of the seventh 256 Bytes of 32data in this page</td></tr><tr><td>0x3B</td><td>ECC byte 19</td><td>Error correction code byte 1 of the seventh 256 Bytes of 33data in this page</td></tr><tr><td>0x3C</td><td>ECC byte 20</td><td>Error correction code byte 2 of the seventh 256 Bytes of 34data in this page</td></tr><tr><td>0x3D</td><td>ECC byte 21</td><td>Error correction code byte 0 of the eighth 256 Bytes of data 35in this page</td></tr><tr><td>0x3E</td><td>ECC byte 22</td><td>Error correction code byte 1 of the eighth 256 Bytes of data 36in this page</td></tr><tr><td>0x3F</td><td>ECC byte 23</td><td>Error correction code byte 2 of the eighth 256 Bytes of data 37in this page</td></tr></tbody></table></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Spare_area_placement.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="boarddriversadvanced.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="filesystems.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Spare area (auto)placement </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 6. Filesystem support</td></tr></table></div></body></html> 38