UC-7410.7420.7402.7408-LX-Plus

所属分类:嵌入式/单片机/硬件编程
开发工具:Unix_Linux
文件大小:2284KB
下载次数:6
上传日期:2015-05-27 19:48:29
上 传 者hui_20001
说明:  moxa uc-7410嵌入式设备自带的示例源码
(Example moxa uc-7410 embedded device comes with source code)

文件列表:
UC-7410.7420.7402.7408-LX Plus\buzzer\buzzer-demo.c (1068, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\buzzer\Makefile (609, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\dio\cgi\dioform.cgi.c (1439, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\dio\cgi\Makefile (558, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\dio\Makefile (903, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\dio\tdio.c (3215, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\dio\tdout.c (2364, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\dio\tduration.c (4664, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\hello\hello.c (611, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\hello\Makefile (607, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\keypad\keypad-demo.c (1135, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\keypad\Makefile (783, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\lcm\lcm-demo.c (2310, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\lcm\Makefile (764, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\lcmshowinfo\id.h (2917, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\lcmshowinfo\lcmshowinfo.c (25789, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\lcmshowinfo\libredboot.a (10236, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\lcmshowinfo\Makefile (608, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\lcmshowinfo\redboot_config.h (4329, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\buzzer.c (853, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\buzzer.h (90, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\keypad.c (2751, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\keypad.h (664, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\lcm.c (2964, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\lcm.h (2173, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\serial.c (10520, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\serial.h (2068, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\socket.c (6668, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\socket.h (1193, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\usbcf.c (2346, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\library\usbcf.h (710, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\logger\config.txt (47, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\logger\logger.c (5040, 2008-06-10)
UC-7410.7420.7402.7408-LX Plus\logger\Makefile (741, 2008-06-10)
... ...

Introduction These examples demonstrate how to program and cross-compile a program for UC-7400-LX(kernel 2.4), DA-660-8/16-LX(kernel 2.4), DA-661/662-663-16-LX(kernel 2.6) or UC-7400-LX Plus(kernel 2.6) serials. UC-7400-LX and DA-660-8/16-LX operates with 2.4 kernel. The source code must compile by mxscaleb-gcc. DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus are 2.6 kernel system. Copmile for DA-66X-16-LX or UC-7400-LX Plus need to use, xscale_be-gcc. =================================================================== Cross compileing for UC-7420/7410/7408/7402/DA-660-8/DA-660-16-LX: 1. You need to define the PLATFORM in Makefile, PLATFORM = UC7400_AND_DA660 # default is compile for 2.4 kernel 2. Compile the library 3. Compile the individual example =================================================================== Cross compileing for DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus: 1. You need to define the PLATFORM in Makefile PLATFORM = UC7400PLUS_AND_DA66X 2. Compile the library 3. Compile the individual example ================================================================== Example program descriptions 1. hello: (for UC-7420/7410/7408/7402/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) This program is just to demo how to development user application. 2. buzzer: (for UC-7420/7410/7408/7402/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) The program demo how to code buzzer program on UC/DA. 3. keypad: (for UC-7420/7410/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) The program demo how to code Keypad program on UC/DA. 4. lcm: (for UC-7420/7410/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) This program demo how to code lcm program on UC/DA. The lcm screen can display 16*8 words (one word is 8*8 pix). 5. TCPClient1: (for UC-7420/7410/7408/7402/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) This program demo how to use socket lib coding TCP Client program on UC/DA series embedded computer. 6. TCPClient2: (for UC-7420/7410/7408/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) This program demo how to use socket lib coding TCP Client program on UC7000 series. 7. TCPServer1: (for UC-7420/7410/7408/7402/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) The example programs explain you how to write a simple TCP Server program to communicate with PC. The examples uses standard BSD Sockets. 8. TCPServer2: (for UC-7420/7410/7408/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) The example programs explain you how to write a simple TCP Server program to communicate with PC. The examples uses standard BSD Sockets. 9. TCPClientServer: (for UC-7420/7410/7408/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) The example programs explain you how to write a simple TCP Client/Server program. The examples uses standard BSD Sockets. 10. Udp1: (for UC-7420/7410/7408/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) his program create UDP socket and exchange data between serial port and Ethernet. 11. Udp2: (for UC-7420/7410/7408/7402/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) This program demo how to use socket lib coding UDP send/recv program on UC7000 series. 12. UC-7400-modbus: (for UC-7420/7410/7408-LX/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) This release only for demonstrates the modbus protocol and provides examples how to control serial/socket and how to build a modbus gateway. 13. swatchdog: (for UC-7420/7410/7408/7402/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) 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. 14. DIO: (for UC-7408-LX, UC-7408-LX Plus) The program indicates to connect DO1 to DI1, change the digital output state to high or low by manual input, then the detect and count the state changed events from DI1. 15. logger: (for UC-7420/7410/7408/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408-LX Plus) The serial logger program. 16. usbcf: (for UC-7420/7408/7402-LX, DA-661/662/663-16-LX, UC-7420/7408/7402-LX Plus) This is a example program to show how to detect the USB/CF storage plugin or unplug. And check it mounts OK or fail. 17. ports: (for UC-7420/7410/7408/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408-LX Plus) Read data from 8 serial ports and print on the screen what received 18. xmlparse: (for UC-7420/7410/7408/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408/7402-LX Plus) This is a example program to show how to parser a XML document. 19. proxy: (for UC-7420/7410/7408/DA-660-8/DA-660-16-LX, DA-661/662/663-16-LX, UC-7420/7410/7408-LX Plus) An multi-thread example to demostrate proxy data between serial and socket

近期下载者

相关文件


收藏者