User`s manual
Getting Started With Linux on the LPC3250 OEM Board Page 37
Copyright 2009 © Embedded Artists AB Rev A
5.5 Memory Card
5.5.1 Hardware
The LPC3250 has a Secure Digital (SD) interface that conforms to the SD Memory Card Specification
Version 1.01. The MMC/SD card interface on the LCP3250 is compatible with the ARM PrimeCell
MMCI PL180/1.
5.5.2 Device Driver and Configuration
The driver for the LPC3250 MMC/SD card interface is located here in the source tree:
/drivers/mmc/host/mmci.c
.
The following configuration options are related to the MMC/SD card functionality.
Configuration
Description
CONFIG_MMC Enable MMC/SD card support
CONFIG_MMC_ARMMMCI
Enable support for the ARM AMBA PrimeCell PL180/1 driver.
5.5.3 Usage
Insert an MMC/SD card in the MMC/SD card connector on the QVGA Base Board and then mount the
card. In the instructions below it is assumed that the memory card is FAT formatted.
# mount –t vfat /dev/mmcblk0p1 /mnt/rwfs
You can now access the file system on the memory card by visiting the
/mnt/rwfs
directory.
# cd /mnt/rwfs
# ls
5.6 USB Host
5.6.1 Hardware
The LPC3250 has an Open Host Controller Interface (OHCI) compliant USB host controller.
5.6.2 Device Driver and Configuration
The driver for the LPC3250 OHCI controller is located here in the source tree:
/drivers/usb/host/ohci-pnx4008.c
.
The following configuration options are related to the USB OCHI functionality.
Configuration
Description
CONFIG_USB_SUPPORT Enable core support for USB
CONFIG_USB_OHCI_HCD
Enable OHCI HCD support
CONFIG_ARCH_LPC32XX
If this configuration flag is set the pnx4008 OHCI driver will be
enabled.
5.6.3 Usage
One use-case of using USB host on an embedded system is to attach a USB memory stick to the
system and thereby adding a read-writable file system.
1. Attach a USB memory stick to the USB A connector on the base board. You will see output in
the console similar to the example below.