The pins should all boot in input mode, pull-ups enabled. If they're not doing so, we'll need to dig into the source and fix that.
Chris
Attached is a scope image of a reset which occurred due to something other than a power cycle. The YELLOW colored trace is the voltage on pin A2. The BLUE trace is an output pin that I am using to help debug. Pin A2 is connected to an RC circuit, IE capacitor to ground, resistor to 3.3V. The reset point is when the A2 pin drops sharply from around 2 volts to near zero. A2 then stays held to zero until processing starts, IE when the BLUE trace first goes to a logic one.
Pulling A2 to zero this way occurs when the pin is defined as an analog input:
SecretLabs.NETMF.Hardware.AnalogInput PORpin = new SecretLabs.NETMF.Hardware.AnalogInput(Pins.GPIO_PIN_A2);
But not when the pin is defined as a input port:
InputPort PORpin = new InputPort(Pins.GPIO_PIN_A2, false, Port.ResistorMode.Disabled);
My conclusion is that something changed in the class: SecretLabs.NETMF.Hardware.AnalogInput in a recent release. Pin A2 did not get pulled to zero this way before.
I do now have a "workaround" if this cannot be changed back in a timely manner. I determined the voltage thresholds on pin A2 when used as an InputPort. For a rising signal (at least on the board I measured) it is 1.50 volts, for a falling signal it is 1.10 volts. These thresholds and my circuit are such that I can properly detect a power-on-reset vs. "some other reset not caused by a power cycle" using the pin as an InputPort and just reading logic levels. However I do feel that pulling the analog pin to ground during program initializations is wrong and should be fixed.