Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] Help with lpc2148

2006-01-25 by Paul Curtis

Bruce, 

> > I have USB code running on a 2148 compiled with GCC.  There 
> > are some nasty gotchas in the USB part of the 2148 though.
> 
> Hi Paul,
> 
> Hmmm we're considering using the 2148 with USB and GCC ourselves.
> Already well up to speed with other ARM variants and GCC.
> Is your USB code a port of the Philips/Keil example(s) or something
> different ?

It's something different.  I have written class drivers for HID and
serial CDC, MSD, and now I'm wondering at the delights of an LPC214x
CrossConnect running our USB stack.  The HID, CDC, and MSD class drivers
were simple, but to get reliable, good performance out of an LPC214x
using bulk transfers is not simple.

> What are the nasty gotchas I should probably know about in advance ?

Again, I have kids to feed and a company to run.  Sorry.

> (I did a search on this list and only found GCC port in progress,
> general packing of structures, making sure ARM mode and
> needing_to_feed_the_kids were mentioned.)

I don't use structures in any of the class drivers as this is inherently
non-portable.  I take the packets apart byte-by-byte.

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, AVR and now MAXQ processors

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.