Part Number: TMS320F28384D
Other Parts Discussed in Thread: C2000WARE
Dear Team,
I am using the above controller.Please guide me a example for DHCP ethernet communication.Thanks in advance!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F28384D
Other Parts Discussed in Thread: C2000WARE
Dear Team,
I am using the above controller.Please guide me a example for DHCP ethernet communication.Thanks in advance!
Hi,
There are a couple of examples provided within C2000Ware. There are two examples that you can refer in C2000ware: a webserver and a UDP example
Best Regards
Siddharth
Hello Siddarth
Thanks for the reply!
I have using enet_lwip_udp example under third party example porgram.
i Can succesfully checked with static IP(I can ping from PC).But when i switched it to DHCP or AUTOIP it no detecting any IP.
I have made the below changes.
1) enet_lwip_udp

2) lwiplib.c file

3)lwipopts.h

After applying this change I'll get 255.255.255.255 as IP address(I am using this function to get the IP Address lwIPLocalIPAddrGet())
Please guide me on this!
Hi,
I think there are few more changes needed for DHCP.
Pls refer the following links
https://www.nongnu.org/lwip/2_0_x/group__lwip__opts__dhcp.html
Best Regards
Siddharth
Hi,
You may want to look into some opensource lwIP forums for how to enable DHCP.
https://lwip.fandom.com/wiki/DHCP - This link has the information on the dhcp functions to be called for the DHCP Client to start
Best Regards
Siddharth