EEVblog Electronics Community Forum

Electronics => Repair => Topic started by: shuvodutta on December 15, 2020, 04:26:05 pm

Title: Tektronix TDS5054B: Record Length Option: Solved!
Post by: shuvodutta on December 15, 2020, 04:26:05 pm
I've acquired a Tek TDS5054B (Serial No. B022XXX) & in the process of repairing/restoring it (A write-up will follow.). It passes diagnostics & S.P.C. tests at present & shows probe compensation signal properly on all 4 channels (all credit goes to eevblog forum members, especially to TiN, Jwalling, thorswait, nsummy & magic), yet to perform detailed performance verification.

However, I'm unable to set record length to 16M (for single channel), it maxes out at 8M (8/4/2/) instead. TDS5054B comes with 16M (16/8/4) as default/standard option as per Tektronix product brochure & datasheet. Opt. 3M (for 16M memory) is not applicable for TDS5054B/TDS5104B.
(https://in.tek.com/datasheet/tds5000-series-digital-phosphor-oscilloscope (https://in.tek.com/datasheet/tds5000-series-digital-phosphor-oscilloscope) & https://w140.com/tekwiki/wiki/TDS5054 (https://w140.com/tekwiki/wiki/TDS5054))

I've gone through various discussion threads here on eevblog forum but could not get any clear picture reg. this topic.

I've contacted Tektronix Tech. Support, yet to hear from them. I'll share their response here in this thread.

In the mean time, I was trying the Option Key Generator developed by other eevblog forum members; https://www.eevblog.com/forum/testgear/tek-csa7404-repair-project/msg484817/?topicseen#msg484817 (https://www.eevblog.com/forum/testgear/tek-csa7404-repair-project/msg484817/?topicseen#msg484817) (downloaded from here; https://0xacab.org/mitic/tek-ssc/-/tree/master (https://0xacab.org/mitic/tek-ssc/-/tree/master) as it's no more available on xdevs.com), it's supposed to work for TDS5000 series too. I tried to generate Option Key with 2M/3M (just to check) for my TDS5054B but the generated key was not accepted by the equipment. I tried to validate the default O.E.M. Option Key by using the validate utility provided with the tool, it detects the UID & Serial No. correctly but CRC fails. Probably TDS5054B uses a different CRC algorithm than CRC16.

It'll be great if someone can provide more details on this rather confusing TDS5054B record length issue.

Edit: Edited as per the suggestions received.

Last Edit: Fixed typo with one of the urls.
Title: Re: Tektronix TDS5054B: Record Length
Post by: shuvodutta on January 18, 2021, 08:12:24 pm
I'm replying to my own post, hope someone will find the details helpful.

First of all, TDS5054B does need the Option for 16M (16/8/4) enabled/activated through 'Option Key'. I don't know why Tektronix has mentioned 16M (16/8/4) as default option in product brochure! (I've not received any response from Tektronix yet reg. this issue.)

As I've mentioned in the earlier post, the Option Key Generator did not work for my TDS5054B initially but it was the only viable option left for enabling the 16M Memory Option. I've decided to go through the code base (inline documentation helped a lot.) to find a way out. Even I've compiled a small data set comprising of Model No., Serial No., UID/Instrument ID, Option Key & Option Names from eBay Listings to have a better understanding of the key generation process. And the effort paid off, I could enable the 16M Memory Option (& many other software options) on my TDS5054B.

From reverse engineering, I've found that the existing code does not natively cater for the 'B' variant of TDS5000 series. With the help of the data set I've compiled & with some experimentation I could make it to work for my TDS5054B.

So, this utility works perfectly for TDS5000B series scopes too. I've not modified the code base yet to add support for TDS5000B natively but that won't be difficult (I'm not familiar with Python but the modification needs few lines only & is doable for me.). I may add the 'Augmentation Part' & put it in my github repo. (with the details I've reverse engineered from the Utility.) if it helps the community. In the meantime, if anyone needs help with the Option Key Generation for TDS5000B series, can send PM to me or can join the discussion here on this thread.

I would like to mention that the original work was done by other eevblog forum members, https://www.eevblog.com/forum/testgear/tek-csa7404-repair-project/msg484817/?topicseen#msg484817 (https://www.eevblog.com/forum/testgear/tek-csa7404-repair-project/msg484817/?topicseen#msg484817), I've just extended the feature set a bit. Without their excellent work it would never have been possible.

Edit: Edited as per the suggestions received.
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: denimdragon on March 09, 2021, 06:49:45 am
I'm attempting to enable mine again. I might need your help. I need the CAN/LIN option  :-//
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: rommac100 on June 05, 2021, 05:17:51 am
So for future people, I managed to figure the key code generator for TDS5054B. Feel free to DM if needed.
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: shuvodutta on June 07, 2021, 02:49:34 pm
Quote
So for future people, I managed to figure the key code generator for TDS5054B. Feel free to DM if needed.

I'm unable to send you PM as the Forum Software is throwing 'No Space left in Inbox' error!
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: shuvodutta on September 26, 2021, 04:11:38 pm
@user: VT7

I'm unable to send you PM as the Forum Software is throwing 'PM could not be sent to 'VT7' as their inbox is full!' error!
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: LogicalDave on November 10, 2021, 08:34:48 pm
@rommac100 We can't PM you because, as others have indicated, the forum says that your mail box is full.
If you have an option generator solution and wouldn't mind posting it here, that would be awesome.
Thanks!
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: shuvodutta on November 11, 2021, 08:00:55 pm
Just to update a few things,

Tektronix India has confirmed (after a delay of few months!) that Option Key is required indeed for using 16Mpts. memory option. I don't have any idea why they've mentioned it as default option in Tek. TDS5000 series product brochure.

I was in need of a set of front panel knobs for my TDS5054B, after a few discussions with Tek. India representatives (over phone & email, provided them the exact part no. from service manual), the request landed to my local Tek. vendor at last & I've never heard anything from them. I tried to follow up for a month or two & stopped afterwards. I felt they're not interested in selling/communicating to individual buyer like me who owns 'OLD' Tek. equipment (I personally own half-a-dozen P6245 Active Probes, P6046 Differential Probe & Keithley 2303 other than TDS5054B, I think my money is not good enough for them!  :palm:), their primary target is large volume sales to big corporates; at least here in India.

@LogicalDave
Send me PM if you need any help with TDS5054B option key generation.
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: shuvodutta on November 12, 2021, 01:58:17 pm
Another Update:

Python v3.8 (on Ubuntu 20.04.3 LTS) breaks the Key Generator (mainly due to 'print' is now a function on v3.8 instead of a statement but there may be other issues/incompatibilities too.). I had to install python2 package (Python v2.7) to make it work again.

The command should look like (on a linux based system),
Code: [Select]
>>> python2 ./gen.py opt1 opt2 opt3
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: pac1085 on January 23, 2023, 03:50:56 pm
Hi,
I hate to necro-bump this thread, but I can't get ahold of either of the people in this thread who mentioned having the modified script for the TDS5054B.  I'm curious if anyone else following this thread received a copy from either of them that they'd be willing to share with me?
Thanks!
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on January 23, 2023, 07:47:22 pm
hi pac1085,

Look at https://www.eevblog.com/forum/testgear/tek-csa7404-repair-project/msg4618210/#msg4618210 (https://www.eevblog.com/forum/testgear/tek-csa7404-repair-project/msg4618210/#msg4618210)

Posts Reply #715, 717 in this thread.

Succes,

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: pac1085 on January 26, 2023, 01:30:07 am
Hi, I guess I'm not sure what you mean.  I can't even get the validate.py to run with the currently installed Options key.

This is what it gives me when I try it:

PS C:\Users\Philip\Downloads\tek-ssc-master> python.exe .\validate.py GX4ZQ-RZPST-M7RUT-5R957-NYT57-4UN2S-TR4H TDS5054B B010078
A6 EA EB DE 6D 30 AE FE 64 DC EF EF CE 6C DC 5D 4B 86 61 7C FA 00
03 5E 27 00 00 FE 1B 3E BD 50 A2 25 20 00 00 00 00 E8 41 E6 07 C9 10 04 00 00 00
UID mismatch !
UID in key:     5E 27 00 00 FE 1B
Calculated UID: 5E 27 00 02 BE 13
CRC: 61B9
CRC mismatch !

My understanding is that I should at least be able to get this script to run, to show me the options breakdown for the scope as it sits now.  I didn't see anything specific to the TDS5054B in the recent posts on the thread you linked?





Also, if I go on ebay and find a random TDS5054 (non-B) and use validate.py the same way, it seems to work.  So it seems like there is something wrong with the script in regards to the TDS5054B model (as mentioned by the OP)
PS C:\Users\Philip\Downloads\tek-ssc-master> python.exe .\validate.py 3XPA7-QNLTE-NNQ6E-4RS22 TDS5054 B030145
B9 36 D0 1D 53 91 30 E6 38 D1 0F 62 0C
1C C1 75 00 00 BE 13 57 A4 00 00 00 A0 50 10 00 00 00 00 00 00 00 00 00 00 00 00
CRC: A457
Key is valid, active options:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on January 26, 2023, 06:02:38 am
Hi,

You must omit "TDS5054B B010078".

These are only needed to generate a Key. The Program is universal.

By the way the "All Options Key" for a TDS5054B with B010078 Serialnumber is:

PHJHJ-M6G3B-2MZ86-9RPDU-2EYTK-NCVJ

Check:

