User`s manual
UC-7110 Series User’s Manual Getting Started
2-6
Developing Your Applications
Step 1:
Connect UC-7110 to a Linux PC.
Step 2:
Install Tool Chain (GNU Cross Compiler &
uClibc).
Step 3:
Configure cross compiler and uClibc
environment variables.
Step 4:
Code & compile your program.
Step 5:
Download program to UC-7110 via FTP or
NFS.
Step 6:
Debug the program. If the program is OK,
proceed to Step 7. If the program needs to be
modified, go back to Step 4.
Step 7:
Back up the user directory, and distribute the
code to additional UC-7110 units.
Installing the UC-7110 Tool Chain
The PC must have the Linux Operating System pre-installed to install the UC-7110 GNU Tool
Chain. Redhat 7.3/8.0 and compatible versions are recommended. The Tool Chain requires about
100 MB of hard disk space (on your PC). The UC-7110 Tool Chain can be found on the UC-7110
CD. To install Tool Chain, insert the CD into your PC and then issue the following command:
#mount /dev/cdrom /mnt/cdrom
Next, run the following script from the root to installs the compilers, linkers, and libraries in the
/usr/local directory:
#sh /mnt/cdrom/tool-chain/arm-elf-tools-20030314.sh
The Tool Chain installation will take a few minutes to complete.
ATTENTION
You can download the Tool Chain from Moxa’s website (go to the UC-7110 product page, click
on the Documentation & Drivers link, and then click on Go under Driver & Software
Downloads.
The Tool Chain is also available on the www.uClinux.org
website at the following link:
http://www.uClinux.org/pub/uClinux/m68k-elf-tools/arm-elf-tools-20030314.sh
.