节点文献

基于ARM和USB-Host化学发光系统的数据存储研究

Study of Data Storage Based on the ARM and USB-Host in Chemical Irradiance Detecting System

【作者】 李澄

【导师】 尹勇;

【作者基本信息】 武汉理工大学 , 通信与信息系统, 2007, 硕士

【摘要】 本论文详细介绍一种基于ARM内核处理器和USB-Host主机的化学发光检测系统。本化学发光系统成功实现了系统检测数据的采集、人机交互、批量数据的保存,融合操作系统μC/OS-Ⅱ对发光系统的支持和设备的管理。本项目主机系统部分实现了USB核心驱动程序、主机控制器驱动程序以及用户程序,支持Mass Storage设备类协议,并在系统中建立了精简的FAT文件系统,能够用此系统来读取或写入U盘文件数据,并通过LCD液晶显示器直接反馈检测结果。操作系统的USB开发一般来讲是针对PC机来设计的,也即是对USB设备的开发,USB设备脱离了PC机以后便变得无可用途,本文就绕开PC系统的限制,通过ARM芯片和USB主机控制器来实现对USB设备的控制。化学发光系统存储设计的硬件方案主要由S3C4480和SL811控制器来搭建,它们成本低、功耗小、速度快,满足系统设计的可行性分析。在软件代码角度上,逐层完成事务驱动、传输驱动、设备描述、设备枚举就可以实现USB1.1的协议栈,再结合Mass Storage协议,构建轻型FAT16精简文件系统,就可以完成对U盘访问的设计。本文在实现项目所要求的性能指标外,在文件系统的多层次性管理做了一定深度的研究和升级。在原有单目录的结构下改善成多目录结构,对病人各种信息实行级别管理,有效保存各个项目菜单下不同病人的案例,实现多项混合数据的同地存储。操作系统μC/OS-Ⅱ的引入,提供统一优化的任务访问模式,但U盘作为任务却会带来较慢的访问速度,约束人机交互,使得系统不具人性化。本论文据此设计一种方法,在操作系统下根据μC/OS-Ⅱ机制插入开发源码,解决多任务多数据下U盘存储所带来的数据紊乱性,满足U盘保存时而其他任务的共运行。按照论文中提出的方法,成功实现了化学发光系统USB主机系统的构建,对开发嵌入式USB主机具有普遍的意义。最后论文针对所设计的系统,就USB主机系统作了总结和分析,并对嵌入式USB主机的发展前景作了展望。

【Abstract】 The paper introduces a kind of CIDS (chemical irradiance detecting system) based on the ARM core processor and the USB-Host particularly. The CIDS completes the system data collection, the man-machine conversation, the bulk-data preservation successfully, and adds the operation systemμC/OS-Ⅱto support the project and the peripheral devices. This project’s USB-Host has completed the USB core driver, the HCD (host controller driver) as well as the user program, has supported the MassStorage protocol for device class, and has established the simplified FAT16 filesystem on them, then it can fetch the file data from the U plate, and feedback the results of test directly through LCD(Liquid Crystal Display).Generally speaking, USB technology of the operation system aims at the PC (personal computer) primarily, just for the development of USB device class, so if USB device was separated from PC, then it shouldn’t have no significance for its own function. This paper avoids the limitation of PC, uses the ARM chip and the USB HCD to control the USB device.The hardware design of the CIDS is constructed by the S3C44B0 chip and the SL811 controller, since their features contain low-cost, low-power, and the high speed and satisfy the feasibility analysis to the system design. In the aspect of software code, the CIDS completes transaction driver, transmission driver, device description, and device enumeration gradually. After those, the USB1.1 protocol stack is established, MassStorage protocol stack and FAT16 filesystem are added to the software structure. Then the whole system is able to complete the visit of U plate.This paper not only completes the test performance of CIDS, but also completes the depth index for CIDS. Based on the structure of original single directory, the paper changes it to the more index-nodes for different patients’ data. Through the new method, the different level patients’ cases are managed in the same storage and the bulk data is saved regularly and also the turbulence of test results is avoidable.μC/OS-Ⅱgives the consistent and optimized visit mode to the system tasks, but the task for U plate must obey the low speed of U plate visit, it restricts man-machine conversation and makes the system not professional. So the paper attempts to change the restriction and constructs the special methods to avoid the data turbulence of different tasks’ visit. The paper also introduces the software mechanism like this: new code is inserted into operation system according to theμC/OS-Ⅱprinciple.Based on the method proposed in the paper, The USB-host system construction of CIDS has been completed successfully; it has universal significance for the embedded USB-Host system development. Finally, the paper makes the conclusion for CDIS, especially for the USB-Host system development, and also points out the prospects for the embedded USB-Host system.

【关键词】 嵌入式μC/OS-ⅡUSB主机文件系统U盘
【Key words】 EmbeddedμC/OS-ⅡUSB-HostFilesystemU plate
  • 【分类号】TP333
  • 【下载频次】102
节点文献中: 

本文链接的文献网络图示:

本文的引文网络