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?
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:
I hope this helps you.
Best Regards,
Alexis Andalon