Forum >DFRduino Ethernet shield on DFRduino MEGA (1280) wont initialise
DFRduino Ethernet shield on DFRduino MEGA (1280) wont initialise

Hi There, i have been using the Duino for all sorts of things and i found my old Ethernet Shield the other day.
i re-wired the pins 10-13 to the corresponding pins 50-53 on the MEGA pins but whenever i try a standard sketch with the IDE ( 022 or 023 ) i see the leds flash with the switch traffic but never an answer.
When trying the web client it says that it fails to initialise.
Is there any code that needs to change in the IDE ? if so, all code is mentioned in the older versions but never for the newer versions in which those files dont exist.
HELP?
Any help is appreciated.
2011-12-04 03:09:25 Right... problem solved!
and in hindsight it was simple .... no need to "replace my USB Cable" or anything like that..
When using newer versions of the Arduino IDE ( i am not sure when it started .. possibly after 19 .. but dont quote me) the mods they tell you to do to the code wont work, if from older code versions...
The software work is all done, providing you choose the correct board type in IDE and obey the following rules:
Rewire the pins, via pin to pin jumpers or prototype shield with mods on the proto board as listed below:
MOSI : Ethernet Shield pin 11 -> Mega Board pin 51
MISO : Ethernet Shield pin 12 -> Mega Board pin 50
SCK : Ethernet Shield pin 13 -> Mega Board pin 52
These pins above are all on the headers on the edge of the board and if you have a decent board should be numbered correctly so do check to avoid disappointment EVEN IF YOU REWIRE THE PIN 10 to PIN 53, IT WONT WORK. The libraries are quietly hard-coded to use pin 10 (same on both mega and smaller) , so don't rewire it.
Happy Etherneting .. hopefully this saves someone some time.
Here, as requested by a few individuals is a writeup i just found on the GoogleCode website: http://code.google.com/p/arduino/issues/detail?id=662
Best of luck and common disclaimers apply... "your results may vary"
Regards
John Ward
ldjohn
and in hindsight it was simple .... no need to "replace my USB Cable" or anything like that..
When using newer versions of the Arduino IDE ( i am not sure when it started .. possibly after 19 .. but dont quote me) the mods they tell you to do to the code wont work, if from older code versions...
The software work is all done, providing you choose the correct board type in IDE and obey the following rules:
Rewire the pins, via pin to pin jumpers or prototype shield with mods on the proto board as listed below:
MOSI : Ethernet Shield pin 11 -> Mega Board pin 51
MISO : Ethernet Shield pin 12 -> Mega Board pin 50
SCK : Ethernet Shield pin 13 -> Mega Board pin 52
These pins above are all on the headers on the edge of the board and if you have a decent board should be numbered correctly so do check to avoid disappointment EVEN IF YOU REWIRE THE PIN 10 to PIN 53, IT WONT WORK. The libraries are quietly hard-coded to use pin 10 (same on both mega and smaller) , so don't rewire it.
Happy Etherneting .. hopefully this saves someone some time.
Here, as requested by a few individuals is a writeup i just found on the GoogleCode website: http://code.google.com/p/arduino/issues/detail?id=662
Best of luck and common disclaimers apply... "your results may vary"
Regards
John Ward
