Hi Netduino Forums!
I'm fairly new to Netduino, but have been using Arduino for awhile. I'm using a Netduino Plus 2 and after trying quite a bit with v4.3.1 firmware, I decided I'd try v4.3.2. I can confirm that simple programs that include the LED blinking will indeed work and attach to the debugger(https://gist.github....20a8667d975a41d), but it seems anything that has to do with Digital I/O(Pins) seems to crash well before it can even invoke the main program and thus the debugger never gets connected. Currently I'm unable to get past an error stating:
Cannot find any entrypoint!
Which then leads to the following in the Microframework Logs:
The program '[16] Micro Framework application: Managed' has exited with code 0 (0x0).
I do have a fairly simple Program.cs:
public static void Main()
{
using (var led = new Microsoft.SPOT.Hardware.OutputPort (Pins.ONBOARD_LED, false)) {
for (var i = 0; i < 3; i++) {
led.Write (true);
Thread.Sleep (250);
led.Write (false);
Thread.Sleep (250);
}
}
}
Debug Output:
https://gist.github....69f7c0f24cf63d1
MFDeploy Version Information:
https://gist.github....7e8e7aa468b9d53
.NET Microframework Device Deployment:
https://gist.github....49cff321828efe6
I have tried to re-flash this board multiple times now just in case I missed something in terms of versions. I've also tried to get the board to a "fresh" state by either using the Updater and clearing the applications, or using MFDeploy -> Clear.
Any help would be appreciated!