I am attempting to use the example in the SDK, "usb_device_msc_disk", with my LOPC55S28-EVK board. The example works fine in full-speed.
However, I would like it to work in high-speed. If I edit the file "usb_device_config.h" and change USB_DEVICE_CONFIG_LPCIP3511FS to 0 and USB_DEVICE_CONFIG_LPCIP3511HS to 1, the PC attempts to connect to the board via the HS connection (P9), but fails and gives and error (device not recognized).
Is there another setting I need to change for this to work?
Alternatively, is there another example in the SDK that works with HS interface? They all seem to be configured for FS by default.
Solved! Go to Solution.
I figured out the problem. I didn't have __usb_use_usbram__=1 in my linker settings, and so the application silently failed.
I figured out the problem. I didn't have __usb_use_usbram__=1 in my linker settings, and so the application silently failed.
Alice,
Thank you for your response. The only text the UM has regarding USB on this EVM is this:
Since I'm not using Host mode, I have long since removed J6. I also removed R84 (the pulldown in the VBUS detection circuit) which was populated on my board:
Any other hints? I've tried two demo projects thus far and both have yielded the same failure.
Regards,
Bill
For an additional datapoint, I added some logging to the USB_DeviceCallback(), and the high speed enumeration gets stuck on the event kUSB_DeviceEventBusReset.