I’ve got the firmware installed using FEZConfig by moving the Cerbuino Bee to a USB 2 port.
Now when I start VS2010 it doesn’t show up in there. I’ve uninstalled and reinstalled all of the drivers.The board shows up in device manager as a GHI NETMF Debug Interface and Devices and Printers shows it as Cerb-Family.
usually when this happens it means the Gadgeteer app can’t connect via the default name - if you renamed the device perhaps, this can be seen. The good news is it’s simple to fix - simply open the project properties (right click the project name in the solution explorer) and go to the .Net Micro Framework settings, change the “transport” to serial and then change it back to USB, and the name that appears in the Device box is what is currently connected. Then you should be able to deploy.
I’ve changed to Serial and back to USB, no change in the Device box. I didn’t change the name in FEZConfig. I’ve tried to change the Device name but it still doesn’t work. When I change to Serial and back the Device drop down goes back to
Just for giggles, I installed netmf 4.2 and the GHI package on my Surface Pro. I plugged in the Cerbuino Bee and it showed up in VS2010 but it wouldn’t deploy. The Surface Pro only has 1 USB3 port.
Removed all the .NetMF related stuff. Re installed all the drivers. The Cerbuino Bee now shows up in VS2010 but when I deploy a project it reboots the device and it never comes back. I have to unplug and plug it back in before it will show up in device manager again. I did reflash the entire system again starting with the DfuSe.
Does it reboot because you are trying to debug? Have you tried to deploy a small program that does nothing more than call a debug.print? Does it show up in Visual Studio after you replug it?
Yes, it reboots to debug.
I created a new Gadgeteer project based on the Cerbuino Bee that only runs
The status line at the bottom of VS2010 displays:
Preparing to deploy assemblies to the device.
Deploy successful.
The debugging target is not in an initialized state; rebooting...
I never see "Program Started" in my output windows.
If I replug/reset the board it shows back up in Devices and Printers and the Properties of VS2010.
Is there a different driver for debug mode?
Mike, now you have deployed your app, can you leave VS disconnected and move over to try to get MFDeploy talking to the board?
Once you remove the USB cable and reconnect it, have MFDeploy open and selected your USB/Cerbuino combination, then hit F5 to connect. Once that happens, you should see the debug messages - if you get it in time you should get the program started message. If not, try adding a 1 second timer to the app and have it flash the onboard debug LED - that thing by default will print out a message to the debug window, and as a bonus you get the LED flashing if the app is actually working !
I couldn’t get it connect in time to see the “Program Started”, but the light did blink. I tried debugging on my Surface Pro and it is doing the same thing.