Hi surfride, thanks for the reply!
I connected the RST to pin 9, and tried this code (with the Adafruit library):
#include <SPI.h>
#include <Ethernet2.h>
byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
IPAddress ip(192, 168, 0, 22);
EthernetServer server(80);
void setup() {
Serial.begin(9600);
pinMode(9, OUTPUT);
digitalWrite(9, LOW);
delayMicroseconds(500);
digitalWrite(9, HIGH);
delayMicroseconds(1000);
Ethernet.begin(mac, ip);
server.begin();
Serial.print("Server is at ");
Serial.println(Ethernet.localIP());
}
void loop() {
}
With this I get the very same results, as without resetting:
Server is at 192.80.0.44
If I leave pin 9 on LOW, localIP() reports 0.0.0.0
If I don't set any IP, DHCP just freezes the board.
The strange thing is, that I can set the IP to 10.0.0.10 and with that I can even ping the board, but nothing else would function.
If I try to set an IP with the second byte above 127, I always get some completely different IP from Ethernet.localIP()
I'm about to give up on this one. ![]()