W5100 Ethernet Module Unidentified Network Issue

Hello,

I have been working with the W5100 for a while, but there are some issues I can’t resolve.

When I connect the Ethernet cable to the computer, I encounter the following error:
“Unidentified network”

image

Sometimes it connects by itself, and I try to monitor the data through Hercules, but it stays in this state.

Meanwhile, the status of Wiznet is 0x14. Sometimes it changes to 0x17 and then to 0x18 on its own.
It doesn’t work stably at all.

I look forward to your assistance.

I have sent the code group for your review.

ProjectCode.zip (13.2 KB)

You did not mention how PC is connected to W5100. If it is direct connect, then this is not an error - it just tells you windows can’t identify the network. It does NOT mean it can’t connect to the network.

You try to connect to the W5100, not sure if it can be qualified as “monitor data”. You can monitor network data using Wireshark, but by connecting to the network node you can only get data that node is ready to give you. In this case something is broken. Use Wireshark to see what is going on.

This means someone has connected to the chip’s socket and finished the connection. See the datasheet for code explanations.

Again, you will find workflow guidance in the datasheet chapter 5.

I am using an NUC029SGE microcontroller to drive the W5100 via SPI and receive data. I can also open a socket and send data in string format. Previously, I was able to see the incoming data through Hercules, so I proceeded with it. However, I currently can’t figure out why I can’t see the data now.

As per your advice, I will try using Wireshark and review chapter 5.

Wireshark will show you what is going on in the network. If that communication (or at least start of communication) is correct, then it’s time to dig into your code - datasheet is your first help.