USB Mass Storage Host Enumeration

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

USB Mass Storage Host Enumeration

1,095 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mb1391 on Tue Feb 11 01:49:48 MST 2014
Hi,

I am using nxpUSBlib v0.98b and LPCExpresso v6.1.0 for USB Mass Storage Host implementation on LPC17xx-40xx.
I have an issue regarding USB Mass Storage Device enumeration using LPCUSBLib.
When the target hardware detects voltage change on USB port, it invokes the enumeration sequence.

I have a USB flash drive to enumerate and I attach it to my hardware in OFF condition.
When I power ON my target hardware, it doesn't detect the voltage change on port and doesn't enumerate.

My application requires this kind of enumeration where there will be a USB flash drive attached and the hardware will have frequent power cycles.

How can this problem be fixed at driver level?
标签 (1)
0 项奖励
回复
1 回复

1,027 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ksufinger on Mon Nov 30 14:10:27 MST 2015
Try calling USB_ResetInterface(0) after the USB host has been initialized, and before your main loop begins.
0 项奖励
回复