參數(shù)資料
型號: 101-0433
廠商: Rabbit Semiconductor
文件頁數(shù): 60/100頁
文件大?。?/td> 0K
描述: BOARD PROTOTYPING FOR RCM2100
標(biāo)準(zhǔn)包裝: 1
附件類型: 原型開發(fā)板
適用于相關(guān)產(chǎn)品: RCM2100
其它名稱: 101-433
101-433-ND
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.
相關(guān)PDF資料
PDF描述
0982660965 CBL 27PS 0.5MM JMPR TYPE A 1.18"
GEC19DRTN-S734 CONN EDGECARD 38POS DIP .100 SLD
0982660964 CBL 27PS 0.5MM JMPR TYPE D 1.18"
SRR6038-820Y INDUCTOR POWER 82UH .70A SMD
TCMD-22-T-12.00-01-N CABLE ASSEM 2MM 44POS M-F 12"
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-0433-000 制造商:ITT Interconnect Solutions 功能描述:INSUL CA-KE18-4P RR / 101-0433-000 / Circular
101-0434 功能描述:模塊化系統(tǒng) - SOM RCM2100 RABBITCORE 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
101-0434-000 制造商:ITT Interconnect Solutions 功能描述:INSUL CA-KE18-4S FR / 101-0434-000 / Circular
101-0435 功能描述:模塊化系統(tǒng) - SOM RCM2110 RABBITCORE 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
101-0435-000 制造商:ITT Interconnect Solutions 功能描述:INSUL CA-KE18-4S RR / 101-0435-000 / Circular