Hi, everyone,
I bought the W5100 ethernet board (HanRun 11/16) and (HanRun 10/49).
My arduino board is Mega2560 R3.
The 11/16 version always awakes up failed after first boot.
When I push RESET button on W5100 board, it will be working.
But 10/49 version is OK.
I search many software & hardware solutions to avoid potential problems.
http://forum.arduino.cc/index.php/topic,75324.0.html
My code is below:
void setup()
{
//Allow some time after powerup and sketch start, for the Wiznet W5100 Reset IC to release and come out of reset.
delay(250);
pinMode(4, OUTPUT);
digitalWrite(4, HIGH);
pinMode(10, OUTPUT);
digitalWrite(10, LOW);
Ethernet.begin(MAC, IP);
}
void loop()
{
//do something....
}
It still hangs at first boot.......unless I push the RESET button....
Any idea or bug on this version W5100 board?
Thanks a lot.