No breakpoints are hit in the code. If I hit stop debugging I can no longer deploy to the device (this is the message):
An error has occurred: please check your hardware.
Request failed
Source: Microsoft.SPOT.Debugger
Stack :
at Microsoft.SPOT.Debugger.Engine.Request.Wait() in c:\depot\current\CLIENT_V4_2\Framework\Debugger\Engine.cs:line 761
at Microsoft.SPOT.Debugger.Engine.SyncMessage(UInt32 cmd, UInt32 flags, Object payload, Int32 retries, Int32 timeout) in c:\depot\current\CLIENT_V4_2\Framework\Debugger\Engine.cs:line 1993
at Microsoft.SPOT.Debugger.Engine.GetAssemblies() in c:\depot\current\CLIENT_V4_2\Framework\Debugger\Engine.cs:line 2928
at Microsoft.SPOT.Debugger.Engine.ResolveAllAssemblies() in c:\depot\current\CLIENT_V4_2\Framework\Debugger\Engine.cs:line 2941
at Microsoft.SPOT.Debugger.VsProjectFlavorCfg.Deploy() in c:\depot\current\CLIENT_V4_2\Framework\CorDebug\VsProjectFlavorCfg.cs:line 869
at Microsoft.SPOT.Debugger.VsProjectFlavorCfg.<Microsoft.VisualStudio.Shell.Interop.IVsDeployableProjectCfg.StartDeploy>b__0() in c:\depot\current\CLIENT_V4_2\Framework\CorDebug\VsProjectFlavorCfg.cs:line 634
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
The only way to be able to deply to the device after this happens is to erease the deployment in mfdeploy.
So, I can deploy to the device, but I can never attach the debugger because the device gets stuck in a mode where I can never deploy to it again.
Hope this helps GHI to troubleshoot this and put out a fix.
So, I tried a VM, that didn’t work. I removed pretty much everything on my first laptop and installed again. That didn’t work. Did the same thing on my second laptop. Still no luck. I broke out my third laptop tonight and installed it and it worked.
I only have USB 2.0 on all of them so that doesn’t seem to be an issue for me.
Still unclear why it works on my third laptop and not the two other ones. Same version of the operating system. Might be some left over drivers / setting somewhere which the uninstallers doesn’t clear up; or it could be that I have different updates on the laptops (the third one is a work lap top with more controlled updates).
Anyways, I’m a happy camper. I will bite the bullet and do a re-install of my OS on my first laptop and see how that pans out.
I have the same issue. I have got my Cerbuino Bee working fine when using Windows XP. When my laptop has been upgraded to Windows 7, I re-installed all the packages.
Device Capabilities and Ping are working fine with FEZ Config tool:
FEZ Config fails when trying to retrieve the Device Version : “Cannot access the device : Error code 0x0001”.
Deploying with VS 2010 also fails:
An error has occurred: please check your hardware.
DebugPort.GetDeviceProcess() called with no argument
Source: Microsoft.SPOT.Debugger.CorDebug
Stack :
à Microsoft.SPOT.Debugger.DebugPort.GetDeviceProcess(String deviceName) dans c:\depot\current\CLIENT_V4_2\Framework\CorDebug\DebugPort.cs:ligne 270
à Microsoft.SPOT.Debugger.VsProjectFlavorCfg.Deploy() dans c:\depot\current\CLIENT_V4_2\Framework\CorDebug\VsProjectFlavorCfg.cs:ligne 809
à Microsoft.SPOT.Debugger.VsProjectFlavorCfg.<Microsoft.VisualStudio.Shell.Interop.IVsDeployableProjectCfg.StartDeploy>b__0() dans c:\depot\current\CLIENT_V4_2\Framework\CorDebug\VsProjectFlavorCfg.cs:ligne 634
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
I got it work fine on an old PC running Windows XP but I have to work on Windows 7 32 bits.
Does someone have found a solution to that problem?
Please show us device manager screen shots to confirm what device driver you have loaded. Please try to use MFDeploy and report back what Device Capabilities can see.
Lets keep working on your issue here, seems this is the more relevant thread
Some of the “delay” type things you’ve mentioned before have been reported about Visual Studio 2012. Are you using VS2010 or VS2012? I would suggest VS2010 if these delays concern you (there’s an issue logged on codeplex for this delay)
Can you tell us about how much you’ve used your Cerbuino Bee on XP?
Can I ask that you uninstall the GHI SDKs and the NetMF SDK, and start again? It seems to me that some part of the issue you have is because of the first time driver install on the new Win7 PC, so I think if we have the latest SDK and can start from scratch, we will make progress (yes, you’ll need to make sure you have the firmware updated on your Cerb Bee)
I’ve bought my Fez Cerbuino Bee 1 year ago and just updated once at the beginning. The first install on Windows XP worked fine the first time. I made the update with MFDeploy (as far as I remember). I was using VS 2010 Express and was able to deploy and debug the applications.
OK. I will uninstall it all and try again. I’m a little bit far from my old PC to update the firmware to 4.2.5.0, so I will try to update with MFDeploy command line.
@ Brett - OK. I have uninstalled it all and re-installed it:
netmf 4.1 (for the Fez Panda II)
nemf 4.2 (QFE2)
GHI netmf 4.1
GHI netmf 4.2 2013-04-30
The driver has been re-installed when I plugged the Cerbuino Bee, but I still have the same behavior when pinging or retrieving the Device Version. (Error 0x0001 with Fez Config).
I have uninstalled all again and installed .netmf2 (QFE2) and then GHI NETMF 2 only. I then rebooted the PC to be sure, but I still have the same behavior.