-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is there _any_ open-source USB code for the LPC series? I looked at the Keil USB examples and one of the things I wonder about is the fact that the USB drivers run almost entirely in interrupt context. I think this makes things complicated for more complex USB devices, like USB mass storage connected to SD/MMC through SPI. The interrupt routine probably shouldn't have to wait for other devices, so I suppose an OS is needed to let the interrupt trigger a worker task for stuff that takes more time (like retrieving a sector from the SD/MMC card). How are other USB stacks generally structured? Do they need an OS? Kind regards, Bertrik Steve Franks wrote: > Ian, > > Fear not. If you want it for GCC, I'm working on it, and I don't give up > easily. However, I'm not getting paid for it at the moment; I just think > everyone should be able to evaluate the hardware & examples w/o buying into > high-priced tools (I'm also a firm believer that GCC is of equal or higher > quality than any alternative) [I also like templates which no one else seems > to implement in the embedded world - please, someone contradict me]. > > As such, you may have to be patient; perhaps we could collaborate a bit? > > On the other hand, if you just want to see that your board works, download > the limited (free) Keil tools. You only have to add one line to their > examples to make them work on the IAR/Olimex 2148 boards. I'd suggest a > reply off-list if I can be of help to that ends (it's been discussed), > unless it's of general interest. > > I already have GCC-ported copies of the Keil examples that build, but don't > talk correctly - windows complains of Usb errors. I'm suspecting an > interrupt problem, although I don't rule out other madness, like > struct-packing, or crt.S - type problems. I've even got the warnings out of > the build, still no-go. > > -> If anyone on list understands differences between Keil & GCC from a > compiler-behavior standpoint, I'd love to hear from you. > > Steve > > > > ________________________________________________________________________ >> >> Message: 24 >> Date: Mon, 9 Jan 2006 12:15:37 -0800 >> From: "Joel Winarske" <joelw@...> >> Subject: RE: Re: LPC2148 USB >> >> Hi Ian, >> >> > Would you be willing to share your IAR ports of the Keil Code? >> >> You missed my reply on a similar request. Short answer is no. Long >> answer >> is that I've invested a fair amount of time and $1k on a USB hardware >> analyzer. Hence it would not be fair to my wife and three small children. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDxshjETD6mlrWxPURAvD0AKCdKRsXyraUlu503ZIcYSZB5Qs2eACgj5/q R9n/ROiCPHKSX0zqQ286qqw= =746K -----END PGP SIGNATURE-----
Message
Re: [lpc2000] RE: Re: LPC2148 USB
2006-01-12 by Bertrik Sikken
Attachments
- No local attachments were found for this message.