How to Refresh SRAM? Power Lost & Data Erased

Thread Starter

SaMirakle

Joined Mar 6, 2012
21
Hello everyone,

I have a board with 2 SRAM chips on it. The board has a standby battery to maintain the volatility on the SRAMs. However, the battery died and I'm pretty positive the data on the SRAMs has been erased.

How can I possibly refresh the data back onto the SRAMs? I have ordered 2 "brand new" SRAMs of the same part but I don't know how to go about programming them. I can't possibly just install the new ones onto the board because theoretically they'd be blank and need to be refreshed as well since they haven't been connected to any power source.

Would I have to install them onto the board and write to them on-board while they're powered or can I just install them the way they are?

Thanks so much in advance!
 

BMorse

Joined Sep 26, 2009
2,675
usually SRAM's are used by a controller to hold volatile data...... so, the board they are on would most likely be able to "reprogram" the data back into the original SRAM's..... unless the board designers used the SRAM's as the main program holder then, you most likely will have to figure out how they programmed the board to begin with...
 

Papabravo

Joined Feb 24, 2006
21,225
The concept of being erased does not exist for SRAM (aka Static Random Access Memory). What happened when the battery died was that the data was lost. When the power is reapplied to an SRAM chip all the cells come up in a random, unknown, and uninitialized state.

The battery does not "maintain the volatility," it prevents the SRAM from being volatile. IMHO there is absolutely no possibility of recovering the data that was in the SRAM. Sorry Charlie!
 

absf

Joined Dec 29, 2010
1,968
I have a Canon Organizer which run on 3 button cells. 2 for the processor and one for the SRAM backup. At the back of the organizer, there is a sticker for the procedure on how to change the batteries.

When all the batteries are weak, always change the 2 processor batteries before changing the memories backup battery. The memories backup battery should be changed once every year to prevent loss of data.

In some Yamaha electone keyboards, the song data and music registrations are also stored in SRAM backup by battery. Nowadays they are almost all replaced by flash memories.

Allen
 
Last edited:

osx-addict

Joined Feb 9, 2012
122
My understanding of SRAM is that it does not consume much power and you can change the battery without losing the content IF you're fairly quick about it and depending on the hardware design.. If you remember the old Palm-Pilot hand-held devices from the 90's, they ran off a pair (IIRC) of AA batteries and would hold the charge for minutes before it would disappear. Anyway, SRAM is, as mentioned above, temporary and not anything like ROM or FLASH.. Once it's been cleared there is NO way to recover whatever was in it -- the data will need to be re-built from scratch by whatever the microcontroller writes into it..
 

nsaspook

Joined Aug 27, 2009
13,277
My understanding of SRAM is that it does not consume much power and you can change the battery without losing the content IF you're fairly quick about it and depending on the hardware design.. If you remember the old Palm-Pilot hand-held devices from the 90's, they ran off a pair (IIRC) of AA batteries and would hold the charge for minutes before it would disappear. Anyway, SRAM is, as mentioned above, temporary and not anything like ROM or FLASH.. Once it's been cleared there is NO way to recover whatever was in it -- the data will need to be re-built from scratch by whatever the microcontroller writes into it..
Those devices had a capacitor or aux battery backup circuit to maintain the SRAM voltage for a time to allow for "quick" battery changes. Without the backup circuit the data loss would be instantaneous as the data is stored by the logic state of active devices inside the chips.
My old HP-95XL (it still works) uses a silver-oxide cell for SRAM backup.
http://en.wikipedia.org/wiki/HP_95LX

Backup caps:
http://www.cde.com/catalogs/EDL.pdf
 

Thread Starter

SaMirakle

Joined Mar 6, 2012
21
Hmm... Thanks for all of the input guys.

Okay, so here's another question then: What if I had a similar boards where the SRAM's were still functioning and data hasn't been lost on them. Could I possibly read the data from them and write them to the SRAMs which lost power (while they're on the board being powered up)?

Thanks!
 

GetDeviceInfo

Joined Jun 7, 2009
2,196
I opened up an older HMI today that had a battery backed SRAM which held the Win XPe operating system. Needless to say it's been lost.

A quick look at the bios shows various boot options and the board has IDE ports.

So here's my plan. Boot into win pe on hard drive, tap the system, compile an xpe image, first boot off harddrive, prep the sram module, copy all files to the module. No gaurantee that will work, but it's a plan.

First I'll be googling the manufacturer of the device to see if they have an image to download and transfer utility.

Tell us more about your system.
 
Hmm... Thanks for all of the input guys.

Okay, so here's another question then: What if I had a similar boards where the SRAM's were still functioning and data hasn't been lost on them. Could I possibly read the data from them and write them to the SRAMs which lost power (while they're on the board being powered up)?

Thanks!
Did you ever find a way? I also have boards that has the program stored in flash but need to extract it in order to repair other boards. Any help would be much appreciated. I'm also willing to pay for someone to do this for me if need be.
 
Top