 | Discussion Forum |  |
|
|
Ethernet ProblemNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Paul Marley Posted 6-Jul-2010 17:53 GMT Toolset ARM |  Ethernet Problem Paul Marley Hi, I'm trying to enable my development board to communicate with a PC via Ethernet. I am able to establish a connection and send data from the PC to the micro without any issues. When I try to send data from the micro to the PC, however, the PC doesn't respond to the data. WireShark, which is a network analyzer program, sees the packet, though. I have tried both TCP and UDP with the same results. Has anyone come across the same issue? I'm using NXP's LPC1758 Cortex-M3. Thanks, Paul | | Read-Only Author Andy Neil Posted 6-Jul-2010 18:21 GMT Toolset None |  RE: the PC doesn't respond Andy Neil What do you have running on the PC to do the response? Are you sure it's all configured correctly? I have found the following free simple test tools to be very useful: TCP: http://www.simplecomtools.com/productcart/pc/viewPrd.asp?idproduct=7&idcategory=5 UDP: http://www.simplecomtools.com/productcart/pc/viewPrd.asp?idproduct=6&idcategory=5 | | Read-Only Author Paul Marley Posted 7-Jul-2010 19:23 GMT Toolset ARM |  RE: Problem solved Paul Marley Hi Andy, I finally figured out what the problem was. When I implemented the TCP/IP stack on the micro I made a mistake in the routine that calculates the IP header checksum. With an invalid checksum Winsock just disregarded the message. Once the correct checksum was sent everything worked fine. Thanks for all your help. I appreciate it. Paul | | Read-Only Author Andy Neil Posted 7-Jul-2010 22:10 GMT Toolset None |  RE: a mistake in the routine that calculates the IP header checksum Andy Neil Didn't Wireshark notice that?! | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|