sdfat + ethernet + spi issue (ethernet dropping connection)

This turned out to be an EMI problem caused by the relays switching. The ethernet does not drop out of the network anymore after I added an MOV across each outlet. This is just a hardware issue and what I initially thought was a software issue was purely coincidental on the code that was executing after a relay switch.

mods can close this thread.
thanks.