User`s manual
Table of Contents
Chapter 1 Introduction ..................................................................................................1-1
Overview.................................................................................................................................. 1-2
Package Checklist.................................................................................................................... 1-2
Product Features ...................................................................................................................... 1-3
Product Specifications ............................................................................................................. 1-3
Hardware Specifications............................................................................................... 1-3
Software Specifications................................................................................................ 1-4
Chapter 2 Getting Started .............................................................................................2-1
Powering on the UC-7101/7110/7112...................................................................................... 2-2
Connecting the UC-7101/7110/7112 to a PC........................................................................... 2-2
Console Port ................................................................................................................. 2-2
Telnet............................................................................................................................ 2-3
Configuring the Ethernet Interface .......................................................................................... 2-4
Developing Your Applications................................................................................................. 2-6
Installing the UC-7101/7110/7112 Tool Chain ............................................................ 2-6
Compiling Hello.c ........................................................................................................ 2-7
Uploading “Hello” to the UC-7101/7110/7112 ............................................................ 2-7
Running “Hello” on the UC-7101/7110/7112 .............................................................. 2-8
Sample Makefile Code ................................................................................................. 2-9
Chapter 3 Software Package ........................................................................................3-1
UC-7101/7110/7112 Software Architecture............................................................................. 3-2
Journaling Flash File System (JFFS2).......................................................................... 3-3
UC-7101/7110/7112 Software Package ................................................................................... 3-4
Chapter 4 Configuring UC-7101/7110/7112 .................................................................4-1
Enabling and Disabling Daemons............................................................................................ 4-2
Adding a Web Page.................................................................................................................. 4-3
IPTABLES............................................................................................................................... 4-3
NAT.......................................................................................................................................... 4-6
NAT Example............................................................................................................... 4-7
Enabling NAT at Bootup.............................................................................................. 4-8
Configuring Dial-in/Dial-out Service ...................................................................................... 4-8
Dial-out Service............................................................................................................ 4-8
Dial-in Service.............................................................................................................. 4-8
Configuring PPPoE.................................................................................................................. 4-9
How to Mount a Remote NFS Server...................................................................................... 4-9
Dynamic Driver Module Load / Unload.................................................................................. 4-9
Upgrading the Kernel............................................................................................................. 4-10
Upgrading the Root File System & User Directory................................................................4-11
Loading Factory Defaults ...................................................................................................... 4-12
Autostarting User Applications on Bootup............................................................................ 4-12
Checking the Kernel and Root File System Versions............................................................. 4-12
Chapter 5 UC-7101/7110/7112 Device API ...................................................................5-1
RTC (Real Time Clock) ........................................................................................................... 5-2
Buzzer...................................................................................................................................... 5-2
UART Interface........................................................................................................................ 5-2