NOTICE: This website will be shut down in the near future. Product content has moved to nxp.com. Forum content and FAQs have been moved to community.nxp.com. We encourage you to create a user account on nxp.com to use the new community forums and access NXP microcontroller content. We greatly appreciate your contributions and look forward to seeing you at our new web location.

 

Is it possible to download the device files for lpcUSBLib?

1 reply [Last post]
iemc
Offline
Joined: 2015-07-01
Posts: 8

I am using lpcopen_2_16_lpcxpresso_nxp_lpcxpresso_4337.zip

This has the host files for lpcUSBLib in the example code. For USB device the examples use the version in the ROM, but I want to use the lpcUSBLib to control both a host and a device port.

Looking around I don't see a download for the complete lpcUSBLib with both host and device files. Have I missed it on the site?

0
Your rating: None

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
iemc
Offline
Joined: 2015-07-01
Posts: 8

I am wondering why lpcopen looks nothing like lpcUSBLib as demonstrated in this seminar video: https://www.youtube.com/watch?v=9Zu-QyVwRv0

When I follow the link given in the video https://www.lpcware.com/content/project/nxpusblib it states on that page "The nxpUSBlib software package is now obsoleted by the new LPCOpen Platform".

I have downloaded several of the lpcopen packages and none seem to have the full lpcUSBLib as demonstrated in that video.

I am also concerned that turning on the compiler optimization has broken lpcUSBLib 0.98 in the past, as mentioned in this link: https://github.com/openxc/nxpUSBlib

The code savings mentioned in the video would be lost if I have to compile using no optimization.

I have tried the mass storage example in a LPC4357 and it failed to work reliably. I found one clear bug as I discussed here: https://www.lpcware.com/content/forum/lpc43xx-usb-host-mass-storage-class-drive-fails-second-time-it-plugged. I am now wondering if using /O1 in the compiler is breaking lpcUSBLib code in the example. Unfortunately it is difficult to test as my application will not fit into flash with optimization off so it would take some work.

I am trying to decide if it is possible to ship code from LPCOpen and the included lpcUSBLib in a production application. It seems that the code may be too buggy to use except in small demo situations. I see other reports in these forums that mirror my own problems.

Are there people successfully shipping production code using LPCOpen and USB? Does it require significant effort to debug the LPCOpen code?

feedback