User Guide
GD32E507Z-EVAL
36/43
Open the DHCP function in main.h, using a router to connect the board with the pc, users can
see the automatic allocated ip address of the board from the HyperTerminal.
5.24.3. Raw_webserver
DEMO purpose
This demo includes the following functions of GD32 MCU:
Learn to use Lwip stack
Learn to use raw API to handle with a task
Learn how to realize a web server
Learn how to use a web server to control LEDs
Learn how to use a web server to monitor the board V
REFINT
voltage
Learn how to use DHCP to allocate ip address automatically
Learn to handle with received packet in polling mode and in interrupt mode
This demo is based on the GD32E507Z-EVAL-V1.0 board, it shows how to configure the enet
peripherals to send and receive frames in normal mode and use lwip tcp/ip stack to realize
webserver application.
JP10, JP14, JP15, JP16 must be fitted. JP13 jump to Usart0.
It is configured in RMII mode, and 25MHz oscillator is used, the system clock is configured to
180MHz.
This demo realizes webserver application:
Users can visit the eval board through Internet Explorer, the eval board acts as a webserver,