Hi
I just bought a WIZnet Ethernet Shield 1.1(http://www.seeedstudio.com/wiki/Ethernet_Shield_V1.0), and i was planning to use it on my FEZ Panda II...
Now it all seems to work, except i get no connection through the SPI...
RX & TX flashing on full speed when i ping the device... but MISO; MOSI and SCK is just off...
I have a simple code i run, And if i then ping the device, i get unknow "Destination host unreachable"...
public class Program {
static OutputPort MyLED = new OutputPort((Cpu.Pin)FEZ_Pin.Digital.LED, true);
public static void Main() {
byte[] ip = { 192, 168, 1, 222 };
byte[] subnet = { 255, 255, 255, 0 };
byte[] gateway = { 192, 168, 1, 1 };
byte[] mac = { 0x00, 0x88, 0x98, 0x90, 0xD4, 0xE0 };
WIZnet_W5100.Enable(SPI.SPI_module.SPI1, // Use SPI1
(Cpu.Pin)FEZ_Pin.Digital.Di10, // /CS pin
(Cpu.Pin)FEZ_Pin.Digital.Di3, // /Reset pin
true);
NetworkInterface.EnableStaticIP(ip, subnet, gateway, mac);
NetworkInterface.EnableStaticDns(new byte[] { 192, 168, 1, 1 });
while (true) {
MyLED.Write(false);
Thread.Sleep(300);
MyLED.Write(true);
Thread.Sleep(300);
}
}
}