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.

NoxiaZ

Member Since 01 Aug 2012
Offline Last Active Mar 03 2014 07:57 AM
-----

Posts I've Made

In Topic: Write to SD Card

26 February 2014 - 01:15 PM

Ohh :(

 

And thanks for you answer ;)


In Topic: Write to SD Card

26 February 2014 - 11:48 AM

I just reformatting it, and its a SDHC 8GB - Is that a problem? :/


In Topic: Write to SD Card

26 February 2014 - 10:53 AM

Hi Chris,

 

i have tried everything nearly for writing.

 

  try
  {
  string[] directories = Directory.GetDirectories("");
  string dir = "";
  Debug.Print("Directories count: " + directories.Length);
  for (int i = 0; i < directories.Length; i++)
  {
  Debug.Print("Directory: " + directories[i]);
  if (directories[i].ToLower().IndexOf("sd") >= 0)
  {
  dir = directories[i];
  Debug.Print("Found: " + dir);
  }
  }

  Debug.Print("Finding files");
  string[] files = Directory.GetFiles(dir);
  Debug.Print("File count: " + files.Length);
  for (int i = 0; i < directories.Length; i++)
  {
  Debug.Print("Files: " + files[i]);
  }

  Stream st = new FileStream(dir + @"Log.txt", FileMode.OpenOrCreate);
  }
  catch (Exception ex)
  {
  Debug.Print("Error: " + ex);
  }

 

And this is the log:

 

Directories count: 1
Directory: SD
Found: SD
Finding files
A first chance exception of type 'System.NotSupportedException' occurred in Microsoft.SPOT.IO.dll
A first chance exception of type 'System.IO.IOException' occurred in System.IO.dll
Error: System.IO.IOException


In Topic: Netduino Plus 2 Firmware v4.2.2 (update 2)

11 November 2013 - 12:05 PM

Update- I was able to flash with the DFU file, and execute simple programs.  I still have not been able to set the MAC address with the same symptom that I posted in the previous message's screengrab.  

Any suggestions?

Thanks

 

Have you ever installed the v4.3 framework ? - Because im getting thet error if im using the tool from 4.3 to set mac adresse on a board with 4.2. Use the tool from 4.2 to set the mac address and it should work :)


In Topic: Intermittent network error. Socket gets dropped

06 November 2013 - 12:33 PM

You got no error handling in your while loop, so if you get any exception the loop will exit.

Use

try

{

...

}

catch { }


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.