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