<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Will UDP work  for FEC Controller on IMX27 in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167755#M1025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also the interface is up &amp;amp; fine, we can ping &amp;amp; also mount nfs etc....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2009 21:15:24 GMT</pubDate>
    <dc:creator>VSPA</dc:creator>
    <dc:date>2009-03-30T21:15:24Z</dc:date>
    <item>
      <title>Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167748#M1018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to test the UDP on the IMX 27 ADS baord with FEC controller. It handgs. But if we use the External Network Controller form Ciruss Logic, it works fine? SO anything we need to configure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We ahve set the MAC address form the Kernel COmmand line option while booting form Redboot &amp;amp; it reflects when we do ifconfig.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly let us know, if anybody has faced similar problem &amp;amp; if anybody got solution for it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;VSP&lt;/P&gt;&lt;P&gt;PS: TCP is fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2009 14:35:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167748#M1018</guid>
      <dc:creator>VSPA</dc:creator>
      <dc:date>2009-03-29T14:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167749#M1019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How are you testing UDP!?&lt;/P&gt;&lt;P&gt;Did you get a&amp;nbsp; functional system with FEC controller enabled!? Please, let me know what BSP you are using, and if you are running from flash or nfs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I configured my FEC controller with the steps above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;** Configure eth0 to get network parameter using DHCP (if you have a DHCP server running in your network):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Target System&lt;BR /&gt;Configuration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Options&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start Networking&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Network Setup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enable Interface 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get network&lt;BR /&gt;parameters using DHCP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;**Enable FEC in kernel&lt;/P&gt;&lt;P&gt;&amp;nbsp;under ./ltib -c choose: Configure Kernel, and then:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Device Drivers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Network Device Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ethernet (10 or 100Mbit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FEC Ethernet Controller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**In redboot ONLY modify this parameter:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Default network&lt;BR /&gt;device:&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;mxc_fec&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My redboot:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;
RedBoot&amp;gt; fc -l                                                                                                                                                                                      
Run script at boot: true                                                                                                                                                                            
Boot script:                                                                                                                                                                                        
.. load -r -b 0x100000 /tftpboot/imx27_3                                                                                                                                                            
.. exec -b 0x100000 -l 0x200000 -c "noinitrd console=ttymxc0,115200 root=/dev/nfs nfsroot=10.29.244.6:/tftpboot/ltib27_3 init=/linuxrc ip=dhcp"                                 
                                                                                                                                                                                                    
Boot script timeout (1000ms resolution): 1                                                                                                                                                          
Use BOOTP for network configuration: true                                                                                                                                                           
Default server IP address: 10.29.244.6                                                                                                                                                              
Board specifics: 0                                                                                                                                                                                  
Console baud rate: 115200                                                                                                                                                                           
Set eth0 network hardware address [MAC]: false                                                                                                                                                      
Set FEC network hardware address [MAC]: false                                                                                                                                                       
GDB connection port: 9000                                                                                                                                                                           
Force console for special debug messages: false                                                                                                                                                     
Network debug at boot time: false                                                                                                                                                                   
Default network device: mxc_fec

 

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I test UDP and TCP throughput using IPERF, you can choose this package under ./ltib -c in package list&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Daiane Angolini on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-03-30&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;01:31 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Daiane Angolini on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-03-30&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;01:33 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:15:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167749#M1019</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2020-10-29T09:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167750#M1020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes , we enabled the FEC controller in the Kernel Config. We are using ltib-imx27ads-20071219.&lt;/P&gt;&lt;P&gt;We could get TCP working fine, but not the UDP with Multicast.&lt;/P&gt;&lt;P&gt;We&amp;nbsp;have set the FEC mac while running the Kernel from the Redboot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 19:47:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167750#M1020</guid>
      <dc:creator>VSPA</dc:creator>
      <dc:date>2009-03-30T19:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167751#M1021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please, show me your error.&lt;/P&gt;&lt;P&gt;How can I reproduce this here, im my machine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 19:51:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167751#M1021</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2009-03-30T19:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167752#M1022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying UDP multicast with follwoing sender &amp;amp; receiver codes. We are unable to receive when we send from any PC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also find binaries atatched, We are trying the Sender on X86 PC &amp;amp; receiver on IMX27 ADS board&lt;/P&gt;&lt;P&gt;We don't get any error as such, it just don't receive the packets&lt;/P&gt;&lt;PRE&gt;
