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.

upswing's Content

There have been 8 items by upswing (Search limited from 30-March 23)


By content type

See this member's

Sort by                Order  

#52427 XML Serialization

Posted by upswing on 28 August 2013 - 07:01 PM in Netduino Plus 2 (and Netduino Plus 1)

It seems that the netduino does not have the XML runtimes, because they take too much memory.

 

Is there any way to increase the memory on the board through a shield or other so that I can load some additional/new firmware?

 

Is there any plans to come up with new hardware with more memory anytime soon?




#52425 XML Serialization

Posted by upswing on 28 August 2013 - 06:48 PM in Netduino Plus 2 (and Netduino Plus 1)

 I want to store some objects in xml files on the SD card to hold some startup data. My code compiles and runs on the emulator but I am getting some not supported exceptions....

 

Is XML serialization supported on the netduino 2 Plus?

 




#52417 SD card I/O exception thrown

Posted by upswing on 28 August 2013 - 05:56 PM in Netduino Plus 2 (and Netduino Plus 1)

Got a new 2GB card today and I can read it now. However I could not buy that size in any store and I had to order it on the internet.  Which leads to the following question:

 

Why are the newer SD cards (4GB, 8GB etc..) not supported? These cards are the only ones that can be purchased in brick and mortar stores.  Are there any plans to lift this really restrictive restriction soon?




#52303 SD card I/O exception thrown

Posted by upswing on 23 August 2013 - 03:09 PM in Netduino Plus 2 (and Netduino Plus 1)

I have tested this on two different netduino 2 +

 

I have tried SD cards 2GB, 4 GB, 8GB. 

 

I use Micro framework version 4.2

 

Can anyone help, please




#52301 SD card I/O exception thrown

Posted by upswing on 23 August 2013 - 02:59 PM in Netduino Plus 2 (and Netduino Plus 1)

I get an exception when trying to write read a micros SD card 4GB Fat32 using a netduino 2 plus

 

Exception was thrown: System.NotSupportedException

Stack Trace

Microsoft.SPOT.IO.NativeIO::GetAttributes
System.IO.FileStream::.ctor
System.IO.FileStream::.ctor
System.IO.StreamWriter::.ctor
System.IO.StreamWriter::.ctor
NetduinoApplication1.Program::Main

 

Code is

try

{

using (StreamWriter SW = new StreamWriter("SDtest.txt"))

SW.WriteLine("test");

using (StreamReader SR = new StreamReader("SDtest.txt"))

Debug.Print(SR.ReadLine());

}

catch (Exception exc)

{

message = exc.Message;

}

 

 

 

Can anyone help please

?




#52295 SD Card strange behavior

Posted by upswing on 23 August 2013 - 12:40 AM in Netduino Plus 2 (and Netduino Plus 1)

I get an exception when trying to write read the sd card

 

Exception was thrown: System.NotSupportedException

 

Stack Trace

Microsoft.SPOT.IO.NativeIO::GetAttributes System.IO.FileStream::.ctor System.IO.FileStream::.ctor System.IO.StreamWriter::.ctor System.IO.StreamWriter::.ctor NetduinoApplication1.Program::Main

 

Code is

try

{

using (StreamWriter SW = new StreamWriter("SDtest.txt"))

SW.WriteLine("test");

using (StreamReader SR = new StreamReader("SDtest.txt"))

Debug.Print(SR.ReadLine());

 

}

catch (Exception exc)

{

message = exc.Message;

}

 

SD card 4GB Fat32

 

Can anyone help please  




#52294 SD card I/O exception thrown

Posted by upswing on 23 August 2013 - 12:10 AM in Netduino Plus 2 (and Netduino Plus 1)

The following code throws an I/O exception

 

string message = "This is a test";

try

{

System.Collections.IEnumerable x = Directory.EnumerateDirectories(@"SD");

}

catch (Exception exc)

{

message = exc.Message;

}

 

 




#52293 SD Card strange behavior

Posted by upswing on 23 August 2013 - 12:03 AM in Netduino Plus 2 (and Netduino Plus 1)

I have the same problem with two different boards and different sd cards.  Anyone got a solution?





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.