参数资料
型号: 20-101-0435
厂商: Rabbit Semiconductor
文件页数: 60/100页
文件大小: 0K
描述: MODULE RABBITCORE RCM2110
标准包装: 1
系列: RabbitCore®
模块/板类型: MPU 核心模块
适用于相关产品: RCM2110
产品目录页面: 620 (CN2011-ZH PDF)
其它名称: 316-1086
56
RabbitCore RCM2100
6.10.2 Sample Program: ETHCORE1.C
The RCM2100 modules with Ethernet ports can act as micro Web page servers, with
dynamic interaction between the controller and the web pages. This sample program dem-
onstrates how a Web page can be used to both monitor and control an RCM2100 module.
Compile & Run Program
Open the sample program ETHCORE1.C. Press F9 to compile and run the program.
TIP: This program will be more interesting to observe if LEDs DS4 and DS5 are installed
on the Prototyping Board.
When the program starts, LEDs DS2, DS3 and DS5 will be lit, and DS4 will be dark.
Open a web browser and enter the IP address you defined for the RCM2100 module in the
program in the address window. A page like that shown in Figure 11 should appear.
Figure 11. Browser screen for Sample Program ETHCORE1.C
Clicking on each of the button images in the browser window will toggle the state of the
associated LED image, and will toggle the state of the corresponding LED on the Proto-
typing Board. Since the web page is generated by the RabbitCore module (using Dynamic
HTML), the LED image and the corresponding LED’s real state will always be in step.
Program Description
This program begins to show the range of applications for an Ethernet-enabled embedded
system controller, so let’s look closely at its operation.
As with PINGLED.C, several network addresses must be defined before this application
can work. The TCPCONFIG 1 macro in the sample program provides default settings for
MY_IP_ADDRESS
, which is the address of the RCM2100 module, MY_NETMASK, and
MY_GATEWAY
(which needs to be defined if you wish to reach the system from outside the
local network). These TCP/IP settings can be changed as needed in the TCP_CONFIG.LIB
library.
相关PDF资料
PDF描述
345-030-527-801 CARDEDGE 30POS DUAL .100 GREEN
AT25640N-10SI-2.7 IC EEPROM 64KBIT 3MHZ 8SOIC
345-030-527-204 CARDEDGE 30POS DUAL .100 GREEN
AT25640-10PI-2.7 IC EEPROM 64KBIT 3MHZ 8DIP
345-030-527-202 CARDEDGE 30POS DUAL .100 GREEN
相关代理商/技术参数
参数描述
20-101-0436 功能描述:模块化系统 - SOM RCM2120 RabbitCore Module RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0437 功能描述:子卡和OEM板 SR9205 16 in/8 out RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
20-101-0439 功能描述:模块化系统 - SOM SR9215 SRC 8IN 16OUT RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0440 功能描述:模块配件 SR9510 Relay 8 RoHS:否 制造商:Lantronix 产品: 用于:
20-101-0444 功能描述:子卡和OEM板 SR9320 A/D 4-20mA RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit