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.

RM46L852: Initializing multicast on Hercules

Part Number: RM46L852

I am an intern at a company and my task has been to prototype communication using multicast on the RM46L852 Hercules dev board. Some thing my program was unsure of was if multicast using lwip is supported on this board or not. So firstly, my question would be, is this supported with the hercules hardware?

If so, I have done the following to initialize multicast:

1. Enabled LWIP_IGMP in my opt.h file

2. Set the NETIF_FLAG_IGMP in netif.c after LWIP_IGMP has been checked 

3. Create and bind to a UDP socket

4. Call igmp_joingroup() using the ip address of the ethernet manager and 224.0.0.3 for the multicast group ip address.

This process is successful with an error code of ERR_OK (0) from igmp_joingroup().

Are these steps correct? Should there be any other steps to this process?

I have set up breakpoints on both the transmit and receive interrupts to see if the initialization was successful, but neither of them are being triggered by a transmit message. I am testing this using Docklight scripting connecting to 224.0.0.3:30000

What other areas could be of an issue with my multicast initialization? 

  • Hello james,

    I am not a networking expert, but found this post referring to multicast. Can you check to see if it might be able to help you?

    e2e.ti.com/.../274145

    Also note that the LWIP application is a third party open source code set that has been adapted to Hercules. You may find additional information on the LWiP home page and support community as well.
  • Hi Chuck,

    Thanks for your response. I was hoping someone could still help me further. I appreciate that you sent the link to me but it seems like the uncertainty is still unresolved since the forum died out after an email exchange was sent.

    For an update for me, I was able to verify that the desired messages were being sent to the ip address via ethernet using wireshark. Also when a direct ethernet message was sent to that port (unicast) the hercules would see it and respond. This was causing the EMACCore0RxIsr and EMACCore0TxIsr ISRs to get hit. Contrary though, when multicast was set up and a message was sent to the multicast ip address, neither ISRs were hit. The igmp_joingroup function was also tested using the IP_ADDR_ANY and the multicast group IP 224.0.0.3. This gave an ERR_OK response but the same issues mentioned above are present.

    This issue does not seem to have been resolved from any of the forums I have found and any further guidance would be greatly appreciated.

    James
  • Hello James,

    I have reached out to some of our network experts to see if they might be able to offer some assistance.

  • Thanks Chuck,

    I'll be waiting to hear from you.

    James