This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129ENCPDT: LWIP_IGMP device capabilities

Part Number: TM4C129ENCPDT

Dear All

I need ti use IGMP, but it is not initialised in Tivaif_hwinit() function as below like Stellaris does:

/* Device capabilities */
psNetif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_LINK_UP;

I wonder whether this is a mistake?

Ping

  • Hello Ping,

    I am not sure I am following, is the snippet you provide from Tiva or Stellaris? And what is the snippet from the other one? I can't easily compare the two when only one is provided...
  • Hi, Ralph

    This is the corresponding one from Stellaris:

    /* device capabilities */
    /* don't set NETIF_FLAG_ETHARP if this device is not an ethernet one */
    netif->flags = NETIF_FLAG_IGMP | NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_LINK_UP;

    I had to change the Tiva library file tiva-tm4c129.c to be same as above and now the IGMP is working.

    Regards!

    Ping
  • Hello Ping,

    So with the change everything works?

    It looks like the files that were changed are part of the lwip third party release. Is the Stellaris version an older lwip package? If so, then the change likely came from the lwip developers and is not something we can comment on why it was made.
  • Hi, Ralph

    Yes, it turns out that was the issue after trace down.

    You are right, it is third party software, but included in Tiva Ware, I just hope there is a way to let the developers know.

    Thanks!

    Ping