Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.


Member Since 06 Mar 2011
Offline Last Active Jan 13 2016 08:41 PM

Topics I've Started

Application Deployment problems

09 November 2013 - 01:11 PM

I am having very little luck getting a hex file from MFDeploy.  I am using an NP with firmware and XPSP3.  When I hold the button down and reconnect the USB cable (no power adapter used) MFDeploy will very occasionally return the required [font="'times new roman';"]"Pinging TinyBootloader"[/font] and then I can successfully create a hex file.  Sometimes I have to unplug/replug the NP continuously (experimenting with the length of the button push) before it catches and I can create a hex file.  I have tried it while connected directly to the PC and through a hub with no difference.

I want to spend more time debugging code and less fiddling with this silliness. Is there an alternative way to get the hex file? 

Using MFDeploy for loading my code

08 May 2013 - 03:49 PM

Can I use MFDeploy to load my code into the Neduino Plus?  How would I do that? I ahve a prototype of a product at another location that needs a update to my code.

SD card file corruption

04 May 2013 - 04:05 PM

I am having a problem with SD card file corruption when the power is cycled.  If I write to the card and then later interrupt the power, the file is set to 0kB.  The problem does not seem to happen if no writes have occurred since the last power up.



Here's the write routine:


public static void writeAllSettingsToSD(ArrayList settings)   {   if (!VolumeExist())   {   SDError = SDCardError.NoSDCard;   throw new IOException("NO SD card");   }   if (settings != null)   {   if (settings.Count != 0)   {   try   {   using (StreamWriter file = new StreamWriter(ROOTPATH + SETTINGSPATH, !append)) //fix this   {   foreach (string setting in settings)   {   file.WriteLine(setting);   }   file.Flush();   file.Close();   }   }   catch (IOException)   {   SDError = SDCardError.FileWriteError;   throw new IOException("SD Settings WRITE problem");   }   } //end if settings count != 0   } //end if settings != null   } //end writeToSD


Netduino Plus bricked?

08 March 2013 - 07:05 PM

I have a Netduino Plus on which I have been developing on for a year.  My application was running on it just fine but I just got it back from the field to do a application update.  I could not get .NET 2010 dev system to connect to the board.  MFDeploy would only occasionally connect and it showed v4.2.0.0. I deleted .NET and Netduino SDK and updated to and then erased the board.  When replugged into the PCs USB port, it installed a atmel6124.sys driver.  I ran SAM-BA and installed the TinyBootloaderDecompressor.bin from the firmware release. Now  MFDeploy does not see the board at all.  I uninstalled the atmel driver and reconnected the Netduino and it reinstalled the atmel driver. 

I am using Win XP.  What am I doing wrong.  I really need to get this up and running quickly to get it back out for testing.


Update: I updated SAMBA from 2.1.0 to 2.1.2 with patch and reinstalled the driver.  Now SAMBA does not display anything after the connection page is clicked through.  It just keeps getting better.


Further update: Removed patch, rebooted PC, now SAMBA works.  Still doesn't change the device id to Netduino.


Following the step by step installation carefully turned the brick into a Netduino.  So far so good.


VS will still not deploy or debug the code.


MFDeploy pings okay every time but Device/Capabilities says "Not Supported"


Redid the firmware update and now MFDeploy works okay.  Still can't deploy or debug from VS


If I unplug the USB cable after starting the Deploy it deploys.  Pretty ugly but if that's what has to happen then it will be done.

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.