This article introduces the basic structure and working principle of CF (Compact Flash) card. On this basis, a general test system design is given in detail on the C8051F34x-DK development platform, which controls the C8051F340 microcontroller by sending ATA commands and non-ATA commands through the serial port to perform a series of tests on various characteristic information (such as: total number of sectors, number of cylinders, number of heads, number of sectors per track, serial number, etc.) and functions (reading, writing, continuous reading, continuous writing, etc. of 8-bit/16-bit CF cards in three modes) of PC cards such as CF cards. This article introduces in detail the specific implementation process of writing a sector of a CF card in True IDE mode, and gives the corresponding program and system operation results. Keywords: CF card; C8051; serial port; ATA command; test system Abstract: First of all, the working principle theory and operating method of CF card is introduced in this paper. On the basis of this, a generic storage test system is designed, which is intend to provide a means to functionally test a CF card,PC Card ,IDE drives or other similar storage subsystems. The test setup is based on Silicon Lab\'s C8051F34x-DKdevelopment kit. And the testing will be performed using ATA commands and non- ATA commands via the C8051F340 microcontroller. We also give the details of writing a sector of CF card in the True IDE mode. The relevant program and result is also put forward.Key words: CF card; C8051; serial port; ATA command; test system
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore