EasyManuals Logo

Moxa Technologies NPort 5450AI-M12 User Manual

Moxa Technologies NPort 5450AI-M12
194 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #150 background imageLoading...
Page #150 background image
NPort 5000 Series User Manual
150
Moxa cross-compiling interactive script
To simplify the processes above, Moxa has provided an interactive script, "mxcc", to cross-compile these
drivers. You may execute ./mxcc in the Real TTY driver source directory to cross-compile the MOXA driver.
The steps are as follows:
# ./mxcc
Enter target device architecture (ARCH) [arm]:
Enter cross-compiler (CROSS_COMPILE) [arm-linux-gnueabihf-]:
Enter target device kernel source directory [/moxa/kernel/]:
If you wish to use secure communication with the NPort 6000 Series device, choose
[Y] to enable the SSL function.
Note: This function supports Real COM with secure mode in the NPort 6000 Series
only.
Do you want to enable secure mode? [Y/N]: N
The polling mode allows you to open the tty port as nonblocking even if the NPort
is not connected.
Do you want to set the driver to polling mode? [Y/N]: N
*******************************************************************
MOXA NPort Server Real TTY Driver Series driver cross-compiling finished.
When cross compiling is successful, the driver is outputted to output folder.
*******************************************************************
The binaries will now be generated and placed in the output directory under the source code folder.
Manually build the Real TTY driver with a cross-compiler
To cross-compile npreal2 driver, users can find "Makefile" in the driver
source folder, then run it.
# make -C KDIR=<KERNEL_SOURCE> M=<DRIVER_SOURCE> ARCH=<ARCH>
CROSS_COMPILE=<CROSS_COMPILE> KVER_MAJOR=<KERNEL_MAJOR>
KVER_MINOR=<KERNEL_MINOR> modules
<KERNEL_SOURCE>: The directory of target kernel source.
<DRIVER_SOURCE>: The directory of the Real TTY driver source.
<ARCH>: The target Arm environment device's CPU architecture. For example, arm, arm64.
<CROSS_COMPILE>: The cross-compile toolchain path. If the toolchain is arm-linux-gnueabihf, and the
path of toolchain exists in your PATH environment variable, please enter "arm-linux-gnueabihf-" here.
<KERNEL_MAJOR>: The target Arm system kernel source's kernel major version. You can use the command
"make kernelversion" to get the kernel source's major version.
For example:
# make kernelversion
4.4.0
|
+--- kernel major version
<KERNEL_MINOR>: The target Arm system kernel source's kernel minor version. You can use the command
"make kernelversion" to get the kernel source's minor version.
For example:
$ make kernelversion
4.4.0
|
+--- kernel minor version

Table of Contents

Other manuals for Moxa Technologies NPort 5450AI-M12

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moxa Technologies NPort 5450AI-M12 and is the answer not in the manual?

Moxa Technologies NPort 5450AI-M12 Specifications

General IconGeneral
CertificationCE, FCC, EN 55022 Class A, FCC Part 15 Subpart B Class A, EN 55024, EN 50155, EN 50121-4, IEC 60068-2-6
RS-232 signalsCTS, DCD, DSR, DTR, GND, RTS, Rx, Tx
RS-422 signalsGND, RxD+, RxD-, TxD+, TxD-
RS-485 signalsData+, Data-, GND, RxD+, RxD-, TxD+, TxD-
Flow control supportYes
Serial interface typeRS-232/422/485
Serial ports quantity4
Ethernet LAN data rates10, 100 Mbit/s
Ethernet LAN (RJ-45) ports1
Supported network protocolsICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, DNS, SNMP V1, HTTP, SMTP, IGMP V1/2, LLDP
Input voltage12 - 48 V
Operating temperature (T-T)-25 - 55 °C
SafetyUL 60950-1, EN 60950-1
Compatible operating systemsWindows 98/ME/NT/2000, Windows XP/2003/Vista/2008/7/8 x86/x64, 2012 x64\\r SCO Unix, SCO OpenServer, UnixWare 7, UnixWare 2.1, SVR 4.2, QNX 4.25, QNX 6, Solaris 10, FreeBSD, AIX 5.x, HP-UX 11i, Mac 10.3\\r Linux kernel 2.4.x, 2.6.x, 3.x
Weight and Dimensions IconWeight and Dimensions
Weight686 g
Dimensions (WxDxH)80 x 216.6 x 52.9 mm

Related product manuals