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.
Photo

Missing device listing (driver installation)


Best Answer Chris Walker, 10 May 2015 - 06:43 PM

Hi Nick,

Thanks for the info. I've now installed v4.3.2.0 and created a new universal app and looks like I can add references to NetduinoGo.RgbLed which is a good start. However, I can no longer see my device in either VS2K13 or MFDeploy.
 
The other day I upgraded my N3 firmware to 4.3.2.1 and I could see my device fine in both. Any ideas what how I can fix it?
 
If I emulate the app instead of deploying it (as I can't) I get the following errors in the output window;

On the emulator: the emulator doesn't have any GoBus ports, so getting an exception there is normal. To use GoBus modules, make sure you're deploying to your board.

On the main issue: can you open up Device Manager really quickly and see if the Netduino appears in your USB devices? Does it have drivers installed?

I'm guessing that the driver system is confused a bit here. If you repair the Netduino SDK installation, it should automatically reinstall the drivers for you.

Once drivers are installed and you can see your Netduino in Visual Studio and MFDeploy, you should be good to go.

Does that help get you back up and running? We're happy to walk through this with you.

Chris Go to the full post


  • Please log in to reply
2 replies to this topic

#1 cr0w5t3r

cr0w5t3r

    New Member

  • Members
  • Pip
  • 9 posts
  • LocationUK

Posted 10 May 2015 - 02:35 PM

Hi Nick,
 
Grab a copy of the latest Netduino SDK (currently v4.3.2) from the following download link:
http://cdn.netduino....netduinosdk.exe

Then just create a Netduino Application (Universal)...and code away :) The new universal template works with all gen2 and gen3 boards and is based on NETMF 4.3.

Chris

 

Hi Chris,

 

Thanks for the info. I've now installed v4.3.2.0 and created a new universal app and looks like I can add references to NetduinoGo.RgbLed which is a good start. However, I can no longer see my device in either VS2K13 or MFDeploy.

 

The other day I upgraded my N3 firmware to 4.3.2.1 and I could see my device fine in both. Any ideas what how I can fix it?

 

If I emulate the app instead of deploying it (as I can't) I get the following errors in the output window;

 

'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\mscorlib.dll', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Native.dll', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.dll', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.3\le\GoBus.dll', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.3\le\NetduinoGo.RgbLed.dll', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Applications\Netduino\NetduinoApplicationUniversal\NetduinoApplicationUniversal\bin\Debug\le\NetduinoApplicationUniversal.exe', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.PWM.dll', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.SerialPort.dll', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Net.dll', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.dll', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.3\le\SecretLabs.NETMF.Hardware.Netduino.dll', Symbols loaded.
'Microsoft.SPOT.Emulator.Sample.SampleEmulator.exe' (Managed): Loaded 'C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.3\le\SecretLabs.NETMF.Hardware.dll', Symbols loaded.
    #### Exception System.ArgumentException - 0xfd000000 (2) ####
    #### Message: 
    #### Microsoft.SPOT.Hardware.HardwareProvider::NativeGetSpiPins [IP: 0000] ####
    #### Microsoft.SPOT.Hardware.HardwareProvider::GetSpiPins [IP: 0013] ####
    #### Microsoft.SPOT.Hardware.SPI::.ctor [IP: 0019] ####
    #### GoBus.GoHub::Initialize [IP: 00ad] ####
    #### GoBus.GoModule::Initialize [IP: 0099] ####
    #### GoBus.GoModule::.ctor [IP: 0016] ####
    #### GoBus.GoHub::.ctor [IP: 0004] ####
    #### GoBus.GoHub::.cctor [IP: 0003] ####
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
 
 Uncaught exception 
The thread '<No Name>' (0x2) has exited with code 0 (0x0).
    #### Exception System.NullReferenceException - CLR_E_NULL_REFERENCE (1) ####
    #### Message: 
    #### GoBus.GoModule::Initialize [IP: 0021] ####
    #### GoBus.GoModule::.ctor [IP: 0016] ####
    #### NetduinoGo.RgbLed::.ctor [IP: 0040] ####
    #### NetduinoApplicationUniversal.Program::Main [IP: 0004] ####
A first chance exception of type 'System.NullReferenceException' occurred in GoBus.dll
An unhandled exception of type 'System.NullReferenceException' occurred in GoBus.dll
 
 Uncaught exception 
The thread '<No Name>' (0x1) has exited with code 0 (0x0).
Done.
 
The program '[5732] Micro Framework application: Managed' has exited with code 0 (0x0).
 
 

The code I'm using is as follows;

 

using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using NetduinoGo;
using SecretLabs.NETMF.Hardware;

namespace NetduinoApplicationUniversal
{
    public class Program
    {
        public static void Main()
        {
            var x = new RgbLed();
            x.SetColor(255, 0, 0);
        }
    }
}

All references in project:

 

GoBus.dll - V1.5.0.0

Microsoft.SPOT.Hardware - V4.3.1.0

Microsoft.SPOT.Hardware.PWM - V4.3.1.0

Microsoft.SPOT.Hardware.SerialPort - V4.3.1.0

Microsoft.SPOT.Native - V4.3.1.0

Microsoft.SPOT.Net - V4.3.1.0

mscorlib - V4.3.1.0

NetduinoGo.RgbLed - V1.4.0.0

SecretLabs.NETMF.Hardware - V4.3.1.0

SecretLabs.NETMF.Hardware.Netduino - V4.3.1.0

System - V4.3.1.0

 

 

Even if I just try a vanilla app it gives me the same exception in the Microsoft.SPOT.Hardware.dll.

 

 

All I want to do is make my Led change colour ;(.
 
 
Any help is much appreciated!
Nick


#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 10 May 2015 - 06:43 PM   Best Answer

Hi Nick,

Thanks for the info. I've now installed v4.3.2.0 and created a new universal app and looks like I can add references to NetduinoGo.RgbLed which is a good start. However, I can no longer see my device in either VS2K13 or MFDeploy.
 
The other day I upgraded my N3 firmware to 4.3.2.1 and I could see my device fine in both. Any ideas what how I can fix it?
 
If I emulate the app instead of deploying it (as I can't) I get the following errors in the output window;

On the emulator: the emulator doesn't have any GoBus ports, so getting an exception there is normal. To use GoBus modules, make sure you're deploying to your board.

On the main issue: can you open up Device Manager really quickly and see if the Netduino appears in your USB devices? Does it have drivers installed?

I'm guessing that the driver system is confused a bit here. If you repair the Netduino SDK installation, it should automatically reinstall the drivers for you.

Once drivers are installed and you can see your Netduino in Visual Studio and MFDeploy, you should be good to go.

Does that help get you back up and running? We're happy to walk through this with you.

Chris

#3 cr0w5t3r

cr0w5t3r

    New Member

  • Members
  • Pip
  • 9 posts
  • LocationUK

Posted 10 May 2015 - 08:52 PM

Hi Nick,

On the emulator: the emulator doesn't have any GoBus ports, so getting an exception there is normal. To use GoBus modules, make sure you're deploying to your board.

On the main issue: can you open up Device Manager really quickly and see if the Netduino appears in your USB devices? Does it have drivers installed?

I'm guessing that the driver system is confused a bit here. If you repair the Netduino SDK installation, it should automatically reinstall the drivers for you.

Once drivers are installed and you can see your Netduino in Visual Studio and MFDeploy, you should be good to go.

Does that help get you back up and running? We're happy to walk through this with you.

Chris

 

IT LIVES! :D The Netduino was showing under 'other' and not USB so I repaired the SDK and reinstalled the Micro Framework and I now have a very pink LED. Now I just got to think of something practical to do with the hardware haha.

 

Thanks again for the help. The community / support is what makes this good product into a great one :).

 

Nick 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.