RS232 Port

The BeagleBoard provide a single RS232 port trough the TX and RX lines
of UART3 on the processor.
I use that port as TTY to manage and control that appliance.

Now I need to communicate with another serial device... how can I
obtain another RS232 port?

Perhaps you could Telnet into your board via Ethernet?

The BeagleBoard provide a single RS232 port trough the TX and RX lines
of UART3 on the processor.
I use that port as TTY to manage and control that appliance.

Now I need to communicate with another serial device... how can I
obtain another RS232 port?

One way is to attach a USB/RS-232 adapter to a USB host port. The adapter will appear as a second serial port accessed as /dev/ttyUSB0.

Jan

I use SSH to control the device, this frees up the serial port for
whatever I need. Of course you must have an active network
connection.

sudo apt-get update
sudo apt-get install ssh

Depending on your other machine's operating system you can use command
line(linux and mac):
ssh user@beagleAddress

If you are on windows you can use a terminal program such as Putty.

What I need is to set the UART2 available in the expansion header
through the mux configuration:
http://elinux.org/BeagleBoardPinMux#UART2

But I don't understand how to set that line into my kernel source!
I've the BeagleBoard xM... the mux signals are different from the
BeagleBoard rev.B6!

just add the below lines under the #define MUX_BEAGLE_XM in beagle.h
of u-boot-2010-09(i tested with this one ,feel free to use newer
versions) and cross compile it.
MUX_VAL(CP(UART2_CTS), (IEN | PTU | EN | M0)) /*UART2_CTS*/\
  MUX_VAL(CP(UART2_RTS), (IDIS | PTD | DIS | M0)) /*UART2_RTS*/\
  MUX_VAL(CP(UART2_TX), (IDIS | PTD | DIS | M0)) /*UART2_TX*/\
  MUX_VAL(CP(MCBSP3_FSX), (IEN | PTD | DIS | M1)) /*UART2_RX*/\
it wil enable uart2 on the expansion header.

So, I need to rebuild U-Boot... not the kernel?

no need to rebuild the kernel........

Following this guide:
http://elinux.org/BeagleBoard_Ubuntu#Build_.26_Prepare_the_Kernel
I can't find beagle.h... that is in the U-Boot source... could you
tell me how to do it with more details?

2.6-stable/KERNEL/include/config/mach/omap3.beagle.h is empty

Ric.Rug - can’t find u-boot sources or what? Did you look into this URL?
http://elinux.org/BeagleBoard

you will find a lot of answers there! including where to get u-boot sources. Use your imagination :slight_smile:

2011/2/4 Ric.Rug <riccardo.ruggiero@gmail.com>

There was a misunderstood reading kiran's post
---> no need to rebuild the kernel........
became "you need to..." in my mind!

How can I check if it works?

setserial -g /dev/ttyO[0123]
/dev/ttyO0, UART: undefined, Port: 0x0000, IRQ: 72
/dev/ttyO1, UART: undefined, Port: 0x0000, IRQ: 73
/dev/ttyO2: Permission denied
/dev/ttyO3, UART: undefined, Port: 0x0000, IRQ: 80