AnsweredAssumed Answered

LPC1857: Access to the USB Host Bulk data

Question asked by eviiru@netscape.net on Sep 25, 2019
Latest reply on Oct 1, 2019 by Alexis Andalon

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?

Outcomes