Raptor stopped connecting through USB. What to do?!
So… we had quite a fun playing with Raptor this Thursday and Friday, we were making new code, were pushing it to the Raptor, debugging it and doing it over and over again. We were running the project of USB and of of battery pack… until all of a sudden… after one of the code deployment it stopped connecting to our Surface all together… The code we have pushed was this:
Debug.Print("Program Started");
var ledId = 0;
var flashDelay = 2000;
while( true )
{
led7r.Animate(100, true, true, false);
led_Strip.SetLED(ledId, true); // green, on
Thread.Sleep(flashDelay/2);
led_Strip.SetLED(ledId, false); // green, on
Thread.Sleep(flashDelay);
flashDelay = flashDelay-50;
if (flashDelay < 100) break;
ledId++;
if (ledId == 7) ledId = 0;
}
After reading now for about 10 hours this forum here is what I have tried to do:
- got through two power hubs, with no luck
- got USB power hub that says it can provide 900mA per port (Inhand 4Port USB 3.0 Hub MC 845503) still no luck.
- tried 2 (two) other laptops to make sure that at list they can recognize that something is connected to USB, that did not help…
- removed USB drives from my Surface and re-installed them again
- sure rebooted Surface a few times during this time frame
Config that we had when it happened:
Gadgeteer side:
- FEZ Raptor 1.0
- Led Strip
- Led7R
- UC Battery 4xAA 1.0
PC side: - Surface Pro with Windows 8 Pro
- VS Express 2012 for Desktop
- Microsoft .NET Micro Framework v4.3
- NETMF and Gadgeteer Package 2013 R2
- updated GargeteerHardware.XML in the C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Mainboards\FEZRaptor