access serial port

hi

I have sucessfully got up Angstrom Linux running on my Beagle Board
Ver B7
my next goal is to write an GTK application which accesses the serial
port on the beagle board.
the application should be able to send and receive data on serial port
has anybody done this kind of application..
please give me a direction so that i can go further..
any sample code will be great..

I'd recommend writing the application on your Linux desktop first.
There is nothing special about this type of application when moved to
the BeagleBoard, other than the name of the serial port you use.

Information on writing serial port applications can be found on Mike
Sweet's excellent write up:
http://www.easysw.com/~mike/serial/serial.html

I'd also recommend writing a CLI (command line interface) for your
application first, then look at adding a UI using GTK+ after the CLI
version is properly sending and receiving data.

Good luck.

hi

I have install minicom on Angstrom and am able to send data to serial
port and receive on
hyperterm but when i send data from hyperterm to beagle board then i
dont receive any data
please let me know if any one had the same prob and what could be the
solution

i am developing my own application to send and receive data on beagle
board but before that
i wanted to check whether it is working so i used minicom.

hi

my beagle board ver is B7

You may need to disable hardware flow control (Serial port
setup->Hardware Flow Control).

Richard

hi

i have already disabled the hardware flow control but still not able
to receive data.
maybe because the debug messages which the beagle board sends are not
disabled

can anyone tell me how to disable the debug messages on beagle board
by debug messages i mean after the bealge board is powered up it
starts sending messages on serial port which i do not want.

Hello,

Does anyone know where I can find an SPI enabled version of angstrom?

Thanks,

David

I don't see anyone suggesting it, the XM needs a straight through cable, the <= C3 and I think the C4 need a null modem cable.
Regards
Sid.

SPI is enabled by default in angstrom for the beagleboard. I use the SPI ethernet chip on the zippy expansionboard daily.

regards,

Koen

Hello,

I have noticed that the bitbake recipe with DEFAULT_PREFERENCE_beagleboard = "1" is linux-omap_2.6.29.bb however, when I run the results of bitbake task-base on my Beagleboard XM, it reports kernel version 2.6.32. I haven't modified the files in any way.

Is this just a version thing or ???

Thanks,

David