cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMx ETH + FreeROTS

wangzhaofeng
Associate II
Posted on April 13, 2014 at 08:57

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 );

0 REPLIES 0