PS C:\Users\????????\????????\Python\tek-ssc-master> C:\Python27\python .\validate.py PHJHJ-M6G3B-2MZ86-9RPDU-2EYTK-NCVJ
ED A0 83 16 37 39 E0 75 3D FF AF 0D 89 89 8D 89 89 89 00
48 5E 27 00 02 BE 13 DD A6 08 44 FF FF FF FF FF FF FF 76 34 14 10 00 00 00 00 00
This key is for UID 13BE0200275E (S/N 10078, model TDS/DSA/DPO5054B):
CRC: A6DD
Key is valid, active options:
08 44 FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 00

Succes,

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: pac1085 on January 26, 2023, 09:15:35 pm
Sadly it doesn’t accept that key.  It says the new options and applications were not successfully enabled.  Try entering the key again (I did a few times to make sure no fat finger)
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on January 28, 2023, 06:23:56 am
Hi,

I read this Thread thoroughly and yes now I understand your problem. Because the Program works with the other Series (I also have a TDS5104) I overlooked it.

Except for the fact that the Key isn't accepted by your TDS5054B, the validate.py and gen.py Programs are working now as intended?

Another Member of this Forum had the same problem. I contacted him recently (thus in his case PM is working) for another issue, maybe he has now a solution for this:

https://www.eevblog.com/forum/testgear/tds5054b-options/msg1166628/#msg1166628 (https://www.eevblog.com/forum/testgear/tds5054b-options/msg1166628/#msg1166628)

Succes,

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: pac1085 on January 31, 2023, 10:02:50 pm
Thanks, I managed to get ahold of another person who was familiar with it and they told me that I need to use like DPO7166 as the model number for gen.py.  Once I did that, it works.  I tried the option mask you listed, 08 44 FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 00 which also worked!

Question, does anyone know how to generate these option masks?  For example, how do I figure out what mask to use if I only want to add Option 3M, JA3,JE3,VNM,PW3 ? So I don't have a whole bunch of "App 69 avail, not installed?" in the options list?

Thanks!
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on February 01, 2023, 08:50:23 pm
Hi,

Look at:

https://xdevs.com/doc/Tektronix/TDS5000B/tektronix_options_sw_disk_1.dd

On this Disk you see several Option Software Packages. Installing the latest Version of the Scope Application Software (compatible with the MB of your Scope) also helps to enable additional Options. Using F's is the most time effective way to enable Options. Not all "App Avail: but not installed" are Options which can be enabled for your particulier Scope Series.

Succes,

Calibrationfixture


 


 

Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Ko on May 11, 2023, 09:02:44 pm
 I have TDS5034B which is different model from TDS5054B.
Is same model number DPO7166 is effective for it?
Do you know about it?
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on August 08, 2023, 05:56:10 am
Hi Ko,

I think these are the Scope Model Numbers to use for the TDS5000B Series:

TDS5104B = TDS7216
TDS5054B = TDS7166
TDS5034B = TDS7146

I didn't have a TDS5000B Series on hand thus evaluations are appreciated.

Greetings,

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Fractal on August 18, 2023, 10:21:18 pm
Hi Ko,

I think these are the Scope Model Numbers to use for the TDS5000B Series:

TDS5104B = TDS7216
TDS5054B = TDS7166
TDS5034B = TDS7146

I didn't have a TDS5000B Series on hand thus evaluations are appreciated.

Greetings,

Calibrationfixture

That totally did it on my 5034B; thank you very much!
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Ko on August 19, 2023, 10:54:23 pm
Thank you, Mr Calibrationfixture.
I have same issue to TDS6154C.

Do you know how to generate the correct code for this oscilloscope?
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on August 20, 2023, 08:39:53 am
Hi Ko,

No problem to generate a Key for this Instrument. I assume you know how to use the gen.py Program. On this moment I am looking for the Recovery Disk(s) for the TDS6000B/C Series or an image of its HDD.

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Ko on August 25, 2023, 11:15:58 pm
I checked if gen.py can generate the valid code, however generated code can’t be used.
Of course I know how to use gen.py and validate as I have used it with 5034 and 7404 to get valid code.
For 6154 I tried to generate code by adding “00…” or some kind of changes but failed so far.
Can you advise me?
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on August 26, 2023, 05:14:18 am
Hi again,

For a TDS6154C you must use TDS6154B and for a TDS6124C you must use TDS6124B as Model. That's all.

Greetings,

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Ko on August 27, 2023, 08:46:37 pm
I know the relations.
However the generated code is not accepted with the scope.
I think the cause is for the incorrect length of option mask or similar problem which I have experienced for TDS5034B.

Do you have any examples of option code for TDS6254C?
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on August 28, 2023, 06:05:58 am
Hi again,

For a TDS6154C with SN B010620 and Options 4M, ST, SM, RTE, JA3, PTD it is:

PS C:\Users\????\????\python\tek-ssc-master> C:\Python27\python .\gen.py TDS6154B B010620 08 44 00 00 00 00 80 00 28 00 00 00 00 00 00 00 00 00 (thus string ends in this case with 18 Zero's).

X3URE-768T6-LSDKG-DZ2KE-L2GUZ-6K6J4-FVZ4L-NQ6G4-923A

In general can the number of Zero's or F's be reduced to make it work. This is a Scope dependent Trial and Error Procedure.

Succes,

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: tv84 on September 17, 2023, 05:07:36 pm
Hi again,

For a TDS6154C with SN B010620 and Options 4M, ST, SM, RTE, JA3, PTD it is:

PS C:\Users\????\????\python\tek-ssc-master> C:\Python27\python gen.py TDS6154B B010620 08 44 00 00 00 00 80 00 28 00 00 00 00 00 00 00 00 00 (thus string ends in this case with 18 Zero's).
X3URE-768T6-LSDKG-DZ2KE-L2GUZ-6K6J4-FVZ4L-NQ6G4-923A

In general can the number of Zero's or F's be reduced to make it work. This is a Scope dependent Trial and Error Procedure.

Succes,

Calibrationfixture

This format should work and is much simpler:

DZSMA-M6GKW-46MHA-MKSSS-CADDB-YDSE
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on September 18, 2023, 06:44:29 pm
Hi tv84,

Or:

NHA5C-M5FLG-T2BTA-TEAAJ-AAAAA-EASC

There is a slight discrepancy in the UID.

It is namely a real TDS6154C on eBay.com. It is a pity that there is no Follow-up from Ko. I didn't have a TDS6000C Series on hand, thus evaluations are appreciated..

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: tv84 on September 22, 2023, 09:34:08 pm
There is a slight discrepancy in the UID.

It is namely a real TDS6154C on eBay.com. It is a pity that there is no Follow-up from Ko. I didn't have a TDS6000C Series on hand, thus evaluations are appreciated..

Just for reference:

Your license would work in a 6154C but it's not "officially" correct as it's oversized.

I attach a picture that graphically shows what I'm saying. The last license is the correct/official license for the UID/options combo that you were creating.

Pay attention to the blue color bytes...  ;)
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on September 23, 2023, 05:44:27 am
Hi tv84,

Thank you for your reply. I know that the Option Mask String I provided was too long but Ko asked for:

I know the relations.
However the generated code is not accepted with the scope.
I think the cause is for the incorrect length of option mask or similar problem which I have experienced for TDS5034B.

Do you have any examples of option code for TDS6254C?

In the past I created working Option Keys for a real DPO7254, DPO72004 and TDS7404B. To enable all possible Options I experienced then that the string for a TDS7404B can be shorter than those for the DPO7254 and DPO72004 and observed slight UID differences between DSA and DPO Models. I don't know how to create "officially" correct Keys. You are invited :)

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: tv84 on September 23, 2023, 08:55:55 am
I don't know how to create "officially" correct Keys. You are invited :)

It could be nitpicking but I've seen occasions where it had some repercussions (long time...). From memory: the public keygen code has some shortcomings and one of them is not always generating the shortest license code possible (assuming 0x1C as the minimum qualifying size for the bitmask). Sometimes, I suspect this can lead to buffer overruns when loading the license, because the scope app is not expecting further bytes in its buffer.

But there are plenty of examples where even Tek's official "STD" licenses have a huge bitmask  (with lots of bits enabled) although this type of option is a 0-bit bitmask option, so the license should have a 0x1C length bitmask with no bit activated. It kind of shows that even Tek has different keygen implementations (for different models/factories  :-//), some of them more loosely implemented.

Also if UID are different (even if just in 1 bit) then we should be talking different devices. Usually applies for the B and C models...
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Joebeazelman on November 19, 2023, 07:44:56 am
Sorry for my newbie question, but what are the differences between the 5000 and 5000B series. I was told there's a difference between the two series. I've compared the datasheets and I could only find minor differences in the scope part. Most of the differences I found were in the CPU board or PC motherboard.

Tektronix did offer an upgrade kit for the TDS, but they didn't include the tds5000 only the tds5000b series. My guess is that the tds5000 was past it's service life. Are there significant differences that would make it impossible to upgrade my damaged motherboard to the Advantech one mentioned in the upgrade kit?
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: colorburst on November 19, 2023, 09:29:01 am
Specification-wise they're virtually identical. Most notably, the B series has double the record length and comes with a newer computer (still running W2k though). There may be extra Java applications and trigger options supported as well, I'm not too familiar with those. It's basically the same thing.

Internally it's an update of the older design and is technically a different product. Although the improvements are incremental, parts and software from one generation are not interchangeable with the other.

Because the instrument was built as an integrated system, altering the qualified configuration is risky. You may trip up on hacks and bugs that laid dormant or were deemed not worth fixing, like the PCI error or some more insidious crash that happens 0.001% of the time. Proceed at your own risk.
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Ko on January 06, 2024, 03:42:53 am
Sorry for delaying my response.

I tried to make code, but I haven't succeeded the correct code yet.

My serial number is B010492 which is also displayed on the option installation dialog.

The generated option keys of geb.py which I inputed into my osc are;

-------------------------------------
(py27) C:\tektronix\tek_options\tool>python gen.py TDS6154B B010492 084400000000800028000000000000000000 (18 digits as your explanation)
X3UNE-6N4T2-QQHRF-Q988Y-Q9H99-49QN7-E8966-8L5HZ-Z8RA

(py27) C:\tektronix\tek_options\tool>python gen.py TDS6154B B010492 0844000000008000280000000000000000 (1 byte digit reduced)
PTC2E-NPMBU-NN27P-4MV43-9N9MR-Z5B7Q-6LRT2-T5J9D-HD

(py27) C:\tektronix\tek_options\tool>python gen.py TDS6154B B010492 08440000000080002800000000000000 (2 byte digit reduced)
FTUJE-NNLBS-QJ46P-4MV43-9N9MR-Z5B7Q-6LRT2-T5J9D

(py27) C:\tektronix\tek_options\tool>python gen.py TDS6154B B010492 084400000000800028000000000000 (3 byte digit reduced)
78A7A-47V34-6YSNP-Q998Z-99999-59R77-68976-955D

(py27) C:\tektronix\tek_options\tool>python gen.py TDS6154B B010492 0844000000008000280000000000 (4 byte digit reduced)
X8SPA-46U32-8UUPP-Q998Z-99999-59R77-68976-9M

(py27) C:\tektronix\tek_options\tool>python gen.py TDS6154B B010492 08440000000080002800000000 (5 byte digit reduced)
PYA3A-L7DKU-6SP9F-4MU42-QNHMR-Y5ANQ-ELRS2-A
-------------------------------------
Any code couldn't work on my TDS6254C.

My TDS is STD which doesn't have any option. The result of validation.py is following;

--------------------------------------------------
(py27) C:\tektronix\tek_options\tool>python validate.py 37C6E-8K5V4-E6CRH-M545W
B9 0B 4E 7C DA 53 13 2E DE 59 5B 6F 0A
1C FC 28 00 03 0A 18 09 3E 00 00 00 E0 70 10 10 00 00 00 00 00 00 00 00 00 00 00
This key is for UID 180A030028FC (S/N 10492, model TDS/DSA/DPO6154B):
CRC: 3E09
Key is valid, active options:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
--------------------------------------------------

Any ideas?
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on January 07, 2024, 06:44:06 am
Hi Ko,

Too many Zero's. Try this:

PS C:\Users\????\Documents\Python\tek-ssc-master\tek-ssc-master> C:\Python27\python .\gen.py TDS6154B B010492 0844FFFFFFFFFFFFFF (14 F's)
PZA2A-LPDKU-6WZ4N-VHKZA-2HZWK-LETN

Succes,

Calibrationfixture


Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Ko on January 08, 2024, 04:09:57 am
I tried it. However, key didn't work.

I'm not sure why it can't work correctly. Can you help me?
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on January 08, 2024, 07:47:39 am
Hi,

Intriging. I assume you also replaced the MB Battery. The Scope is still out of date: 26 April ....)

You didn't get the Message: The Option Key isn't valid. Instead the Scope didn't succeed in enabling the New Options and Applications. Wow. It seems a Hardware issue. I assume you reinstalled Current Oscilloscope Application (V5.1.7 is the latest for TDS6000C's).

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Ko on January 08, 2024, 01:48:09 pm
Latest firmware is v518.

