We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi guys, Finally the RL_TCPnet worked on LPC1788 using off chip mac controller when connect PC and board with cable directly. In detail, I setup a TCP server(IP:192.168.0.205 PORT:5000) on LPC1788 with RL_TCPnet, then connect to the server from PC client with IP 192.168.0.11. The communication is OK at this condition. Late, i put a switch(GS208 of Netgear) between the PC and the board. Sadly, The communication failed T_T..... So i open the debug info of RL_TCPnet. when the client start to connect the server, the RL_TCPnet print the follow msg:
071.1 ETH:*** Processing frame ***
071.1 ETH: Dest.MAC: FF:FF:FF:FF:FF:FF
071.1 ETH: Src. MAC: 60:EB:69:23:34:B2
071.1 ETH: Protocol: ARP
071.1 ETH: Length : 60 bytes
071.1 ARP:*** Processing frame ***
071.1 ARP: Op_Code: Arp_Rq
071.1 ARP: Src. IP: 192.168.0.11
071.1 ARP: Dest.IP: 192.168.0.205
071.1 ARP: Src.MAC: 60:EB:69:23:34:B2
071.1 ARP: Dst.MAC: 00:00:00:00:00:00
071.1 ARP:Cache, Entry 1 refreshed
071.1 ARP: IP : 192.168.0.11
071.1 ARP:Send_Reply
071.1 MEM:Alloc 56 bytes
071.1 MEM: IRQ_Alloc 1 blocks
071.1 MEM: Used 128 bytes (2 blocks)
071.1 ARP: Op_Code: Arp_Rep
071.1 ARP: Src. IP: 192.168.0.205
071.1 ARP: Dest.IP: 192.168.0.11
071.1 ARP: Src.MAC: 84:C2:E4:F0:14:D5
071.1 ARP: Dst.MAC: 60:EB:69:23:34:B2
071.1 MEM:Free 56 bytes
071.1 MEM: Used 72 bytes (1 blocks)
071.1 MEM:Free 72 bytes
071.1 MEM: Used 0 bytes (0 blocks) The board has received the ARP request"Who has 192.168.0.205? Tell 192.168.0.11" and reported the location. This info is the same when PC and board connect directly with cable. But the PC client doesn't receive the report ARP frame, where i use Wireshark to capture the frame on PC net port. My question is why the switch doesn't transmit the ARP frame from board side to PC side. How can i find who drop the frame?