Ethernet shield with Arduino Mega 2560 R3 doesn't work

Hi,

I have some troubles with the Ethernet VMA04 shield. I use it with a Arduino Mega 2560 R3. I tried several examples from EtherCards and they didn’t work. It is blocked at the ether.begin.

I use Arduino IDE 1.0.6 under Ubuntu 14.10.

Do you have an idea why ?

Thanks !

Is your Arduino IDE version 1.6.0 or 1.0.6?

It is 1.0.6

The Ethernet shield is full compatible with the Arduino Mega, isn’t it ?

I found the solution.

I downloaded the last version of the Ether library and I added the pin 10 as argument of ether.begin :

ether.begin(sizeof Ethernet::buffer, mymac, 10)

That works !

Happy to read you have found a solution.