搜索
bottom↓
回复: 4

K70例程011: 网络裸机程序webserver

[复制链接]

出0入0汤圆

发表于 2013-12-13 13:59:08 | 显示全部楼层 |阅读模式
使用J-LinkV8
MDKKeil版本4.71
调试串口波特率:115200
基于MDKK70-EK_T43硬件平台

实验现象:
编译并下载程序,路由器通过网线连接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

出0入0汤圆

 楼主| 发表于 2013-12-13 13:59:42 | 显示全部楼层
源码包:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

出0入0汤圆

发表于 2015-2-25 15:08:38 | 显示全部楼层
网络是什么方案

出0入0汤圆

发表于 2015-3-2 09:41:20 | 显示全部楼层
谢谢,分享。

出5入0汤圆

发表于 2015-3-23 10:50:11 | 显示全部楼层
“在PC上打开IE输入http://twr_k70f120m/  ” 这个可以用域名访问,对这个有兴趣!
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-5-3 03:34

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表