Anyone had a problem with their fez hydra where it will connect maybe 1 out of 40 times when using an SP module (usb to fez Hydra)? I have tried it on 5 computers with 8 different usb cables and all 10 of the connectors and it is almost always a fail.
During about 3 hours I was only able to connect and get Debug,print feedback twice. Do you guys think it is the SP module or board or both?
It is definitely getting power. Even when powered and connected mfdeploy could not find it…then it would then a second later gone again. I don’t have a powered USB hub…
you should try to power it through a DP module then, if you have one. Or if you have a 5v 1a power pack, splice a USB connector onto the end of it and use that with SP.
It is defintitely a hardware problem. I have tried it with 8 computers and 2 powered USB hubs. It worked 1 time. All the other times I get an error that says:
using System;
using Microsoft.SPOT;
using System.Threading;
using GHIElectronics.NETMF.Hardware;
namespace MFConsoleApplication1
{
public class Program
{
public static void Main()
{
var myInt = new int[100000];
var ain = new AnalogIn(AnalogIn.Pin.Ain0);
var startTime = DateTime.Now.Ticks;
for (var i = 0; i < myInt.Length; i++)
myInt[i] = ain.Read();
var elapsedTime = (DateTime.Now.Ticks - startTime) / (double)TimeSpan.TicksPerSecond;
Debug.Print(elapsedTime.ToString("F2") + " s");
Thread.Sleep(100000);
}
}
}
Kind of hit me that it is obviously a problem with the reference. The “it’s amazing” simple sketch runs fine on the hydra. I suppose I need to know what references I need. The latest error is:
The program ‘[3] Micro Framework application: Managed’ has exited with code 0 (0x0).
Waiting for debug commands…[/quote]
from the code:
using System;
using Microsoft.SPOT;
using GHIElectronics.OSH.NETMF.Hardware;
using System.Threading;
namespace MFConsoleApplication1
{
public class Program
{
public static void Main()
{
var myInt = new int[100000];
var ain = new AnalogIn(AnalogIn.Pin.Ain0);
var startTime = DateTime.Now.Ticks;
for (var i = 0; i < myInt.Length; i++)
myInt[i] = ain.Read();
var elapsedTime = (DateTime.Now.Ticks - startTime) / (double)TimeSpan.TicksPerSecond;
Debug.Print(elapsedTime.ToString("F2") + " s");
Thread.Sleep(100000);
}
}
}
It says I need assembly ‘GHIElectronics.OSH.NETMF.Hardware’ and I have this. What other references are missing. Why not just include a reference for beginners that includes all these references? The hydra has more than enough memory…