Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

ishotjr

Member Since 03 Jul 2015
Offline Last Active Aug 28 2018 08:04 AM
-----

Topics I've Started

"An unhandled exception of type 'System.Exception' occurred in Microsoft.SP...

05 July 2015 - 09:58 PM

I am attempting my first N3 program (a simple "Hello World" - source here), but I get:

An unhandled exception of type 'System.Exception' occurred in Microsoft.SPOT.Hardware.dll

during debugging; if I continue, I do eventually get the expected output, but...any idea what's going on?  I have a fairly absurd setup and spent a LOT of time getting this far; I'm running VS2015 Community RC on an HP Stream 7 tablet, which took a few tries to get working, and the first time I attempted to flash my N3, I got "An error has occurred: please check your hardware." and used Netduino Update's Erase App tool per forum thread to get as far as I have been able to now.  I'm not sure how big of a deal this exception is, since it is working after that break, but I'm worried that as I get in deeper, I may experience further/similar issues - any thoughts?  Thanks!!!

Found debugger!

Found debugger!

Found debugger!

Create TS.

 Loading start at 8065cf4, end 808cf14

Assembly: mscorlib (4.3.1.0)

Assembly: Microsoft.SPOT.Native (4.3.1.0)

Assembly: Microsoft.SPOT.Hardware (4.3.1.0)

Assembly: Microsoft.SPOT.Net (4.3.1.0)

Assembly: Microsoft.SPOT.Net.Security (4.3.1.0)

Assembly: System (4.3.1.0)

Assembly: System.Net.Security (4.3.1.0)

Assembly: Microsoft.SPOT.Hardware.SerialPort (4.3.1.0)

Assembly: Microsoft.SPOT.IO (4.3.1.0)

Assembly: System.IO (4.3.1.0)

Assembly: Microsoft.SPOT.Hardware.PWM (4.3.1.0)

Assembly: Microsoft.SPOT.Hardware.Usb (4.3.1.0)

Assembly: Netduino.IP (1.0.0.0)

Assembly: Netduino.IP.Interop (1.0.0.0)

Assembly: Netduino.IP.LinkLayers.CC3100 (1.0.0.0)

Assembly: SecretLabs.NETMF.Diagnostics (4.3.1.0)

Assembly: GoBus (1.5.0.1)

Assembly: SecretLabs.NETMF.Hardware.Netduino (4.3.1.0)

Assembly: Microsoft.SPOT.Hardware.OneWire (4.3.1.0)

Loading Deployment Assemblies.

Attaching deployed file.

Assembly: SecretLabs.NETMF.Hardware (4.3.1.0)

Attaching deployed file.

Assembly: GoBus (1.5.0.0)

Attaching deployed file.

Assembly: HelloNetduino (1.0.0.0)

Resolving.

The debugging target runtime is loading the application assemblies and starting execution.
Ready.

'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Native.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Net.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Net.Security.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.Net.Security.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.SerialPort.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.IO.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.IO.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.PWM.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
 Invalid address 0 and range 40 Ram Start 20000000, Ram end 20030000

 Invalid address 1000fbb4 and range 4 Ram Start 20000000, Ram end 20030000

'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.Usb.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'Netduino.IP'
 Invalid address 0 and range 40 Ram Start 20000000, Ram end 20030000

 Invalid address 1000fbb4 and range 4 Ram Start 20000000, Ram end 20030000

'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'Netduino.IP.Interop'
 Invalid address 0 and range 40 Ram Start 20000000, Ram end 20030000

 Invalid address 1000fbb4 and range 4 Ram Start 20000000, Ram end 20030000

'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'Netduino.IP.LinkLayers.CC3100'
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.3\le\SecretLabs.NETMF.Diagnostics.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.3\le\GoBus.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.3\le\SecretLabs.NETMF.Hardware.Netduino.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.OneWire.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.3\le\SecretLabs.NETMF.Hardware.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Users\David\Documents\Visual Studio 2015\Projects\HelloNetduino\HelloNetduino\bin\Debug\le\HelloNetduino.exe', Symbols loaded.
An unhandled exception of type 'System.Exception' occurred in Microsoft.SPOT.Hardware.dll

 Uncaught exception 
The thread '<No Name>' (0x2) has exited with code 0 (0x0).
Hello World
The thread '<No Name>' (0x1) has exited with code 0 (0x0).
The thread '<No Name>' (0x4) has exited with code 0 (0x0).
Done.
Waiting for debug commands...
The program '[4] Micro Framework application: Managed' has exited with code 0 (0x0).


Visual Studio version for N3?

03 July 2015 - 12:49 AM

Hello!  I have the original Netduino, Plus, and Mini, and just learned of the 3 - accidentally, while searching for other Wi-Fi-oriented solutions! :D  My N3 should be here tomorrow, and I wanted to clarify what the VS requirements are, so I can be all set up and ready to go...  I run VS2010 Pro all day every day - is that an option?  It was for N1/N1P/Nm, but the Downloads page links to 2013, and I wasn't sure if that's just because it's the latest, or because of a framework-oriented requirement?  If 2013 is required, what about Express (as linked) vs. Community?  Finally, what about 2015 Community RC?  Apologies if this is covered elsewhere, I did search, and checked pretty much every N3 thread...  -_-


home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.