摘要MSP430系列的单片机是由TI公司生产提供的低功耗单片机,在仪器仪表领域应用非常光泛。MSP430F5529是21世纪以来最新一代的具有集成 USB 接口,能进行能量收集、拥有无线传感功能,可以完成自动抄表功能。是当代用于嵌入式系统开发的低工作功耗的单片机之一。
在MSP430单片机的嵌入式系统开发应用领域中经常需要进行数据和文件的存储,因此基于 MSP430单片机实现的SD卡FAT文件读写系统在现实生活中就显得很有价值。
SD卡(Secure Digital Memory Card)是一类基于半导体实现的存储功能的设备。最初由日本的松下公司的领导、东芝公司和美国San Disk公司作为参与者在1999年共同开发研制的一类便携的存储设备。21122
SD卡的大小和一张邮票差不多,重量仅有2克左右,却拥有超大的记忆容量、极大的移动灵活性,快速数据传输、以及很好的安全性能。 本设计就是要完成基于MSP430系列单片机中MSP430F5529单片机在SD卡上实现FAT文件系统的设计,完成对SD文件的存储和读写功能。
关键词 FAT 文件系统 SD卡 MSP430单片机 读写 存储 毕业论文设计说明书(论文)外文摘要
Title The FAT File System Based on MSP430 Micro Controller Design and Implementation
Abstract
MSP430 micro controller series is provided by TI company low-power single-chip production in the field of application is very light instrumentation pan.MSP430F5529 is the latest generation of the 21st century with an integrated USB interface, can be energy harvesting,wireless sensing feature has,can complete automatic meter reading function.SCM is one of the contemporary development of embedded systems for low operating power.
In theMSP430MCU-based embedded systems development applications of ten need to store data and files, soMSP430MCU-based SD card reader FAT file system in real life be comes very valuable.
SD Card(Secure Digital Memory Card)is a type of semiconductor memory function implemented on the device.Originally from Japan's Matsushita leadership,Toshiba and San Disk Corporation as a participant in the United States in 1999 to jointly develop a class of portable storage devices.
Size of the SD card and a stampalmostonlyabout2 grams weight, but has a large memory capacity, a great mobile flexibility, fast data transfer,as well as a good safety performance.The design is tobe completed in theMSP430F5529MSP430 MCUMCU FAT file system design is based on the SD card,complete the SD file storage and read and write capabilities.
Keywords FAT file system SD card MSP430 micro controller read-write storage
目录
1 绪论 1
1.1 MSP430单片机的特点 2
1.1.1 超低功耗 2
1.2 MSP430F5529单片机内部结构 3
1.3 MSP430单片机SPI模式介绍 4
1.4 MSP430应用前景 6
2 MSP430集成开发环境IAREW430 7
2.1 IAR EW430基本操作 8
2.2 创建新工程 8
2.3 文件编辑 11
2.4软件环境的设置 14
2.5编译链接 16
3 SD卡介绍 19
3.1 SD卡的结构 19
3.2 FAT16格式介绍 22
3.3 使用WinHex查看FAT16文件系统结构 25
3.3.1 DOS引导记录(DBR) 26