51+ch375读写U盘超精简原程序(啊雨)

所属分类:单片机开发
开发工具:C/C++
文件大小:3KB
下载次数:280
上传日期:2005-12-16 14:09:07
上 传 者skins
说明:  这个程序用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 )

文件列表:
51+ch375读写U盘超精简原程序(啊雨).c (8725, 2005-12-16)

近期下载者

相关文件


收藏者