Author Topic: Siglent SDS2000X Plus Hack  (Read 157721 times)

0 Members and 1 Guest are viewing this topic.

Offline balnazzar

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: it
Re: Siglent SDS2000X Plus Hack
« Reply #325 on: December 09, 2022, 02:10:21 pm »
So so much easier within the scopes webserver SCPI command panel.
SCPI command/license and Copy/Paste. Done !

That's a good idea. Would you please provide the SCPI license command? I cannot find any trace of it in the SCPI programming manual...

Thanks!
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: ca
Re: Siglent SDS2000X Plus Hack
« Reply #326 on: December 09, 2022, 05:28:04 pm »
That's a good idea. Would you please provide the SCPI license command? I cannot find any trace of it in the SCPI programming manual...

Thanks!
It's: MCBD [license code]

I would at least do the 350MHz license before doing the 500MHz license.  When I tried going directly to the 500MHz code I did not end up with a 500MHz scope.  I ended up with a 266MHz scope that had an annoying distortion on the top have of the signal.  It only takes about 10 seconds for each command to be entered, so I'd suggest you do the 200MHz, then the 350MHz then the 500MHz as it's possible each license tweaks the BW capability in a different way.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 
The following users thanked this post: MathWizard, balnazzar

Offline balnazzar

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: it
Re: Siglent SDS2000X Plus Hack
« Reply #327 on: December 09, 2022, 06:13:31 pm »
That's a good idea. Would you please provide the SCPI license command? I cannot find any trace of it in the SCPI programming manual...

Thanks!
It's: MCBD [license code]

I would at least do the 350MHz license before doing the 500MHz license.  When I tried going directly to the 500MHz code I did not end up with a 500MHz scope.  I ended up with a 266MHz scope that had an annoying distortion on the top have of the signal.  It only takes about 10 seconds for each command to be entered, so I'd suggest you do the 200MHz, then the 350MHz then the 500MHz as it's possible each license tweaks the BW capability in a different way.

Thanks! So, just MCBD license?

No other commands to confirm or whatever?

