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.

HiredMind's Content

There have been 3 items by HiredMind (Search limited from 29-March 23)


By content type

See this member's

Sort by                Order  

#65288 Exception when the MFWsStack assembly is referenced

Posted by HiredMind on 01 July 2016 - 05:01 AM in Netduino 3

Hi all,

 

I'm getting a NullReference exception in Netduino.IP.LinkLayers.CC3100 when I reference the MFWsStack assembly.  It always happens twice upon power up, and prevents the Wifi from connecting. When I remove the reference and dependent code, it powers up and connects to the WiFi just fine (even have a little web server running on it).  Also tried commenting out all of my code and just inserting Thread.Sleep(Timeout.Infinite) in he Main() method, and with MFWsStack referenced it still does it.

 

There are also some first-chance exceptions of type CC3100SimpleLinkException being thrown:

Exception thrown: 'Netduino.IP.LinkLayers.CC3100SimpleLinkException' in Netduino.IP.LinkLayers.CC3100
Exception thrown: 'Netduino.IP.LinkLayers.CC3100SimpleLinkException' in Netduino.IP.LinkLayers.CC3100
The thread '<No Name>' (0x2) has exited with code 0 (0x0).
The thread '<No Name>' (0x4) has exited with code 0 (0x0).
Exception thrown: 'Netduino.IP.LinkLayers.CC3100SimpleLinkException' in Netduino.IP.LinkLayers.CC3100
Exception thrown: 'System.NullReferenceException' in Netduino.IP.LinkLayers.CC3100
An unhandled exception of type 'System.NullReferenceException' occurred in Netduino.IP.LinkLayers.CC3100

Any help appreciated.

 

 

 

Here's the output of MFDeploy->Debug->Device Info (AlarmMonitor, and BlinkStateLib are my project assemblies)

DeviceInfo:
  HAL build info: 4.3.1.0, Netduino 3 Wi-Fi (v4.3.2.2) by Secret Labs LLC
  OEM Product codes (vendor, model, SKU): 34, 177, 4105
  Serial Numbers (module, system):
    00000000000000000000000000000000
    0000000000000000
  Solution Build Info: 4.3.2.2, Netduino 3 Wi-Fi (v4.3.2.2) by Secret Labs LLC
  AppDomains:
    default, id=1
  Assemblies:
    mscorlib,4.3.1.0
    Microsoft.SPOT.Native,4.3.1.0
    Microsoft.SPOT.Hardware,4.3.1.0
    Microsoft.SPOT.Net,4.3.1.0
    Microsoft.SPOT.Net.Security,4.3.1.0
    System,4.3.1.0
    System.Net.Security,4.3.1.0
    Microsoft.SPOT.Hardware.SerialPort,4.3.1.0
    Microsoft.SPOT.IO,4.3.1.0
    System.IO,4.3.1.0
    Microsoft.SPOT.Hardware.PWM,4.3.1.0
    Microsoft.SPOT.Hardware.Usb,4.3.1.0
    Netduino.IP,1.0.0.0
    Netduino.IP.Interop,1.0.0.0
    Netduino.IP.LinkLayers.CC3100,1.0.0.0
    SecretLabs.NETMF.Diagnostics,4.3.1.0
    GoBus,1.5.0.0
    SecretLabs.NETMF.Hardware.Netduino,4.3.1.0
    Microsoft.SPOT.Hardware.OneWire,4.3.1.0
    AlarmMonitor,1.0.0.0
    System.Http,4.3.1.0
    MFWsStack,4.3.1.0
    NetduinoExtensions,4.3.2.1
    MFDpwsExtensions,4.3.1.0
    BlinkStateLib,1.0.0.0
    System.Xml,4.3.1.0



#65259 2 projects, 1 works, 1 gives hardware error

Posted by HiredMind on 28 June 2016 - 02:18 AM in Netduino 3

Look in the Visual Studio output window. There might be more detail there. Sometimes the detail is useful in and of itself, sometimes it's only useful as a means of providing a better error message to search for.

 

Main pull-down menu bar:

Debug -> Windows -> Output




#65219 Odd compilation and deployment problems in VS2015

Posted by HiredMind on 19 June 2016 - 08:39 PM in General Discussion

FYI: Adding that enum code to each assembly (both the main executable, and every library) seems to work.





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.