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.

jkfrench

Member Since 16 Jan 2015
Offline Last Active Aug 15 2015 01:15 AM
-----

Topics I've Started

Netduino 3 questions/issues

26 June 2015 - 04:56 PM

Hi,

 

I have had a Netduino 2 Plus for while now and decided to get a Netduino 3 (mainly for the wireless capabilities) ... and even though the Netduino 2 Plus seems to be working as-expected, i.e. I can execute and debug without any issues, I'm not having the same luck with the Netduino 3.

 

When I attempt to debug programs using VS 2013 Pro (the exact same programs that I can debug without any problems on the Netduino 2 plus), I would say 75% of the time the debugger doesn't attach after a deploy and reboot using the Netduino 3.   And it doesn't have anything to do with the complexity of the program being deployed either ... the simple Led Blink program has the same issue (no shields attached either ... just the netduino 3).   it doesn't matter whether there is already an app deployed or not.  There doesn't seem to be any reason that it succeeds sometimes, but fails most of the time.    Also, I have this problem on 3 different computers.

 

Please note:  I have tried multiple USB cables (all of which do work fine with the Netduino 2 Plus, so I don't think it's a cable issue).

 

I have re-flashed the 4.3.2.2 firmware, a couple times even.   No problems doing that.   I typically can 'Erase' the Netduino 3 with MFDeploy (admittedly that does fail some times, but it's not near as big of an issue .. besides, I can use the NetduinoUpdate program to do that ... and it ALWAYS works).

 

And just to be clear, the application ALWAYS deploys and executes, it's just that the debugger won't attach most of the time.  And when it fails to attach, I can't manually attach to a process because I get a dialog that indicates that it's 'Unable to Attach to process. The 32-bit Version of the Visual Studio Remote Debugging Monitor (MSVSMON.EXE) cannot be used to debug 64-bit processes or 64-bit dumps.  Please use the 64-bit version instead.'  ... HOWEVER if I close Visual Studio 2013 and restart, then attempt to attach (without loading a solution, or attempting to debug), it works!!!!!    As you probably have realized, I'm using 64-bit windows ... Windows 8.1 specifically ... do launch VS 2013 as administrator.

 

So something is amiss.  I have uninstalled/reinstalled both the NETMF SDK v4.3 and the NETDUINO SDK v4.3.2.1.   Didn't help.

 

Another unrelated issue ... Wifi setup.   I have a green light, if I hard code the IP Address settings.   But, even though the Netduino knows it's IP Address because I didn't use DHCP (If I use DHCP, the device never get's an IP Address).  My router knows the device is connected, but doesn't know it's IP Address (Router is a Netgear WNDR3700v3).   I am using WEP Open 64-bit with Access Control (i.e. the Mac address has to be known to the router for wireless devices ... I've tried turning that feature off temporarily just to see if that was the issue [but it is connecting, and it didn't make any difference]).   And I can't ping it (I'd guess since the router doesn't know the Netduino 3 IP Address, it can't route the ping to it ... makes sense).   Please note:  I have a good number of wireless devices (everything from Arduino Wireless Shields, a couple PCDuinos, Cameras, Phones, Tablets, Laptops, etc ... and I've never had this problem before ... and everything else is working fine) ... I've tried rebooting the router and it didn't matter (but all other wireless devices reconnected and work fine).

 

Any assistance would be appreciated.

 

Thanks!

Jeff


1Sheeld Libraries for Netduino Plus 2 now available.

27 January 2015 - 08:30 PM

Hi,

 

I have been porting the 1Sheeld Shield so it will work with my Netduino Plus 2.  All shields supported by the 1Sheeld app have been ported.  Unfortunately, I only have a single 1Sheeld right now, so it's difficult to test the Remote OneSheeld support, but the code is there.  The only other Shield that I couldn't test is the Temperature Shield since none of my Android devices have an Ambient Temperature Sensor. All other shields, however, have been tested and seem to be working well.  All Shields have code samples so usage of the 1Sheeld with Netduino should be pretty straight forward.

 

I'm a newbie to Netduino, not to C# however.  I basically received my Netduino about 2 weeks ago, created the typical Led and Button samples and immediately started porting the Arduino 1Sheed Library during evenings and week-ends.   Please NOTE: The samples are not always consistent with the Arduino samples.  I was more interested in getting things working (and being able to verify that things worked) than being too fancy.  

 

Everything can be downloaded from here.   The solution, projects and code were created with VS 2013 Pro (however, it all works with Express for Desktop too).  I am using the 4.3.2 (Preview1) firmware (although it should work fine with the 4.3.1 firmware as well).

 

You can see more info on my blog here.

 

If you are unfamiliar with the 1Sheeld Shield.  I recommend you check it out here.

 

If you have any questions, I'll do my best to answer.

 

Enjoy!

 

Jeff French


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.