User`s manual
UC-7112-LX Plus Software User’s Manual Getting Started
2-9
Installing the Tool Chain (Linux)
The Linux Operating System must be pre-installed in the PC before installing the UC-7112-LX
Plus GNU Tool Chain. Fedora core or compatible versions are recommended. The Tool Chain
requires approximately 100 MB of hard disk space on your PC. The UC-7112-LX Plus Tool Chain
software is located on the UC-7112-LX Plus CD. To install the Tool Chain, insert the CD into
your PC and then issue the following commands:
#mount /dev/cdrom /mnt/cdrom
#sh /mnt/cdrom/tool-chain/uc-7112-LX_plus/linux/install.sh
The Tool Chain will be installed automatically on your Linux PC within a few minutes. Before
compiling the program, be sure to set the following path first, since the Tool Chain files, including
the compiler, link, library, and include files are located in this directory.
PATH=/usr/local/arm-linux/bin:$PATH
Setting the path allows you to run the compiler from any directory.
Checking the Flash Memory Space
If the flash memory is full, you will not be able to save data to the Flash ROM. Use the following
command to calculate the amount of “Available” flash memory:
/>df –h
If there isn’t enough “Available” space for your application, you will need to delete some existing
files. To do this, connect your PC to the UC-7112-LX Plus with the console cable, and then use
the console utility to delete the files from the UC-7112-LX Plus’s flash memory. To check the
amount of free space available, look at the directories in the read/write directory /dev/mtdblock3.
Note that the directories /home and /etc are both mounted on the directory /dev/mtdblock3.
NOTE If the flash memory is full, you will need to free up some memory space before saving files to
the Flash ROM.