Author Topic: TDS 684C NVRam Backup  (Read 15562 times)

0 Members and 1 Guest are viewing this topic.

Offline Mosaic

  • Regular Contributor
  • *
  • Posts: 139
Re: TDS 684C NVRam Backup
« Reply #50 on: April 22, 2017, 09:28:08 pm »
Can u be more specific as to why it isn't a drop in replacement and if the fix is doable?"
 

Offline Armadillo

  • Super Contributor
  • ***
  • Posts: 1725
  • Country: 00
Re: TDS 684C NVRam Backup
« Reply #51 on: April 22, 2017, 09:44:06 pm »
Can u be more specific as to why it isn't a drop in replacement and if the fix is doable?"

Just compare the address spaces of the two [page 8]
 

Offline deepskyridge

  • Regular Contributor
  • *
  • Posts: 83
  • Country: us
Re: TDS 684C NVRam Backup
« Reply #52 on: June 03, 2017, 04:06:26 pm »
Sorry Guys, I checked my DS1486 backup from the original scope IC and noticed that the first 50 bytes are actually "FF". The bytes that will varies automatically actually start at byte 51.
Now how do you tell TL866 to start programming from bytes 51 onwards?

Edit: So, that's the reason why TL866 does not have a device named DS1486.

Did anyone figure out if you could use a DS1486 in a TL866A. I have a TDS744A i need to backup.

Thanks
Gary
 

Offline Polarue

  • Contributor
  • Posts: 6
  • Country: ca
Re: TDS 684C NVRam Backup
« Reply #53 on: November 17, 2018, 04:31:26 pm »
I have looked at the datasheet for the ds1486-120 nvram in my TDS640A and it occurred to me that it might just be possible to add a common rechargable lithion ion battery to the Vcc of this chip in order to maintain the voltage of the Vcc to about 3.5v, when the main power of the scope is off.  When the scope is powered, a simple blocking diode from the Vcc to the new battery would regulate the voltage down from the nominal Vcc of 5.0v to 4.0v by placing two diodes in series and then one additional diode returning to the same Vcc leg of the chip(32) to yield about 3.3-3.5v when the scope is powered down but safely charging while powered up.

The above scenario is made possible as the integrated LTC cell in the chip only switches on if the Vcc drops to about 3.0v. 

Forget the whole "replacing the chip idea" and just bypass the LTC cell entirely. That battery will never again be relied upon if the Vcc never drops to 3.0v.

The new external cell will not allow the voltage to drop if the unit is switched on  a few times a year to top it up with charge and it is cheap and easy to replace every 5 years.

Am I missing something here like too much current drain on the board if the Vcc is powered by the lithium external when the scope is off.  If so, a small circuit could remedy this yes?  Is this a great idea for these TDS scopes or not? :-+
« Last Edit: November 17, 2018, 09:24:20 pm by Polarue »
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 13791
  • Country: us
Re: TDS 684C NVRam Backup
« Reply #54 on: November 17, 2018, 06:09:10 pm »
That's not going to work, the other parts on the board will draw a lot more power than you think and quickly drain the battery. Also those Dallas chips shut down and switch over to internal battery when Vcc drops below something like 4.5V.
 

Offline Polarue

  • Contributor
  • Posts: 6
  • Country: ca
Re: TDS 684C NVRam Backup
« Reply #55 on: November 17, 2018, 08:21:25 pm »
Are you guessing, James?  Where did you get that info. regarding the chip?  See below.

"As VCC falls below approximately 3.0V, a power switching circuit turns the internal lithium energy source on to maintain the
clock and timer data functionality. It is also required to ensure that during this time (battery-backup
mode), that the voltage present at INTA and INTB (INTB) never exceeds VBAT. During power-up, when
VCC rises above VBAT, the power-switching circuit connects external VCC and disconnects the internal
lithium energy source. Normal operation can resume after VCC exceeds 4.5V for a period of 200ms."

The above is from the datasheet for the ds1486-120, so maybe you misdirected yourself, unless I misunderstood the above?

Secondly, have you measured the current draw as the battery can be much larger than the one in the chip! 

Third, could not a circuit be built to block the current to the other parts of the board with a transistor driven and triggered by the board's own 5v (tying the emitter and base of npn together) and then it would block the 3.5v from the external battery to the rest of the board when the unit is off? Of course this would mean lifting Vcc pin.  :-+

If the details and proper component selection are worked out, this would be a heck of a lot easier than replacing the chip and further, the chips are costing more than I paid for my scope these days. |O
« Last Edit: November 17, 2018, 09:48:09 pm by Polarue »
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 13791
  • Country: us
Re: TDS 684C NVRam Backup
« Reply #56 on: November 18, 2018, 04:22:25 am »
I was thinking of the related DS1220 datasheet, but I realized looking at it now that the voltage threshold I was thinking of was for the write protect, not for the backup battery.

"The DS1220AB provides full functional capability for V CC greater than 4.75 volts and write protects by
4.5V. The DS1220AD provides full functional capability for V CC greater than 4.5 volts and write protects
by 4.25V."


Yes you could hack up the board to isolate the Vcc pin to the Dallas chip but why would you want to? It's easy to cut the battery out of a Dallas chip and attach an external 3V battery. That then makes use of the built in changeover circuit and requires no modification to the original circuit. On top of that it's easier to modify the Dallas chip than the PCB in the scope. It's a superior solution all around.
 

Offline Polarue

  • Contributor
  • Posts: 6
  • Country: ca
Re: TDS 684C NVRam Backup
« Reply #57 on: November 18, 2018, 12:24:40 pm »
Easy?  I have not read that anyone has actually succeeded in doing what you describe to the dallas chip.  I have seen the xrays and also a pic of a partial removal of some epoxy etc, but never a completed mod while the chip is on the board.  There is risk, if you remove the chip from heat, although some have done it. High probability of damaging the data.

From my experience, there is great risk in carving up the working chip in the scope.  I would rather make up a circuit with battery and add it with minimal disturbance to the board and the chip.  Just lifting the pin 32 and connecting the  battery circuit to the pin and its pad seems way less risky, along with the fact that no programming is required either.  This way the chip is not at risk to the same extent, YMMV.
« Last Edit: November 18, 2018, 12:31:09 pm by Polarue »
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 13791
  • Country: us
Re: TDS 684C NVRam Backup
« Reply #58 on: November 18, 2018, 04:35:15 pm »
Not in a scope, but I have replaced the battery in a Dallas chip before and it was quite easy, in my case it was one that was used on a vintage PC motherboard.

IIRC the Dallas chips in the TDS600 series don't store the calibration data anyway, just the options, and you can enable any of those you need via GPIB. The TDS300 series is another story.
 

Offline Jwalling

  • Supporter
  • ****
  • Posts: 1448
  • Country: us
  • This is work?
Re: TDS 684C NVRam Backup
« Reply #59 on: November 19, 2018, 10:39:49 am »
Not in a scope, but I have replaced the battery in a Dallas chip before and it was quite easy, in my case it was one that was used on a vintage PC motherboard.

IIRC the Dallas chips in the TDS600 series don't store the calibration data anyway, just the options, and you can enable any of those you need via GPIB. The TDS300 series is another story.

SPC constants are stored in the DS1486 as well.
Jay

System error. Strike any user to continue.
 

Offline Polarue

  • Contributor
  • Posts: 6
  • Country: ca
Re: TDS 684C NVRam Backup
« Reply #60 on: November 19, 2018, 12:36:11 pm »
Did you do it while it was still on the board?  Do you have any pictures to share? Exactly what tools did you use so as to not damage the rest of the chip etc.  This would be most appreciated. I do not want to reinvent the wheel.   :scared:
 

Offline rodd

  • Regular Contributor
  • *
  • Posts: 73
  • Country: br
Re: TDS 684C NVRam Backup
« Reply #61 on: September 28, 2020, 11:12:36 pm »
Sorry Guys, I checked my DS1486 backup from the original scope IC and noticed that the first 50 bytes are actually "FF". The bytes that will varies automatically actually start at byte 51.
Now how do you tell TL866 to start programming from bytes 51 onwards?

Edit: So, that's the reason why TL866 does not have a device named DS1486.

Dear Armadillo,
I desoldered a DS1486 from a TDS784D scope and read its contents with a TL866A.
It seems I have not lost all data, but I can't say anything about the integrity of it.
However, when I try to write the data to other DS1486 (known to be fake), the programmer writes one line of code and one line of zeroes.
Have you managed to find a way of using TL866A to write data back to DS1486?
Thank you
 

Offline madao

  • Frequent Contributor
  • **
  • Posts: 300
  • Country: de
Re: TDS 684C NVRam Backup
« Reply #62 on: September 30, 2020, 04:15:24 am »
I can't recommend  reading with TL866A.
Have you zero byte  from address 0 up to ~200? This is wrong !

I have always problem with reading of DS1486 and TL866a.  I have  a idea,  VCC lifting...but i use rather tektool.

(no success with  tektool? GPIB communication ok? )

Greetings
matt
« Last Edit: September 30, 2020, 04:17:00 am by madao »
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 13791
  • Country: us
Re: TDS 684C NVRam Backup
« Reply #63 on: September 30, 2020, 07:00:30 am »
I ended up making an adapter board for an Arduino mega to work with Dallas chips. I hacked together some firmware to get in and out of test mode, set the clock and a few other functions but I never got around to getting it usable enough to post. I can share the PCB layout in case someone else wants to take the project and develop it further.
 

Offline whatboy

  • Contributor
  • Posts: 5
  • Country: mx
Re: TDS 684C NVRam Backup
« Reply #64 on: January 02, 2021, 02:41:58 am »
I have 3 TDS684 A/B/C, wanted to replace the DALLAS chips, bought them on ebay, and have a programmer, a LAB TOOL-48UXP, the original ones, can be read, and verify as good read, but with the Timer chip (DS1486) besides the first 4 bytes, there seem to be 8 to 16 bytes which are wrong data, don't know if the programmer is the bad one, or the chips... but with the DS1250Y mostly all data is wrong when write to the ebay chips, but it can read and verify correctly!, again, do not know if the programmer is the bad one or the chips, thinking on buying a TL866II programmer, see if a 60 dollar programmer can beat a 1200 dollar programmer! bummer!!!
 

Offline CaptDon

  • Frequent Contributor
  • **
  • Posts: 298
  • Country: us
Re: TDS 684C NVRam Backup
« Reply #65 on: January 02, 2021, 03:40:04 am »
There is a guy on Ebay selling a redesigned replacement set of
chips for around $100 for the pair and he can preload data for you
including options you may not have had. I bought a set for my
TDS644A and TDS644B. He even supplies the machined pin sockets
for you. 100% recommended!!! Download the data using the
nvram tool on eev blog!!! My chips lost their data when unsoldering
but I already had a good copy of the data!! B.T.W., if you look at
the hex data dump there is something in ascii that reads "invalid"
blah blah something or other.... It is normal, don't panic!!
Senior Master Captain for Victorian Princess
Private Pilot S.E.L. / CDL Class A / Motorcoach
Land, Sea or Air, I'll be there for you.
 

Offline Per Hansson

  • Regular Contributor
  • *
  • Posts: 170
  • Country: se
Re: TDS 684C NVRam Backup
« Reply #66 on: January 04, 2021, 07:48:31 pm »
I ended up making an adapter board for an Arduino mega to work with Dallas chips. I hacked together some firmware to get in and out of test mode, set the clock and a few other functions but I never got around to getting it usable enough to post. I can share the PCB layout in case someone else wants to take the project and develop it further.
That would be nice if you could share, I guess it is for the DS1486?
There exists this one I have built for BQ3287 which is direct cross compatible with Dallas DS12887 quite common in old PC's.
I modified the code so it can also output HEX dumps, useful for checking things, if anyone wants a copy let me know.
https://fritzing.org/projects/ibm-rtc-on-arduino/

Finally found time to unsolder the NVram and the time-keeper chips;
So the comparison between GPIB read and the Mcumall GQ-4X read and the findings are as follows;
4.0 The time keeper DS1486 bytes at 33 to 3A [8 bytes] will change between read indicating that the real time clock is still alive. [time register bytes]
This was useful info, I found on the Tek forum that this can be done by selecting DS1245 when reading a DS1486 as they are pin compatible, did not know that before.
https://forum.tek.com/viewtopic.php?t=138969
I will play around and see if that would allow even a DS1286 to be read, but with device type DS1230Y I think.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf