📄 paul's 8051 code library understanding the fat32 filesystem.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Paul's 8051 Code Library: Understanding the FAT32 Filesystem</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META
content="8051, firmware, code, free, baud, baud rate, open source, IDE, drive, hard drive, ATA, storage, interface, subroutine, function, mcs-51, 8031, 87c51, 80c51, 80c31"
name=keywords>
<META content="Free 8051 source code: IDE Hard Drive Interface"
name=description><LINK
href="javascript:if(confirm('http://www.pjrc.com/favicon.ico \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.pjrc.com/favicon.ico'"
rel="shortcut icon" tppabs="http://www.pjrc.com/favicon.ico">
<STYLE type=text/css>BODY {
FONT-FAMILY: Arial, Helvetica, sans-serif
}
TD {
FONT-FAMILY: Arial, Helvetica, sans-serif
}
P {
FONT-FAMILY: Arial, Helvetica, sans-serif
}
</STYLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY text=#000000 vLink=#202080 link=#0000d0 bgColor=#ffffff><!--nav begin--><!--htdig_noindex-->
<TABLE cellSpacing=2 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD align=left rowSpan=2>
<TABLE cellSpacing=0 cellPadding=0 width=312>
<TBODY>
<TR>
<TD align=right><A
href="file:///E:/IDE-MP3s/pjrc_8051/fat32.html#navend"><IMG
height=10 alt="skip navigational links" hspace=0
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/1x1.gif"
width=1 border=0 tppabs="http://www.pjrc.com/img/1x1.gif"></A><A
href="javascript:if(confirm('http://www.pjrc.com/%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/'"
tppabs="http://www.pjrc.com/"><IMG height=31 alt=PJRC
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/logo.gif"
width=276 border=0
tppabs="http://www.pjrc.com/img/logo.gif"></A></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top align=right></TD></TR>
<TR>
<TD vAlign=bottom align=right><SMALL><A
href="javascript:if(confirm('https://www.pjrc.com/cgi-bin/store/step1%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20using%20an%20unsupported%20protocol%20(e.g.,%20gopher).%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='https://www.pjrc.com/cgi-bin/store/step1'"
tppabs="https://www.pjrc.com/cgi-bin/store/step1">Shopping Cart</A>
<IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 align=middle tppabs="http://www.pjrc.com/img/a.gif"> <A
href="javascript:if(confirm('https://www.pjrc.com/cgi-bin/store/step2%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20using%20an%20unsupported%20protocol%20(e.g.,%20gopher).%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='https://www.pjrc.com/cgi-bin/store/step2'"
tppabs="https://www.pjrc.com/cgi-bin/store/step2">Checkout</A> <IMG
height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 align=middle tppabs="http://www.pjrc.com/img/a.gif"> <A
href="javascript:if(confirm('http://www.pjrc.com/cgi-bin/store/shipcost%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/cgi-bin/store/shipcost'"
tppabs="http://www.pjrc.com/cgi-bin/store/shipcost">Shipping Cost</A>
<IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 align=middle tppabs="http://www.pjrc.com/img/a.gif"> <A
href="javascript:if(confirm('http://www.pjrc.com/cgi-bin/archive/summary%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/cgi-bin/archive/summary'"
tppabs="http://www.pjrc.com/cgi-bin/archive/summary">Download Website</A>
</SMALL></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=6 width="100%" border=0>
<TBODY>
<TR bgColor=#d0e0ff>
<TD align=middle><A
href="javascript:if(confirm('http://www.pjrc.com/%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/'"
tppabs="http://www.pjrc.com/">Home</A></TD>
<TD align=middle><A
href="javascript:if(confirm('http://www.pjrc.com/tech/mp3/%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/tech/mp3/'"
tppabs="http://www.pjrc.com/tech/mp3/">MP3 Player</A></TD>
<TD align=middle>8051 Tools</TD>
<TD align=middle><A
href="javascript:if(confirm('http://www.pjrc.com/tech/%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/tech/'"
tppabs="http://www.pjrc.com/tech/">All Projects</A></TD>
<TD align=middle><A
href="javascript:if(confirm('http://www.pjrc.com/store/%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/store/'"
tppabs="http://www.pjrc.com/store/">PJRC Store</A></TD>
<TD align=middle><A
href="javascript:if(confirm('http://www.pjrc.com/map.html%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/map.html'"
tppabs="http://www.pjrc.com/map.html">Site Map</A></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=2 width="100%">
<TBODY>
<TR bgColor=#f0f0f0>
<TD align=left><SMALL>You are here: <A
href="file:///E:/IDE-MP3s/pjrc_8051/index.htm"
tppabs="http://www.pjrc.com/tech/8051/">8051 Tools</A> <IMG height=10
alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/b.gif"
width=10 tppabs="http://www.pjrc.com/img/b.gif"> <A
href="file:///E:/IDE-MP3s/pjrc_8051/serial_io.html"
tppabs="http://www.pjrc.com/tech/8051/serial_io.html">Code Library</A>
<IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/b.gif"
width=10 tppabs="http://www.pjrc.com/img/b.gif"> <A
href="file:///E:/IDE-MP3s/pjrc_8051/index-5.html"
tppabs="http://www.pjrc.com/tech/8051/ide/index.html">IDE Hard Drive</A>
<IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/b.gif"
width=10 tppabs="http://www.pjrc.com/img/b.gif"> <SPAN
style="BACKGROUND-COLOR: #b0e4a8">FAT32 Info</SPAN> </SMALL></TD>
<TD align=right><SMALL><A
href="javascript:if(confirm('http://www.pjrc.com/search/%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/search/'"
tppabs="http://www.pjrc.com/search/">Search PJRC</A></SMALL>
</TD></TR></TBODY></TABLE>
<P>
<P>
<TABLE cellSpacing=0 cellPadding=0 width=180 align=left border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=6 width=160 border=0>
<TBODY>
<TR>
<TD align=middle bgColor=#d0e0ff><BIG><B>PJRC Store</B></BIG> </TD></TR>
<TR>
<TD bgColor=#f0f0f0><SMALL><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 align=middle tppabs="http://www.pjrc.com/img/a.gif"> <A
href="javascript:if(confirm('http://www.pjrc.com/store/dev_pcb_assem.html%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/store/dev_pcb_assem.html'"
tppabs="http://www.pjrc.com/store/dev_pcb_assem.html">8051 Dev
Board, $79</A><BR><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 align=middle tppabs="http://www.pjrc.com/img/a.gif"> <A
href="javascript:if(confirm('http://www.pjrc.com/store/dev_display_20x2.html%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/store/dev_display_20x2.html'"
tppabs="http://www.pjrc.com/store/dev_display_20x2.html">LCD 20x2
Display, $11</A><BR><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 align=middle tppabs="http://www.pjrc.com/img/a.gif"> <A
href="javascript:if(confirm('http://www.pjrc.com/store/cable_serial.html%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/store/cable_serial.html'"
tppabs="http://www.pjrc.com/store/cable_serial.html">Serial Cable,
$5</A><BR><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 align=middle tppabs="http://www.pjrc.com/img/a.gif"> <A
href="javascript:if(confirm('http://www.pjrc.com/store/pwr_12vdc.html%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/store/pwr_12vdc.html'"
tppabs="http://www.pjrc.com/store/pwr_12vdc.html">12 Volt Power,
$8</A><BR><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 align=middle tppabs="http://www.pjrc.com/img/a.gif"> <A
href="javascript:if(confirm('http://www.pjrc.com/store/index.html%20%20\n\nThis%20file%20was%20not%20retrieved%20by%20Teleport%20Pro,%20because%20it%20is%20addressed%20on%20a%20domain%20or%20path%20outside%20the%20boundaries%20set%20for%20its%20Starting%20Address.%20%20\n\nDo%20you%20want%20to%20open%20it%20from%20the%20server?'))window.location='http://www.pjrc.com/store/index.html'"
tppabs="http://www.pjrc.com/store/index.html">More
Components...</A><BR></SMALL></TD></TR>
<TR>
<TD height=15></TD></TR>
<TR>
<TD align=middle bgColor=#d0e0ff><BIG><B>8051 Tools</B></BIG> </TD></TR>
<TR>
<TD bgColor=#f0f0f0><SMALL><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 tppabs="http://www.pjrc.com/img/a.gif"> <A
href="file:///E:/IDE-MP3s/pjrc_8051/index-4.html"
tppabs="http://www.pjrc.com/tech/8051/index.html">Main
Page</A><BR><A href="file:///E:/IDE-MP3s/pjrc_8051/index.html"
tppabs="http://www.pjrc.com/tech/8051/tools/index.html"><IMG
height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/c.gif"
width=10 border=0 tppabs="http://www.pjrc.com/img/c.gif">
<B>Software</B></A><BR><A
href="file:///E:/IDE-MP3s/pjrc_8051/paulmon2.html"
tppabs="http://www.pjrc.com/tech/8051/paulmon2.html"><IMG height=10
alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/c.gif"
width=10 border=0 tppabs="http://www.pjrc.com/img/c.gif"> <B>PAULMON
Monitor</B></A><BR><A
href="file:///E:/IDE-MP3s/pjrc_8051/index-1.html"
tppabs="http://www.pjrc.com/tech/8051/board4/index.html"><IMG
height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/c.gif"
width=10 border=0 tppabs="http://www.pjrc.com/img/c.gif">
<B>Development Board</B></A><BR><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/b.gif"
width=10 tppabs="http://www.pjrc.com/img/b.gif"> <B>Code
Library</B><BR></SMALL>
<DIV style="PADDING-LEFT: 1.2em"><SMALL><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 tppabs="http://www.pjrc.com/img/a.gif"> <A
href="file:///E:/IDE-MP3s/pjrc_8051/serial_io.html"
tppabs="http://www.pjrc.com/tech/8051/serial_io.html">Serial I/O,
Polled</A><BR><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 tppabs="http://www.pjrc.com/img/a.gif"> <A
href="file:///E:/IDE-MP3s/pjrc_8051/autobaud.html"
tppabs="http://www.pjrc.com/tech/8051/autobaud.html">Automatic Baud
Rate</A><BR><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 tppabs="http://www.pjrc.com/img/a.gif"> <A
href="file:///E:/IDE-MP3s/pjrc_8051/uartintr.html"
tppabs="http://www.pjrc.com/tech/8051/uartintr.html">Serial I/O,
Intr.</A><BR><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 tppabs="http://www.pjrc.com/img/a.gif"> <A
href="file:///E:/IDE-MP3s/pjrc_8051/lexer-fixed-string.html"
tppabs="http://www.pjrc.com/tech/8051/lexer-fixed-string.html">Lexer</A><BR><IMG
height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 tppabs="http://www.pjrc.com/img/a.gif"> <A
href="file:///E:/IDE-MP3s/pjrc_8051/rand.html"
tppabs="http://www.pjrc.com/tech/8051/rand.html">Random
Numbers</A><BR><IMG height=10 alt=""
src="Paul's 8051 Code Library Understanding the FAT32 Filesystem.files/a.gif"
width=10 tppabs="http://www.pjrc.com/img/a.gif"> <A
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -