[freertos - Open Discussion and Support] DHCP not running

2 views
Skip to first unread message

SourceForge.net

unread,
Nov 6, 2011, 12:57:44 PM11/6/11
to SourceForge.net

Read and respond to this message at:
https://sourceforge.net/projects/freertos/forums/forum/382005/topic/4796833
By: arikramon

If the Ethernet cable is not connected at the time the LwIP_DHCP_task is running,
no IP address can received after reconnect the cable.
Does anyone has any idea how to solve it?

_____________________________________________________________________________________
You are receiving this email because you elected to monitor this topic or entire forum.
To stop monitoring this topic visit:
https://sourceforge.net/projects/freertos/forums/forum/382005/topic/4796833/unmonitor
To stop monitoring this forum visit:
https://sourceforge.net/projects/freertos/forums/forum/382005/unmonitor

SourceForge.net

unread,
Nov 6, 2011, 2:16:29 PM11/6/11
to SourceForge.net
By: edwards3

I don't know of any FreeRTOS examples that use DHCP. I suggest trying the lwIP
mailing list. It is very active and somebody will be able to help. Please report
back here when you have an answer.

SourceForge.net

unread,
Nov 22, 2011, 3:02:18 PM11/22/11
to SourceForge.net

Change following in ETHIsr,c or equivalent,

//while (!(PHY_MR1_ANEGC & EthernetPHYRead(ETHBase[0],
PHY_MR1)))
// ;
if(PHY_MR1_ANEGC & EthernetPHYRead(ETHBase[0], PHY_MR1))
{

Reply all
Reply to author
Forward
0 new messages