AnsweredAssumed Answered

STM32CubeMx ETH + FreeROTS

Question asked by z.w.001 on Apr 13, 2014
yeah,i use motherboard refrence as 
http://www.wvshare.com/product/Open407V-D-Standard.htm
mainboard is stmf4-discovery;and my project file is open407-freerots.ioc
then 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 );
     

Attachments

Outcomes