Difference between revisions of "UIO-4032"
From ESS-WIKI
Line 126: | Line 126: | ||
[[File:UIO-4032 rearIO ethernet.png|RTENOTITLE]] | [[File:UIO-4032 rearIO ethernet.png|RTENOTITLE]] | ||
− | |||
− | |||
| |
Revision as of 03:40, 25 March 2024
[edit]
Rear IO – RS-232 x2 (ttymxc1 & ttymxc3)RS-232 x2 :
Note:ttymxc2 –COM_3 ttymxc3-COM_4
'''$ stty -F /dev/ttymxc2 -echo -onlcr 115200 crtscts $ cat /dev/ttymxc2 & $ echo "Serial Port Test" > /dev/ttymxc2
USB
Insert a USB disk usb 1-1.2: new high-speed USB device number 4 using ci_hdrc usb-storage 1-1.2:1.0: USB Mass Storage device detected scsi2 : usb-storage 1-1.2:1.0 scsi 2:0:0:0: Direct-Access Generic- SD/MMC 1.00 PQ: 0 ANSI: 0 CCS sd 2:0:0:0: [sda] 3862528 512-byte logical blocks: (1.97 GB/1.84 GiB) sd 2:0:0:0: [sda] Write Protect is off sd 2:0:0:0: [sda] No Caching mode page found sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] No Caching mode page found sd 2:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sd 2:0:0:0: [sda] No Caching mode page found sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] Attached SCSI removable disk
LAN
ifconfig eth1 8.8.8.8
COM Port
Rear IO – RS-232 x 2
USB x 2
Ethernet x 1
Note:
ttymxc1 – COM3
ttymxc3 – COM4
RS-232(COM3):
# stty -F /dev/ttymxc1 -echo -onlcr 115200 # cat /dev/ttymxc1 & # echo "Serial Port Test" > /dev/ttymxc1
RS-232(COM3):
# stty -F /dev/ttymxc3 -echo -onlcr 115200 # cat /dev/ttymxc3 & # echo "Serial Port Test" > /dev/ttymxc3
USB
USB3.0 HUB+USB Keyeboard&Mouse USB3.0 driver data copy compare
Ethernet
RS-232(4032_COM3):
# stty -F /dev/ttymxc0 -echo -onlcr 115200 # cat /dev/ttymxc1 & # echo "Serial Port Test" > /dev/ttymxc0
RS-232(4032_COM4)
# stty -F /dev/ttymxc3 -echo -onlcr 115200 # cat /dev/ttymxc3 & # echo "Serial Port Test" > /dev/ttymxc3
USB x2
USB3.0 HUB+USB Keyeboard&Mouse
USB3.0 driver data copy compare
Ethernet x1
RSB-3710
Note: RS-232: /dev/ttyS0
GPIO : need to connect loopback.
RS-485: pin1 data- & pin2 data+ (ttyUSB0)
RS-232
$ stty -F /dev/ttyS0 -echo -onlcr 115200 crtscts $ cat /dev/ttyS0 & $ echo "Serial Port Test" > /dev/ttyS0
RS485
Test RS-485 with Adam-4520.
$ stty -F /dev/ttyUSB0 115200 $ echo "Serial Test" > /dev/ttyUSB0
GPIO