资 源 简 介
本文以51单片机为例介绍如何扩展USB接口进行对U盘的读写,并详细介绍FAT16、FAT32文件系统的细节以及如何编码实现单片机对文件系统的常用操作,顺带提到一点关于U盘兼容性问题的解决经验。在这里单片机是host,U盘是slave。-In this paper, single-chip microcomputer 51 as an example on how to expand the USB interface on the U disk read and write, and details on FAT16, FAT32 file system and how to encode the details of the realization of single-chip microcomputer used for file system operations, mentioned in passing that on U disk experience compatibility problems. Here is a single-chip host, U disk is a slave.