- Netduino Forums
- → lynxeyed_atsu's Content
lynxeyed_atsu's Content
There have been 5 items by lynxeyed_atsu (Search limited from 29-April 23)
#4093 What is the Netduino Mini?
Posted by lynxeyed_atsu on 22 October 2010 - 05:59 AM in Netduino Mini
#2917 NetduinoUpdate command-line prototype for Mac OS X and Linux
Posted by lynxeyed_atsu on 26 September 2010 - 10:57 AM in Mono
#2415 Netduino Firmware v4.1.1 ALPHA 1
Posted by lynxeyed_atsu on 18 September 2010 - 09:01 AM in Beta Firmware and Drivers
I'm in a trouble controlling a SDCard(1GB) with FAT16-formatted.
I changed the firmware of my netduino v.4.1.1-alpha usin MFDeploy.exe.
I use GPIO_PIN_D3 as CS-pin of SDCard.
Here's my code. And I could build with no errors.
using System; using System.Threading; using Microsoft.SPOT; using System.IO; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.IO; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; namespace NetduinoApplication3 { public class Program { public static void Main() { StorageDevice.MountSD("SD1", SPI_Devices.SPI1, Pins.GPIO_PIN_D3/*CS pin*/); string[] directories = System.IO.Directory.GetDirectories(@"\"); Debug.Print("directory count: " + directories.Length.ToString()); for (int i = 0; i < directories.Length; i++) { Debug.Print("directory: " + directories[i]); } string[] files = System.IO.Directory.GetFiles(@"\SD1"); Debug.Print("file count: " + files.Length.ToString()); for (int i = 0; i < files.Length; i++) { Debug.Print("filename: " + files[i]); FileStream fs = new FileStream(files[i], FileMode.Open, FileAccess.Read, FileShare.None, 512); StreamReader sr = new StreamReader(fs); Debug.Print("contents: " + sr.ReadToEnd()); } } } }
I connected my netduino with "TFT-LCD & SDCard shield"(this shield was made in JPN) hit "F5" key to start debug.
But VS2010 just say, "The debugging target is not an initialized state;rebooting".
So I Stopped debuging. And I plugged USB cable after unplugged my netduino,but There's no changes.VS2010 just say rebooting. :-p
So give me any advice?
#1004 OLED...first project
Posted by lynxeyed_atsu on 21 August 2010 - 11:53 PM in Project Showcase
Thank you for your reply.
Yes, Japanese people came to be able to buy Netduino this week via SWITCHSCIENCE.(but netduino is sold out at once.)
A few people know the usage of .Net Micro Framework because they are using "FE* Domino".
Others are beginner of .NET Micro Framework.(Generally we (and Mr.Szymon!) are using C/C++ on embedded CPU )
I also feel the LANGUAGE barrier. I'LL translate my job log until next Sunday in English.Due to language barier it's hard for me to keep up with what you are doing. Hope you could give us some updates on cool project you are working on.
Regards.
#973 OLED...first project
Posted by lynxeyed_atsu on 21 August 2010 - 03:11 PM in Project Showcase
- Netduino Forums
- → lynxeyed_atsu's Content
- Privacy Policy