- Netduino Forums
- → Viewing Profile: Posts: dab
About Me
I work as a Software Design Engineer in Test at Microsoft for Windows Phone 7.
I'm actually an electrical engineer by training, and I'm getting back into the electronics hobby after a long hiatus
Community Stats
- Group Members
- Active Posts 54
- Profile Views 8820
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
-
Location
Bellevue, WA, USA
User Tools
Friends
dab hasn't added any friends yet.
Posts I've Made
In Topic: What is the Netduino Mini?
24 October 2010 - 11:45 PM
In Topic: UART Shield
02 October 2010 - 04:22 AM
Works great with the Netduino (make sure to get the 3V3 version).
In Topic: Serial Comms via USB in the cards?
30 September 2010 - 05:26 PM
Pardon my ignorance, but what's CDC (besides the Centers for Disease Control )?We are working on a USB HID (driverless) communication channel...and are looking at CDC as well. We're not sure if we'll be able to enable CDC _and_ USB debugging at the same time--but we're looking at it.
In Topic: SD huh?
30 September 2010 - 06:11 AM
Also, it looks like you can just use 128 for the 3rd parameter to FileStream.Read()...if it reads less than 128 bytes, then it should be OK (the method will return the actual number of bytes it read).On second thought...
fileLocation += fStream.Read(buffer, fileLocation, System.Math.Min(128, (int)(fInfo.Length - fileLocation)));
fileLocation is 128 on your second loop--too high of an offset in your 128-byte buffer array. Did you want to pass 0 as your second parameter?
Chris
In Topic: How to use the SD card and StreamWriter
30 September 2010 - 06:01 AM
Cool - thanks for getting the new firmware out so quickly!We have posted updated firmware to address the SD card mounting and memory allocation issues.
http://forums.netdui...patch-4-beta-1/
SD card-related updates in the firmware update:
* Mounting invalid MicroSD cards now throws an exception
* Reduced memory usage when accessing SD cards
Please let me know if this new firmware fixes things for you...
Chris
This seems to fix the problem I was having with the StreamReader.ReadLine() method yesterday:
Current directory: \ dir: \SD file: \SD\FOO.TXT The quick brown fox jumps over the lazy dog.
Now I need to figure out what to do with 1.83 GB of storage.
- Netduino Forums
- → Viewing Profile: Posts: dab
- Privacy Policy