2014-04-12 11:57 PM
yeah,i use motherboard refrence as
http://www.wvshare.com/product/Open407V-D-Standard.htmmainboard is stmf4-discovery;and my project file is open407-freerots.iocthen i add some breakpoints use keil with ST-LINK debug and find it stops at the func as follows void netif_set_up(struct netif *netif){ if (!(netif->flags & NETIF_FLAG_UP)) { netif->flags |= NETIF_FLAG_UP; #if LWIP_SNMP snmp_get_sysuptime(&netif->ts);#endif /* LWIP_SNMP */ NETIF_STATUS_CALLBACK(netif); if (netif->flags & NETIF_FLAG_LINK_UP) {#if LWIP_ARP /* For Ethernet network interfaces, we would like to send a ''gratuitous ARP'' */ if (netif->flags & (NETIF_FLAG_ETHARP)) { etharp_gratuitous(netif); }#endif /* LWIP_ARP */#if LWIP_IGMP /* resend IGMP memberships */ if (netif->flags & NETIF_FLAG_IGMP) { igmp_report_groups( netif); }#endif /* LWIP_IGMP */ } }}and then i click stop it jumps to configASSERT( ( portAIRCR_REG & portPRIORITY_GROUP_MASK ) <= ulMaxPRIGROUPValue );