Retain Data While Powered Off
#1
Posted 29 November 2012 - 04:59 AM
#2
Posted 29 November 2012 - 06:29 AM
#3
Posted 29 November 2012 - 11:25 AM
#4
Posted 29 November 2012 - 10:29 PM
#5
Posted 29 November 2012 - 11:49 PM
#6
Posted 23 December 2012 - 07:39 PM
#7
Posted 23 December 2012 - 10:17 PM
#8
Posted 23 December 2012 - 11:05 PM
i prefeer eeproms (24fc512)
easy to use, speed ok, cheap
can read/write single addresses and pages
I just designed breakout that can host 4 cascaded eeproms. Should have the boards back in early January. This will give me up to 2meg storage with I2C.
#9
Posted 14 June 2015 - 05:22 AM
HI Dave,
Looks like you've had some success getting your Mini to talk I2C. I'm frustrated at my inability to do likewise, and wonder if I could trouble you for a little help....
In a nutshell, I've been trying (unsuccessfully) to get my Mini hooked up to a 24LC256 eeprom. After several days I've concluded that
a) My Mini and eeprom hardware setup correctly. I've checked and aligned with 5 or more comments/posts/photos, and confirmed against the datasheet
My program is correct. The last version I coded by hand turned out to be practically identical to Stefan's, so I binned mine and I'm now using his!
c) There is a pesky question floating around in my mind about I2C bugs in the 4.2 firmware. Here's what I'm running:
.NetMF v4.2.0.0
NetduinoMini, Build Date: Sep 19 2012 19:40:47ARM Compiler version 410894TinyCLR (Build 4.2.0.0)Starting...Created EE.Started Hardware.Create TS.Loading start at 13ed64, end 154648Assembly: mscorlib (4.2.0.0)Assembly: Microsoft.SPOT.Native (4.2.0.0)Assembly: Microsoft.SPOT.Hardware (4.2.0.0)Assembly: Microsoft.SPOT.Hardware.SerialPort (4.2.0.0)Assembly: Microsoft.SPOT.IO (4.2.0.0)Assembly: System.IO (4.2.0.0)Assembly: Microsoft.SPOT.Hardware.PWM (4.2.0.1)Assembly: SecretLabs.NETMF.Diagnostics (4.2.0.0)Assembly: SecretLabs.NETMF.IO (4.2.0.0)Loading Deployment Assemblies.Attaching deployed file.Assembly: Microsoft.SPOT.Graphics (4.2.0.0)Attaching deployed file.Assembly: Microsoft.SPOT.Net.Security (4.2.0.0)Attaching deployed file.Assembly: SecretLabs.NETMF.Hardware.NetduinoMini (4.2.0.1)Attaching deployed file.Assembly: System.Http (4.2.0.0)Attaching deployed file.Assembly: System (4.2.0.0)Attaching deployed file.Assembly: System.Net.Security (4.2.0.0)Attaching deployed file.Assembly: Json.NetMF (1.3.0.0)Attaching deployed file.Assembly: Roam.Scout (1.0.0.0)Attaching deployed file.Assembly: Microsoft.SPOT.Net (4.2.0.0)Attaching deployed file.Assembly: SecretLabs.NETMF.Hardware (4.2.0.0)
Dave, is there anything you'd suggest I try to get my I2C eeprom working? I've run out of investigative energy... and Google now turns up pages of purple links... ie I've been to all of those pages already!
Thanks in advance.
Andrew
#10
Posted 14 June 2015 - 05:46 AM
Regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#11
Posted 14 June 2015 - 05:54 AM
Hi Mark, Thanks for coming back to me. It's been a lonely couple of days! Yes, I have 4k7 pullups, one on each of the SCL and SDA lines.
#12
Posted 14 June 2015 - 07:22 AM
4K7, they are the values I would have started with. Mind you, the data sheet states that typical value is stated as 10K for 100KHz clock.
Just checked and I don't have one of these at the moment, I'll see if I can get my hands on one.
Regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users