Please see https://www.tek.com/en/support/software/firmware/tds6000c-series-firmware-upgrade-v518. (https://www.tek.com/en/support/software/firmware/tds6000c-series-firmware-upgrade-v518.)

I  will recheck your key after I change date into current.
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on January 08, 2024, 06:19:45 pm
Hi,

Your link gives a 404 Error (the.)? But these:

https://www.tek.com/en/support/software/firmware/tds6000c-series-firmware-upgrade (https://www.tek.com/en/support/software/firmware/tds6000c-series-firmware-upgrade)

https://www.tek.com/en/support/software/firmware/tds6000c-series-firmware-upgrade-v518 (https://www.tek.com/en/support/software/firmware/tds6000c-series-firmware-upgrade-v518)

are working. There are two "latest" Firmware Upgrades. I am still learning :)

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Ko on January 13, 2024, 08:16:51 am
Hello
Today I change the date and time to current.
However my TDS could not accept the key.
Umm, I have not found the solution yet….
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Jaak on March 13, 2024, 05:13:50 am
Hi Ko,

I think these are the Scope Model Numbers to use for the TDS5000B Series:

TDS5104B = TDS7216
TDS5054B = TDS7166
TDS5034B = TDS7146

I didn't have a TDS5000B Series on hand thus evaluations are appreciated.

