Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

LPC214x USB stack / News: Recent posts

Support for DMA transfers

Added example code for doing DMA transfers with isochronous IN/OUT endpoints, testable with sample linux code used in the non-dma sample.

During previous testing we were able to achieve full theoretical speed of 1023000 bytes/sec for a single ISOC IN endpoint (when setting max data size to 1023 and doing transfers every frame, the sample isn't configured to run that fast but a tweak to the configuration descriptor will do the trick)

Posted by Dave 2009-01-16

Support for isochronous mode transfers

Sample device code and linux host side devfs-based code has been added to demonstrate communications in isochronous mode.

Posted by Dave 2009-01-14

Moving away from interrupt-on-NAK

I plan to completely get rid of usage of the interrupt-on-NAK feature. It causes a very high interrupt rate which results in a lot of questions by people using the stack.

The virtual COM port example is already converted (now uses the frame interrupt to trigger the first packet of a sequence of bytes going from device to host). Next target is the mass storage example.

Posted by Bertrik Sikken 2007-10-22

Migration from CVS to SVN

I'm considering to move the sources over from CVS to SVN sometime in the coming days.

Posted by Bertrik Sikken 2006-12-11

BSD license

I've decided to change the license from LGPL to BSD.
The BSD license will be applied soon to the core of the lpcusb code. Some of the application examples still use LGPL code, so those parts will take some time for the license to be changed.

Posted by Bertrik Sikken 2006-10-18

Release v20060903

I've just created release v20060903, consisting of a couple of bug fixes and simplification of the API. Also the source code is now updated to be used with doxygen to create 'automatic' source code documentation. Sorry, no interrupt support yet in this release.

Some stuff I'm thinking about to improve lpcusb:
* Finally add the interrupt support
* Add DMA support. I initially skipped this because I thought it would be complicated. It now seems a lot easier than I initially thought.
* Figure out the exact requirements for USB mass storage and implement them.

Posted by Bertrik Sikken 2006-09-03

Bugfix release v20060729

A serious bug was discovered in the sources, possibly causing random memory overwrites.
This bug has been fixed in version v20060729.

Planned for the next version:
* interrupt support for USB virtual COM port
* better documentation of source code with doxygen

Posted by Bertrik Sikken 2006-08-12

USB mass storage

Current CVS now contains an initial version of a USB mass storage application example. It already passes the MSC compliance tests, but there are still minor issues making it work in Windows (reading / writing data / quick format succeeds, full format still fails).
It will be part of the next release.

Posted by Bertrik Sikken 2006-05-26

Anonymous CVS problems

As you may have noticed already, anonymous CVS has not been updated for some time now (several weeks). Normally, the anonymous CVS repository is kept in sync with developers' CVS (with just a few hours delay), but it appears there are some sitewide problems with it, see the sourceforge status page:
http://sourceforge.net/docman/display_doc.php?docid=2352&group_id=1

Development is still going on. An implementation of USB mass-storage on an SD-card is almost ready and planned for the next release (currently passes most tests of the USB compliance verifier and appears as a removeable disk with read/write access under both Windows XP and Linux 2.6)

Posted by Bertrik Sikken 2006-05-08

USB virtual COM-port

The current CVS version now has an example showing how to implement a virtual COM port. This means that (under Windows) plugging in the LPC214x results in an additional COMx port that you can use to talk to your device (e.g. through hyperterminal).
On Linux, the serial port can be accessed with the cdc_acm driver through a /dev/ttyACM0 device file.

To try it out, check out the code from anonymous CVS, or wait until the next release (which is planned as soon as current CVS problems are resolved).

Posted by Bertrik Sikken 2006-04-03

USBCV chapter 9 compliance

The latest version of the LPC214x USB stack now passes the chapter 9 USB compliance tests from the USBCV test suite, thanks to fixes made by Martin Mueller. The updated code can be checked out through CVS and will be incorporated in the next release.

Posted by Bertrik Sikken 2006-03-25

LPCUSB v20060307 released

See the Files section.

Posted by Bertrik Sikken 2006-03-07

LPC214x USB stack project started

Welcome to the LPC214x USB stack project.

Check out the CVS archive for initial sources. The sources include a simple example implementing a dummy device that demonstrates how to use the stack for USB enumeration and configuration.

An actual release is planned for the end of february.

Posted by Bertrik Sikken 2006-02-23