W5100 AVR Port Unreachable!

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I have a WIZNET812MJ Connected to Atmega 644P. My Wiznet can send many UDP packets without problem (also TCP as well). The problem arises when the Wiznet try to receive UDP packets.

I use wireshark to analyze, weird results:-

Reply from Wiznet
ICMP Desination unreachable (Port unreachable)

I try to use many different port numbers but same.

I checked to make sure the dest and receiving side port numbers are the same.

I even disable all interrupts but no difference.

Pls help, thanks.

cs

I'm happy ytd, today, and tmr :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You have no listening port for the particular protocol.

Stealing Proteus doesn't make you an engineer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ArnoldB wrote:
You have no listening port for the particular protocol.

Yes, you are right. After troubleshooting for 4 hours, finally I found that I overlook that part. The port was closed and opened periodically, thus sometimes no port to listen.

Problem solved. Thanks!

cs

I'm happy ytd, today, and tmr :)