USB Mass Storage Host Enumeration

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

USB Mass Storage Host Enumeration

643 Views
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?
Labels (1)
0 Kudos
1 Reply

575 Views
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 Kudos