Another quick question:
Is there some firware, between 1.3.9 and 1.5.2r1 that *solves* the bugs BUT *retains* the telnet server? [EDIT: it seems that's not the case, at least not on the official support site..]

Thanks!
« Last Edit: December 09, 2022, 06:57:18 pm by balnazzar »
 

Offline balnazzar

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: it
Re: Siglent SDS2000X Plus Hack
« Reply #328 on: December 09, 2022, 06:56:09 pm »
And yet another question. These are the default options for the keygen

Code: [Select]
'25M', '40M', '50M', '60M', '70M', '100M', '150M', '200M', '250M', '300M', '350M', '500M', '750M', '1000M', 'MAX', 'AWG', 'WIFI', 'MSO', 'FLX', 'CFD', 'I2S', '1553', 'PWA'

Some of them are clearly invalid, and probably made for SDS5K or 1000X-E/U (e.g. wifi, 1000M). Apart from that, is there something else which is unlockable but not included by default?

Thanks.
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: ca
Re: Siglent SDS2000X Plus Hack
« Reply #329 on: December 09, 2022, 07:16:24 pm »
No other commands to confirm or whatever?
The scope will respond if the command was successful.  You can also check that the model ID changes as expected by issuing a *IDN? command or looking at the "Home" page.

You should re-start the scope after issuing each command.
« Last Edit: December 09, 2022, 07:23:29 pm by BillyO »
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 
The following users thanked this post: balnazzar

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: ca
Re: Siglent SDS2000X Plus Hack
« Reply #330 on: December 09, 2022, 07:18:59 pm »
Code: [Select]
'200M', '350M', '500M', 'MAX', 'AWG', 'MSO', 'FLX', 'CFD', 'I2S', '1553', 'PWA'
These are the valid codes for the SDS2004XP series scopes.  I have no idea what MAX does, but the scope accepts it.

Of course you can go back to 100MHz bandwidth by issuing the "100" license key.  You might want to do that if you are returning the scope for warranty work. :-//

When I did my other options (other than BW), I entered them through the GUI.  Can't remember why now, except to try that way out.  It worked too.
« Last Edit: December 09, 2022, 07:26:10 pm by BillyO »
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 
The following users thanked this post: balnazzar

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS2000X Plus Hack
« Reply #331 on: December 09, 2022, 07:22:20 pm »
Code: [Select]
'200M', '350M', '500M', 'MAX', 'AWG', 'MSO', 'FLX', 'CFD', 'I2S', '1553', 'PWA'
These are the valid codes for the SDS2004XP series scopes.  I have no idea what MAX does, but the scope accepts it.
You missed 100M.  :P
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: ca
Re: Siglent SDS2000X Plus Hack
« Reply #332 on: December 09, 2022, 07:24:01 pm »
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline balnazzar

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: it
Re: Siglent SDS2000X Plus Hack
« Reply #333 on: December 09, 2022, 07:24:28 pm »
Thanks for the assistance.

Commands sent to the scope via SCPI, strange results..

Sent 350M, accepted, rebooted, sent 500M, accepted, rebooted.

Now it reports
Code: [Select]
Siglent Technologies, SDS2504X Plus
Sent AWG, accepted, rebooted, it works. This was the last one it accepted by SCPI.

For MSO and all the decoding options, it doesn't accept them via SCPI. It does accept them, though, if I manually enter it (did that for MSO function and one decoding...).

Tell me.. Where can I find a more complete SCPI reference? The commands you told me worked, but they are not into the programming manual... Thanks.
 

Offline balnazzar

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: it
Re: Siglent SDS2000X Plus Hack
« Reply #334 on: December 09, 2022, 07:26:42 pm »
Mh, I think MAX is Manchester.
 

Offline balnazzar

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: it
Re: Siglent SDS2000X Plus Hack
« Reply #335 on: December 09, 2022, 07:30:16 pm »
For MSO and AWG I have authentic Siglent codes, since I bought the logic probe with the special deal.

However, it's worth noting that:
1. They are *different* from the ones generated by the keygen.
2. I used the ones by the keygen, and the scope accepted it.

How can I check if the scope can really display a high-bw signal (say close to 500 MHz)? My discrete AWG only gets to 30 MHz, amd the integrated one to 50 MHz.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS2000X Plus Hack
« Reply #336 on: December 09, 2022, 07:31:46 pm »
Mh, I think MAX is Manchester.
It is not.
Thanks for the assistance.

Commands sent to the scope via SCPI, strange results..

Tell me.. Where can I find a more complete SCPI reference? The commands you told me worked, but they are not into the programming manual... Thanks.
Wrong licenses or an errors in your commands, just a space in the wrong place will break it !
There is NO need for system reboots between installation of licenses.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS2000X Plus Hack
« Reply #337 on: December 09, 2022, 07:33:25 pm »
For MSO and AWG I have authentic Siglent codes, since I bought the logic probe with the special deal.

However, it's worth noting that:
1. They are *different* from the ones generated by the keygen.
2. I used the ones by the keygen, and the scope accepted it.

How can I check if the scope can really display a high-bw signal (say close to 500 MHz)? My discrete AWG only gets to 30 MHz, amd the integrated one to 50 MHz.
Warning, warning, Houston we have a problem !
Too much hurry and not enough care.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS2000X Plus Hack
« Reply #338 on: December 09, 2022, 07:42:45 pm »
Code: [Select]
'200M', '350M', '500M', 'MAX', 'AWG', 'MSO', 'FLX', 'CFD', 'I2S', '1553', 'PWA'
These are the valid codes for the SDS2004XP series scopes.  I have no idea what MAX does, but the scope accepts it.
You missed 100M.  :P
And SENT and Manch too !
Optional protocols:
I2S, FlexRay, 1553B, CANFD, SENT, Manch

It would seem the script in use is some old variant from before the additional Decodes were added in a firmware release.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: ca
Re: Siglent SDS2000X Plus Hack
« Reply #339 on: December 09, 2022, 07:44:10 pm »
There is NO need for system reboots between installation of licenses.
Good to know for the future.  When I entered the other option codes through the GUI it asked to re-start after each one.  So I complied..  :-//
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: ca
Re: Siglent SDS2000X Plus Hack
« Reply #340 on: December 09, 2022, 07:45:54 pm »
And SENT and Manch too !
Optional protocols:
I2S, FlexRay, 1553B, CANFD, SENT, Manch

It would seem the script in use is some old variant from before the additional Decodes were added in a firmware release.
My Bad.  My script has them but I was just choosing from the list presented by balnazzar.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline balnazzar

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: it
Re: Siglent SDS2000X Plus Hack
« Reply #341 on: December 09, 2022, 07:51:53 pm »
And SENT and Manch too !
Optional protocols:
I2S, FlexRay, 1553B, CANFD, SENT, Manch

It would seem the script in use is some old variant from before the additional Decodes were added in a firmware release.
My Bad.  My script has them but I was just choosing from the list presented by balnazzar.

Where can I find such a script? I'm using the one originally linked.
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: ca
Re: Siglent SDS2000X Plus Hack
« Reply #342 on: December 09, 2022, 07:57:06 pm »
How can I check if the scope can really display a high-bw signal (say close to 500 MHz)? My discrete AWG only gets to 30 MHz, amd the integrated one to 50 MHz.
That's the question.  I'm in the process now.  The best way would be find a sinewave generator that will go flat out to 1GHz then have a look at the response.  Another way, not as precise but a good indicator, is to find a fast risetime pulse generator and see what the minimum rise time on the scope is.  For this scope you will need a pulse with a rise time of better than 500ps.  I have a ~ 30ps pulser on the way (delayed due to The Royal Mail being on strike) and have access to a 1GHz generator.  So, over the next little while I'll be doing some testing .. just for fun.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 
The following users thanked this post: balnazzar

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: ca
Re: Siglent SDS2000X Plus Hack
« Reply #343 on: December 09, 2022, 07:59:20 pm »
Where can I find such a script? I'm using the one originally linked.

Here:

Code: [Select]
import hashlib

SCOPEID = 'xxxxxxxxxxxxxxxx'
Model   = 'SDS2000X+'

bwopt = ('25M', '40M', '50M', '60M', '70M', '100M', '150M', '200M', '250M', '300M', '350M', '500M', '750M', '1000M', 'MAX', 'AWG', 'WIFI', 'MSO', 'FLX', 'CFD', 'I2S', '1553', 'PWA', 'MANC', 'SENT')

hashkey = '5zao9lyua01pp7hjzm3orcq90mds63z6zi5kv7vmv3ih981vlwn06txnjdtas3u2wa8msx61i12ueh14t7kqwsfskg032nhyuy1d9vv2wm925rd18kih9xhkyilobbgy'

def gen(x):
   h = hashlib.md5((
      hashkey +
      (Model+'\n').ljust(32, '\x00') +
      opt.ljust(5, '\x00') +
      2*((SCOPEID + '\n').ljust(32, '\x00')) +
      '\x00'*16).encode('ascii')
   ).digest()
   key = ''
   for b in h:
      if (b <= 0x2F or b > 0x39) and (b <= 0x60 or b > 0x7A):
         m = b % 0x24
         b = m + (0x57 if m > 9 else 0x30)
      if b == 0x30: b = 0x32
      if b == 0x31: b = 0x33
      if b == 0x6c: b = 0x6d
      if b == 0x6f: b = 0x70
      key += chr(b)
   return key.upper()
   
for opt in bwopt:
   print('{:5} {}'.format(opt, gen(SCOPEID)))
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 
The following users thanked this post: joseangel, balnazzar

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS2000X Plus Hack
« Reply #344 on: December 09, 2022, 08:08:07 pm »
There is NO need for system reboots between installation of licenses.
Good to know for the future.  When I entered the other option codes through the GUI it asked to re-start after each one.  So I complied..  :-//
Fair enough.
Put yourself in my position when installing licenses before shipping an instrument to customers.

Many instruments have boot counters so for each license install add another boot then any additional if FW updates are needed and very quickly you can have 10 boots on the boot counter.....does this still look like a new instrument when the customer receives it ?
Then there also the time to need to wait between boots ............. no thank you so we develop time saving methods to do this stuff or instead as some dealers do, throw it all in the box and let the customer sort it.

Isn't that a wonderful example of quality dealer support ?  :horse:

Where can I find such a script? I'm using the one originally linked.

Here:.............
As you already know this script or variations of it can also improve other instruments so we look for the most complete version.  ;)
balnazzar had it all in her hand to check official licensing against script results but never used the sanity check staring her in the face......this is how I first discovered proper script generated licenses were accurate.  ;)
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: ca
Re: Siglent SDS2000X Plus Hack
« Reply #345 on: December 09, 2022, 08:16:38 pm »
Isn't that a wonderful example of quality dealer support ?  :horse:
:-+
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline balnazzar

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: it
Re: Siglent SDS2000X Plus Hack
« Reply #346 on: December 09, 2022, 09:15:17 pm »
balnazzar had it all in her hand to check official licensing against script results but never used the sanity check staring her in the face......this is how I first discovered proper script generated licenses were accurate.  ;)

