Author Topic: Lecroy options -=recovery=-  (Read 76362 times)

0 Members and 1 Guest are viewing this topic.

Offline Momchilo

  • Regular Contributor
  • *
  • Posts: 98
  • Country: de
Re: Lecroy options -=recovery=-
« Reply #200 on: February 14, 2023, 12:25:36 am »
This is trial and error. But most of those options should work without any problem. And most of those options that don't work don't cause the fatal error.

It is possible to add more function to a scope than you could bought. At least for the Wavesurfer series.  I don't own a Waverunner.
The memory options shouldn't cause the error. For the old 500 Wavesurfer series it was possible to increase the memory with the option from M to L. So the memory chip(s) was already populated.

I know it is annoying but to reprogram the EEPROM is not a big deal. It will take 1-2 hours, a soldering iron and an Arduino. The worst case is not that bad :)
 
 

Offline sprit

  • Contributor
  • Posts: 24
  • Country: vn
Re: Lecroy options -=recovery=-
« Reply #201 on: March 14, 2023, 11:31:47 am »
:-+ Schenkenstein

Now you only have to swap the CPU, RAM and hard disk. It will be a huge different but one more complete disassembly :D
CPU: https://www.cpu-world.com/CPUs/Pentium-III/TYPE-Pentium%20III%20(Tualatin).html
RAM: 2x 1GB DDR1 333MHz
hard disk: https://www.amazon.de/Geh%C3%A4use-Adapter-m-2-NGFF-Festplatte-Klassische/dp/B0196PRXY0 + https://www.amazon.de/Green-interne-Festplatte-Lesegeschwindigkeit-Solid/dp/B078WYRR9S + https://www.amazon.de/EasyULT-Adapter-Erforderlich-Unterst%C3%BCtzt-Kompatibel/dp/B07T5D6J81 (to restore backup)
Hi  Schenkenstein

Sorry for degging this post but can you make a tutorial how to do that plz? Thank you very much

Sincerely
 

Offline Schtolz

  • Newbie
  • Posts: 2
  • Country: at
Re: Lecroy options -=recovery=-
« Reply #202 on: July 21, 2023, 06:15:41 pm »
Hello, colleagues!
I wanted to tell you about the attempt to apply the instructions specified in the first post for the HDO4054A model. First of all, I would like to note the need for strict compliance with the instructions attached to the .py files. Namely:

1) installing Python version 2.7.9 from the site repository python.org (it is worth mentioning separately that the path must be written in the system variables for correct operation) to avoid problems with the pip utility earlier versions;
2) installing Visual C++ version 9.0 for Python from the Microsoft website,
3) installing PyCrypto using the utility pip ("pip install pycrypto" in the console).
One of the posts included an archive with the most detailed text of the instructions for use. Following them, i managed to get a list of available extensions, generate a key for the required extension, perform its validation and additional verification.

The only catch is that XStreamSDO version 8.6 was installed on my oscilloscope, which obviously did not allow the necessary extension to be activated. At the same time, the oscilloscope sees the entered key as a LegacyKey (which indirectly indicates its validity, since even the name of the extension is displayed). In one of the posts there was a link for the XStreamSDO program version 8.0.1. By installing it on the oscilloscope, it was possible to achieve the functioning of the necessary extension (previously. additional testing is needed).

In this regard, a number of questions arose:
1) Is it correct to use XStreamSDO 8.0.1 for the HDO5054A oscilloscope?
2) Can someone provide a 64-bit version of the XStreamSDO 8.6, or the most relevant for my model, since I can't download it due to a strange blocking of my account on the Lecroy website? I wanted to be able to return the XStream to its original position.

Thank you in advance for any help!
 
The following users thanked this post: 2N3055, shakalnokturn

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Lecroy options -=recovery=-
« Reply #203 on: July 21, 2023, 11:46:26 pm »
2) Can someone provide a 64-bit version of the XStreamSDO 8.6, or the most relevant for my model, since I can't download it due to a strange blocking of my account on the Lecroy website? I wanted to be able to return the XStream to its original position.

Here v8.9 for 24 hours.
« Last Edit: July 25, 2023, 08:36:10 pm by tv84 »
 
The following users thanked this post: Schtolz

Offline Schtolz

  • Newbie
  • Posts: 2
  • Country: at
Re: Lecroy options -=recovery=-
« Reply #204 on: July 22, 2023, 03:55:10 pm »
2) Can someone provide a 64-bit version of the XStreamSDO 8.6, or the most relevant for my model, since I can't download it due to a strange blocking of my account on the Lecroy website? I wanted to be able to return the XStream to its original position.

Here v8.7 for 24 hours.

I'm sorry, sir! could you please send another link? didn't have enough time to download the file
 

Offline alm

  • Super Contributor
  • ***
  • Posts: 2881
  • Country: 00
Re: Lecroy options -=recovery=-
« Reply #205 on: July 24, 2023, 01:17:07 am »
1) installing Python version 2.7.9 from the site repository python.org (it is worth mentioning separately that the path must be written in the system variables for correct operation) to avoid problems with the pip utility earlier versions;
Or instead of using a Python version from almost a decade ago, you can apply the patch I posted here to make it work with current Python versions and the current Pycryptodome library.
 
The following users thanked this post: Tinu

Offline alm

  • Super Contributor
  • ***
  • Posts: 2881
  • Country: 00
Re: Lecroy options -=recovery=-
« Reply #206 on: July 24, 2023, 04:51:13 pm »
has anyone tried to use the options within flag #08? Seems as they are wrongly generated - maybe to "new"....

Example:
Code: [Select]
08-00002000 I2C_TDME 
08-00004000 SPI_TDME 
08-00008000 UART_TDME


result after validation - the flag add the option is "0":
Code: [Select]
Flags: 08
Mask: 0000E000
Options:
00-00002000 USB
00-00004000 SPI_TDME
00-00008000 UART_TDME

in the scope, the key leads in totally different options...
Any ideas / guessing?
I observed the same with flags 80 options. Looking at the X-Stream 7.9.0.1 options.cfg, it has no 0x08 or 0x80 options listed, so I guess this was stored as two 3-bit digits (0-7) at some point, causing both 0x08 and 0x80 to be interpreted as 0. I noticed that the license generation swaps bytes in the scope ID if the mask is >= 0x40, and tried any other permutation of scope ID bytes with mask 0x8, but none of them was accepted by the scope. Since the 0x08 and 0x80 options started appearing around the same time as the change to a new key generation scheme, I'm guessing the scope won't accept these options with the old key format as is currently implemented in the key gen.

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Lecroy options -=recovery=-
« Reply #207 on: July 24, 2023, 05:10:48 pm »
I observed the same with flags 80 options. Looking at the X-Stream 7.9.0.1 options.cfg, it has no 0x08 or 0x80 options listed, so I guess this was stored as two 3-bit digits (0-7) at some point, causing both 0x08 and 0x80 to be interpreted as 0. I noticed that the license generation swaps bytes in the scope ID if the mask is >= 0x40, and tried any other permutation of scope ID bytes with mask 0x8, but none of them was accepted by the scope. Since the 0x08 and 0x80 options started appearing around the same time as the change to a new key generation scheme, I'm guessing the scope won't accept these options with the old key format as is currently implemented in the key gen.

No need to reinvent the wheel. Look at the options list here and use those flags/bitmasks.
 

Offline alm

  • Super Contributor
  • ***
  • Posts: 2881
  • Country: 00
