I have an old Ethernet shield (Wiznet 5100, full size SD card) and a Mega 1280. It is connected as follows,
MEGA pin 50 (MISO) to Arduino Ethernet Shield pin 12. MEGA pin 51 (MOSI) to Arduino Ethernet Shield pin 11. MEGA pin 52 (SCK) to Arduino Ethernet Shield pin 13.
MEGA pin 53, set as OUTPUT and HIGH.
This used to work with an old version (years ago) of the Arduino libs but now with the latest it doesn't. I did used to have to change these defines,
define SPI0_SS_BIT BIT2
define SPI0_SCLK_BIT BIT5
define SPI0_MOSI_BIT BIT3
define SPI0_MISO_BIT BIT4
define IINCHIP_CS_BIT BIT2
but now they don't seem to exist. Are they set automatically from setting the board type?
When I try and query the IP address from the shield I get 0.0.0.0, even though I've set it manually. I've not looked too much into the code but I assume setting the IP writes it over SPI and reading it retrieves it over SPI?
Anything obvious I'm missing / can try ?