equal
deleted
inserted
replaced
|
1 $Id$ |
|
2 |
|
3 vim700: spelllang=en spell |
|
4 |
|
5 Virtual TTY interface driver for EtherCAT slave supporting serial comm |
|
6 |
|
7 Quick installation guide: |
|
8 |
|
9 ./configure --with-linux-dir=/your/linux/directory --enable-tty |
|
10 make all modules |
|
11 make modules_install install |
|
12 rcethercat start |
|
13 insmod tty/ec_tty.ko |
|
14 insmod examples/tty/ec_tty_example.ko |
|
15 |
|
16 The default settings for the serial line are 9600 8 N 1. |
|
17 |
|
18 The tty example operates a Beckhoff EL6002 at ring position 1. For a short |
|
19 test, connect port X1 with a serial port via null modem cable. If a minicom is |
|
20 started on that port and the below command is entered, the output should be |
|
21 visible in minicom: |
|
22 |
|
23 echo "Hello World" > /dev/ttyEC0 |
|
24 |
|
25 Have a lot of fun! |