Re: Lecroy options -=recovery=-
« Reply #208 on: July 24, 2023, 09:56:42 pm »
No need to reinvent the wheel. Look at the options list here and use those flags/bitmasks.
This is on X-Stream version 8.4.1.4 (same on 8.1.2.0) on a Windows XP / 32-bit WP7300A, which as far as I know is the last that supports Windows XP, and 32-bit support ended shortly after. Generating a key with as flags 0x4201 gives "this key cannot be installed, appears to be invalid".

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Lecroy options -=recovery=-
« Reply #209 on: July 25, 2023, 07:46:56 am »
Generating a key with as flags 0x4201 gives "this key cannot be installed, appears to be invalid".

Flag is 0x42. The rest is part of the bitmask.
 

Offline alm

  • Super Contributor
  • ***
  • Posts: 2881
  • Country: 00
Re: Lecroy options -=recovery=-
« Reply #210 on: July 25, 2023, 11:07:58 am »
Flag is 0x42. The rest is part of the bitmask.
I didn't get that, thanks! But it still doesn't work. For example I2C-TDME is 42-01002000 according to that file, but the scope also rejects a key for that with the same error about the key being invalid.

Offline Azusa

  • Contributor
  • Posts: 46
  • Country: cn
Re: Lecroy options -=recovery=-
« Reply #211 on: July 25, 2023, 11:30:50 am »
Does anybody know how to generate key for wavesurfer 3000?
It‘s based on WinCE 7,different to normal x86.
« Last Edit: July 25, 2023, 11:33:32 am by Azusa »
 

Offline hpw

  • Frequent Contributor
  • **
  • Posts: 366
  • Country: 00
Re: Lecroy options -=recovery=-
« Reply #212 on: July 25, 2023, 03:59:13 pm »
This is on X-Stream version 8.4.1.4 (same on 8.1.2.0) on a Windows XP / 32-bit WP7300A, which as far as I know is the last that supports Windows XP, and 32-bit support ended shortly after.

Do you altered some releases to false as 6.4.1.4 for W2K SP4, while there is IMHO no 8.4.1.4  or I am wrong  :scared:

While there is no such 8.4.1.4 to download  :palm:
Hp
 

Offline Azusa

  • Contributor
  • Posts: 46
  • Country: cn
Re: Lecroy options -=recovery=-
« Reply #213 on: July 26, 2023, 01:47:51 am »
https://1drv.ms/u/s!AkhYvp-r_jl5jUmbsT1Q8quH-qY9?e=nhKmp8
8.4.1.4 32bit here.
The last version for XP.
And the last version of 32bit is 8.6.2.10,you can download it on lecroy's website at model wavesurfer10.
but It's for win7 only.
 
The following users thanked this post: RamboChen

Offline Azusa

  • Contributor
  • Posts: 46
  • Country: cn
Re: Lecroy options -=recovery=-
« Reply #214 on: July 26, 2023, 01:58:23 am »
Old models are limited.Most of TDME is only allow decode and measurement.So they are the same with old options.
Qscape is unavailable.and all three phase power options are only for 8ch HDO or newer.
 

Offline Azusa

  • Contributor
  • Posts: 46
  • Country: cn
Re: Lecroy options -=recovery=-
« Reply #215 on: July 26, 2023, 03:26:26 am »
When I install 32bit 8.4.1.4/8.6.2.10 version on WaveRunner 8404.It has new onetouch function.
It‘s a large improvement of human–computer interaction.It can do a lot of thing by slide makes use easily.
So,Does anyone tried to hack the configmgr.dll to make it possible on older models?
 

Offline hpw

  • Frequent Contributor
  • **
  • Posts: 366
  • Country: 00
Re: Lecroy options -=recovery=-
« Reply #216 on: July 26, 2023, 04:23:19 am »
When I install 32bit 8.4.1.4/8.6.2.10 version on WaveRunner 8404.....
So,Does anyone tried to hack the configmgr.dll to make it possible on older models?

Does this means, 8.4.1.4 is not for the older models as WM8000, SDA6000 as DDA5000 series by default?
 

Offline Azusa

  • Contributor
  • Posts: 46
  • Country: cn
Re: Lecroy options -=recovery=-
« Reply #217 on: July 26, 2023, 11:12:43 am »
When I install 32bit 8.4.1.4/8.6.2.10 version on WaveRunner 8404.....
So,Does anyone tried to hack the configmgr.dll to make it possible on older models?

Does this means, 8.4.1.4 is not for the older models as WM8000, SDA6000 as DDA5000 series by default?
The 32bit version higher than 8.1.2.0 is for wavesurfer10 but reserved support for old WM/WP/WR/WS.
and it supported other newer models like Zi,HDO,WR8000 even they are 64bit by default.
8.4.1.4 32bit can run on old WM/WP/WR/WS.but without onetouch fuction and most of new options are limited.
« Last Edit: July 26, 2023, 11:17:09 am by Azusa »
 

Offline hpw

  • Frequent Contributor
  • **
  • Posts: 366
  • Country: 00
Re: Lecroy options -=recovery=-
« Reply #218 on: July 27, 2023, 10:20:32 am »
The 32bit version higher than 8.1.2.0 is for wavesurfer10 but reserved support for old WM/WP/WR/WS.
and it supported other newer models like Zi,HDO,WR8000 even they are 64bit by default.
8.4.1.4 32bit can run on old WM/WP/WR/WS.but without onetouch fuction and most of new options are limited.

OK,

as long the 8.4.1.4 deals with existing options and less bugs. Often have an automatic restart of the 8.1.2.0 as in addition touch panel working once than later on as dead or only partial..

Hp
 

Offline darkstar49

  • Frequent Contributor
  • **
  • Posts: 309
Re: Lecroy options -=recovery=-
« Reply #219 on: August 10, 2023, 03:06:34 pm »
OK,

as long the 8.4.1.4 deals with existing options and less bugs. Often have an automatic restart of the 8.1.2.0 as in addition touch panel working once than later on as dead or only partial..

Hp

