C8051F02X

所属分类:单片机开发
开发工具:C/C++
文件大小:1398KB
下载次数:6
上传日期:2010-02-27 17:09:29
上 传 者poborskii
说明:  C8051F02X 系列单片机的C语言和汇编语言程程序范例
(C8051F02X series MCU C and assembly language program examples Cheng)

文件列表:
C8051F02X\Ethernet\UDP\firmware\c8051F020.h (16513, 2006-05-16)
C8051F02X\Ethernet\UDP\firmware\Cleanup.bat (93, 2005-09-22)
C8051F02X\Ethernet\UDP\firmware\main.c (11418, 2006-05-24)
C8051F02X\Ethernet\UDP\firmware\mn_callback.c (4997, 2006-05-16)
C8051F02X\Ethernet\UDP\firmware\mn_defs.h (3545, 2006-05-24)
C8051F02X\Ethernet\UDP\firmware\mn_errs.h (4728, 2006-05-16)
C8051F02X\Ethernet\UDP\firmware\mn_funcs.h (2763, 2006-05-16)
C8051F02X\Ethernet\UDP\firmware\mn_stackconst.h (3350, 2006-05-16)
C8051F02X\Ethernet\UDP\firmware\mn_stack_bank_038.lib (29919, 2006-05-22)
C8051F02X\Ethernet\UDP\firmware\mn_stack_common_038.lib (186653, 2006-05-22)
C8051F02X\Ethernet\UDP\firmware\mn_userconst.h (3847, 2006-05-24)
C8051F02X\Ethernet\UDP\firmware\mn_vars.c (4736, 2006-05-16)
C8051F02X\Ethernet\UDP\firmware\Rel_Notes.txt (724, 2006-05-16)
C8051F02X\Ethernet\UDP\firmware\UDP.wsp (38009, 2006-05-24)
C8051F02X\Ethernet\UDP\Application\udp_cli.exe (34816, 2002-10-24)
C8051F02X\Ethernet\UDP\Application\udp_svr.exe (34304, 2001-11-21)
C8051F02X\Ethernet\UDP\Application\Source\udp_cli.cpp (3658, 2005-06-30)
C8051F02X\Ethernet\UDP\Application\Source\udp_svr.cpp (3427, 2005-06-30)
C8051F02X\Ethernet\UDP\Application\Source\wsedesc.cpp (4453, 1997-05-03)
C8051F02X\Ethernet\TCP\Firmware\c8051F020.h (16513, 2006-05-16)
C8051F02X\Ethernet\TCP\Firmware\Cleanup.bat (93, 2005-09-22)
C8051F02X\Ethernet\TCP\Firmware\main.c (11722, 2006-05-24)
C8051F02X\Ethernet\TCP\Firmware\mn_callback.c (5916, 2006-05-16)
C8051F02X\Ethernet\TCP\Firmware\mn_defs.h (3824, 2006-05-24)
C8051F02X\Ethernet\TCP\Firmware\mn_errs.h (4814, 2006-05-16)
C8051F02X\Ethernet\TCP\Firmware\mn_funcs.h (2864, 2006-05-16)
C8051F02X\Ethernet\TCP\Firmware\mn_stackconst.h (3698, 2006-05-16)
C8051F02X\Ethernet\TCP\Firmware\mn_stack_bank_037.lib (57556, 2006-05-22)
C8051F02X\Ethernet\TCP\Firmware\mn_stack_common_037.lib (201038, 2006-05-22)
C8051F02X\Ethernet\TCP\Firmware\mn_userconst.h (4729, 2006-05-24)
C8051F02X\Ethernet\TCP\Firmware\mn_vars.c (4951, 2006-05-16)
C8051F02X\Ethernet\TCP\Firmware\Rel_Notes.txt (724, 2006-05-16)
C8051F02X\Ethernet\TCP\Firmware\TCP.wsp (37915, 2006-05-24)
C8051F02X\Ethernet\TCP\Application\tcp_cli.exe (34816, 2002-10-24)
C8051F02X\Ethernet\TCP\Application\tcp_svr.exe (34304, 2001-12-14)
C8051F02X\Ethernet\TCP\Application\source\tcp_cli.cpp (3619, 2005-09-30)
C8051F02X\Ethernet\TCP\Application\source\tcp_svr.cpp (4105, 2005-09-30)
C8051F02X\Ethernet\TCP\Application\source\wsedesc.cpp (4453, 1997-05-03)
... ...

Test programs to be run against Silicon Laboratories ETHERNET-DK UDP Examples ============================================================================= There are two winsock programs that can be used on Win95 or higher to run against the Silicon Laboratories ETHERNET-DK UDP Examples. udp_cli.exe - UDP echo client udp_svr.exe - UDP echo server A brief desciption of their usage follows. For both of the programs, if PPP or SLIP is used, a PPP or SLIP connection must be established first using the Windows Dialup Networking. This is not necessary if using ethernet. UDP_CLI ======= The UDP example should be set up as a UDP echo server (SERVER_MODE = 1). Run code on the C8051F120 first then UDP_CLI. UDP_CLI will send out a string and wait for ETHERNET-DK to echo it back. UDP_CLI will then take the received string and send it to ETHERNET-DK and so forth. UDP_CLI optionally takes one parameter, the destination IP address. The default IP address is 216.233.5.26. To use a different IP address, enter UDP_CLI followed by the same IP address in dot format. Lets say ip_src_addr in mn_userconst.h was changed to 192.168.1.5, then on the PC you would use: UDP_CLI 192.168.1.5 UDP_SVR ======= The UDP example should be set up as a UDP echo client (SERVER_MODE = 0). Start UDP_SVR first, then run code on the C8051F120. UDP_SVR will wait for ETHERNET-DK to send a string, then echo the received string back to ETHERNET-DK. ETHERNET-DK will then take the string from UDP_SVR and send it back and so forth. UDP_SVR does not take any parameters.

近期下载者

相关文件


收藏者