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

EEPROM


  • Please log in to reply
9 replies to this topic

#1 pascal06

pascal06

    Advanced Member

  • Members
  • PipPipPip
  • 95 posts
  • LocationFrance

Posted 10 August 2010 - 08:15 PM

Hello, I realize that the MCU AT91SAM7X512 have no EPROM, right ? Perhaps, related to embedded ethernet use on your roadmap, it would be a good idea to include also a little EPROM to be able to store some persitant information like IP address ... /pascal

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 10 August 2010 - 08:35 PM

Good idea! There is an 8KB ".NET MF configuration sector" on the micro that we may be able to write a few KB of data into (such as your IP settings). There's also a 16KB "blank" area we've allocated to use for a future pre-bootloader...but we might be able to use part of that as a storage area as well. The limitation on both of these areas is that they're Flash, not EEPROM--so they'd be for writing "ocassional data" and not reading/writing data constantly. There's a bit of time overhead and Flash doesn't last as long as EEPROM (i.e. 10k+ writes vs 100k+ writes). Our short-term goal (i.e. the next 2-3 weeks) is to expose the FileSystem support so that you can read/write data to an SD card via SPI. I'm playing with early SD code here right now using the System.IO classes and it's pretty cool! We'll see what we can do to read/write a few KB of data in future revs of the firmware... Chris

#3 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 11 August 2010 - 08:49 AM

Our short-term goal (i.e. the next 2-3 weeks) is to expose the FileSystem support so that you can read/write data to an SD card via SPI. I'm playing with early SD code here right now using the System.IO classes and it's pretty cool!

Should not be possible to simply connect any TWI/I2C compatible serial EEPROM (using analog input pins 4,5 switched to TWD/TWCK)?

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 11 August 2010 - 04:24 PM

Should not be possible to simply connect any TWI/I2C compatible serial EEPROM (using analog input pins 4,5 switched to TWD/TWCK)?


Absolutely. And you can use either 3.3V or 5V I2C devices...just connect their power to the respective power header.

You'll need to write some C# code to interface with the EEPROM... Maybe we could put together a driver and do this in an upcoming tutorial as well. Would anyone be interested in that?

#5 krst

krst

    New Member

  • Members
  • Pip
  • 6 posts

Posted 14 August 2010 - 05:41 PM

yes, eeproom "driver" code would be nice, even though sd car gives more memory it feels easier easier and much cheaper to just throw in a small memory straight on the projects board on ..

#6 Charles

Charles

    Advanced Member

  • Members
  • PipPipPip
  • 192 posts

Posted 24 November 2010 - 03:08 AM

Absolutely. And you can use either 3.3V or 5V I2C devices...just connect their power to the respective power header.


Not true...

I have a 24LC256 chip and it will not work with the Netduino...

http://forums.netdui...with-i2c-eeprom

Netduino firmware can not handle chips that require repeated start conditions.

In light of this, has anyone here successfully utilized EEPROM with a Netduino/N+? If so, please share the make and model number so the rest of us can avoid disappointment in the future.

#7 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 24 November 2010 - 03:13 AM

Hi Charles, If the microcontroller supports it, we should be able to add the repeated start bit functionality into the firmware. We just need a few simple test hardware configurations (and documentation for code implementation) that we can use to verify that we've made the proper enhancements. Chris

#8 Charles

Charles

    Advanced Member

  • Members
  • PipPipPip
  • 192 posts

Posted 24 November 2010 - 03:25 AM

It was only $1.50, not even worth that I'm sure. I would much prefer to just move on to something that _works_ rather than make waves. I was hoping someone could simply suggest an IC that is known to work.

#9 Charles

Charles

    Advanced Member

  • Members
  • PipPipPip
  • 192 posts

Posted 25 November 2010 - 06:40 AM

Any chance ExtendedWeakReference will get support for RecoverOrCreate functionality in the near future? What about allowing classes to be ISerializable??

#10 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 25 November 2010 - 05:27 PM

Any chance ExtendedWeakReference will get support for RecoverOrCreate functionality in the near future?

What about allowing classes to be ISerializable??


Charles,

I would recommend using an SD card and file system access. To enable ExtendedWeakReferences on the Netduino, we'd need to use 16KB of Flash that could otherwise be used for code.

Then again, maybe we could offer it as an option (i.e. pre-compiled firmware with ExtendedWeakReference space)?

Chris




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.