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.

rolandwolters

Member Since 19 Apr 2014
Offline Last Active Dec 22 2014 09:15 PM
-----

Topics I've Started

New user: using VS2013 problems

01 December 2014 - 09:54 PM

Hi,

 

So i recently bought my first Netduino Plus 2, and because i already work with Visual Studio 2013 i wanted to program the Netduino with it. To do this I updated the Netduino to 4.3.1 and wrote the first program from the getting started pdf. It does compile and seems to deploy ok but then the debugger kicks in shouting the device is not in the initialized state. The debugger stops and no flashing LED on the device.

 

How do i get it working?

 

 
OutputPort led = new OutputPort(Pins.ONBOARD_LED, false);
            while (true)
            {
                led.Write(false); // turn on the LED
                Thread.Sleep(250); // sleep for 250ms
                led.Write(true); // turn off the LED
                Thread.Sleep(250); // sleep for 250ms 
            }
 
-- MFDeploy output:
 
HalSystemInfo.halVersion:               4.3.1.0
HalSystemInfo.halVendorInfo:            Netduino Plus 2 (v4.3.1.0) by Secret Labs LLC
HalSystemInfo.oemCode:                  34
HalSystemInfo.modelCode:                177
HalSystemInfo.skuCode:                  4102
HalSystemInfo.moduleSerialNumber:       00000000000000000000000000000000
HalSystemInfo.systemSerialNumber:       0000000000000000
ClrInfo.clrVersion:                     4.3.1.0
ClrInfo.clrVendorInfo:                  Netduino Plus 2 (v4.3.1.0) by Secret Labs LLC
ClrInfo.targetFrameworkVersion:         4.3.1.0
SolutionReleaseInfo.solutionVersion:    4.3.1.0
SolutionReleaseInfo.solutionVendorInfo: Netduino Plus 2 (v4.3.1.0) by Secret Labs LLC
SoftwareVersion.BuildDate:              Feb 25 2014
SoftwareVersion.CompilerVersion:        410894
FloatingPoint:                          True
SourceLevelDebugging:                   True
ThreadCreateEx:                         True
LCD.Width:                              0
LCD.Height:                             0
LCD.BitsPerPixel:                       0
AppDomains:                             True
ExceptionFilters:                       True
IncrementalDeployment:                  True
SoftReboot:                             False
Profiling:                              False
ProfilingAllocations:                   False
ProfilingCalls:                         False
IsUnknown:                              False
 

 


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.