Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use RS485

45 bytes added, 11:56, 22 November 2011
no edit summary
Setup a NFS-TFTP environment (poky-image-sato) for each board using kernel image with RS-485 support, and power up
Build the example for your target boards(485-example.c at the end of this article),
$ cd linux-omap-2.6.28.10-3
and copy to target rootfs.
Now, open a [[Using_SSH_to_communicateUsing SSH to communicate|ssh console]] to the first board and execute the microcom command:
root@igep0020:~# microcom /dev/ttyS0
connected to '/dev/ttyS0' (9600 bps), exit with ctrl-X...
On second board, open a ssh and execute the 485 example:
root@igep0020:~# ./485-example
0
edits