I am a male human being, just for the sake of clarity  ;D

How not? I posted above that the licenses are *different*, but the scope accepts the ones generated by the keygen nonetheless...!

Probably there are more than just 1 valid hash.

I can confirm, however, that the scope accepted the licenses via SCPI only for the bw limits and the awg. All the other had to be entered manually.
It's strange, I know. But had it be a mess by my part, it wouldn't have accepted bw and awg... And it's very hard to make errors when you have just to enter MCBD license...
 
The following users thanked this post: tautech

Offline balnazzar

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: it
Re: Siglent SDS2000X Plus Hack
« Reply #347 on: December 09, 2022, 09:20:49 pm »
ADDENDUM: The license codes generated by the updated script are the same as the ones before, except for the presence of MANC and SENT. I still don't know what MAX is, given that it's evidently not Manchester.

Of course, the MSO and AWG codes provided by the new script, being identical to the ones by the old script, are different from the genuine ones provided by Siglent.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28380
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS2000X Plus Hack
« Reply #348 on: December 09, 2022, 09:26:47 pm »
balnazzar had it all in her hand to check official licensing against script results but never used the sanity check staring her in the face......this is how I first discovered proper script generated licenses were accurate.  ;)

I am a male human being, just for the sake of clarity  ;D
Please accept my apologies ......your christian name is normally female where we are.  :-[

ADDENDUM: The license codes generated by the updated script are the same as the ones before, except for the presence of MANC and SENT. I still don't know what MAX is, given that it's evidently not Manchester.

Of course, the MSO and AWG codes provided by the new script, being identical to the ones by the old script, are different from the genuine ones provided by Siglent.
This is of concern.  :-//
Did you dealer supply the actual license codes or a form with authorization code to generate the licenses at the Siglent license site ?
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline balnazzar

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: it
Re: Siglent SDS2000X Plus Hack
« Reply #349 on: December 09, 2022, 09:33:14 pm »
balnazzar had it all in her hand to check official licensing against script results but never used the sanity check staring her in the face......this is how I first discovered proper script generated licenses were accurate.  ;)

I am a male human being, just for the sake of clarity  ;D
Please accept my apologies ......your christian name is normally female where we are.  :-[

ADDENDUM: The license codes generated by the updated script are the same as the ones before, except for the presence of MANC and SENT. I still don't know what MAX is, given that it's evidently not Manchester.

Of course, the MSO and AWG codes provided by the new script, being identical to the ones by the old script, are different from the genuine ones provided by Siglent.
This is of concern.  :-//
Did you dealer supply the actual license codes or a form with authorization code to generate the licenses at the Siglent license site ?

No need to apologize, it was actually funny :)

I got two PDF certificates, sent via e-mail by Batterfly, with a big Siglent logo as well as the codes on them, both as barcode and as alphanumeric string.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf