文件名称:51+ch375读写U盘超精简原程序(啊雨)
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- 梁*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这个程序用180行C代码就能够读取FAT16文件系统U盘的根目录,可以看到根目录下的文件
名,并可显示
首文件内容,不过,该程序很不严谨,也没有任何错误处理,对U盘兼容性较差,只是用于简单试
验,作为参考.
这个程序可以支持WINDOWS按FAT16格式化的U盘,因为程序精简,所以只兼容超过50%以上的U
盘品牌,如果换
成CH375A芯片则兼容性可提高到85%,当然,如果使用WCH公司的子程序库或者正式版本的C源
程序兼容性更好。
下
欢测试以下U盘通过:郎科/超稳经典64M/超稳迷你128M/U160-64M/超稳普及128M,爱国者/迷
你王16M/邮箱型,
黑匣子/64M,微闪/64M,飙王/32M/64M/128M,晶彩/C200-64M,新科/256M,昂达/128M...,欢迎
提供测试结果
未通过U盘:爱国者/智慧棒128M,清华普天/USB2.0-128M,当然,使用WCH的子程序库或CH375A
都可以测试通过
-this procedure with 180 OK C code can read FAT16 file system drives the root directory, we can see the root directory under the file name, would show the first document, but the very stringent procedures, and there is no error handling, the U-poor compatibility, but for the simple test a post-mortem as a reference. this procedure can be supported by Windows FAT16 formatted U disk, because the procedure is streamlined and therefore only compatible with more than 50% of the U-brand, if chips were replaced CH375A compatibility can be increased to 85%, if the company's use of WCH Subroutine Library or an official version of the C source code compatibility better. Huan tests under the following U-pass : Lang Branch/Ultra Stable classic 64M/mini 128M/U160-64M Ultra Stable/Ultra Stable
名,并可显示
首文件内容,不过,该程序很不严谨,也没有任何错误处理,对U盘兼容性较差,只是用于简单试
验,作为参考.
这个程序可以支持WINDOWS按FAT16格式化的U盘,因为程序精简,所以只兼容超过50%以上的U
盘品牌,如果换
成CH375A芯片则兼容性可提高到85%,当然,如果使用WCH公司的子程序库或者正式版本的C源
程序兼容性更好。
下
欢测试以下U盘通过:郎科/超稳经典64M/超稳迷你128M/U160-64M/超稳普及128M,爱国者/迷
你王16M/邮箱型,
黑匣子/64M,微闪/64M,飙王/32M/64M/128M,晶彩/C200-64M,新科/256M,昂达/128M...,欢迎
提供测试结果
未通过U盘:爱国者/智慧棒128M,清华普天/USB2.0-128M,当然,使用WCH的子程序库或CH375A
都可以测试通过
-this procedure with 180 OK C code can read FAT16 file system drives the root directory, we can see the root directory under the file name, would show the first document, but the very stringent procedures, and there is no error handling, the U-poor compatibility, but for the simple test a post-mortem as a reference. this procedure can be supported by Windows FAT16 formatted U disk, because the procedure is streamlined and therefore only compatible with more than 50% of the U-brand, if chips were replaced CH375A compatibility can be increased to 85%, if the company's use of WCH Subroutine Library or an official version of the C source code compatibility better. Huan tests under the following U-pass : Lang Branch/Ultra Stable classic 64M/mini 128M/U160-64M Ultra Stable/Ultra Stable
(系统自动生成,下载前可以参看下载内容)
下载文件列表
51+ch375读写U盘超精简原程序(啊雨).c