LPC1857: Access to the USB Host Bulk data

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1857: Access to the USB Host Bulk data

849 Views
eviiru
Contributor I

Background: We have a PC-controlled production equipment which uses an USB mass storage. There is few non-standard SCSI-commands in the USB-traffic. Currently used USB mass storage is now obsolete.

So we need an "intermediator" device between production equipment and standard USB mass storage. The "intermediator" device catches non-standard SCSI-commands and gives reply to them. Standard SCSI-commands are routed to the standard USB mass storage which gives reply to them.

We intend to use LPC1857 controller which has two USB-ports. One port is configured as device and it is connected to the production equipment. Other port is configured as host and it is connected to the standard USB mass storage.

On USB device side it is quite straightforward to receive/send MSC command blocks from/to EndPoint-buffers. On USB host side we intend to use LPCUSBlib. Could you give a hint what is best way to receive/send MSC command blocks to the device connected to the USB host port? What API layer/commands should be used?

Labels (2)
0 Kudos
Reply
1 Reply

704 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Esko,

You can find an example of this in the LPCOpen 2.20 Keil MCB1800 (LPC1857) board that can be found in the following link:

https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcop...

I hope this helps you.

Best Regards,

Alexis Andalon

0 Kudos
Reply