Difference between revisions of "UIO-4032"
From ESS-WIKI
Jems.cheng (talk | contribs) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 108: | Line 108: | ||
'''Rear IO – RS-232 x2 (ttymxc1 & ttymxc3)<br/> RS-232(4032_COM3):''' | '''Rear IO – RS-232 x2 (ttymxc1 & ttymxc3)<br/> RS-232(4032_COM3):''' | ||
<pre># stty -F /dev/ttymxc0 -echo -onlcr 115200 | <pre># stty -F /dev/ttymxc0 -echo -onlcr 115200 | ||
− | # cat /dev/ | + | # cat /dev/ttymxc0 & |
# echo "Serial Port Test" > /dev/ttymxc0</pre> | # echo "Serial Port Test" > /dev/ttymxc0</pre> | ||
Line 143: | Line 143: | ||
# echo "Serial Port Test" > /dev/ttyS4</pre> | # echo "Serial Port Test" > /dev/ttyS4</pre> | ||
− | + | | |
'''USB ''' | '''USB ''' | ||
Line 151: | Line 151: | ||
'''Ethernet''' | '''Ethernet''' | ||
− | [[File:UIO-4032 RSB-3710 ethernet.PNG]] | + | [[File:UIO-4032 RSB-3710 ethernet.PNG|RTENOTITLE]] |
+ | <div id="gtx-trans" style="position: absolute; left: 23px; top: 3342.25px;"><div class="gtx-trans-icon"> </div> </div> | ||
+ | = RSB-3810 = | ||
+ | |||
+ | {| border="1" cellpadding="1" cellspacing="1" | ||
+ | |- | ||
+ | | colspan="1" rowspan="2" | 1 | ||
+ | | colspan="1" rowspan="2" | | ||
+ | UART | ||
+ | |||
+ | COM_3:ttyS3 | ||
+ | |||
+ | COM_4:ttyS1 | ||
+ | |||
+ | | # stty -F /dev/ttyS3 -echo -onlcr 921600 raw<br/> # cat /dev/ttyS3 &<br/> # echo "Serial Port Test" > /dev/ttyS3 or<br/> # microcom -s 921600 -X /dev/ttyS3 # cat /dev/ttyS3 & | ||
+ | |- | ||
+ | | # stty -F /dev/ttyS1 -echo -onlcr 921600 raw # cat /dev/ttyS1 &<br/> # echo "Serial Port Test" > /dev/ttyS1<br/> or<br/> # microcom -s 921600 -X /dev/ttyS1 | ||
+ | |- | ||
+ | | 2 | ||
+ | | USB | ||
+ | | USB disk write/read/verify pattern | ||
+ | |- | ||
+ | | 3 | ||
+ | | Ethernet | ||
+ | | # ifconfig<br/> # ping 8.8.8.8 | ||
+ | |- | ||
+ | | 4 | ||
+ | | EEPROM | ||
+ | | # echo -n $'\x06\x05\x04\x03\x02\x01' > /data/test1<br/> # dd if=/data/test1 of=/sys/bus/i2c/devices/3-0050/eeprom<br/> # dd if=/sys/bus/i2c/devices/3-0050/eeprom of=/data/test2 conv=fsync | ||
+ | |} | ||
+ | |||
+ | <headertabs></headertabs> |
Latest revision as of 06:27, 1 August 2024
[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 |