As a high-capacity and high-performance solid storage device, SD card is widely used in various embedded systems. Currently research on driver for SD card based on embedded ReWorks system is very little. In order to support the data access of SD card based on ReWorks platform, S3C2440 is taken as processor, and the initialization process and the readingwriting process of SD card based on SD bus mode are analyzed. Aaccording to the key data structure and process of building block device on ReWarks platform, SD card driver based on SD mode is established. The structure and implementation details of this driver are meaningful to the driver development for some other block devices based on ReWorks platform and SD card based on some other systems.%SD卡作为一种大容量、高性能的固体存储设备广泛应用于各类嵌入式系统.目前基于嵌入式ReWorks系统的SD卡驱动研究还比较少.为实现SD卡在ReWorks平台上的数据存取,本文以S3C2440为处理器研究了基于SD总线模式的SD卡初始化过程和读/写过程,并根据ReWorks系统关键数据结构和建立块设备的工作流程,在ReWorks系统平台上实现了的SD模式下的SD卡驱动程序.该驱动程序的结构及实现细节对ReWorks平台的块设备驱动开发以及其他系统平台的SD卡驱动开发均有一定的借鉴意义.
展开▼