User`s manual
Table Of Contents
- 1. Introduction
- 2. Getting Started
- Powering on the W406-LX
- Connecting the W406-LX to a PC
- Configuring the Ethernet Interface
- USB Port for Expansion
- SD Socket for Storage Expansion
- Setting Up the Wireless Module
- Configuring the SIM Card
- Entering the PIN Code
- Verifying the SIM Card Status
- Enabling or Disabling the PIN Code Authentication
- Changing the PIN Code
- Unlocking the SIM Card
- Connecting to the Internet
- Reconnecting to the Internet
- Disconnecting from the Internet
- Detecting an Internet Connection Error
- Sending and Reading an SMS Message
- Deleting an SMS Message
- Test Program—Developing Hello.c
- 3. Managing Embedded Linux
- 4. Managing Communications
- 5. Development Tool Chains
- 6. Programmer’s Guide
- 7. Software Lock
- A. System Commands

W406-LX User’s Manual Getting Started
2-18
Installing the Tool Chain (Linux)
The Linux Operating System must be pre-installed in the PC before installing the W406-LX GNU
Tool Chain. Fedora core or compatible versions are recommended. The Tool Chain requires
approximately 1 GB of hard disk space on your PC. The W406-LX Tool Chain software is located
on the W406-LX 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/toolchain/arm-linux_x.x.sh (where x.x indicates the version of the Tool
Chain)
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, and library, 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 W406-LX with the console cable, and then use the
console utility to delete the files from the W406-LX’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.