Hey Guys.
I just received my SeedStudio shield, and i searched the internet thin for a guide on using it with Fez Panda…
This one: http://www.seeedstudio.com/depot/ethernet-shield-p-518.html
Found some guy here on the forum with a question about it, but it got answered with a link to another topic, whichdoesnt excist anymore…
Something about setting some sort of jumpers?
I tried this example code:
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, (Cpu.Pin)FEZ_Pin.Digital.Di10,
(Cpu.Pin)FEZ_Pin.Digital.Di7, 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);
}
And connected it with a cable directly to my PC, set my own IP static in same area and subnet (192.168.1.150).
Then ping .222 and i get following:
C:\Users\christian.bekker>ping 192.168.1.222
Pinging 192.168.1.222 with 32 bytes of data:
Reply from 192.168.1.150: Destination host unreachable.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.222:
Packets: Sent = 4, Received = 1, Lost = 3 (75% loss),
Seems a bit strange? sice it says “Reply from 192.168.1.150: Destination host unreachable”, which is my ip…
Anyone who’s got some experience with this shield?