通过以太网监控STM32F207开发板的状态

通过以太网监控STM32F207开发板的状态_第1张图片
Leds控制页面
实例代码目录:STM32F207\code\STM32F2x7_ETH_LwIP_V1.0.2\Project\Standalone\httpserver
可执行程序目录:STM32F207\code\可执行程序\STM32F2x7_ETH_LwIP_V1.0.2\Standalone\httpserver

先用文本编辑器打开该网页,看看控制LED等开关的代码是什么,全部代码如下:


STM32F2x7LED





STM32F2x7 Leds control


Home page Led control ADC status bar


This page allows you to control the four LEDs: LED1, LED2, LED3 and LED4 located in the STM322xG-EVAL board. To put on/off
a LED you have to check/uncheck its corresponding checkbox. Then you have to click on "Send" button to submit the new LEDs
configuration. Finally check in the STM322xG-EVAL board that you get the desired LEDs are putted on/off.


STM32 Webserver LEDs Control

LED1
LED2
LED3
LED4


_______________________________________________________________________________________________________________
All rights reserved © 2011 STMicroelectronics

其中关键代码是:

LED1
LED2
LED3
LED4
通过以太网监控STM32F207开发板的状态_第2张图片

参考链接

  • cgi网关程序--以LED类推camera
  • 网页控制IO分析
  • MDK421 JLINk配置时,没有stm32F2xx

一些疑问

  • 开发板中的网页运行在什么之上,开发板上都有哪些目录和文件(至少有个/www/leds.cgi),如何查看?
  • 关于下面一段话,standalone是什么概念?

Applications running in standalone (without an RTOS) or running with FreeRTOS operating system

你可能感兴趣的:(通过以太网监控STM32F207开发板的状态)