better behaviour with 8.4 than 8.1 with the touchscreen ?? (I've had issues with 8.1 and W7 recently... very strange, had to launch LecTouchScreenCtrl.exe manually after the DSO software  :-//)
 

Offline darkstar49

  • Frequent Contributor
  • **
  • Posts: 309
Re: Lecroy options -=recovery=-
« Reply #220 on: August 10, 2023, 03:11:28 pm »
I observed the same with flags 80 options. Looking at the X-Stream 7.9.0.1 options.cfg, it has no 0x08 or 0x80 options listed, so I guess this was stored as two 3-bit digits (0-7) at some point, causing both 0x08 and 0x80 to be interpreted as 0. I noticed that the license generation swaps bytes in the scope ID if the mask is >= 0x40, and tried any other permutation of scope ID bytes with mask 0x8, but none of them was accepted by the scope. Since the 0x08 and 0x80 options started appearing around the same time as the change to a new key generation scheme, I'm guessing the scope won't accept these options with the old key format as is currently implemented in the key gen.

No need to reinvent the wheel. Look at the options list here and use those flags/bitmasks.

0x80 support existed, but not public... My Mac had to be replaced 2 times within 6 months, and cherry on the cake, my multi-TB TimeMachine backups have become corrupt  |O
I'll check if I can find something back.
 

Offline sprit

  • Contributor
  • Posts: 24
  • Country: vn
Re: Lecroy options -=recovery=-
« Reply #221 on: August 26, 2023, 12:44:36 pm »
Hello everyone, have a nice day.


I have a WS424 scope that is giving me the error "No hardware Detected- Not authorized to run on this system - something like 5c16d-84884...."

This behavior occurs after I read data from DS2433. In the process I accidentally erased that chip. currently I have a backup copy of eeprom but don't know how to write back. i use arduino when doing it. I don't have a 1-wire ds9097 programming circuit. Can anyone help me, thanks for your help.
Sincerely,
JingFeng
 

Offline Nx-1997

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: Lecroy options -=recovery=-
« Reply #222 on: August 27, 2023, 03:01:04 pm »
This worked for me on windows 10. I used an Arduino Nano.

https://github.com/meawoppl/eepromTool-ds2433
 

Offline mickab

  • Newbie
  • Posts: 7
  • Country: fr
Re: Lecroy options -=recovery=-
« Reply #223 on: August 28, 2023, 01:32:07 am »
OK,

as long the 8.4.1.4 deals with existing options and less bugs. Often have an automatic restart of the 8.1.2.0 as in addition touch panel working once than later on as dead or only partial..

Hp

better behaviour with 8.4 than 8.1 with the touchscreen ?? (I've had issues with 8.1 and W7 recently... very strange, had to launch LecTouchScreenCtrl.exe manually after the DSO software  :-//)
I have some stability issue with 8.4.1.4 (Hard reset after ~2min).

8.6.2.10 works fine for the Waverunner 64Xi-A-N but I'm not able to decode with list.py the option.cfg (no problem to decode options on 8.1.2.0)
Did you patch the existing code to decode the options available on 9.7.0.3 @darkstar49 & @tv84?

The error is :
Code: [Select]
C:\PythonScript>python list.py options.cfg
Traceback (most recent call last):
  File "list.py", line 8, in <module>
    db = lec.db.fromfile(argv[1])
  File "C:\PythonScript\lec\db.py", line 299, in fromfile
    return LicDB(LicReader(fname))
  File "C:\PythonScript\lec\db.py", line 35, in __init__
    DecryptFile(hfi, hfo)
  File "C:\PythonScript\lec\db.py", line 18, in DecryptFile
    hfo.write(decrypt(hfi.read(8)))
  File "C:\PythonScript\lec\crypto.py", line 20, in decrypt
    return revd(cipher.decrypt(revd(blk)))
  File "C:\PythonScript\lec\crypto.py", line 16, in revd
    return pack(">LL", *unpack("<LL", blk))
struct.error: unpack requires a string argument of length 8
« Last Edit: August 28, 2023, 08:47:23 am by mickab »
 

Offline wysp2023

  • Newbie
  • Posts: 4
  • Country: us
Re: Lecroy options -=recovery=-
« Reply #224 on: August 28, 2023, 09:14:41 am »
OK,

as long the 8.4.1.4 deals with existing options and less bugs. Often have an automatic restart of the 8.1.2.0 as in addition touch panel working once than later on as dead or only partial..

Hp

better behaviour with 8.4 than 8.1 with the touchscreen ?? (I've had issues with 8.1 and W7 recently... very strange, had to launch LecTouchScreenCtrl.exe manually after the DSO software  :-//)
I have some stability issue with 8.4.1.4 (Hard reset after ~2min).

8.6.2.10 works fine for the Waverunner 64Xi-A-N but I'm not able to decode with list.py the option.cfg (no problem to decode options on 8.1.2.0)
Did you patch the existing code to decode the options available on 9.7.0.3 @darkstar49 & @tv84?

The error is :
Code: [Select]
C:\PythonScript>python list.py options.cfg
Traceback (most recent call last):
  File "list.py", line 8, in <module>
    db = lec.db.fromfile(argv[1])
  File "C:\PythonScript\lec\db.py", line 299, in fromfile
    return LicDB(LicReader(fname))
  File "C:\PythonScript\lec\db.py", line 35, in __init__
    DecryptFile(hfi, hfo)
  File "C:\PythonScript\lec\db.py", line 18, in DecryptFile
    hfo.write(decrypt(hfi.read(8)))
  File "C:\PythonScript\lec\crypto.py", line 20, in decrypt
    return revd(cipher.decrypt(revd(blk)))
  File "C:\PythonScript\lec\crypto.py", line 16, in revd
    return pack(">LL", *unpack("<LL", blk))
struct.error: unpack requires a string argument of length 8


Changed key and data arrangement, requiring new key and data storage methods。
« Last Edit: August 28, 2023, 09:20:02 am by wysp2023 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf