I recently purchased a Cobra III board, wifi board with antenna, and a GXP (adapter which has a SU socket). I want to initialize the wifi board connected to the SU socket of the GXP adapter.
Prior to doing this, I did the first project (NETMFBook) and that went well. I am very experienced with .NET, Visual Studio 2010, and C#; however, I am using Visual Studio 2013 Community Edition for this project.
I then modified the NETMFBook project, adding a class library to handle the WiFiRS9110 initialization and use. The class library has my namespace of Cobra3Utils and a single static class called Cobra3Utils.WiFi9110.
Compilation has no problems. However, when I try to debug the simplest of things–the initialization of the WiFiRS9110–I got a dialog with the following error message:
“There were deployment errors. Continue?”
The compiler’s output window shows:
1>------ Deploy started: Project: Cobra3Utils, Configuration: Debug Any CPU ------
1>------ Deploy started: Project: Cobra3Utils, Configuration: Debug Any CPU ------
2>------ Deploy started: Project: NETMFBook, Configuration: Debug Any CPU ------
2>------ Deploy started: Project: NETMFBook, Configuration: Debug Any CPU ------
2>An error has occurred: please check your hardware.
2> DebugPort.GetDeviceProcess() called with no argument
2>Source: Microsoft.SPOT.Debugger.CorDebug.12
2>Stack :
2> at Microsoft.SPOT.Debugger.DebugPort.GetDeviceProcess(String deviceName)
2> at Microsoft.SPOT.Debugger.VsProjectFlavorCfg.GetDeviceProcess()
2> at Microsoft.SPOT.Debugger.VsProjectFlavorCfg.Deploy(DebugPort port)
2> at Microsoft.SPOT.Debugger.VsProjectFlavorCfg.<>c__DisplayClass2.<Microsoft.VisualStudio.Shell.Interop.IVsDeployableProjectCfg.StartDeploy>b__0()
========== Deploy: 1 succeeded, 1 failed, 0 skipped ==========
The compiler’s error window shows:
Error 1 An error has occurred: please check your hardware.
After this problem occurred, I went to FEZ Config. I found that both the TinyBooter and the TinyCLS needed to be updated. I went through the process (which was a little odd at the TinyBooter stage when you need do the Chinese fire drill with the LDR0 and LDR1 buttons and the Reset button). My Cobra III was not fitted with the mini push button in the Reset position on the mainboard (go figure). I used a jumper between Ground and the Reset signal line on the board’s sockets instead.
I have added an image to show that my TinyBooter and TinyCLS software now matches what FEZConfig thinks it should be. By the way, the TinyBooter option on FEZConfig does not have an option to update the TinyBooter on Cobra III, only Cobra II, which I assume gets my Cobra III board flashed correctly for the TinyBooter.
I do not know what to change to make in my code (with its class library) or project to deploy on my Cobra III board. Any suggestions will be greatly appreciated.
I can post my code, if necessary, but I don’t think my code is the problem if the problem consists of an inability to deploy the code. I should also point out that I use a powered hub to connect to my Cobra III. I don’t use a power supply, but I could switch to a power supply if necessary.