Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] USB Mass Storage and Serial Device

2006-02-14 by Bertrik Sikken

42Bastian Schick wrote:
> James Dabbs schrieb:
>> Is it possible (and practical) to use an LPC2148 to be both a USB
>> mass storage device and a USB serial communications device?
>>
>> [This is a rackmount box.  We want to use USB instead of the more
>> traditional DB9 console port.  The idea is to allow an administrator
>> with a PC to copy configuration files into the device and also to run
>> hyperterminal shell session.  Any other comments are welcome.]
> 
> AFAIK it depends on the number of end-points a device offers. For a 
> mass-storage you need two bulk end-points for CDC IIRC 3 end-points.
> 
> I don't know the 2148, but if it has >= 6 it should work.

The LPC2148 has 16 logical endpoints.

Can a USB device be programmed to be two devices at once?

Alternatively you could configure USB for serial port emulation
at boot and then use a shell command to switch the USB interface
to do USB mass storage.

If it's just configuration files to transfer, perhaps you can
use xmodem over the serial line emulation, it's quite simple.

Regards,
Bertrik

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.