Author Topic: Battery backup RAM reading  (Read 5024 times)

0 Members and 1 Guest are viewing this topic.

Offline jfphpTopic starter

  • Regular Contributor
  • *
  • Posts: 238
Battery backup RAM reading
« on: January 25, 2016, 10:37:06 am »
Hello,
I would like to read with an ordinary programmer a RAM backed by an external battery (not an internal battery like DALLAS easy  !) on a board (purpose store the cal constants of DATRON calibrators 4000, 4200...). I cannot, of course, disconnect the battery because everything will disappear.  Any idea ? Thank you.
 

Offline mojoe

  • Frequent Contributor
  • **
  • Posts: 372
  • Country: us
Re: Battery backup RAM reading
« Reply #1 on: January 25, 2016, 05:25:51 pm »
Use a DIP-clip and some wire leads to attach the SRAM to your device programmer. I've done this with both parallel and serial SRAM.
 

Offline VK5RC

  • Supporter
  • ****
  • Posts: 2672
  • Country: au
Re: Battery backup RAM reading
« Reply #2 on: January 26, 2016, 06:00:06 am »
Edit: mis-read qn.,  D'oh
« Last Edit: January 26, 2016, 06:05:14 am by VK5RC »
Whoah! Watch where that landed we might need it later.
 

Offline Le_Bassiste

  • Frequent Contributor
  • **
  • Posts: 293
  • Country: de
Re: Battery backup RAM reading
« Reply #3 on: January 28, 2016, 11:36:31 pm »
did this on one of my HP3468A, but used a logic analyzer, not a programmer.
connected a  LAP-C32128 (hacked to 64Mb) to all pins of the RAM, set the LA to one-shot each time and ran the multimeter through its different modes (VDC, VAC, OHMS, you get the picture). then put the data into excel, kept only the data where CS and OE were active and sorted the RAM output by address values. tedious, but it worked. :phew:
An assertion ending with a question mark is a brain fart.
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Battery backup RAM reading
« Reply #4 on: January 29, 2016, 01:57:39 am »
Hi

A lot depends on exactly what happens to the device that normally *drives* the RAM when the RAM is running on battery. It's probably not a good thing to read the RAM and blow out the gizmo it's attached to. Most of the time this involves powering the whole thing up and holding the MCU (or whatever) in reset while you read the RAM.

Bob
 

Offline Le_Bassiste

  • Frequent Contributor
  • **
  • Posts: 293
  • Country: de
Re: Battery backup RAM reading
« Reply #5 on: January 29, 2016, 10:04:59 am »
Hi

A lot depends on exactly what happens to the device that normally *drives* the RAM when the RAM is running on battery. It's probably not a good thing to read the RAM and blow out the gizmo it's attached to. Most of the time this involves powering the whole thing up and holding the MCU (or whatever) in reset while you read the RAM.

Bob

you probably misunderstood my statement. i didn't "drive" any lines in the unit. it wasn't even necessary to hold the MCU in reset. i simply "sniffed" all the pins of the RAM while exercising the unit in its different operating modes.

« Last Edit: January 29, 2016, 10:16:40 am by Le_Bassiste »
An assertion ending with a question mark is a brain fart.
 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14764
  • Country: de
Re: Battery backup RAM reading
« Reply #6 on: January 29, 2016, 03:56:46 pm »
The first choice would be getting the calibration data through the normal interface (GPIB,RS232,..).

Otherwise it's up to keeping the CPU in Reset state and hope one can takeover the bus. Or just sniff the normal operations.
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Battery backup RAM reading
« Reply #7 on: January 29, 2016, 06:01:50 pm »
Hi

The limitation to the "normal operation" as compared to the "takeover" approach is the assumption that you can catch it reading everything in a finite amount of time. With some of my code, you would have to wait a couple of days to get it all in normal operation.

Bob
 

Offline Le_Bassiste

  • Frequent Contributor
  • **
  • Posts: 293
  • Country: de
Re: Battery backup RAM reading
« Reply #8 on: January 29, 2016, 11:57:27 pm »
 i was lucky not to come across any of your code in my HP3468A :-DD
An assertion ending with a question mark is a brain fart.
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Battery backup RAM reading
« Reply #9 on: January 30, 2016, 02:00:37 am »
Hi

All of my stuff is buried in some pretty obscure places. There's a lot of it out there (pieces wise). You just are highly unlikely to ever run into it.

Bob
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf