ATMEGA2560 + Ethernet Shield + SD Read/Write Can't access both at same time

Hi,

As per the requirements of my project; I need to read/write data to/from Ethernet. Since both uses same SPI (i guess) thus as a result I see that sometime card does not respond or sometime ethernet loses connection.

both (ethernet connectivity and SD read/write) works find individually but do not work collectively.

My requirements of projects does not allow me to use any one of the shields at one time. i need to write/read to/from ethernet.

Can anyone please guide me.

Thanks

Ali

I don't have a problem. Here is a sketch that uses the w5100 and the SD together. http://playground.arduino.cc/Code/FTP It uses two sockets on the w5100 and the SD.

Maybe you should post the code you are trying.