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.

kerk-akker

Member Since 21 Jan 2014
Offline Last Active Mar 21 2024 09:20 PM
-----

Posts I've Made

In Topic: Watchdog

01 March 2016 - 05:24 PM

Hi,

 

I developed my own HW watchdog ( separate PCB ). It simply plugs in between a Netduino and the power adaptor. It runs around a 4060 timer. In your code you need to add a function that gives a pulse around every 15 sec. In case there is no pulse the WD gives a reset pulse and in case that might not help it gives a power cycle on the netduino. I'm using it on all my sensitive netduino applications. Let me know if there is interest, then I can publish schema and PCB.

 

Br,

 

Arno


In Topic: New Netduino 3 cyclic reboot - please help

27 February 2016 - 10:16 AM

Hi,

 

Update: I manually flashed the board again ( with STM Dfu tools ). Same problem still exists...... getting a bit desparate.

 

Br, 


In Topic: New Netduino 3 cyclic reboot - please help

26 February 2016 - 09:28 AM

Hi,

 

For the sake of completeness I added the output window information below:

 

Looking for a device on transport 'USB'
Starting device deployment...
Iteration 0
Opening port \\?\USB#VID_22B1&PID_1000#000000000000#{09343630-a794-10ef-334f-82ea332c49f3}\Operations
Attaching debugger engine...
... debugger engine attached!
Querying device assemblies...
Found Assembly mscorlib 4.3.1.0
Found Assembly Microsoft.SPOT.Native 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware 4.3.1.0
Found Assembly Microsoft.SPOT.Net 4.3.1.0
Found Assembly Microsoft.SPOT.Net.Security 4.3.1.0
Found Assembly System 4.3.1.0
Found Assembly System.Net.Security 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware.SerialPort 4.3.1.0
Found Assembly Microsoft.SPOT.IO 4.3.1.0
Found Assembly System.IO 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware.PWM 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware.Usb 4.3.1.0
Found Assembly Netduino.IP 1.0.1.0
Found Assembly Netduino.IP.Interop 1.0.0.0
Found Assembly Netduino.IP.LinkLayers.AX88796C 1.0.0.0
Found Assembly SecretLabs.NETMF.Diagnostics 4.3.1.0
Found Assembly GoBus 1.5.0.0
Found Assembly SecretLabs.NETMF.Hardware.Netduino 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware.OneWire 4.3.1.0
Found Assembly Simple_Test 1.0.0.0
Found Assembly SecretLabs.NETMF.Hardware 4.3.1.0
Adding pe file C:\Users\Amcire BV\Documents\Visual Studio 2012\Projects\Simple_Test\Simple_Test\bin\Debug\le\Simple_Test.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.3\le\secretlabs.netmf.hardware.pe to deployment bundle
Attempting deployment...
Incrementally deploying assemblies to device
Deploying assemblies for a total size of 808 bytes
Assemblies successfully deployed to device.
Restarting interpreter...
Attaching to device...
Waiting for device to initialize...
The debugging target and the debugger engine failed to initialize because of unspecified device errors.
The debugger engine thread has terminated unexpectedly with error 'Could not reconnect to the debugging target after rebooting it.'.
 
Br,
Arno

In Topic: New Netduino 3 cyclic reboot - please help

26 February 2016 - 09:19 AM

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


In Topic: New Netduino 3 cyclic reboot - please help

25 February 2016 - 09:53 PM

Dears,

 

An update, I have loaded VS2013 and all other associated programs. Also loaded the latest V4.3.2.3 on the N3. The N3 now pops up in the NetduinoUpdate Tool.

 

However, when I load a program it still continues to cyclic reboot itself and then throws the same error message as above. The output is ( from a small blinky program:

 

Deploying assemblies for a total size of 808 bytes
Assemblies successfully deployed to device.
Restarting interpreter...
Attaching to device...
Waiting for device to initialize...
The debugging target and the debugger engine failed to initialize because of unspecified device errors.
The debugger engine thread has terminated unexpectedly with error 'Could not reconnect to the debugging target after rebooting it.'.
 
Any tips ?
 
Br,
Arno

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.