Hi
lwiplib.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
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users