Introduction

These examples demonstrate how to program and cross-compile a program for DA662A-LX are 2.6 kernel system. Cross-copmile for DA662A-LX the you should used the toolchain, arm-none-linux-gnueabi-gcc.

Example program descriptions

1.  hello:

	This program is just to demo how to development user application.

2.  TCPClient1:

	This program demo how to use socket lib coding TCP Client program on Linux based embedded computer.

3.  TCPClient2:

	This program demo how to use socket lib coding TCP Client program on Linux based embedded computer.

4.  TCPServer1:

	The example programs explain you how to write a simple TCP Server program to communicate with PC. The examples uses standard BSD Sockets.

5.  TCPServer2: 

	The example programs explain you how to write a simple TCP Server program to communicate with PC. The examples uses standard BSD Sockets.

6.  TCPClientServer: 

	The example programs explain you how to write a simple TCP Client/Server program. The examples uses standard BSD Sockets.

7.  Udp1: 

	This program create UDP socket and exchange data between serial port and Ethernet.

8.  Udp2: 

	This program demo how to use socket lib coding UDP send/recv program on Linux based embedded computer.

9.  modbus: 

	This release only for demonstrates the modbus protocol and provides examples how to control serial/socket and how to build a modbus gateway.

10. swatchdog:

	The program enable the watch dog timer for 5 seconds and do not ack it in 5 seconds. It will cause the system to reboot.

11. ports: 

	Read data from 8 serial ports and print on the screen what received

12. keypad:

	The program demo how to code Keypad program for Moxa embedded computer DA-66X serials.

13. proxy: 

	An multi-thread example to demostrate proxy data between serial and socket

14. lcmshowinfo

	A LCM/keypad menu example for Moxa embedded computer DA-66X serials.
