DHCP Client for TCP/IP Offload Engine example
(C) COPYRIGHT 2015 WIZnet Co.,Ltd.
- file : WZTOE/DHCPClient/readme.md
- author : IOP Team
- version : V1.0.0
- date : 1-May-2015
- brief : Description of the TCP adn UDP Loopback example.
THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, WIZNET SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
Example Description
This example shows how to use DHCP Client in UDP mode.
In this example:
-
- Dynamic Host Configuration Protocol in UDP mode
-
- For more detail, please visit TCP Function description
Directory contents
- WZTOE/ioLibrary/Ethernet/socket.c (socket APIs)
- WZTOE/ioLibrary/Ethernet/wizchip_config.c (WZTOE Config.)
- WZTOE/ioLibrary/Internet/dhcp.c (DHCP Client)
- WZTOE/ioLibrary/Applications/loopback.c (TCP/UDP Loopback App.)
- WZTOE/ioLibrary/MDIO/W7500x_miim.c (mdio via gpio)
- WZTOE/DHCPClient/main.c (Main program)
- WZTOE/DHCPClient/W7500x_it.c (Interrupt Handlers)
- WZTOE/DHCPClient/W7500x_it.h (Interrupt Handlers Header file)
- WZTOE/DHCPClient/W7500x_conf.h (Library Configuration file)
- WZTOE/DHCPClient/MDK/W7500x_WZTOE_DHCPClient.uvproj (MDK Project file)
- WZTOE/DHCPClient/GCC/Makefile (GCC Make file)
Hardware and Software environment
-
This example has been tested with WIZnet WIZwiki W7500 platform.
-
To select the WIZnet WIZwiki platform used to run the example.
-
WIZwiki W7500 Set-up
- Use PB_14 and PB_15 for MDIO
- In order to use IC+101 PHY to be set Pull-up and Strength at TXD[3:0] and TXE
-
Hardware Connection
- PB_14 --- MDIO (@IC+101)
- PB_15 --- MDC (@IC+101)
How to use it ?
In order to make the program work, you must do the following :
- Open your preferred toolchain.
- Rebuild all files and load your image into target memory.
- Run the example.
- WIZwiki W7500 where the Flash memory density ranges 128Kbytes.
- If you have any questions, please use the forum site.
© COPYRIGHT 2015 WIZnet Co.,Ltd.