EPAQ-9410
Hardware Programming Reference 0.16
________________________________________________________________________
________________________________________________________________________
Copyright © 2019 QEI
Page 42
5.15.2 IRIG RX test
Install "IRIG RS485 to Quad RS232 Loopback cable"
./setup_all_ports.sh
#disable IRIG RS-485 TX
./mmdump -a 0xb4020000 -o 0x02 -b 0
#map CH8 RX to IRIG RS-485
./mmdump -a 0xb4020000 -o 0x06 -b 0x02
#configure CH1 RS-232/RS-485 for RS-485
root@QEIprocFull:/oe ./mmdump -a 0xb4080000 -o 0x01 -b 0x00
W 0xB4080001: 0x00
root@QEIprocFull:/oe ./mmdump -a 0xb4080000 -o 0x02 -b 0x00
W 0xB4080002: 0x00
root@QEIprocFull:/oe ./mmdump -a 0xb4080000 -o 0x03 -b 0x00
W 0xB4080003: 0x00
root@QEIprocFull:/oe ./mmdump -a 0xb4080000 -o 0x04 -b 0x00
W 0xB4080004: 0x00
root@QEIprocFull:/oe ./mmdump -a 0xb4080000 -o 0x01 -b 0x08
cat /dev/ttyS5 &
cat fox.txt > /dev/ttyS0
LED's: at IRIG PORT 8 (J7B) yellow/left LED is not blinking, green is
blinking
at RS-232/RS-485 ports 2-4, green LED's are blinking, yellow LED's are
not
ar RS-232/RS-484 port 1, yellow/left LED is blinking, green is not
blinking
observe the contents of fox.txt appear at the terminal
5.16 RS-422
PORT 9 J7A
PORT 10 J7D
PORT 11 J7C
See
- bring-up RS-422 Backbone Ports 1, 2 & 3
5.16.1 PORT 9 (J7A) external loopback test
Install "RS422 LOOPBACK" cable into PORT 9 (J7A)
./setup_all_ports.sh
./mmdump -a 0xB4010000 -o 0x16 -b 0x1
./mmdump -a 0xB4080000 -o 0x05 -b 0x0
cat /dev/ttymxc1 &
cat fox.txt > /dev/ttymxc1