DA-720
Datasheet
DA-720 Series Website
moxa-da-720-series-datasheet-v1.1.pdf
Expansion Modules
- See DE-PRP-HSR-EF page
- See DE-SP08-I-TB page
Peripherals on board
Prerequisite for on board peripherals on DA-720 host
- Build moxa-misc-driver on DA-720 host
UART
- UART interface list
UART index | Device node |
---|---|
P1 Series | /dev/ttyS0 |
P2 Series | /dev/ttyS0 |
- Control UART interface mode
# get mode from P1 Series
setinterface /dev/ttyS0
# set mode for P1 Series as RS232
setinterface /dev/ttyS0 0
# set mode for P1 Series as RS485-2WIRES
setinterface /dev/ttyS0 1
# set mode for P1 Series as RS422
setinterface /dev/ttyS0 2
Relay
- UART interface list
Relay index | sysfs node |
---|---|
Relay Port | /sys/class/gpio/relay1/value |
- Control Relay NC/NO mode
Default mode is NO (Normal Open)
Example:
# set mode for relay port as NO (Normal Open)
echo 0 > /sys/class/gpio/relay1/value
# set mode for relay port as NC (Normal Close)
echo 1 > /sys/class/gpio/relay1/value
Programmable LED
- Programmable LED interface list
PLED index | sysfs node |
---|---|
PLED 1 | /sys/class/gpio/pled1/value |
PLED 2 | /sys/class/gpio/pled1/value |
PLED 3 | /sys/class/gpio/pled1/value |
PLED 4 | /sys/class/gpio/pled1/value |
- Control PLED status
Default PLED mode is lights off (low)
Example:
# lights on PLED1
echo 1 > /sys/class/gpio/pled1/value
# lights off PLED1
echo 0 > /sys/class/gpio/pled1/value
Power input monitor
- Power input monitor list
Power input index | sysfs node |
---|---|
Power input 1 | /sys/class/gpio/pwrin1/value |
Power input 2 | /sys/class/gpio/pwrin2/value |
- Get Power input monitor status
Value: 0 = Power disconnected, 1 = Power connected
Example:
# get power input 1 status
cat /sys/class/gpio/pwrin1/value
# get power input 2 status
cat /sys/class/gpio/pwrin2/value
Watchdog
Force using Super IO watchdog instead of ACPI Hardware Watchdog (WDAT)
- Edit
/lib/modprobe.d/wdat_wdt_blacklist.conf
blacklist wdat_wdt
- Build moxa-it87-wdt-drivers (5.2/master) on host.
- Edit
/lib/modprobe.d/watchdog.conf
# timeout:Watchdog timeout in seconds, default=60 (int)
# nowayout:Watchdog cannot be stopped once started, default=0 (bool)
options it87_wdt nowayout=1 timeout=60
- Edit
Watchdog daemon package (Debian/Ubuntu)
- Install package
sudo apt-get update
sudo apt-get install watchdog - Config file
/etc/default/watchdog
# Start watchdog at boot time? 0 or 1
run_watchdog=1
# Start wd_keepalive after stopping watchdog? 0 or 1
run_wd_keepalive=0
# Load module before starting watchdog
watchdog_module="it87_wdt"
# Specify additional watchdog options here (see manpage). - To uncomment this to use the watchdog device driver access "file",
/etc/watchdog.conf
watchdog-device = /dev/watchdog
- Install package
LAN interface
On Debian 11/Ubuntu 20.04:
LAN index | Renamed NIC | Driver | PTP Support |
---|---|---|---|
LAN1 | enp3s0 | igb | V |
LAN2 | enp4s0 | igb | V |
LAN3 | enp5s0 | igb | V |
LAN4 | enp6s0 | igb | V |
LAN5 | enp7s0 | igb | V |
LAN6 | enp8s0 | igb | V |
LAN7 | enp9s0 | r8169 | X |
LAN8 | enp10s0 | r8169 | X |
LAN9 | enp11s0 | r8169 | X |
LAN10 | enp12s0 | r8169 | X |
LAN11 | enp13s0 | r8169 | X |
LAN12 | enp14s0 | r8169 | X |
LAN13 | enp15s0 | r8169 | X |
LAN14 | enp16s0 | r8169 | X |
Troubleshooting
- failed to load firmware
[ 7.529638] i915 0000:00:02.0: firmware: failed to load i915/skl_dmc_ver1_27.bin (-2)
[ 7.529644] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 7.889522] r8169 0000:10:00.0: firmware: failed to load rtl_nic/rtl8168h-2.fw (-2)
[ 7.889532] r8169 0000:10:00.0: Unable to load firmware rtl_nic/rtl8168h-2.fw (-2)
On Debian 11/Ubuntu 20.04:
# edit /etc/apt/source.list, and append 'non-free' to list,
# your source.list should look like this:
deb http://deb.debian.org/debian/ bullseye main non-free
# and run
sudo apt-get update
sudo apt-get install firmware-realtek firmware-misc-nonfree
Last updated on 2022-06-13 by Elvis Yao