Greetings,

Calibrationfixture

That totally did it on my 5034B; thank you very much!

Thanks for this!  Fully optioned my TDS5054B.  :)
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on April 17, 2024, 07:00:50 am
Hi alexandraquirosh,

I cannot PM you, because (Zeroposter?) your Mailbox is full. Please empty it, or post your request in this Thread.

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Circuitauger on May 14, 2024, 05:22:10 pm
So I also happen to be having the exact same issue as KO, using a TDS6154C.

I get the message "The new options and applications were not successfully installed", I will note however that typing in gibberish as a key yields the same error, furthermore if I type in a known good key I get the message that the option was successfully enabled, so I do not believe this is an issue with installing the key rather the key is indeed invalid.

What I'm currently looking at now is how a known good key (like the one found on eBay) will validate and accurately be able to decode the model number and serial # however attempts to recreate this known good key will fail, in other-words taking the mask and other info from the validation and trying to apply it doesn't generate the same key.... Not sure why this would be as the ability to validate would mean you accurately know all the sbins? lol been a while since my crypto class.

Additionally I've noticed at least the first 5 chars of the lic will not change for a given mask, so once you've picked a mask you can put any model number and serial (even all zeros) and it will remain the same
so idk if this is a hint towards determining the proper mask for recreating the ebay key who's first 5 chars are "NHA5C"



Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on May 15, 2024, 06:19:41 am
Hi Circuitauger,

Allright, thus it is not a HW issue. Because using alternative Scopenumbers did work for the TDS5000B Series I hoped it also works for the TDS6000B/C series. Because I don't have these Models at hand, you were all invited. The same for DPO7000C and DSA/DPO/MSO70000(B/C) Series.

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Circuitauger on May 15, 2024, 02:44:19 pm
Well ultimately I do still think there's a good chance for this to work given that the validate.py is able to spit out valid info, and it sounds like from other posts that this works for both TDS5000 and TDS7000 scopes, so hopefully there's nothing weird about TDS6000 scopes.
Probably looking at redoing w/e work shuvodutta did to discover the code mishandling the B variant. Sounds like they aren't contactable though.

There's the post where you mentioned
Quote
I think these are the Scope Model Numbers to use for the TDS5000B Series:
TDS5104B = TDS7216
TDS5054B = TDS7166
TDS5034B = TDS7146
How did you determine this was the correct nomenclature to use?

Also in this post https://www.eevblog.com/forum/testgear/tek-csa7404-repair-project/msg4617574/#msg4617574 (https://www.eevblog.com/forum/testgear/tek-csa7404-repair-project/msg4617574/#msg4617574)
Quote
I used for my TDS7404B Option Masks: 10 44 FF FF FF FF FF FF FF
How did you generate that option mask? Looking in the option.py file, there's a description of masking but I don't see how your mask would be constructed.

Thanks,
-Circuitauger
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on May 16, 2024, 06:38:51 am
Hi Circuitauger,

Using validate.py on a lot of existing TDS5000B License Keys leads me to the alternative and working Scope Numbers. The same with the TDS6124C and TDS6154C Models. Using validate.py gives TDS/DSA/DPO6124B and TDS/DSA/DPO6154B as Scope Numbers in case of existing TDS6000C License Keys, but these don't work as we know now. Maybe using DSA or DPO instead of TDS is the solution.

Using F's is the most time/cost effective way to enable as much as possible Options. A suggestion somewhere in the:

https://www.eevblog.com/forum/testgear/tek-csa7404-repair-project/600/ (https://www.eevblog.com/forum/testgear/tek-csa7404-repair-project/600/)

Thread.

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Circuitauger on May 16, 2024, 05:47:33 pm
Alright actually got it, I suspect this is similar to the mod made to support B models

The clue was in trying to validate the known good keys for TDS6154C variants you’ll end up getting a UUID error:
Quote
UID mismatch !
UID in key:     7C 29 00 03 0A 18
Calculated UID: 7C 29 00 02 0A 18
Which was suspiciously 1 off from what it should be... like C is to B

Basically the model number is getting expressed as a wrapped (maybe slightly scrambled) hex representation in the UUI
e.g. TDS6155C will yield a Calculated UID of: 7C 29 00 02 0B 18

So for anyone trying to repair their C variant scope in “key.py” you need to

