Hello everyone, I’m very much new to VHDL programming and as a part of my final year project I am required to use the W5500 LAN module to transmit data. To test my code I used socket zero and loaded data xFF and ran the program, but on the Wireshark, the UDP data received shows no data just the headers. I don’t understand why the data is not sent with the UDP/IP packet.
The program I developed worked as follows,
Loaded data into tx buffer
selected mode of the socket
opened the socket
send the data
is the order wrong? Should I load the data only after opening the socket?
I loaded the data into the tx buffer of socket zero after I opened the socket but the UDP packet received still has no data only headers, what may be the reason for this? I loaded data xFF into the register.
I tried doing the process in the same order as mentioned in the pdf still the data is not being transferred only the headers I also tried changing the socket from 0 to 1, what could be the potential reasons for this
?
I’m also sorry to hear that you wrote the code normally but it doesn’t work.
I think you need to check the your source code.
I think you would like to see the code in the link below and compare it with your code.
Is just wanted to clarify a doubt I tried sending the data through the ethernet cable to another computer without changing my code. I received the UDP packet same as before with no data but how can the data still come to the computer when the hardware and IP address of the new computer is different ?
Hi George, I am facing the same issue except in TCP mode. I was wondering if you have found any solution to your problem? Id very much like to know. Thanks in advance
Thanks for the prompt reply, but where did you add the block for clock? In your VHDL code or while initializing the registers? Could you maybe give some more details?