- Netduino Forums
- → alanb's Content
alanb's Content
There have been 28 items by alanb (Search limited from 26-June 23)
#8755 Help required with Update firmware to 4.1.1
Posted by alanb on 31 January 2011 - 04:48 PM in Netduino Plus 2 (and Netduino Plus 1)
#8768 Help required with Update firmware to 4.1.1
Posted by alanb on 31 January 2011 - 08:02 PM in Netduino Plus 2 (and Netduino Plus 1)
#8769 Help required with Update firmware to 4.1.1
Posted by alanb on 31 January 2011 - 08:33 PM in Netduino Plus 2 (and Netduino Plus 1)
#8814 Help required with Update firmware to 4.1.1
Posted by alanb on 01 February 2011 - 05:16 PM in Netduino Plus 2 (and Netduino Plus 1)
Hi Alan,
Are you running inside a virtual machine? If not, what version of Windows are you using (and is it 32-bit or 64-bit)?
Chris
Chris,
I am running a 32bit version of XP with service pack 3 on an Esprimo with Intel core2 CPU 6300 @ 1.86 GHz showing 2.99 GB of ram although there is 5GB on board. I usually run Ubuntu but installed the only version of XP I own which is the 32 bit version from a previous machine. Not running on a virtual machine.
Alan
#8819 Project to run my machine
Posted by alanb on 01 February 2011 - 06:30 PM in General Discussion
#8828 Help required with Update firmware to 4.1.1
Posted by alanb on 01 February 2011 - 07:34 PM in Netduino Plus 2 (and Netduino Plus 1)
#8834 Help required with Update firmware to 4.1.1
Posted by alanb on 01 February 2011 - 08:10 PM in Netduino Plus 2 (and Netduino Plus 1)
#8902 Help required with Update firmware to 4.1.1
Posted by alanb on 02 February 2011 - 08:14 PM in Netduino Plus 2 (and Netduino Plus 1)
#8917 Help required with Update firmware to 4.1.1
Posted by alanb on 02 February 2011 - 11:02 PM in Netduino Plus 2 (and Netduino Plus 1)
Attached Files
- vs_build3_on_4.1.1a6.txt 3.91KB 10 downloads
- build3_MFDeploy_clear_4.1.1a6.txt 1.6KB 6 downloads
#8933 SD Card Issues.
Posted by alanb on 03 February 2011 - 06:43 PM in Netduino 2 (and Netduino 1)
I put a SanDisk 4GB SD card (in hope) into my N+ and then ran
VolumeInfo[] vols = VolumeInfo.GetVolumes(); foreach (VolumeInfo vi in vols) { Debug.Print(vi.RootDirectory.ToString()); Debug.Print(vi.TotalFreeSpace.ToString()); Debug.Print(vi.IsFormatted.ToString()); Debug.Print(vi.VolumeID.ToString()); } OutputPort SdPower = new OutputPort((Cpu.Pin)25, false); // ensure that the SD card is powered InputPort sdDetected = new InputPort((Cpu.Pin)57, false, Port.ResistorMode.PullUp); Debug.Print("sd detected: " + (!sdDetected.Read()).ToString()); sdDetected.Dispose();
And got
\ROOT
0
False
0
\WINFS
20000000
True
1
sd detected: True
But my point here is that I got sd detected: True in both instances i.e. when the card was in and again when ejected!! I expected the result to be False with no card inserted. To check I unplugged the N+ before running the code again but got the same result. Is this to be expected? Is \ROOT the card ?
I bought the card yesterday at the local supermarket, I assumed it was pre formatted!!
#8943 SD Card Issues.
Posted by alanb on 03 February 2011 - 07:55 PM in Netduino 2 (and Netduino 1)
#8945 SD Card Issues.
Posted by alanb on 03 February 2011 - 08:00 PM in Netduino 2 (and Netduino 1)
#8964 SD Card Issues.
Posted by alanb on 04 February 2011 - 12:30 AM in Netduino 2 (and Netduino 1)
No didnt see /SD so I will get a 2GB card .alanb,
Do you get \SD? Also, Netduino Plus (and .NET MF's SD_SPI driver) support cards up to 2GB. 4GB _may_ work, but we recommend <=2GB.
If you don't see \SD, then a valid card is not inserted.
Chris
Alan
#9159 Help required with Update firmware to 4.1.1
Posted by alanb on 08 February 2011 - 12:33 PM in Netduino Plus 2 (and Netduino Plus 1)
while (true) { Debug.Print("Loop " + i.ToString() + "\n"); string[] dirs = Directory.GetDirectories(@"\"); foreach (string s in dirs) Debug.Print(s); i++; try { Directory.SetCurrentDirectory("\\SD"); } catch (Exception) { Debug.Print("Exception occurred while calling SetCurrentDirectory"); } Debug.Print("Current directory (after): " + Directory.GetCurrentDirectory()); Thread.Sleep(8000); }See attached file for output. I removed/re-inserted the SD card between iterations of the loop but it seems to make no difference. So can you tell if my SD card reader working or not or is it a software issue?
Attached Files
- SDresults.txt 5.53KB 8 downloads
#9215 Help required with Update firmware to 4.1.1
Posted by alanb on 09 February 2011 - 11:01 AM in Netduino Plus 2 (and Netduino Plus 1)
alanb,
It's really weird that you're getting "\ROOT" and "\WINFS" at all. Which firmware build are you using? The special "build #3" that I sent you?
Also, is the card formatted as FAT16 or FAT32?
Chris
Yes I am using the special build you sent. I will reflash the old 4.1.0.5 today and try that. The SD card was formatted on my PC as FAT so I take that to be FAT16. I do know that when mounted on a USB carrier my pc reports the SD disk as healthy.
At present I do not know if it is the firmware or my N+ hardware that is at fault (if it is the hardware I will want to return my N+ to the supplier to be swapped under warranty for a fully working board).
I am under the opinion that perhaps secret labs should think about makeing some short test programs available (not necessarily in c#) that will enable users to establish definitively, if at all possible, whether a problem is hardware or software related. I think this could apply to the SD card, the Network interface etc.
For example is my short bit of code that doesnt report \SD a definitive test for the SD reader/firmware? If not what code would be?
Alan
#9223 Help required with Update firmware to 4.1.1
Posted by alanb on 09 February 2011 - 02:01 PM in Netduino Plus 2 (and Netduino Plus 1)
#9228 Help required with Update firmware to 4.1.1
Posted by alanb on 09 February 2011 - 03:51 PM in Netduino Plus 2 (and Netduino Plus 1)
I have just uploaded vs express onto another pc (atom)
Ran the code on atom pc and got the same results as my normal pc see attachment earlier.
Alan
#9229 Any experience using keypad in your project?
Posted by alanb on 09 February 2011 - 04:09 PM in General Discussion
#9263 Any experience using keypad in your project?
Posted by alanb on 10 February 2011 - 04:11 PM in General Discussion
#9292 Any experience using keypad in your project?
Posted by alanb on 11 February 2011 - 12:37 AM in General Discussion
#9318 Any experience using keypad in your project?
Posted by alanb on 11 February 2011 - 11:01 AM in General Discussion
#9323 Help required with Update firmware to 4.1.1
Posted by alanb on 11 February 2011 - 05:06 PM in Netduino Plus 2 (and Netduino Plus 1)
#9357 Help required with Update firmware to 4.1.1
Posted by alanb on 12 February 2011 - 01:27 PM in Netduino Plus 2 (and Netduino Plus 1)
Directory.SetCurrentDirectory("\\SD");
To
Directory.SetCurrentDirectory(@"\SD");When I did this it all worked fine.
Which is the embarrassed emoticon, imagine it here
#9538 Netduino Plus Firmware v4.1.1 ALPHA 7
Posted by alanb on 14 February 2011 - 05:22 PM in Netduino Plus 2 (and Netduino Plus 1)
#9542 Help required with Update firmware to 4.1.1
Posted by alanb on 14 February 2011 - 06:20 PM in Netduino Plus 2 (and Netduino Plus 1)
- Netduino Forums
- → alanb's Content
- Privacy Policy