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.
Photo

How to Write/Read to Built-in Flash/EEPROM on the BARE Netduino?


  • Please log in to reply
7 replies to this topic

#1 *netmf

*netmf

    New Member

  • Members
  • Pip
  • 3 posts

Posted 12 November 2012 - 03:35 AM

I got a Netduino Plus (1) and I want to save my IP settings permanently for persistence during reboots. On Arduino, this is possible with CPU EEPROM. How about Netduino with 4.2.1 SDK? (Thanks to other posts on porting from 4.1 to 4.2.1!!!) -*

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 12 November 2012 - 03:50 AM

Hi *netmf,

Check out the NetworkInterface class. It will let you set your IP settings which are then saved in flash.

Just be sure to only rewrite them when you want to change them.

You can also set these settings from MFDeploy.

Chris

#3 *netmf

*netmf

    New Member

  • Members
  • Pip
  • 3 posts

Posted 12 November 2012 - 05:16 AM

Chris, Thank you for a prompt response. How do I use the EEPROM/flash to store last user input for some integer? Thank you!

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 12 November 2012 - 06:55 AM

Hi *netmf,

Thank you for a prompt response.

How do I use the EEPROM/flash to store last user input for some integer?

There's no onboard storage for additional data, except for the MicroSD card. I'd recommend using that for storage. There's simply no room for code storage on Netduino Plus 1. :(

We do have a bit of extra space that we could use on storage with Netduino Plus 2. We'll take a look and see if we can expose that (as a sort of pseudo-eeprom) in a future firmware update.

Chris

#5 *netmf

*netmf

    New Member

  • Members
  • Pip
  • 3 posts

Posted 12 November 2012 - 12:29 PM

We do have a bit of extra space that we could use on storage with Netduino Plus 2. We'll take a look and see if we can expose that (as a sort of pseudo-eeprom) in a future firmware update.

Chris


Chris,

That would be amazing. At this time I do not plan to store pictures, I just want to store a couple of bitmasks for environment settings.

Any ideas on what ver. will have this feature implemented and its full backward (hardware compatibility, when it's done)?

Thank you,
-*

Edited by Chris Walker, 12 November 2012 - 05:40 PM.
added [quote] tag


#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 12 November 2012 - 05:40 PM

Any ideas on what ver. will have this feature implemented and its full backward (hardware compatibility, when it's done)?

It's a feature on our wish list, something that we baked into the hardware design. Right now we're focused on ensuring that all Netduino Plus 2 features work really well for our community and that projects upgrade seamlessly.

After the holidays we'll start attacking new software features. If this one gets the most votes, it gets in the first batch :)

Chris

#7 Viren

Viren

    New Member

  • Members
  • Pip
  • 3 posts
  • LocationAhmedabad, GJ, India

Posted 05 January 2013 - 10:41 AM

we are waiting for up gradation for the same



#8 cce1911

cce1911

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts
  • LocationGeorgia, USA

Posted 06 May 2013 - 04:51 PM

It's a feature on our wish list, something that we baked into the hardware design. Right now we're focused on ensuring that all Netduino Plus 2 features work really well for our community and that projects upgrade seamlessly.

After the holidays we'll start attacking new software features. If this one gets the most votes, it gets in the first batch Posted Image

Chris

 

Did this make the list?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.