RSB-4221 User Manual
34
collisions:0 txqueuelen:1000
RX bytes:5035 (4.9 KiB) TX bytes:0 (0.0 B)
3.
we can use below command to see if we can get any response from the host.
root@am335x-adv:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=0.373 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=0.208 ms
64 bytes from 192.168.1.1: seq=2 ttl=64 time=0.234 ms
64 bytes from 192.168.1.1: seq=3 ttl=64 time=0.115 ms
64 bytes from 192.168.1.1: seq=4 ttl=64 time=0.122 ms
64 bytes from 192.168.1.1: seq=5 ttl=64 time=0.107 ms
3.12
Serial Port Test
There are 6 serial port supported by RSB-4221. /dev/ttyO0 is reserved for RSB-4221
debug port (RSB-4221 COM0), the rest UART ports could be applied by user.
3.12.1
COM1~COM5 RS232 Test
Switching jumper as described before (please refer to 2.1.2 Jumper List) to switch
UART1 working at RS232, short TX with RX of UART1 to UART5.
root@am335x-adv:/unit_tests# ./AutoRun_uart232
=====test rs232!=====
rs232 number: 5
/dev/ttyO1 PASS!
/dev/ttyO2 PASS!
/dev/ttyO3 PASS!
/dev/ttyO4 PASS!
/dev/ttyO5 PASS!
+--------------------+
| [RS232] Test Pass! |
3.12.2
COM1 RS422 Test
1.
Switching jumper as described before (please refer to 2.1.2 Jumper List) to
switch UART1 working at RS422, short 422_RXD- with 422-485_TXD-,short
with 422-.
2.
Run program to test UART1 RS422
root@am335x-adv:/unit_tests# ./AutoRun_uart422 -p /dev/ttyO1 -t 1
==========test RS422 for RSB4221============
Open uart /dev/ttyO1 PASS ....
->Writing : hello world!
->Reading : hello world!
->TX/RX Signal pass
+-----------------------------------+
Summary of Contents for RSB-4221
Page 6: ...RSB 4221 User Manual vi...
Page 10: ...RSB 4221 User Manual x...
Page 14: ...RSB 4221 User Manual 4...
Page 33: ...23 RSB 4221 User Manual Chapter 2 H W Installation 2 3 2 Board Dimension...
Page 48: ...RSB 4221 User Manual 38...