First, I must say this question is in no way a negative comment on dotnetwarrior.Gadgeteer.G400HDR
I like it a lot!
I mention using dotnetwarrior.Gadgeteer.G400HDR because that is what I was using at the time (The latest Version on codeshare)
I was creating a program that was deployed and run several times and the code ran as I expected. The code was working with my latest update which was a minor change to some bitmap usage (Is there such a thing as a minor change?)
Due to a storm here in Chicago the power went out… Well, the code I was working on at the time no longer works. In fact, none of my code that used the original version and the updated version will run now.
I’m not sure if I should have checked this post as a question that needs an answer… But I did it anyway.
I had a backup of the code used before the power outage and tried to run it and it fails.
All of my G400 code now fails during InitializeModules() in public static void Main().
Only usbClientDP = new GTM.GHIElectronics.UsbClientDP(4); will pass without exception.
Each module gives a different exception depending on (Whatever VS decides it does not like)
I have uninstalled ALL GHI code and reinstalled. I even uninstalled my C# Express 2010 and reinstalled it including the Service pack.
Sort of stumped that the code goes belly up on a button!
I promise that the code ran before without any problems! Even the code (That ran before) will no longer pass InitializeModules()… The same thing happens with the code I posted on codeshare will no longer run! (All of it was coded using the first version… NOT the updated version… AND I posted pictures to prove it!)
I uninstalled the updated version and installed the original version to test…
As a hack programmer I’m a bit lost on what to do next!!
Simple thing that fail:
private static Gadgeteer.Modules.GHIElectronics.Button button1;
button1 = new GTM.GHIElectronics.Button(9);
#### Microsoft.SPOT.Hardware.Port::.ctor [IP: 0000] ####
#### Microsoft.SPOT.Hardware.InputPort::.ctor [IP: 0009] ####
#### Microsoft.SPOT.Hardware.InterruptPort::.ctor [IP: 0009] ####
#### Gadgeteer.Interfaces.InterruptInput::.ctor [IP: 0017] ####
#### Gadgeteer.Modules.GHIElectronics.Button::.ctor [IP: 002b] ####
#### GadgeteerG400WiFi.Program::InitializeModules [IP: 000d] ####
A first chance exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll
An unhandled exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll
Should I give up now or stick with you’s folks? ( ;>)
EDIT: I have no other problems that I know of on my computer… NO I did NOT try EVERY program!