Linux Driver Analysis of SD Card Based on S3C2410 I

Source: Internet
Author: User

When talking about Embedded Linux driver development, I found many students interested in the SD card driver. I will discuss it with you later. In many technical forums,
Many people have asked this question, so I want to write it and hope it will be helpful for everyone's learning. To learn how the SD card works, you must first understand the SD card protocol.
It can be easily downloaded online. After learning about the protocol, you can look at the following development ideas.

First, let's take a look at how to read and write SD cards on the S3C2410 operating system. The process can be divided into three major steps: initializing the SD card, writing the SD card, and reading
SD card; the following process is tested through the realview-MDK environment.

I. initialize the SD card

Ii. Write SD card

SD card writing can be divided into three methods: poll, interrupt, DMA

(1) poll write

(2) interrupt write

(3) DMA write

3. Read SD card

SD card reading can also be divided into three methods: poll, interrupt, DMA

(1) poll read

(2) interrupted read

(3) DMA read

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.