首页 | 本学科首页   官方微博 | 高级检索  
     

基于STM32芯片的U盘/SD卡文件传输技术研究
引用本文:刘智勇,陈鹏飞,宿磊,廖广兰.基于STM32芯片的U盘/SD卡文件传输技术研究[J].现代电子技术,2014(18):107-109.
作者姓名:刘智勇  陈鹏飞  宿磊  廖广兰
作者单位:华中科技大学数字制造装备与技术国家重点实验室
基金项目:国家自然科学基金(51175211)
摘    要:基于STM32F107VCT6微控制器,在μC/OS-Ⅲ系统下针对U盘与SD卡之间的文件传输进行研究。控制器分别通过SPI串行总线和OTG接口与SD卡和U盘实现数据传输,控制系统通过FATFS文件系统将U盘的文件数据存入控制器的缓存之中,再将数据写入SD卡,实现了U盘与SD卡之间的数据传输。实验表明:该文件传输原理简单、功能稳定,可广泛应用于日常生活和工农业的小型嵌入式设备当中。

关 键 词:STM32  μC/OS-Ⅲ  U盘  SD卡  文件传输

Study on file transmission between U disk and SD card based on STM32 chip
LIU Zhi-yong;CHEN Peng-fei;SU Lei;LIAO Guang-lan.Study on file transmission between U disk and SD card based on STM32 chip[J].Modern Electronic Technique,2014(18):107-109.
Authors:LIU Zhi-yong;CHEN Peng-fei;SU Lei;LIAO Guang-lan
Affiliation:LIU Zhi-yong;CHEN Peng-fei;SU Lei;LIAO Guang-lan;State Key Laboratory of Digital Manufacturing Equipment and Technology,Huazhong University of Science and Technology;
Abstract:The file transmission between U disk and SD card in the μC/OS-Ⅲ system based on STM32F107VCT6 chip is studied in this paper. The controller achieves data transmission by SD card and U disk respectively through SPI serial bus and USB OTG interface. The control system saves the file data of U disk into the cache of controller itself by FATFS file system, and then writes the data into the SD card to realize the data transmission between USB and SD card. The file communication mode is simple and stable, and can be widely applied to small embedded devices used in daily life, agriculture and industry.
Keywords:STM32  μC/OS-Ⅲ  U disk  SD card  file transmission
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号