Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | LPC2000 | Help with lpc2148

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Help with lpc2148 - Gopalakrishnan - Jan 24 11:31:00 2006

Hi
I want to design a usb based data aquistion system.So i have chosen
the lpc2148 for it.Is the chip supported by gcc compiler yet.



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


RE: Help with lpc2148 - Paul Curtis - Jan 24 11:34:00 2006

Hi,

> I want to design a usb based data aquistion system.So i have chosen
> the lpc2148 for it.Is the chip supported by gcc compiler yet.

I have USB code running on a 2148 compiled with GCC. There are some
nasty gotchas in the USB part of the 2148 though.

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



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

RE: Help with lpc2148 - Bruce Paterson - Jan 24 21:35:00 2006

> 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 ?
What are the nasty gotchas I should probably know about in advance ?

(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.)

Cheers.
Bruce

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



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Help with lpc2148 - Dmitry Diky - Jan 25 5:15:00 2006

Paul,

> I have USB code running on a 2148 compiled with GCC.  There are some
> nasty gotchas in the USB part of the 2148 though.

Is it possible to have a look at it?
I just tried almost everything to make USB running but no success so far...

Cheers,
Dmitry.





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

RE: Help with lpc2148 - Paul Curtis - Jan 25 5:27:00 2006

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





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

RE: Help with lpc2148 - Paul Curtis - Jan 25 5:34:00 2006

Dmitry,

> > I have USB code running on a 2148 compiled with GCC. There are some
> > nasty gotchas in the USB part of the 2148 though.
>
> Is it possible to have a look at it?

My plans for the USB code are not fully formed yet. The USB stack runs
on a few processors/USB chips. The LPC214x took three or four days of
head scratching to make work reliably well and fast despite having a
hardware USB analyser. In short, not at this time.

> I just tried almost everything to make USB running but no
> success so far...

The LPC214x manual is terrible when it comes to USB documentation. Read
it carefully and do some experimentation. I thought I had things
working well, then tweaked the host code, and it all fell apart. It
took days to figure out what was going on. I needed a USB analyzer, a
debugger, and some hard work.

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





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )