Main Site Documentation

TROUBLE WITH ETHERNET SHIELD (FEZ connect Shield)


#1

Hi, Ive just bought FEZ panda and am attempting to run it with FEZ connect Shield and used firmware version - of V 4.1.7.0

in .Net Micro Framework Development Tool when i click in target/configuration/network it show an error[i have plug FEZ connect shield in the panda ii and i got the error massage " device has old or unsupported configuration"] and also my FEZ connect shield get heated

pls help me


#2

Fez shield uses Wiz5100 chip. You cannot set network properties via MFDeploy.

Wiz5100 chip also runs hotter than you might expect - search the net for many people asking about this; it’s usual that this occurs, but it could also be a sign that you have a wiring problem (doubtful).

Go over to the code website and find a project that uses Wiz5100 and try it out - I think you will find everything is operating as expected.


#3

i have try following code which is in the tutorial
[using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using GHIElectronics.NETMF.FEZ;
using GHIElectronics.NETMF.Net;
using GHIElectronics.NETMF.Net.Sockets;
using GHIElectronics.NETMF.Net.NetworkInformation;
using System.Text;
using Socket = GHIElectronics.NETMF.Net.Sockets.Socket;
public class Program
{
public static void Main()
{
const Int32 c_port = 80;
byte[] ip = { 192, 168, 0, 200 };
byte[] subnet = { 255, 255, 255, 0 };
byte[] gateway = { 192, 168, 0, 1 };
byte[] mac = { 43, 185, 44, 2, 206, 127 };
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, 0, 1 });
HttpListener listener = new HttpListener(“http”, c_port);
listener.Start();
while (true)
{
HttpListenerResponse response = null;
HttpListenerContext context = null;
try
{
context = listener.GetContext();
response = context.Response;
// We are ignoring the request, assuming GET
// HttpListenerRequest request = context.Request;
// Sends response:
response.StatusCode = (int)HttpStatusCode.OK;
byte[] HTML = Encoding.UTF8.GetBytes(
"" +

FEZ Panda

” +

Embedded Systems were never easier!

” +
"");
response.ContentType = “text/html”;
response.Close();
}
catch
{
if (context != null)
{
context.Close();
}
}
}
}
}
]
code is executed and deployed to the device.but “ping funtion not work”(ping 192, 168, 0, 200)

#4

There is a whole book full of examples, why not just follow it?


#5

You are pinging 192.168.0.200 - is the computer you are pinging from, on the same network ?

i.e. is you computer ip address 192.168.0.xxx ?


#6

i have done
thanks for all