LPCXpresso board with LPC1769 printout in debug window "Device Attached on port 0" hole time

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

LPCXpresso board with LPC1769 printout in debug window "Device Attached on port 0" hole time

556 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JanWester on Mon Sep 02 11:50:07 MST 2013
I using nxpUSBlib v0.98 and MassStorageHost example with LPC1769 LPCXpresso bord
On startup it printout in debug window  "Device Attached on port 0" at hole time
When I put osc probe on it stop
In the library the USB_Init routine dosn't initialize the port P2(9) soft connect
Must I have the soft connect logic, and if I must, should it been initialized ?

Printout:
Device Unattached on port 0
Device Attached on port 0
Device Attached on port 0
Dev Enum Error
-- Error port 0
-- Error Code 4
-- Sub Error Code 0
--
Labels (1)
0 Kudos
1 Reply

533 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tsuneo on Wed Sep 04 07:43:13 MST 2013

Quote:
I using nxpUSBlib v0.98 and MassStorageHost example with LPC1769 LPCXpresso bord...
Must I have the soft connect logic?


For host operation, you should have 15k pull-down resistors on D+ and D- lines,
instead of "soft connect" circuitry as USB device setup.

Look at the figure on "13.7.2 Connecting USB as a host" section of the User Manual.
http://www.nxp.com/documents/user_manual/UM10360.pdf

Tsuneo
0 Kudos