Installation guide

16
Introduction to Embedded Computers
MOXA Embedded Computers
Open Linux architecture for easy development
The pre-installed Linux OS provides an open software operating system for your software development. This means that software
written for the desktop PC is easily ported to MOXA embedded computers by performing a GNU cross compile—but without
needing to modify the code.
How to develop your application with tool chains
MOXA Embedded Computers Running Open Linux Platform
Step 1: Set up the development environment
For Linux Environments
• Install Linux on your PC (Redhat 7.2 or above is
recommended)
• Install the tool chain (Cross compiler, GlibC, GDB), included
on the CD-ROM, to your Linux PC
• Configure the IP, Netmask, etc.
For Windows Environments
• Install the Windows tool chain (Cross compiler, GlibC, GDB),
included on the CD-ROM, to your Windows PC.
• Configure the IP, Netmask, etc.
Step 2: Coding
• Develop a C or C++ user application on your PC.
• Compile C programs and link to the library with the MOXA
tool chain.
Step 3: Deployment
• Download the program via FTP to your MOXA embedded
computer.
• MOXA embedded computer, with your own program
installed, is ready to go.
Install GNU cross
compiler on PC
Install GDB debug tool
(optional)
Coding & Compiling
Configure cross compiler and
Glibc parameters
NG
OK
Download AP to
MOXA Embedded Computer
Start up MOXA Embedded
Computer and run program
Testing
Connect MOXA
Embedded Computer to PC