BeagleBord as USB-device

Hello!

I'm a beginner using BeagleBord. I want to use the BeagleBoard as an
USB-device and a Windows application on a PC as USB-host. I intend
to communicate between BeagleBoard and PC using TCP/IP on this USB-
connection. I run Linux, Ångström on the BeagleBoard. My questions
are: Is there any usb-driver for the PC to set up a PC's usb-port for
communicating with the BeagleBoard or how does I make this? I'm a
beginner of using USB in my applications, too:( Is there any program
examples of using the usb-port on the BeagleBoard as an USB-device?

Best regards,
Tord

Welcome to the exciting, complicated, and at times frustrating world of USB.

Hello!

I'm a beginner using BeagleBord. I want to use the BeagleBoard as an
USB-device and a Windows application on a PC as USB-host. I intend
to communicate between BeagleBoard and PC using TCP/IP on this USB-
connection. I run Linux, Ångström on the BeagleBoard. My questions
are: Is there any usb-driver for the PC to set up a PC's usb-port for
communicating with the BeagleBoard or how does I make this?

What sort of communication are you looking to do? Would the ethernet port be a
better option for this communication?

I'm a

beginner of using USB in my applications, too:( Is there any program
examples of using the usb-port on the BeagleBoard as an USB-device?

Setting up a USB device is pretty involved. You need to figure out what
device class you are trying to set up, etc. The OTG port on the BB
is primarily there to suck power from a PC. If you want turn the BB into
a device then you will need to create a driver that responds to standard
USB requests.

USB is very complicated. I would highly recommend you read something
like Jan Axelson's "USB Complete"
or at least have a look at a website like this one
USB in a NutShell - Chapter 1 - Introduction before
you try to create a custom USB OTG driver for the BB.

Here is Jan’s main website.
http://www.lvr.com/

Gerald

Thanks for the information. The communication is some simply commands
from a PC-application to a BeagleBoard application. Yes I could use
the serial port. But using TCP/IP makes it easer for me to design the
application, I can use library classes for tcp/ip and does not have to
design the lower OSI layers.

If I go for an ethernet interface what would then be the least
complicated to get working?

1. An USB to ethernet adapter.
2. The BeagleBuddy Zippy Ethernet Combo Board

1. Is cheaper and "on the shelf". But how easy would it be to get the
USB-driver for the adapter to work in Ångström Linux?

Tord