|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
使用J-LinkV8
MDKKeil版本4.71
调试串口波特率:115200
基于MDKK70-EK_T43硬件平台
关键词: Freescale 飞思卡尔 Kinetis Cortex-M4 K70 MDKK70 核心板 开发板 例程 网络 webserver 以太网
实验现象:
编译并下载程序,路由器通过网线连接K70EK_T43开发板的网线接口,在PC上打开IE输入http://twr_k70f120m/
默认用户名: admin
默认密码 : <空>。
This is a HTTP Server example. It shows you how to use the
Web Server CGI interface as well.
Use this example to connect TWR-K70F120M Board to a LAN with DHCP
server (most LANs have this). This example will configure the
LAN network parameters automatically using a DHCP protocol.
You may connect TWR-K70F120M Board to PC directly over a crosslink
network cable. In this case configure a PC to use a static
IP address 192.168.0.101
If after a timeout of 5 seconds DHCP did not obtain an IP address,
this example will use a static IP address 192.168.0.100
The WEB pages are included into the project under HTTP Files
group. You can simply add or remove a page or image. Web files
which are compiled into the project are added to the 'Web.inp'
Web Converter input file.
To test this example, open your web browser and enter the
address http://twr_k70f120m/ or http://<boards IP address>
Default user : admin
Default password: <none>
You can change the password at runtime on page 'system'
The HTTP_demo example is available for several targets:
MK70F120M:
Standalone (no RTX Kernel) application.
Program code is loaded into on-chip flash.
MK70F120M Debug:
Standalone (no RTX Kernel) with debug output.
Debug level configured in Net_Debug.c configuration file.
Connect a serial cable to RS232 UART1 port using
HyperTerminal at 115200 baud, 8-bits, no parity,
1 stop bit, flowcontrol none.
MK70F120M RTX:
The same example configured for RTX Kernel.
此K70_http例子基于Keil的RL_ARM
011网络裸机程序webserver.rar
(735.36 KB, 下载次数: 1 )
|
|