UIO-4032
From ESS-WIKI
[edit]
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
Rear IO – RS-232 x2 (ttymxc1 & ttymxc3)
RS-232(4032_COM3):
# stty -F /dev/ttymxc0 -echo -onlcr 115200 # cat /dev/ttymxc0 & # 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
COM Port
Rear IO – RS-232 x 2
USB x 2
Ethernet x 1
Note:
ttyS0– COM3
ttyS4– COM4
RS-232(COM3):
# stty -F /dev/ttyS0 -echo -onlcr 115200 # cat /dev/ttyS0 & # echo "Serial Port Test" > /dev/ttyS0
RS-232(COM3):
# stty -F /dev/ttyS4 -echo -onlcr 115200 # cat /dev/ttyS4 & # echo "Serial Port Test" > /dev/ttyS4
USB
USB3.0 HUB+USB Keyeboard&Mouse USB3.0 driver data copy compare
Ethernet
1 |
UART COM_3:ttyS3 COM_4:ttyS1 |
# stty -F /dev/ttyS3 -echo -onlcr 921600 raw # cat /dev/ttyS3 & # echo "Serial Port Test" > /dev/ttyS3 or # microcom -s 921600 -X /dev/ttyS3 # cat /dev/ttyS3 & |
# stty -F /dev/ttyS1 -echo -onlcr 921600 raw # cat /dev/ttyS1 & # echo "Serial Port Test" > /dev/ttyS1 or # microcom -s 921600 -X /dev/ttyS1 | ||
2 | USB | USB disk write/read/verify pattern |
3 | Ethernet | # ifconfig # ping 8.8.8.8 |
4 | EEPROM | # echo -n $'\x06\x05\x04\x03\x02\x01' > /data/test1 # dd if=/data/test1 of=/sys/bus/i2c/devices/3-0050/eeprom # dd if=/sys/bus/i2c/devices/3-0050/eeprom of=/data/test2 conv=fsync |