Manually wire ethernet shield to Mega

I am trying to manually wire (not stack/directly connect) an ethernet shield to a Mega 2560. For me this is an intermediate step to being able to use a Mega with a SainSmart Mega Sensor shield along with an ethernet shield (all 3 together) :grin:

I have confirmed stacking the ethernet shield directly on the Mega works which should rule out my code, network and both boards :slight_smile:

Directly connecting all of the ICSP pins (all 6) between the two result in power, link and activity lights on the ethernet shield but I get "failed to configure ethernet using DHCP"

Connecting the pins as outlined here results in the same thing (not working/failed to configure ethernet but plenty of blinky activity lights) Joe's Hacks: ADK / Ethernet Shield Problem Solved!

(MISO) 50 <-- 1 o o 2 --> +5V
(SOCK) 52 <-- 3 o o 4 --> 51 (MOSI)
RESET <-- 5 o o 6 --> GND

Any ideas? I am trying to avoid the time consuming brute force method of manually connecting everything and then unplugging things one at a time and retesting...

Thanks!

I have it working using the following:

All ISCP pins (6) connected from mega to ethernet shield
10-13 connected from mega to ethernet shield

I really thought all of those would not be necessary but from what I can tell they are :smiley:

This works fine with the Mega sensor shield as well (by using the S pin for 10-13)

Cheers

FWIW I found this setup to not work when connected to an external power supply :blush:

It works fine with the USB connected but when powered from a known good external power supply the ethernet shield is getting about 3 volts.

I even purchased a new Arduino brand ethernet shield...no change. I am not sure if my Mega is FUBAR or??