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.
Photo

Is this the end of NetduinoPlus?


  • Please log in to reply
26 replies to this topic

#21 nunya

nunya

    New Member

  • Members
  • Pip
  • 2 posts

Posted 29 July 2012 - 12:21 AM

Why use 4.2? It's not even out of beta yet for the nd

By all accounts the one wire firmware for nd (based on 4.1) is excellent...

Nak.


Hi Nak,

Part of my frustration and the reason I flashed with 4.2 is the fact that I am not able to find libraries like CW2's OneWire library. I also saw that .net micro v4.2 has OneWire, but when I tried it on the netduino plus, it threw a not implemented exception. I understand that netduino 4.2 is only in beta, but it was my best hope at the time.

It took me half an hour to find the firmware for 4.2. I went to downloads, expecting to find firmware there. Found the source, but no binaries. I have had to sift through forums to find anything. This is not very efficient, so the frustration continued to grow.

Are you aware of a link to the firmware page on this site or is it just a matter of sifting through forums to find stuff?

Nunya.

#22 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 29 July 2012 - 01:01 AM

Hi Nunya,

Are you aware of a link to the firmware page on this site or is it just a matter of sifting through forums to find stuff?

The latest firmware is always posted as a sticky on the respective forums.

For release firmware, look at the stickies in the "Netduino", "Netduino Plus", "Netduino Mini", and "Netduino Go" forums.

For the latest beta firmware, look at the stickies in the "Beta Firmware and Drivers" forum.

Chris

#23 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 29 July 2012 - 05:20 PM

...I am not able to find libraries like CW2's OneWire library. I also saw that .net micro v4.2 has OneWire, but when I tried it on the netduino plus, it threw a not implemented exception.

CW.NETMF.OneWire library is available in files attached to OneWire thread. OneWire implementation in .NET Micro Framework 4.2 is based on Maxim/Dallas 1-Wire Public Domain Kit and does not work out-of-the-box on AT91SAM7X (Netduino) platforms, as far as I know it is not included in Netduino firmware builds (hence not implemented exception).

Are you aware of a link to the firmware page on this site or is it just a matter of sifting through forums to find stuff?

In addition to what Chris Walker said above, there is also exhaustive Firmware page on the wiki.

#24 ToniA

ToniA

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 19 August 2012 - 02:29 PM

CW.NETMF.OneWire library is available in files attached to OneWire thread. OneWire implementation in .NET Micro Framework 4.2 is based on Maxim/Dallas 1-Wire Public Domain Kit and does not work out-of-the-box on AT91SAM7X (Netduino) platforms, as far as I know it is not included in Netduino firmware builds (hence not implemented exception).


So there's still no 1-wire support on the official hardware? And no 4.2 beta with working 1-wire? I'm very much looking into having a hardware watchdog and 1-wire on the stock Netduino, as I'm planning to control central heating with it, and reliability is a key thing. I just hope I wouldn't have to go to the Arduino route, as it would again be a new environment to learn. And I would be missing the Ethernet without extra shields.

CW2, I very much appreciate your work on the 1-wire support. I do have your 4.1.1 beta, and it works well with all 1-wire devices I have tried. Netduino Plus is a wonderful platform, but I'm really missing the watchdog...

#25 OZ8ET

OZ8ET

    Advanced Member

  • Members
  • PipPipPip
  • 72 posts
  • LocationHundested, Denmark

Posted 03 September 2012 - 05:11 AM

Your meaning on "watchdog" may be more complicated than mine, but this is how I do it - the simple way:

public static class WatchDog
	{
		const Int32 wdDelay = 1000*60*60*12;
		static Timer wdtimer = new Timer(on_TimerTick, null, wdDelay, 0);

		public static void Reset()
		{
			wdtimer.Change(wdDelay, 0);
		}

		static void on_TimerTick(Object state)
		{
			CLog.LogEvent("Watchdog Rebooting.");
			PowerState.RebootDevice(false, 1000);
		}
	}

The watchdogdelay (wDelay) is her set to 12 hours (100*60*60*12 miliseconds).
The Reset() command sits in a place I want to make sure that I excecute within the 12 hours, and it resets the wDelay counter.
On timeout (_TimerTick) the watchdog write a message to my log, and reboot the device. Simple but effective.

Erik

#26 ToniA

ToniA

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 03 September 2012 - 05:30 PM

Your meaning on "watchdog" may be more complicated than mine, but this is how I do it - the simple way:


Sure, but this is still a software watchdog. It does not help if the software crashes, or the firmware somehow gets stuck etc.

What I would really need is a hardware watchdog, i.e. the reset functionality must not depend on the software at all.

#27 nakchak

nakchak

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 05 September 2012 - 01:13 PM

Sure, but this is still a software watchdog. It does not help if the software crashes, or the firmware somehow gets stuck etc.

What I would really need is a hardware watchdog, i.e. the reset functionality must not depend on the software at all.


Mario has written a nice article about creating a simple watchdog here, the problem for netmf devices is the length of boot time but his solution takes care of that.

Hope that helps some

Nak.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.