I can’t seem to get my Ethernet shield to work. I’ve tried several libraries (from website and forum) and keep getting the same results. The ka04_sample_code.zip version from the website gives compilation errors with prog_char, but I managed to resolve those using the version I found on the forum: viewtopic.php?p=77099#p77099
Using Arduino IDE 1.6.10 and the EtherCard library from above mentioned post, I can compile and upload the example sketch to my Arduino Uno without warnings or errors.
Checking the Serial Monitor gives the following output:
[Starting the Arduino Server]
The code hangs at the statement (since it never prints “Failed to access Ethernet controller” or “Setting up DHCP (this can take a while…)”):
I have tried to use an older Arduino IDE (1.6.7, since that’s the version used with the post mentioned above), but I have the same result.
Also, I found some posts about people with the same issues, but they were testing it on an Arduino Mega. For them it seemed to work on Arduino Uno. I am working with the UNO, so I assume nothing needs to be changed to the library itself.