******************************Receiver************************************#include &amp;lt;sys/types.h&amp;gt;#include &amp;lt;sys/socket.h&amp;gt;#include &amp;lt;netinet/in.h&amp;gt;#include &amp;lt;arpa/inet.h&amp;gt;#include &amp;lt;stdio.h&amp;gt; #include &amp;lt;stdlib.h&amp;gt; #include &amp;lt;string.h&amp;gt; #include &amp;lt;unistd.h&amp;gt; #define MAX_LEN  1024int main(int argc, char *argv[]){ int sock; int flag_on = 1; struct sockaddr_in multicast_addr; char message_received[MAX_LEN+1]; int msgrecv_len; struct ip_mreq mc_req; char* multicast_ip; unsigned short multicast_port; struct sockaddr_in from_addr; unsigned int from_len;         if (argc != 3) {  fprintf(stderr, "Usage: %s Multicast_IP Multicast_Port\n", argv[0]);  exit(1); } multicast_ip = argv[1];      /* arg 1: multicast ip address */ multicast_port = atoi(argv[2]);    /* arg 2: multicast port number */ if ((sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) &amp;lt; 0) {  perror("socket() failed");  exit(1); } /* set reuse port to on to allow multiple binds per host */ if ((setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &amp;amp;flag_on, sizeof(flag_on))) &amp;lt; 0) {  perror("setsockopt() failed");  exit(1); } /* construct a multicast address structure */ memset(&amp;amp;multicast_addr, 0, sizeof(multicast_addr)); multicast_addr.sin_family      = AF_INET; multicast_addr.sin_addr.s_addr = htonl(INADDR_ANY); multicast_addr.sin_port        = htons(multicast_port); /* bind to multicast address to socket */ if ((bind(sock, (struct sockaddr *) &amp;amp;multicast_addr, sizeof(multicast_addr))) &amp;lt; 0) {  perror("bind() failed");  exit(1); } /* construct an IGMP join request structure */ mc_req.imr_multiaddr.s_addr = inet_addr(multicast_ip); mc_req.imr_interface.s_addr = htonl(INADDR_ANY); /* send an ADD MEMBERSHIP message via setsockopt */ if ((setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, (void*) &amp;amp;mc_req, sizeof(mc_req))) &amp;lt; 0) {  perror("setsockopt() failed");  exit(1); } while(1) {  memset(message_received, 0, sizeof(message_received));  from_len = sizeof(from_addr);  memset(&amp;amp;from_addr, 0, from_len);  /* block waiting to receive a packet */  if ((msgrecv_len = recvfrom(sock, message_received, MAX_LEN, 0, (struct sockaddr*)&amp;amp;from_addr, &amp;amp;from_len)) &amp;lt; 0)  {   perror("recvfrom() failed");   break;  }  printf("Received %d bytes from %s: ", msgrecv_len,  inet_ntoa(from_addr.sin_addr));  printf("%s", message_received); } /* send a DROP MEMBERSHIP message via setsockopt */ if ((setsockopt(sock, IPPROTO_IP, IP_DROP_MEMBERSHIP, (void*) &amp;amp;mc_req, sizeof(mc_req))) &amp;lt; 0) {  perror("setsockopt() failed");  exit(1); } close(sock);}***************************Receiver END*************************************************************Sender***********************#include &amp;lt;sys/types.h&amp;gt;#include &amp;lt;sys/socket.h&amp;gt;#include &amp;lt;netinet/in.h&amp;gt;#include &amp;lt;arpa/inet.h&amp;gt;#include &amp;lt;stdio.h&amp;gt; #include &amp;lt;stdlib.h&amp;gt; #include &amp;lt;string.h&amp;gt; #include &amp;lt;unistd.h&amp;gt; #define MAX_LEN  1024 int main(int argc, char *argv[]){ int sock; char message_to_send[MAX_LEN]; unsigned int send_len; char* multicast_ip; unsigned short multicast_port; unsigned char multicast_ttl=1; struct sockaddr_in multicast_addr; if (argc != 3) {  fprintf(stderr, "Usage: %s Multicast_IP Multicast_Port\n", argv[0]);  exit(1); } multicast_ip = argv[1];       /* arg 1: multicast IP address */ multicast_port     = atoi(argv[2]); /* arg 2: multicast port number */ /* create a socket */ if ((sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) &amp;lt; 0) {  perror("Socket creation failed");  exit(1); } /* set the TTL (time to live/hop count) for(i=0;i&amp;lt;5;i++){} the send */ if ((setsockopt(sock, IPPROTO_IP, IP_MULTICAST_TTL, (void*) &amp;amp;multicast_ttl, sizeof(multicast_ttl))) &amp;lt; 0) {  perror("setsockopt() failed");  exit(1); }  memset(&amp;amp;multicast_addr, 0, sizeof(multicast_addr)); multicast_addr.sin_family      = AF_INET; multicast_addr.sin_addr.s_addr = inet_addr(multicast_ip); multicast_addr.sin_port        = htons(multicast_port); printf("Type the message below (Press Enter to send, ctrl-C to quit):\n"); memset(message_to_send, 0, sizeof(message_to_send)); while(fgets(message_to_send, MAX_LEN, stdin)) {  send_len = strlen(message_to_send);  if ((sendto(sock, message_to_send, send_len, 0,  (struct sockaddr *) &amp;amp;multicast_addr,  sizeof(multicast_addr))) != send_len)  {   perror("Error include&amp;lt;&amp;gt; number of bytes");   exit(1);  }  memset(message_to_send, 0, sizeof(message_to_send)); } close(sock);   exit(0);}*************************************Receiver END&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that this code works fine when we enable the external controller on the IMX27 ADS board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:15:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167752#M1022</guid>
      <dc:creator>VSPA</dc:creator>
      <dc:date>2020-10-29T09:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167753#M1023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You binary did not worked imediately in my sistem. I have this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;
mx27#  ./recievermultiarm 10.29.244.6 5555                                                                                                                                                           setsockopt() failed: Invalid argument                                                                                                                                                                mx27# askjdhasd                                                                                                                                                                                      mx27#  ./recievermultiarm 10.29.244.6 5555                                                                                                                                                           setsockopt() failed: Invalid argument                                                                                                                                                                mx27#  ./recievermultiarm 10.29.244.6 555                                                                                                                                                            setsockopt() failed: Invalid argument                                                                                                                                                                mx27#  ./recievermultiarm 10.29.244.6 1234                                                                                                                                                           setsockopt() failed: Invalid argument                                                                                                                                                                mx27#  ./recievermultiarm                                                                                                                                                                            Usage: ./recievermultiarm Multicast_IP Multicast_Port &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To insure that your interface is running, test the conectivity with iperf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;TCP TEST:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in PC:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;iperf -s&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in board&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;iperf -c &amp;lt;HOST_IP&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UDP TEST:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in PC:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;iperf -su&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in board&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;iperf -c &amp;lt;HOST_IP&amp;gt; -u&lt;/STRONG&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Be sure that the bug is not in your code.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:15:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167753#M1023</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2020-10-29T09:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167754#M1024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think You need to first do the follwoing in the Sender &amp;amp; receiver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;amp; We are trying like this ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;while running sender&amp;nbsp; on PC give&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./sender 239.255.255.254 6666&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;amp; in the Baord for receiving&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./receivemultiarm 239.255.255.254 6666&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no bug in teh code, we have tested this with External controller &amp;amp; it works fine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 21:08:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167754#M1024</guid>
      <dc:creator>VSPA</dc:creator>
      <dc:date>2009-03-30T21:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167755#M1025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also the interface is up &amp;amp; fine, we can ping &amp;amp; also mount nfs etc....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 21:15:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167755#M1025</guid>
      <dc:creator>VSPA</dc:creator>
      <dc:date>2009-03-30T21:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167756#M1026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sory, but I canot make these broadcast tests because of my network.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, it seems to me some kind of mistake, you're sure to be using the right eth!?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 18:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167756#M1026</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2009-03-31T18:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167757#M1027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We faced a similar issue while working with i.MX27 and a distro provided by Freescale. We could ping and do normal TCP/UDP operation, but UDP multicast wouldn't work. &lt;STRONG&gt;We found out that it would work only in promiscuous mode (ifconfig eth0 promisc)&lt;/STRONG&gt;. So I'd recommend you enable the setting and test again. Looking Linux documentation on multicasts and kernel/driver code, we found out that the FEC driver was bugged: it set a wrong register when enabling multicasts. I won't post the code as I don't know the specifics of your code, but it should lead you into the right direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know what happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Leonardo.&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Leonardo de Moura Rocha Lima on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-07-21&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;10:10 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 04:07:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167757#M1027</guid>
      <dc:creator>LeonardodeMoura</dc:creator>
      <dc:date>2009-07-22T04:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167758#M1028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution with the&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;promiscuous mode&lt;/STRONG&gt; may be not suitable&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;for many cases.&lt;/P&gt;&lt;P&gt;One of customers was able to resolve the issue as following :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"In the /drivers/net/fec.c file make the following changes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Everywhere it uses the variable fec_hash_table_high change it to fec_grp_hash_table_high&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Everywhere it uses the variable fec_hash_table_low change it to fec_grp_hash_table_low&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These variables are really references to hardware registers in the MX27 FEC Controller.&amp;nbsp; The multicast registers have the _grp_ addition to them.&amp;nbsp;&amp;nbsp; The code was modifying the individual UDP address registers which is not what you want for multicast. &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 12:40:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167758#M1028</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2011-03-14T12:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167759#M1029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;We faced a similar issue while working with QorIQ P2040[cpu: e500mc] and a distro provided by Freescale. We could ping and do normal TCP/UDP operation, but UDP multicast &lt;STRONG&gt;receive&lt;/STRONG&gt; wouldn't work. &lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;We found out that it would work only in promiscuous mode (ifconfig eth0 promisc). &lt;/STRONG&gt;But I am not using FEC driver or GIANFAR drive&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;r . &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/YuriMuhin_ng"&gt;YuriMuhin_ng&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Gokul CG &lt;BR /&gt;kalkitech &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 08:04:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167759#M1029</guid>
      <dc:creator>gokulcg</dc:creator>
      <dc:date>2014-11-06T08:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167760#M1030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gokul, good day !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I think it would be better to create a SR for my colleagues, working &lt;/P&gt;&lt;P&gt;with QorIQ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 08:15:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167760#M1030</guid>
      <dc:creator>YuriMuhin_ng</dc:creator>
      <dc:date>2014-11-06T08:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Will UDP work  for FEC Controller on IMX27</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167761#M1031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In reply to SR , &lt;/P&gt;&lt;P&gt;There are no known issues with multicast reception in QurIQ SDK 1.5,&lt;/P&gt;&lt;P&gt;and it should not be necessary to set the interface into promiscuous&lt;/P&gt;&lt;P&gt;mode to receive multicasts. Generic suggestions for Linux multicast&lt;/P&gt;&lt;P&gt;setup and diagnostics can be found here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="moz-txt-link-freetext" href="http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html#MULTICAST"&gt;http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html#MULTICAST&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the driver, FEC driver is not valid for your chip. P2040&lt;/P&gt;&lt;P&gt;is equipped with DPAA, Linux kernel support code for it can be found&lt;/P&gt;&lt;P&gt;under drivers/net/ethernet/freescale/dpa/. The function that specifically&lt;/P&gt;&lt;P&gt;handles multicast address setup is dpa_set_rx_mode() .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 12:12:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Will-UDP-work-for-FEC-Controller-on-IMX27/m-p/167761#M1031</guid>
      <dc:creator>gokulcg</dc:creator>
      <dc:date>2014-11-10T12:12:00Z</dc:date>
    </item>
  </channel>
</rss>

