EPAQ-9410
Hardware Programming Reference 0.16
________________________________________________________________________
________________________________________________________________________
Copyright © 2019 QEI
Page 45
See Bug 329 - bring-up CH10 and CH11 RS-232 ports
install "RS232 CROSSOVER" cable into J8-A and J8-B
./setup_all_ports.sh
./RS232_ext_loopback.sh
test J8-A TX/J8-B RX
cat /dev/ttySC1 &
cat fox.txt > /dev/ttySC0
observe the contents of fox.txt appear on the console
LED's: yellow/left blinks on J8-A and green/right blinks on J8-B
test J8-B TX/J8-A RX
cat /dev/ttySC0 &
cat fox.txt > /dev/ttySC1
observe the contents of fox.txt appear on the console
LED's: yellow/left blinks on J8-B and green/right blinks on J8-A
verify that RTS maps to CTS over the crossover cable
J8-A RTS (output) /J8-B CTS (input)
./rts /dev/ttySC0 0 &
./cts /dev/ttySC1
verify output:
dev = /dev/ttySC1
/dev/ttySC1.CTS: 0
./rts /dev/ttySC0 1 &
./cts /dev/ttySC0
verify output:
dev = /dev/ttySC1
/dev/ttySC1.CTS: 1
J8-B RTS (output) /J8-A CTS (input)
./rts /dev/ttySC1 0 &
./cts /dev/ttySC0
verify output:
dev = /dev/ttySC0
/dev/ttySC0.CTS: 0
./rts /dev/ttySC1 1 &
./cts /dev/ttySC0
verify output:
dev = /dev/ttySC0
/dev/ttySC0.CTS: 1