登录
首页 » USB develop » this procedure with 180 OK C code can read FAT16 file system drives the root dir...

this procedure with 180 OK C code can read FAT16 file system drives the root dir...

于 2023-01-03 发布 文件大小:3.33 kB
0 51
下载积分: 2 下载次数: 1

代码说明:

这个程序用180行C代码就能够读取FAT16文件系统U盘的根目录,可以看到根目录下的文件名,并可显示首文件内容,不过,该程序很不严谨,也没有任何错误处理,对U盘兼容性较差,只是用于简单试验,作为参考.这个程序可以支持WINDOWS按FAT16格式化的U盘,因为程序精简,所以只兼容超过50%以上的U盘品牌,如果换成CH375A芯片则兼容性可提高到85%,当然,如果使用WCH公司的子程序库或者正式版本的C源程序兼容性更好-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 the pilot, 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 better compatibility

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696525资源总数
  • 103744会员总数
  • 102今日下载