Hi KiwiBryn,
First, thanks a lot for getting back to me. Please find below the requested information. I have also compared the used versions in my program and all versions are 4.3.1.0 which is the same as in the assemblies. From the MFDeploy it seems my program is running but cyclic reboot continues untill I get the error message given above.
Looking forward to a solution.
MFDeploy Device Info:
Give short pulse to light
Light is on
Give short pulse to light
Light is off
Give short pulse to light
Light is on
Give short pulse to light
Light is off
Give short pulse to light
Light is on
Give short pulse to liDeviceInfo:
ght
Light is off
Give short pulse to light
HAL build info: 4.3.1.0, Netduino 3 Ethernet (v4.3.2.3) by Secret Labs LLC
Light is on
OEM Product codes (vendor, model, SKU): 34, 177, 4104
Serial Numbers (module, system):
00000000000000000000000000000000
0000000000000000
Solution Build Info: 4.3.2.2, Netduino 3 Ethernet (v4.3.2.3) by Secret Labs LLC
AppDomains:
default, id=1
Assemblies:
mscorlib,4.3.1.0
Microsoft.SPOT.Native,4.3.1.0
Microsoft.SPOT.Hardware,4.3.1.0
Microsoft.SPOT.Net,4.3.1.0
Microsoft.SPOT.Net.Security,4.3.1.0
System,4.3.1.0
System.Net.Security,4.3.1.0
Microsoft.SPOT.Hardware.SerialPort,4.3.1.0
Microsoft.SPOT.IO,4.3.1.0
System.IO,4.3.1.0
Microsoft.SPOT.Hardware.PWM,4.3.1.0
Microsoft.SPOT.Hardware.Usb,4.3.1.0
Netduino.IP,1.0.1.0
Netduino.IP.Interop,1.0.0.0
Netduino.IP.LinkLayers.AX88796C,1.0.0.0
SecretLabs.NETMF.Diagnostics,4.3.1.0
GoBus,1.5.0.0
SecretLabs.NETMF.Hardware.Netduino,4.3.1.0
Microsoft.SPOT.Hardware.OneWire,4.3.1.0
Simple_Test,1.0.0.0
SecretLabs.NETMF.Hardware,4.3.1.0
Sample Code
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.Netduino;
namespace Simple_Test
{
public class Program
{
public static void Main()
{
// write your code here
var LightPort = new OutputPort(Pins.GPIO_PIN_D0, false);
var v0Port = new OutputPort(Pins.ONBOARD_LED,false);
bool toggle = false;
while (true)
{
toggle = !toggle;
v0Port.Write(toggle);
Thread.Sleep(5000);
Debug.Print("Give short pulse to light");
LightPort.Write(true);
Thread.Sleep(50);
LightPort.Write(false);
Debug.Print("Light is on");
Thread.Sleep(5000);
Debug.Print("Give short pulse to light");
LightPort.Write(true);
Thread.Sleep(50);
LightPort.Write(false);
Debug.Print("Light is off");
}
}
}
}
Best Regards,
Arno