This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Ethernet Problem

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

Parents
  • 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

Reply
  • 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

Children