¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Tektronix TDS8000 - Backup calibration parameters and other important stuff


 

I am familiar with TDS7104, I don't know if TDS8000 is similar and if any of the following is true for TDS8000:
- NVRAM is not on a socket. On TDS7104 you can dump its contents to a file using vxWorks. I think the code is somewhere on EEVblog for a different family of TDS scopes but works on TDS7000
====
nvrBase=<address of NVRAM> (I think this was ~ 0xfd0c000 on TDS7000, not sure though)
nvrSize=<size of NVRAM> (was 0x2000 on TDS7000)
tempBuf=malloc(nvrSize)
memcpy(tempBuf,nvrBase,nvrSize)
fdescriptor=open("dbfs:c:/vxBoot/nvrdump.bin",0x0202,0777)
bytesWritten=write(fdescriptor,tempBuf,nvrSize)
close(fdescriptor)
======

Factory calibration data is stored on a separate X24165 EEPROM on TDS7104. I was able to dump it to a file using vxWorks:
======
Allocate tempBuf as above with malloc, at least size of 0x800
nvMem_read(0,tempBuf,0x800)
fdescriptor=open("dbfs:c:/vxBoot/eepromdump.bin",0x0202,0777)
bytesWritten=write(fdescriptor,tempBuf,0x800)
close(fdescriptor)
========

nvMem_read reads the X24165, not the battery backed Dallas RAM.

In case it is not common knowledge vxWorks command line works with "vi" commands, delete key didn't work for typos on TDS7104 (and the terminal emulator I used) until I realized I could use vi commands.

ghidra does a good job of disassembling object files in the hard disk.

I connected HD to an USB<->IDE connector and
1) Copied hard disk with cp -a (on a unix like system)
2) Dumped HD binary with "dd"
My unit works with Windows98. Luckily I had a Windows98 OS CD.

CPLD going bad is a remote case, there may be more danger of damaging it while trying to read.

There is a command to set BIOS to initial state in the hard disk. Saving BIOS may not be needed.

On TDS7104 there is a case open detector. I don't know if it was my unit or all units but If it sees light it burns enough current to discharge the small BIOS coin cell battery in a couple of weeks.
Ozan

On Thu, Dec 19, 2024 at 01:36 PM, Wevie wrote:


Hi all,

New to this forum (unbelievable, right?), and I¡¯d like to thank everyone for
the great info shared here already.

I¡¯m a proud new owner of a Tektronix TDS8000 scope, which I purchased as
¡°broken¡± on eBay (the issue was with the display, which I¡¯ve already
fixed). While waiting for the replacement part to arrive, I¡¯ve read through
a lot of threads and noticed that many problems with these devices seem to
arise due to the loss of NVRAM and CMOS contents caused by dead batteries and
even the loss of CPLD contents.

I count myself very lucky, as my unit doesn¡¯t show any errors and passes
compensation, etc.

I want to ensure that I back up as much as I can from this device before I
risk losing anything critical, like calibration constants. Here¡¯s my plan:

- Dump the hard drive contents and create a raw copy.
- Dump the BIOS to preserve its current state.
- Dump the CPLD contents with a Xilinx JTAG programmer I have laying around.

What I¡¯m less certain about is the proper way to back up the NVRAM contents.
Could anyone advise on the best approach?

- Is the NVRAM and its battery seated in a socket, so I can remove the combo
from the board and read it our externally? (I have hardware for reading chips
directly.)
- If not, is it possible to perform an in-circuit dump of the NVRAM with the
same chip-reading hardware?
- I¡¯ve noticed the VxBoot bootloader offers memory-dumping options. Would
this provide a way to access and back up the NVRAM?
- For the 5000 series scopes, there¡¯s a tool called Savecal5k
().
Does anything similar exist for the 8000 series?

Any advice would be greatly appreciated. I¡¯m more than willing to share my
findings and dumps to help others maintain their scopes as well.

Thanks in advance!

Join [email protected] to automatically receive all group messages.