XMC_HOT: XMC4500:How to create a CGI and SSI web server with lwIP stack?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Welcome to XMC Hands On Training on
How to create a CGI and SSI web server with lwIP stack?

Overview
This hands on training consist of 2 parts

Part 1
The 1st part of the training shall guide you on how to create a web server with lwIP stack using XMC4500. The web server application consist of the Common Gateway Interface (CGI) and Service Side Include (SSI) features which allow you to interface with the web server to toggle a LED and read a ADC value respectively. The XMC4500 shall also retrieve the web page from the SD card and serve it to the client PC.

Note: Some SD card are not so lucky to be readable by the SDMMC apps, hence causing the web server to hang. We are still looking into this issue and hope to remove this message once we have a solution on this.

Part 2
The 2nd part of the training shall guide you on how to install web pages onto the XMC flash instead of reading from the SD card.

596.attach

Lets see how you can make use of the CGI method to toggle a LED of the XMC4500 Hexagon board.

597.attach

You can also use the SSI method to get feedback information of the ADC value from the XMC4500 to the client PC.

598.attach

Please download the zip file which will guide you on this example.

The file "XMC_HOT ETH Webserver.zip" contains the following
- Working project for part 1 and 2 training

The file "Readme ppt.zip" contains the following
- 2 readme power point slide describing the implementation.

Some tools which can assist you in the development of web server are :-

1) Real time monitoring TCP/IP packets
http://www.wireshark.org/download.html

2) Simple web page design
http://www.virtualmechanics.com/products/spinnerpro/
0 Likes
0 Replies