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.

Alphons

Member Since 05 Jul 2011
Offline Last Active Aug 06 2011 11:39 AM
-----

Posts I've Made

In Topic: Netduino Plus Firmware v4.2.0 BETA 1

06 August 2011 - 11:41 AM

4.2.0 Beta 1, def. no UDP working (NTP fails) going back to 4.1 resolves this issue. If this is known, sorry for herrassing you ;) .

In Topic: Netduino Plus Firmware v4.2.0 BETA 1

17 July 2011 - 10:06 PM

At this moment I switched the card to a 2GB Sandisk and it works. The 4GB kingston is SDHC category 4 type. I formatted it using FAT(16) and FAT32. Used an micro-SD adapter on Win 7 (64 bit). But win7 can not make partitions on the card. Also I tried creating a partition of 1GB using Active Partition Manager (freeware). Both formatting it using FAT and FAT32, but no luck on the netduinoplus. When accessing the card, it can show the Directory name 'SD', but enumerating files, throws an exception. Also tested using a Kingston 8GB type, same result, but I don't have acces to that card any more ;) Also tried the 4.1.1 firmware same result on the 4GB card.

In Topic: Netduino Plus Firmware v4.2.0 BETA 1

17 July 2011 - 04:47 PM

I have a Kingston 4GB micro-sd, giving an exception in microsoft.spot.io assembly.

In Topic: Still learning, internet way to grab date and time on startup

12 July 2011 - 11:03 PM

This is my first post here :)
Got the netduino plus device today.
To init the DateTime.Now value of de the device, the assembly build Version can be of some use.

First, edit the AssemblyInfo.cs file (properties):

[assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyFileVersion("1.0.0.0")]

Second, do some calculation to get a real DateTime and do a 'SetLocalTime'.

private void InitDateTime()
{
  System.Version v = 
      System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
   Microsoft.SPOT.Hardware.Utility.SetLocalTime(
      new DateTime(1 * TimeSpan.TicksPerHour + 
       (v.Build + 145731) * TimeSpan.TicksPerDay + 
        v.Revision * TimeSpan.TicksPerSecond * 2));
}

When de device is reset, the original datetime of the build is used as a starting value.
It is not NTP but maybe this can be usefull for debugging etc.

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.