Serial over USB

Hello i have a beaglebone and i want to use serial over USB, is there
anyway to do this? I am using android rowboat from TI.

I have my Beaglebone usb HOST port connected to a USB device and i
want to make a serial connection.

tyvm

André Prado <andreprado88@gmail.com> [12-10-04 19:00]:

Hello i have a beaglebone and i want to use serial over USB, is there
anyway to do this? I am using android rowboat from TI.

I have my Beaglebone usb HOST port connected to a USB device and i
want to make a serial connection.

tyvm

--
Att
André

--

Use the other port...

Best regards,
mcc

How so? My beaglebone is the master and the other device is the slave.
I need to conect both via Serial over USB using ANDROID on beaglebone,
i need to use the USB host to do it, not the device port.

Hi André,

I dont know of any way to use the HOST USB port for this
purpuse...sorry.

Best regards,
mcc

André Prado <andreprado88@gmail.com> [12-10-04 19:08]:

Hi,

If I understand you correctly, you need an USB to serial converter plugged into USB host,
like one of the FTDI products http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm

Hope this will help.

Jan

Isnt it possible to use just the usb and transfer serial information
over it? I want the simplest way possible using the usb host plug of
the beaglebone to connect to another device's usb port, the other
device is a simple uC

Isnt it possible to use just the usb and transfer serial information
over it? I want the simplest way possible using the usb host plug of
the beaglebone to connect to another device's usb port, the other
device is a simple uC

I'm not familiar with Android programming, but if your uC's firmware has programmed the USB device port to function as a USB CDC-class virtual serial port and if the 'bone's rowboat Android has a USB host CDC driver, the uC should enumerate on the 'bone as a USB virtual serial port.

The other option would be to connect a serial port on your uC to a USB/serial converter. If the 'bone's rowboat Android has a driver for the converter, the uC should enumerate on the 'bone as a USB virtual serial port. This option requires no low-level USB programming on the uC.

If you don't understand the above, what is your uC?

Jan Axelson
www.Lvr.com

I don't have a definition yet of my uC. I find it very hard to search
for information about USB OTG, has anyone studied it already in this
group?

On your uC ,try to porting from u-boot ,

On your Beagle host . just use cdc acm driver in kernel . they are almost the same . not only for ftdi or other serial port .

Hope it be helpful

2012/10/10 André Prado <andreprado88@gmail.com>

I don't have a definition yet of my uC. I find it very hard to search
for information about USB OTG, has anyone studied it already in this
group?

I have some information about OTG here:

http://www.lvr.com/embedded_host.htm

If you just need a device port on the uC, you don't need OTG. For example, the PIC18F4550 has a full-speed USB device port, and Microchip has example CDC virtual serial port firmware.

On the BeagleBone, you can use the host USB port (the one on the top of the board) to access devices.

Jan Axelson
www.Lvr.com

Hello thanks for all the tips, however one of the requirements that i
have is that the same USB port need to be used by the device AND by
the host, i can only have one USB port in my beaglebone.
The only way to do this is via OTG and beaglebone has OTG. My other uC
won't have an USB OTG since it's going to be a DEVICE only equipment.

HOST -> HOST/DEVICE -> DEVICE
[pc] -> [beaglebone] -> [random uC]
all using the same cable

Despite some web pages that say otherwise, the BeagleBone has only a USB host port (the series-A connector on the top of the board) and a USB device port (the mini-B connector on the underside of the board).

The BeagleBone's processor has two OTG ports, but on the circuit board, USB0's ID pin is left open to force the device function, and R146 grounds USB1's ID pin to force the host function. Neither port has the required mini-AB or micro-AB connector for an OTG port.

See 6.9.1 in the System Reference Manual.

The Beagleboard-xM has an OTG port, however.

Jan Axelson
www.Lvr.com