Hi, everyone.
I found a issue in MQX4.1. When I use the DHCP function to get IP and DNS that's no problem. When I plug out the ethernet cable, My APPI unbind the ipcofig and use the deafult IP address.But the "ipcfg_unbind(BSP_DEFAULT_ENET_DEVICE);" blocked untill the WDG reboot. I debuged it and found in the "uint32_t DNS_remove_slist_entry" function free the illegal memory. The following information is the
DNS_SLIST_STRUCT | *temp_ptr |
data.
Hi Jack,
this is a know issue reported with internal number MQX-5661. It is now solved in MQX4.2.0.2, work around is next:
In file rtcs/source/if/ipcfg.c in function ipcfg_bind_dhcp_func, line 931
parms.ihandle = ipcfg_data[device].ihandle;
parms.address = ipcfg_data[device].dns;
ip_if_add_dns_addr(&parms);
Regards,
Carlos
No anybody reply it! The service is too bad.