|
From: | Jens Nielsen |
Subject: | Re: [lwip-users] DHCP Server assign IP-Address but get an ERROR |
Date: | Mon, 5 Mar 2018 15:05:38 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Hilwiplib.c is not an lwip file, and lwip doesn't contain any code that produces the string "ERROR INITIALIZING HARDWARE". You should perhaps ask whoever wrote that code instead or provide some traces and more information about what that code does if you want some help with troubleshooting it
I'm pretty sure it's not the best code though if it's accessing lwip struct members like that from application context...
BR /Jens On 2018-03-05 11:31, Marcel wrote:
Hi, I'm using 2.0.0 on my TI Hercules uC and a DHCP-Server SW on my PC. When I run the code with LwIP 2.0.0 I can see my DHCP assign a few times the IP-address but then get message "ERROR INITIALIZING HARDWARE" on serial interface. When I'm in debug mode I can see the Code never step never in the this IF statement in the lwiplib.c file if(DHCP_STATE_BOUND == dhcp->state) { ipAddrPtr = (unsigned int*)&(pnetif->ip_addr); return (*ipAddrPtr); } Why, what can it be? -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html _______________________________________________ lwip-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |