EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

USB device driver / LPC board

Started by ashu September 16, 2009

I have a LPC2478 board (http://www.embeddedartists.com/products/kits/
lpc2478_kit.php) which comes with a USB OTG port.

 I will run linux on this board and connect this to PC which runs
windowsXP  via USB OTG port.

I wanted to know if there is any quick way of making this USB
communication possible without writing a USB driver from scratch. Some
ready made USB API or some software like that which can reduce my
development time.



Regards

ashu
"ashu" <ashutosh.ghildiyal@gmail.com> wrote in message 
news:9327a224-0ed0-46c1-b2cb-45827ce7763e@n2g2000vba.googlegroups.com...
> > > I have a LPC2478 board (http://www.embeddedartists.com/products/kits/ > lpc2478_kit.php) which comes with a USB OTG port. > > I will run linux on this board and connect this to PC which runs > windowsXP via USB OTG port.
As far as I'm aware the LPC2478 does not have an MMU so chances of running Linux on it are approaching zero. -- Regards, Richard. + http://www.FreeRTOS.org Designed for Microcontrollers. More than 7000 downloads per month. + http://www.SafeRTOS.com Certified by T&#4294967295;V as meeting the requirements for safety related systems
On Sep 16, 5:01=A0pm, "FreeRTOS info" <noem...@mentioned.com> wrote:
> "ashu" <ashutosh.ghildi...@gmail.com> wrote in message > > news:9327a224-0ed0-46c1-b2cb-45827ce7763e@n2g2000vba.googlegroups.com... > > > > > I have a LPC2478 board (http://www.embeddedartists.com/products/kits/ > > lpc2478_kit.php) which comes with a USB OTG port. > > > I will run linux on this board and connect this to PC which runs > > windowsXP =A0via USB OTG port. > > As far as I'm aware the LPC2478 does not have an MMU so chances of runnin=
g
> Linux on it are approaching zero. > > -- > Regards, > Richard. > > +http://www.FreeRTOS.org > Designed for Microcontrollers. =A0More than 7000 downloads per month. > > +http://www.SafeRTOS.com > Certified by T=DCV as meeting the requirements for safety related systems
I plan to run uC linux(micro linux).
FreeRTOS info wrote:
> > "ashu" <ashutosh.ghildiyal@gmail.com> wrote in message > news:9327a224-0ed0-46c1-b2cb-45827ce7763e@n2g2000vba.googlegroups.com... >> >> >> I have a LPC2478 board (http://www.embeddedartists.com/products/kits/ >> lpc2478_kit.php) which comes with a USB OTG port. >> >> I will run linux on this board and connect this to PC which runs >> windowsXP via USB OTG port. > > As far as I'm aware the LPC2478 does not have an MMU so chances of > running Linux on it are approaching zero. >
Does uClinux count ?? olimex has uClinux on their CD, and a link for uClinux patch on their web site. http://www.olimex.com/dev/lpc-2478stk.html don
On Sep 16, 5:40=A0pm, don <don> wrote:
> FreeRTOS info wrote: > > > "ashu" <ashutosh.ghildi...@gmail.com> wrote in message > >news:9327a224-0ed0-46c1-b2cb-45827ce7763e@n2g2000vba.googlegroups.com... > > >> I have a LPC2478 board (http://www.embeddedartists.com/products/kits/ > >> lpc2478_kit.php) which comes with a USB OTG port. > > >> I will run linux on this board and connect this to PC which runs > >> windowsXP =A0via USB OTG port. > > > As far as I'm aware the LPC2478 does not have an MMU so chances of > > running Linux on it are approaching zero. > > Does uClinux count ?? > > olimex has uClinux on their CD, and a link for uClinux patch on their > web site. > > http://www.olimex.com/dev/lpc-2478stk.html > > don
my main problem is on the pc side and development of s/w on the pc side so that I communicate with the board via USB. I dont want to write a driver from scratch since that will take more time.
"ashu" <ashutosh.ghildiyal@gmail.com> wrote in message 
news:27ea5de4-9065-49ee-903d-084ff5c11c61@o13g2000vbl.googlegroups.com...
On Sep 16, 5:40 pm, don <don> wrote:
> FreeRTOS info wrote: > > > "ashu" <ashutosh.ghildi...@gmail.com> wrote in message > >news:9327a224-0ed0-46c1-b2cb-45827ce7763e@n2g2000vba.googlegroups.com... > > >> I have a LPC2478 board (http://www.embeddedartists.com/products/kits/ > >> lpc2478_kit.php) which comes with a USB OTG port. > > >> I will run linux on this board and connect this to PC which runs > >> windowsXP via USB OTG port. > > > As far as I'm aware the LPC2478 does not have an MMU so chances of > > running Linux on it are approaching zero. > > Does uClinux count ?? > > olimex has uClinux on their CD, and a link for uClinux patch on their > web site. > > http://www.olimex.com/dev/lpc-2478stk.html > > don
>my main problem is on the pc side and development of s/w on the pc >side so that I communicate with the board via USB. I dont want to >write a driver from scratch since that will take more time.
That depends on what you want to do with the USB. If you want a standard serial type communication then you can look at something like a CDC class driver. You can find a little information on this here: http://www.freertos.org/LPC1768_CrossWorks.html look under the "Functionality" section (it is for a different processor, but it may be compatible as it is also an LPC device). Also take a look at http://sourceforge.net/projects/lpcusb/ -- Regards, Richard. + http://www.FreeRTOS.org Designed for Microcontrollers. More than 7000 downloads per month. + http://www.SafeRTOS.com Certified by T&#4294967295;V as meeting the requirements for safety related systems
On Sep 16, 11:59=A0am, ashu <ashutosh.ghildi...@gmail.com> wrote:

> my main problem is on the pc side and development of s/w on the pc > side so that I communicate with the board via USB. I dont want to > write a driver from scratch since that will take more time.
Look at "gadget" which is a set of device-side drivers for functions such as serial over USB, "ethernet" over USB, mass storage over USB, etc, _AND_ corresponding host drivers for windows and linux PC's to talk to your device. Most embedded linux/uClinux devices with device-side USB "gadget", or else something along similar lines.

The 2024 Embedded Online Conference