I posted this on an archive but that was probably not the best place to be seen.
I have a Hydra with an ENC28. I have multiple systems that were based on NETMF 4.2 QFE2 and Gadgeteer Package 2013 R1 that have been working for several years. I could setup a board by updating the firmware and set the IP address using FEZ Config. I could then ping the Hydra to verify communication without any problems. Then I could download the software and verify it worked as well.
Once updating to NETMF 4.3 QFE2 and NETMF Gadgeteer Package 2014 R4 I can no longer setup the device and ping it. Nor does the software communicate any more. I am using Visual Studio 2013. The software sets up the Hydra as a UDP Server.
Socket serverSocket;
internal void CommunicationEngineUDP()
{
// setup Hydra as a UDP Server
serverSocket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
serverEndPoint = new IPEndPoint(IPAddress.Any, port);
serverSocket.SetSocketOption(SocketOptionLevel.Udp, SocketOptionName.Broadcast, true);
serverSocket.Bind(serverEndPoint);
// send a message out every 2 seconds
timerUpdateData = new Timer(new TimerCallback(timerUpdateDataUDP_Tick),
null, // state
0, // due time
2000); // period
new Thread(ProcessMessagesManager).Start();
}
In the past I have not needed to include the ENC28 in the Program.gadgeteer display and haven’t used the reference to it. I tried to add it and then use:
ethernetENC28.UseThisNetworkInterface();
ethernetENC28.UseStaticIP(“192.168.10.52”, “255.255.255.0”, “0.0.0.0”);
to set the IP address when ProgramStarted starts. That didn’t change anything. Any ideas?