I have the Ethernet shield and used the code from here as my test project:
(I have also tried test code from the forums here with the beta driver from tinyclr.)
For some reason the code does not work and I believe it may be something fundamental, like perhaps bad hardware, but wanted to run that by people here…
If I step into FEZ_Shields.Ethernet.Initialize, into W5100.Init, there is a register write/read:
RegisterWrite(Registers.TMSR, tx_size); /* Set Tx memory size for each channel */ byte b = RegisterRead(Registers.TMSR);
Here it looks like a readback of the TMSR register is occurring, but the byte read is not the byte written. I always get a 0 back, which I think indicates the SPI read is failing.
I guess the next step is scoping the CS/SPI pins. Unless anyone else has any other ideas?