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.

Julian de Wit

Member Since 13 Dec 2010
Offline Last Active Mar 07 2011 07:13 PM
-----

Topics I've Started

network disconnect,reconnect -> lockup

20 December 2010 - 04:59 AM

Hello,
I was building a datalogging application with the netduino plus.
However when, for a test, I disconnect and reconnect the network cable, the netduino locks up.

I -think- I saw the same problem here..
post

Is there any news on this ? I'm unable to use my app in "the field" now.

Thanks in advance..

SD Card cannot get basic example working

13 December 2010 - 02:38 PM

Hi I want to try my SD card on de the netduino plus.
I downloaded the SDK from this website yesterday.

I could not find documentation so I figured out the following code.
However it gives "CLR_E_VOLUME_NOT_FOUND".. What do I do wrong ?
I read something online about mounting and a certain dll (SecretLabs.NETMF.IO.dll ) but I cannot find that dll.

Can anybody help me getting started ?

    public class Program
    {
        public static void Main()
        {
            var dir = Directory.GetCurrentDirectory();
            var fileName = Path.Combine(dir, "test.txt");
            Debug.Print(fileName);
            byte[] testBytes = new byte[] { 1,2,3,4 };
            File.WriteAllBytes(fileName, testBytes);
        }

    }

Output :

\test.txt
#### Exception System.IO.IOException - CLR_E_VOLUME_NOT_FOUND (1) ####
#### Message:
#### System.IO.Path::NormalizePath [IP: 0070] ####
#### System.IO.Path::GetFullPath [IP: 001a] ####
#### System.IO.FileStream::.ctor [IP: 0009] ####
#### System.IO.File::WriteAllBytes [IP: 0012] ####
#### NetduinoPlusApplication1.Program::Main [IP: 0025] ####
A first chance exception of type 'System.IO.IOException' occurred in System.IO.dll
An unhandled exception of type 'System.IO.IOException' occurred in System.IO.dll

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.