Forum Discussion
DHCP superloop mode
Hello!
Well, I'm facing this issue. Internichestack in superlop mode works correctly, DHCP too. The problem is this: when turning on the module, without ethernet cable connected, the DHCP client fails(obviously). But when I plug teh cable, DHCP still not works. The only solution is to connect the cable before turning on the module. Any idea to improve this?3 Replies
- Altera_Forum
Honored Contributor
The behavior you are describing occurs both in superloop and RTOS mode. The stack simply only attempts DHCP discovery on initial startup. You'll have to dig into the code and use some ingenuity if you want to change this behavior.
Jake - Altera_Forum
Honored Contributor
The application selector application, shipped with the NEEK and 3c120 dev kits, has a task which monitors the autonegotiation successful bit in the PHY. Something similar could be done in superloop mode. The concept would be to hold off stack initialization until successful PHY autonegotiation.
- slacker - Altera_Forum
Honored Contributor
Well my NEEK can do that, and I can plug and unplug the cable and the IP is detected correctly. Well I didn't know that was done in another task, I will explore the Application Selector code a little more deeply.
Thansk to both, bye bye!