HanRun Ethernet shield HR911105A. works with uno not with Mega 2560

I have this shield connected to my uno and it works ok.
on the serial output I get
[Starting the Arduino Server]
MAC: 74:69:69:2D:30:31
Setting up DHCP (this can take a while…)
Surf to this IP to view the Arduino Server:

Now when I connect it to the mega I only get


It seems to lock at some stage. If I increase the serial port speed I get a bit more shown ie
[Starting the Arduino Server]

But thats it.
I have the shiled connected on the uno to 10,11,12,13 and on the mega to 50,51,52,53

A sample of my code is
#include <EtherCard.h>

// ethernet interface mac address, must be unique on the LAN
static byte mymac = { 0x74,0x69,0x69,0x2D,0x30,0x31 };

byte Ethernet::buffer[500];
BufferFiller bfill;

void setup () {
Serial.println("\n[Starting the Arduino Server]");

Serial.print("MAC: ");

Any ideas why It works on the uno and not on the mega
I am using version 1.6.3 of IDE

and downloaded new version of ethercard.h from a link I found http://forum.velleman.eu/viewtopic.php?f=43&t=14130

Any help would be greatly accepted.


Post a link to the ethernet shield. Han Run is the brand of ethernet socket, and it is used on a few different shields.

and also

Move only the data lines. Leave the CS at D10.

I have been working with Mega 2560 with the HanRun HR911105A shield for a couple of months now. Just got one project code to finished last night which relies on the ethernet shield for real time I/O. I have not experienced any issues with either of the two cards ( I have a couple of identical Mega/HR911105A combos running the same software ( IP and MAC address different in each sketch of course!

I did at the start experience some intermittent problems at the beginning when I powered the Mega and Shield from the USB of my laptop. After that I always powered the Mega / Shield from an external 9V DC power supply.

On a power note, my Mega 2560 with HR911105A Shield ( I have two identical units prepared for my customer ) both overheated after 5-10 minutes and fail / reboot when running of an external 12V DC power supply. I measured the total input current into the 2560 with HR911105A shield and saw a reading of 250mA, thus in total approx 3W is being consumed by this board, some percentage of that by the regulator. I have placed an 8 Ohm resistor between the supply and the DC input to the Mega 2560 and that seems to have sorted it all out.

As I stated above, the HR911105A is the model number of the RJ45 socket on the shield. Several shield types have those.
Click here to view