| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Modules
Mass Storage Device
USB examples

## Detailed Description

Example description
The Mass Storage Device example demonstrates a USB Mass Storage Device using LPCUSBlib library. The MCU will be enumerated as as Mass Storage Device when connected to the Host PC. When CFG_SDCARD is not defined then the example uses the RAM to simulate a small massstorage device.

When CFG_SDCARD is defined then the board will enumerate the SD CARD connected to the SD card slot as the USB mass storage device. To get the SD CARD working the following board setup must be made.

Special connection requirements
When CFG_SDCARD not defined:

- Hitex LPC1850EVA-A4-2 and LPC4350EVA-A4-2 boards
  - Close pin 1-2 of JP9
  - Open all SV3, SV6
  - Close all SV12
  - Uart1 terminal port: SV11-p2(U1_RXD) connect to SV1-p7, SV11-p4 (U1_TXD) connect to SV1-p5
  - Optional: Debug UART must be changed to LPC_UART1 from LPC_USART0 (in sys_config.h)
- Keil MCB1857 and MCB4357 boards (debug output terminal on Uart3)
- NGX LPC1830 LPC4330 (no debug output terminal)

Build procedures:
LPC18xx/43xx example quickstart for Keil uVision4
LPC18xx/43xx example quickstart for IAR EWARM
LPC18xx/43xx example quickstart for Code Red Xpresso

Supported boards and board setup:
Hitex 1850 evaluation boards
Hitex 4350 evaluation boards
Keil 1857 evaluation boards
Keil 4357 evaluation boards
NGX 1830 Xplorer boards
NGX 4330 Xplorer boards

Submitting LPCOpen issues:
Community support for LPCOpen

## Modules
| Class descriptors
| Main definitions
| ROM stack support
| SCSI command