47
RSB-3720 User Manual
C
ha
pte
r 3
So
ftw
are
F
un
ctio
na
lity
3.18.2
UIO-4032
3.18.3
UIO-4034
1
UART
2-wire RS-232 (UIO Extension_UIO2: COM2)
UIO-4032 COM_3
/dev/ttymxc1
2-wire RS-232 (UIO Extension_UIO2: COM4)
UIO-4032 COM_4
/dev/ttymxc3
# stty -F /dev/ttymxc3 -echo -onlcr 115200
# cat /dev/ttymxc3 &
# echo "Serial Port Test" > /dev/ttymxc3
Can also be used as M7_Debug Port:
M7_Debug:
(1) emmc boot:
U-Boot > fatload mmc 2:1 0x48000000 imx8mp_m7_TC
-
M_hello_world.bin;cp.b 0x48000000 0x7e0000 20000;
U-Boot > bootaux 0x7e0000
(2) sd card boot:
U-Boot > fatload mmc 1:1 0x48000000 imx8mp_m7_TC
-
M_hello_world.bin;cp.b 0x48000000 0x7e0000 20000;
U-Boot > bootaux 0x7e0000
2
USB
TOP: USB1
BOT: USB2
3
Ethernet
1. Check IP & DHCP
2. Throughput
# iperf3 -c 192.168.0.2 -t 60 -i 10
4
EEPROM
# echo -n $'\x06\x05\x04\x03\x02\x01' > test
# dd if=test of=/sys/bus/i2c/devices/3-0050/eeprom
# hexdump -C /sys/bus/i2c/devices/3-0050/eeprom -n 64
1
UART
2-wire RS-232 (UIO Extension_UIO2: COM2)
Same as UIO-4032 COM_3
2-wire RS-232 (UIO Extension_UIO2: COM4)
Same as UIO-4032 COM_4
2
CAN Bus
Connect the UIO-4034 A101-2 CANbus port Pin 2 and Pin 7 to
RSB-3720
COM1 with 1700100250 cable, pin 9 and Pin 6 of the DB9.
# ip link set can0 up type can bitrate 125000
# ifconfig can0 up
# ip link set can1 up type can bitrate 125000
# ifconfig can1 up
# candump can0 &
# cansend can1 1F334455#1122334455667788
3
EEPROM
# echo -n $'\x06\x05\x04\x03\x02\x01' > test
# dd if=test of=/sys/bus/i2c/devices/3-0050/eeprom
# hexdump -C /sys/bus/i2c/devices/3-0050/eeprom -n 64
Summary of Contents for RSB-3720
Page 2: ...User Manual RSB 3720 NXP i MX8M Plus Cortex A53 2 5 SBC with UIO40 Express...
Page 7: ...RSB 3720 User Manual vi...
Page 11: ...RSB 3720 User Manual x...
Page 15: ...RSB 3720 User Manual 4 1 1 5 Block Diagram...
Page 17: ...RSB 3720 User Manual 6 2 1 Jumper and Connector Locations...
Page 42: ...Chapter 3 3 Software Functionality This chapter details software functions on the RSB 3720...
Page 61: ...RSB 3720 User Manual 50...
Page 62: ...Chapter 4 4 Embedded O S This chapter details instructions for building Linux systems...
Page 74: ...63 RSB 3720 User Manual Chapter 6 Advantech Services...