change line 63 to
Code: [Select]
mdl_int = int(model[3:].strip('C')
And add after line 68 lines:
Code: [Select]
	if model[-1]=='C':
sn_int |= 0x03000000

You should now be able to type in your model number normally as TDS6154C into gen.py

Of course for a long term fix which allows for B & C variants the proper way would be to check for a char as the ending value and apply the appropriate strip and hex value set (the above change to line 63 will break the code if you try to type in a B model number as it now doesn't know what to do with the 'B')
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on May 18, 2024, 07:14:37 am
Hi Circuitauger,

I think TDS6000C's are the only exception. With TDS5000B, DPO7000(C) and DPO/DSA/MSO70000(B/C) Models you always get only Digits as Scope Type.  By the way contrary to TDS5000B's the CRC mismatches on existing License Keys are seldom when using validate.py in splitting out the Option Masks.

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: nicnac117 on June 09, 2024, 08:08:35 pm
Just a quick question ? Does any of this knowledge apply to a TDS5104 ?Your comments would be appreciated .
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: colorburst on June 09, 2024, 08:56:45 pm
Yes, everything discussed here is applicable to TDS5104.
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on June 13, 2024, 07:53:11 am
Hi Ko,

Maybe you allready found a solution. Nevertheless coping with the new information a friend of mine has created, I hope, working License Keys for your TDS6154C B010492 Scope. With respectively 16, 18 and 20 F's these are:

X9SNA-4JU52-YGR8H-85GAZ-PSQKT-FUQKW-D
79A6A-4KV54-WSRHD-L3CN7-F5LPZ-B8NB9-5E
FYSKA-L2CMS-YNA9E-5RJHT-KHQXK-KGSKH-8XKB

18 and 20 F's could be too much. In that case you get too many: App XX Avail: not installed. This is no problem for the smooth working of the other installed/enabled ones.

Success,

Calibrationfixture

 
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: Ko on June 13, 2024, 08:54:01 pm
I have confirmed that your code can activate the options.
I am very happy to use the options.
Thank you very much.
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: nicnac117 on June 13, 2024, 10:59:01 pm
Hi CF,
I just received a TDS5104 Serial No B020422 today . I spent all day getting it repaired and upgrading the memory and hard drive . It is now working well and calibrates properly . I would now like to enable all options if possible . Unfortunately i have never used Python etc . Could you take the time to coach me on what I need to do ?. Nick
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on June 14, 2024, 05:08:18 am
Hi nicnac117,

For your TDS5104, SN B020422 with Maximum Memory (2M) and all possible Options (14 F's) it is:

PS C:\Users\????\????\Python\tek-ssc-master\tek-ssc-master> C:\Python27\python .\gen.py TDS5104 B020422 0644FFFFFFFFFFFFFF
PHQWL-LHDZF-P5UCD-HFP4L-SNVSR-QJVE

Sometimes you must install the latest Scope Application Software compatible with your MB and or Option Software from the Option Disk to make them work.

Enjoy,

Calibrationfixture

Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: nicnac117 on June 14, 2024, 07:25:43 am
Thanks a  million Cf. Applied this this morning and it works great . i must get into this python thing . Cheers!
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: nicnac117 on July 17, 2024, 06:13:57 pm
Hi again CF ,
Going to have a go at figuring this out Python . My question is what do I need as well as Python2.7? . Are there other libraries etc that need to be in same folder etc . Windows or ubuntu ?/?? any advice appreciated.
I have another  TDS 5104 and a VM 5000 to enable .
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on July 19, 2024, 04:23:59 am
Hi nicnac117,

You need the Program(s):
- gen.py and
- validate.py

The last is used to split out the Option Mask for existing Keys. Not so relevant because we can use F's.

Both can be found at:

https://0xacab.org/mitic/tek-ssc/tree/master

Success,

Calibrationfixture


 
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: ivi_yak on July 19, 2024, 03:58:25 pm
do you have, maybe, Option Disk copy?
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: ivi_yak on July 19, 2024, 04:30:15 pm
Hi, sorry for buzzering
could pls help me with tds5104, I'm trying to understand is a good scope to buy for data analysis.

For example, accumulate rise time parameter to file and export it for further analysis.
How glitchy is the scope itself?
Does it support flash drives?
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: coromonadalix on July 19, 2024, 05:44:07 pm
@ ivi_yak   you're dealing with old technologies,   not sure they are appropriate for your needs,   and parts are hard to get

for any purchase   request an spc tests screenshot .. if not  move away, unless you snatch a good deal

upgrading ram, and a motherboard can or could be easy, but the scope software is outdated, you can put an ssd, and flash drive = usb key you mean ??  you have some limits

if you want to do spi, serial  etc ... better go with new technology like Siglent Rigol ... who can be freely upgraded ...
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: colorburst on July 19, 2024, 09:55:49 pm
ivi_yak,

The TDS5104 is good value if you need 1GHz BW in my opinion; the UI is a bit clunky but works fine. Automatic measurements such as risetime are supported; for more complex analysis needs, you can export waveforms to a file or control the scope via GPIB.

Flash drives are supported as the scope contains a regular PC motherboard and runs Windows 2000 or ME. The USB ports on the back are hard to reach though, so I prefer LAN connection for file transfer instead.

Part availability is on par with modern equipment, the custom hardware is difficult to replace indeed. The good news is that it's rarely a problem and will be obvious from SPC and self-test results. Any issues tend to be with the PC motherboard, the hard drive, or the power supply, all of which are commonly available or otherwise easy to deal with. Upgrades are possible, with some caveats, but not really worthwhile.
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: nicnac117 on July 26, 2024, 03:25:24 pm
Ok .
 I have looked through this tread about the key generation and have downloaded the gen.py etc from the site and installed python 2.7 on a windows with PowerShell. Could somebody here who knows how the  use gen.py give an "idiots guide "as to what to do next ?A worked example would be great .
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on July 28, 2024, 06:16:14 am
Hi nicnac117,

I created a Python Map in my Documents, in which I put both tek-ssc-master files: gen.py and validate.py.

In the Windows cmd (command) shell I use cd (change directory) to get into the right path.

cd Documents

and then (after the prompt)

cd Python

etc. etc. (see the scripts in this thread).

Success,

Calibrationfixture



Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on July 28, 2024, 06:24:12 am
Hi ivi_yak,

Regarding your Option Disk Request. In the past you could download this (063-3478-25) from TiN's (xdevs.com) webside. I should ask him for it.

Success,

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: coromonadalix on July 28, 2024, 01:43:31 pm
register fror free at xdev's  you'll be able to get it again

xdev site was abused and now they break this by registration, and once in a while they monitor ...
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: nicnac117 on August 16, 2024, 10:51:23 am
Thank you CF for your info ...and patience.
As of this post I still haven't got the key gen to work .  :(
I have as attached a
TDS5104 Serial B020296
VM5000(TDS5104B) Serial B022889
Which i would love to fully enable.
Maybe if you get the time you could work your magic on keys for both .
I have no problems fixing these scopes but the python gen eludes me .
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on August 17, 2024, 04:57:51 am
Hi nicnac117,

No problem to create Option Keys.

For the TDS5104 it is:

PZPXQ-QZM9F-7KVUD-VFK8A-SRVWR-LNTE

And for the TDS5104B it should be:

P9F7Z-895MU-6J3E3-MKKR2-SRUXR-JQTA

Option Mask: 0444+14 F's.

But when I use validate.py to split out the Option Mask of this particular VM5000/TDS5104B I got the following Mask: 04 00 00 00 00 00 00 04 00 00 00 00 00 00 00 03 00 00. In this case 14 F's seems too little (the 3 on the 28 th position).

Thus with the maximum number of F's (32) it is:

XTZKV-J8CV2-QLNBU-GTG2R-F2MJZ-H2QF2-5JZH2-QF25J-ZH2A
 
Enjoy,

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: nicnac117 on August 17, 2024, 09:50:56 am
much appreciated, Thank you
Is the option data stored in an eeprom on the acquisition board? Just wonderoing as its not on the hard drive as reloading everything doesnt wipe the installed options .
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on August 17, 2024, 10:46:37 am
Hello again,

Page 5 (U1320) of attached Document. And you must read this:

https://www.eevblog.com/forum/repair/tds5104-cant-find-cal-data-during-starting-scope-application/ (https://www.eevblog.com/forum/repair/tds5104-cant-find-cal-data-during-starting-scope-application/)

Calibrationfixture
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: calibrationfixture on August 18, 2024, 07:25:38 am
Hi nicnac117,

I assume the generated TDS5104B Option Key enables all options (including the VM5000 HD and SD Video Option). Nevertheless I noticed a CRC Mismatch when using validate.py on this newly generated Option Key. With 28 F's'and 30 F's there is no CRC Mismatch.

Option Key based on 28 F's:

F3ZPV-28UDS-Q6LLY-CDLWK-PDR6B-MWAPD-96BMW-APD96

Option Key based on 30 F's:

P3H7V-29VDU-N2WS3-VFK9A-SRVWR-LNTWM-C7HJ8-BSRDW-RC

I assume both will also work with shorter lists of App available, but not installed (I have no TDS5104B on hand).

Calibrationfixture

 
Title: Re: Tektronix TDS5054B: Record Length Option: Solved!
Post by: nicnac117 on August 18, 2024, 11:17:47 am
Hi again .........
I tried all keys for the VM5000 you sent and they all work for all the application /options I have installed from the disc available . They all keep the VM5000HD&SDVideo and the 3M 16 meg enabled so all good .
The first one with 14f s works and stops at 70 available
the 28fs stops at 127apps available not installed
the 30fs stops at 135apps available not installed .
So It would appear that the 14fs takes in all apps up to 70 which includes the last live app i have at entry 69 "Protocol trigger and decode".
I can tabulate all the entries for each key if that is helpful  .
for those with the TDS5104 non B most of this can be enabled including the VM5000 software available as a trial of 5 goes on tek website . Once you have enabled key and the 5 goes run out the next time it starts ok with no trial warning .