I was wanting to do a demo project using the Mountaineer Ethernet Mainboard but I seem to be having a problem getting past this error:
Resolve: unknown type: Microsoft.SPOT.Touch.TouchGestureEventArgs
All I’m trying to do is:
private void ProgramStarted()
{
Debug.Print("Program Started");
Mainboard.SetDebugLED(true);
}
I don’t have any modules or network connections and I’m using VS2012 and it was a fresh project.
Did a update of firmware to 4.2 QFE1
MFDeplay device capability check
ip adHalSystemInfo.halVersion: 4.2.0.0
dress from interface info: 0.0.0.0
.NetMF v4.2.0.0
MountaineerEth, Build Date:
Jun 8 2012 09:50:54
ARM Compiler version 410791
TinyCLR (Build 4.2.0.0)
Starting…
Created EE.
Started Hardware.
HalSystemInfo.halVendorInfo: Copyright Oberon microsystems, Inc.
Found debugger!
HalSystemInfo.oemCode: 255
Create TS.
HalSystemInfo.modelCode: 0
Loading start at 8054110, end 8066fcc
Assembly: mscorlib (4.2.0.0)Assembly: Microsoft.SPOT.Native (4.2.0.0)Assembly: Microsoft.SPOT.Hardware (4.2.0.0)HalSystemInfo.skuCode: 65535
Assembly: Microsoft.SPOT.Hardware.PWM (4.2.0.1)Assembly: Microsoft.SPOT.Hardware.SerialPort (4.2.0.0)HalSystemInfo.moduleSerialNumber: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Assembly: Microsoft.SPOT.Net (4.2.0.0)Assembly: System (4.2.0.0)Loading Deployment Assemblies.
HalSystemInfo.systemSerialNumber: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Attaching deployed file.
ClrInfo.clrVersion: 4.2.0.0
Assembly: Gadgeteer (2.42.0.0)Attaching deployed file.
ClrInfo.clrVendorInfo: Copyright Oberon microsystems, Inc.
Assembly: Microsoft.SPOT.Graphics (4.2.0.0)Attaching deployed file.
ClrInfo.targetFrameworkVersion: 4.2.0.0
Assembly: GadgeteerApp6 (1.0.0.0)Attaching deployed file.
SolutionReleaseInfo.solutionVersion: 4.2.0.0
Assembly: Mountaineer.Gadgeteer.MainboardWithBuiltinButton (4.2.0.0)Attaching deployed file.
SolutionReleaseInfo.solutionVendorInfo: Mountaineer Group
Assembly: Mountaineer.Gadgeteer.MountaineerEth (4.2.0.0)Attaching deployed file.
Assembly: Microsoft.SPOT.IO (4.2.0.0)Attaching deployed file.
SoftwareVersion.BuildDate: Jun 8 2012
Assembly: AnalogOutput (4.2.0.0)Attaching deployed file.
Assembly: Microsoft.SPOT.TinyCore (4.2.0.0)Attaching deployed file.
SoftwareVersion.CompilerVersion: 410791
Assembly: System.IO (4.2.0.0)Resolving.
FloatingPoint: True
Resolve: unknown type: Microsoft.SPOT.Touch.TouchGestureEventArgs
SourceLevelDebugging: True
Error: ff000000
ThreadCreateEx: True
Waiting for debug commands…
LCD.Width: 0
LCD.Height: 0
LCD.BitsPerPixel: 0
AppDomains: True
ExceptionFilters: True
IncrementalDeployment: True
SoftReboot: True
Profiling: False
ProfilingAllocations: False
ProfilingCalls: False
IsUnknown: False
Any suggestions as to what I need to do to get this board back in the game before I toss it in the WTF bucket.
Output windows
Found debugger!
Create TS.
Loading start at 8054110, end 8066fcc
Assembly: mscorlib (4.2.0.0)Assembly: Microsoft.SPOT.Native (4.2.0.0)Assembly: Microsoft.SPOT.Hardware (4.2.0.0)
Assembly: Microsoft.SPOT.Hardware.PWM (4.2.0.1)Assembly: Microsoft.SPOT.Hardware.SerialPort (4.2.0.0)
Assembly: Microsoft.SPOT.Net (4.2.0.0)Assembly: System (4.2.0.0)Loading Deployment Assemblies.
Attaching deployed file.
Assembly: Gadgeteer (2.42.0.0)Attaching deployed file.
Assembly: Microsoft.SPOT.Graphics (4.2.0.0)Attaching deployed file.
Assembly: GadgeteerApp6 (1.0.0.0)Attaching deployed file.
Assembly: Mountaineer.Gadgeteer.MainboardWithBuiltinButton (4.2.0.0)Attaching deployed file.
Assembly: Mountaineer.Gadgeteer.MountaineerEth (4.2.0.0)Attaching deployed file.
Assembly: Microsoft.SPOT.IO (4.2.0.0)Attaching deployed file.
Assembly: AnalogOutput (4.2.0.0)Attaching deployed file.
Assembly: Microsoft.SPOT.TinyCore (4.2.0.0)Attaching deployed file.
Assembly: System.IO (4.2.0.0)Resolving.
Resolve: unknown type: Microsoft.SPOT.Touch.TouchGestureEventArgs
Error: ff000000
Waiting for debug commands…
Thanks
Jay_Jay
November 18, 2013, 12:34pm
2
Remove the references you don’t need…particularly the touch one …
I did remove all the unused reference and it didn’t want to go away. I then switched back over to the 4.2 QFE2 but its a bit more than a tad flakey when it comes to USB connections etc. and so I’ve run out of time for this and have tossed these boards into the WTF bucket until some updates come out for it (which I’m sure will arrive sometime).
Jay_Jay
November 18, 2013, 5:46pm
4
Actually it might be easier if you update your board to 4.3 beta …
Use MFDeploy to update the firmware…
https://www.ghielectronics.com/community/forum/topic?id=13619
Cuno
November 19, 2013, 1:54pm
5
Yes. See here for the upgrade steps and the necessary files:
http://www.mountaineer.org/resources/release-4-3/
Duke, I’ve tried out your example, it seems to work (see image).
Beware, however, that most module suppliers haven’t yet adapted or at least recompiled their module drivers for NETMF 4.3…
Cuno