EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

LPC313x Linux SD-Card driver

Started by daniel_schwab3006 May 31, 2010
Hi

I use the Board from Embedded Artists "LPC3131 Developer's Kit".

I have compiled and installed the apex bootloader and the Linux which is include as a demo.

NXP wrote some drivers for this board. One of them is the lpc313x_mmc.c driver which can read from the SD-Card. But the write function isn't implemented.

Has someone wrote the write function for this driver?

Best thanks, Daniel

An Engineer's Guide to the LPC2100 Series

Hi Daniel,

The LPC313x Linux SD/MMC driver is capable of read/write to SD/MMC/SDIO-Card. I have assisted several customers that uses LPC313x Linux with SD/MMC/SDIO read/write without any significant issue.

The upper layer of SD/MMC will request SD/MMC/SDIO read/write through 'lpc313x_mci_request()', which will put the request into tasklet. After several interrupts (the SD/MMC/SDIO requests are async, handled through MCI interrupt: 'lpc313x_mci_interrupt()'), the tasklet will call 'lpc313x_mci_request_end()' to return the data to the upper layer.

You might want to join LPC3000 groups for more community support on LPC3xxx.

Regards,
-daniel

From: l... [mailto:l...] On Behalf Of daniel_schwab3006
Sent: Monday, May 31, 2010 9:08 PM
To: l...
Subject: [lpc2000] LPC313x Linux SD-Card driver

Hi

I use the Board from Embedded Artists "LPC3131 Developer's Kit".

I have compiled and installed the apex bootloader and the Linux which is include as a demo.

NXP wrote some drivers for this board. One of them is the lpc313x_mmc.c driver which can read from the SD-Card. But the write function isn't implemented.

Has someone wrote the write function for this driver?

Best thanks, Daniel

The 2024 Embedded Online Conference