We gave our son a Gadgeteer kit for Christmas but we have been struggling to get it going. I think we have installed everything correctly but can’t run a simple app from Visual Studio. We have tried it on both VS2012 and VS2013 from different Windows 7 computers but have had the same problem. The app builds correctly but the output on VS indicates it can’t run the code on the board.
Device Deployment Output
Looking for a device on transport ‘USB’
Starting device deployment…
Iteration 0
Opening port \?\usb#vid_1b9f&pid_0102#0000000001#{d32d1d64-963d-463e-874a-8ec8c8082cbf}
Attaching debugger engine…
… cannot attach debugger engine!
I read there may be problems with VS2013 and we had lots of other things installed on Windows 7 so we decided to do a fresh install on a clean system. Here are the steps we followed most recently:
Created a new 120GB partition for this test
Installed Windows 7 Professional SP1 (32 bit)
Computer has 8GB RAM and AMD Athlon II X4 640 CPU
Installed a few programs - AMD video drivers, Chrome etc
Followed the install instructions at https://www.ghielectronics.com/support/netmf
- installed Visual Studio 2012 for WIndows Desktop
- installed Microsoft .NET Micro Framework 4.3 (QFE1)
- installed .NET Gadgeteer Core 2.43.900
- installed NETMF and Gadgeteer Package 2014 R5
Connected the FEZ Hydra with USB Client SP module in socket 2
FEZ Hydra appeared in Device Manager
Once the drivers loaded in because GHI NETMF Interface
Started VS 2012 and created a C# Gadgeteer project
Added FEZ Hydra from VS Toolbox
Added USB Client SP module from VS Toolbox
Connected the module to the FEZ Hydra on the Program.gadgeteer diagram in VS
No changes made to the template code
Client Start in VS 2012
Program built correctly - output shown below
Program failed to deploy - output shown above
I have seen posts here about running FEZ Config, MFDeploy and the SAM-BA Updater. I have tried these on the previous Windows environments, but could not connect successfully and I did not find a COM port for the FEZ in Device Manager.
I’m hoping someone can help. Thanks in advance,
Scott and Aidan
VS Build Output
1>------ Build started: Project: GadgeteerApp1, Configuration: Debug Any CPU ------
1> GadgeteerApp1 → g:\users\scott\documents\visual studio 2012\Projects\GadgeteerApp1\GadgeteerApp1\bin\Debug\GadgeteerApp1.exe
2>------ Deploy started: Project: GadgeteerApp1, Configuration: Debug Any CPU ------
2>Unable to communicate with device USB:Gadgeteer========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========