cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 Ethernet - DHCP

vbk22398
Senior

Hi,
 I am trying to implement basic DHCP Protocol using STM32F439ZIT6. But I am unable to get the IP being assigned by the DHCP Server. There are no errors in the code, but I am not getting the IP. Don't know why it is giving DHCP Timeout. I am attaching my code, please go through the code and let me know the solution. Am Struck here for a while!


Thank you

11 REPLIES 11
vbk22398
Senior

@STea Tried using cloning and I think it is because of the version mismatch, the error previously. No error and code compiled but I am getting the below in the ITM.

Screenshot 2025-02-05 114532.png


Kindly help me resolve this issue!

Thank You

Hello @vbk22398 ,

 you can disable ITM as you don't need it in your case and try the example out this can be done by commenting LWIP_DEBUG in lwipopts.h.
Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.