LPC1857: Access to the USB Host Bulk data

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1857: Access to the USB Host Bulk data

1,199 次查看
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?

标签 (2)
0 项奖励
回复
1 回复

1,054 次查看
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 项奖励
回复