Author Topic: Siglent SDS & SDG Hack Script  (Read 14192 times)

0 Members and 2 Guests are viewing this topic.

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28382
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #25 on: December 17, 2022, 04:02:16 am »
very interesting post.  I just ordered a 2074X-Plus (about 1100-1200USD)  to be shipped from China. vendor offered to upgrade it to 500M bandwidth for free and claimed it's legitimate because they are one of the biggest distributors and were offered extra perks (ie software licenses and probes) by the manufacturer to help boost sales by the end of year.  I am not sure how much of it is sales pitch, but very eagerly waiting for my shipment to see if it is upgraded. Hopefully I don't have to run the code in this post.
Seller ?
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline Nicole01

  • Newbie
  • Posts: 9
  • Country: de
Re: Siglent SDS & SDG Hack Script
« Reply #26 on: December 18, 2022, 12:11:39 am »
You write the Model 2074X-Plus ?
Which Model did you Order exactly ?
 

Offline Martin72

  • Super Contributor
  • ***
  • Posts: 5841
  • Country: de
  • Testfield Technician
Re: Siglent SDS & SDG Hack Script
« Reply #27 on: December 18, 2022, 12:25:42 am »
There is indeed a 70Mhz(2074X+) version avaible, but AFAIK in china only.
Got the same hardware as the "known" 4-channel models starting here with 100Mhz (2104X+) and could be fully armed also, including 500Mhz bandwith.

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28382
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #28 on: December 18, 2022, 12:30:05 am »
There is indeed a 70Mhz(2074X+) version avaible, but AFAIK in china only.
Got the same hardware as the "known" 4-channel models starting here with 100Mhz (2104X+) and could be fully armed also, including 500Mhz bandwith.
Also prohibited export from China as it is not a model available to the west.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1392
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #29 on: December 18, 2022, 12:38:12 am »
There is indeed a 70Mhz(2074X+) version avaible, but AFAIK in china only.
Got the same hardware as the "known" 4-channel models starting here with 100Mhz (2104X+) and could be fully armed also, including 500Mhz bandwith.
Also prohibited export from China as it is not a model available to the west.
I wonder why not?
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 Martin72

  • Super Contributor
  • ***
  • Posts: 5841
  • Country: de
  • Testfield Technician
Re: Siglent SDS & SDG Hack Script
« Reply #30 on: December 18, 2022, 12:44:50 am »
Same why you don´t could buy the 12 bit version of the 6000A scope in the west, I guess..
Apart from this, I don´t get it why buying a 70Mhz scope, 100Mhz should be the "minimum" at all.

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28382
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #31 on: December 18, 2022, 12:50:13 am »
There is indeed a 70Mhz(2074X+) version avaible, but AFAIK in china only.
Got the same hardware as the "known" 4-channel models starting here with 100Mhz (2104X+) and could be fully armed also, including 500Mhz bandwith.
Also prohibited export from China as it is not a model available to the west.
I wonder why not?
HQ policy. Firm marketing rule for China sellers = do not export SDS207*X Plus !
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1392
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #32 on: December 18, 2022, 12:52:28 am »
HQ policy. Firm marketing rule for China sellers = do not export SDS207*X Plus !
Well, that's one way to create a grey market.
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 tautech

  • Super Contributor
  • ***
  • Posts: 28382
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #33 on: December 18, 2022, 12:58:47 am »
HQ policy. Firm marketing rule for China sellers = do not export SDS207*X Plus !
Well, that's one way to create a grey market.
And then distributors ask HQ about the SDS207*X Plus in their marketplace and if they are required to provide support for it as it is a prohibited export.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28382
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #34 on: December 18, 2022, 01:24:39 am »
HQ policy. Firm marketing rule for China sellers = do not export SDS207*X Plus !
Well, that's one way to create a grey market.
Oh and BTW, while the promos are active we can supply SDS2104X Plus for less than the China sellers breaking the rules can supply SDS2074X Plus.
Grey market for a more expensive product !  :-DD
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1392
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #35 on: December 18, 2022, 03:39:54 am »
Oh and BTW, while the promos are active we can supply SDS2104X Plus for less than the China sellers breaking the rules can supply SDS2074X Plus.
Grey market for a more expensive product !  :-DD
Well, that's why I bought one!

More scope than I'll ever need, but how sweet it is!
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 dataist

  • Newbie
  • Posts: 2
  • Country: au
Re: Siglent SDS & SDG Hack Script
« Reply #36 on: December 18, 2022, 12:10:38 pm »
how interesting to know this model is prohibited to export. From the tear-down I wonder if all 2000x series share the same circuit and chips, ie Zynq/ARM/ADCs, for manufacturing efficiency, but block certain functionality through software to discriminate wealthy western buyers and also to maximize profit. 
 

Offline Martin72

  • Super Contributor
  • ***
  • Posts: 5841
  • Country: de
  • Testfield Technician
Re: Siglent SDS & SDG Hack Script
« Reply #37 on: December 18, 2022, 04:33:31 pm »
On the other hand, sds2000xplus series are nevertheless very cheap in relation of the performance they have.

Offline Mr_Bean

  • Newbie
  • Posts: 8
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #38 on: December 20, 2022, 08:38:10 pm »

Script for Siglent Waveform Generators:

Code: [Select]
# Keygen program for Siglent waveform generators

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

# READ THIS COMPLETLY BEFORE YOU START
# AND READ ALL OTHER INFORMATION HERE IN THE SCRIPT

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

# PLEASE GET TIME FOR THIS !!!

# Go to Siglent homepage and find out which model you have.
# When you have a SDG6022X the model is SDG6000X.
# And you can find out how much you can upgrade the bandwidth.
# Because the model SDG6000X have three versions with different bandwidths.
# And you can find out which options are possibel.

# Connect your waveform generator via LAN to your home network.
# Activate LAN in the UI.
# Use DHCP to get the ip automaticly from your router.
# Or enter a fix ip config.
# Find out which ip the device got.
# Search in goole for the telnet programm "putty" you can use the telnet version.
# Start putty and enter the ip adress and click connect.
# You can enter here the SCIP prompts.
# The SCIP prompts comes later in the script.
# Enter all SCIP prompts without the ""

# This is a python script.
# You have to run this script.
# And read the output from this script.
# Search google for a "online python debugger".
# Or use a offline python debugger.

# Change in the script:
# SN and Model with your own.
# Run the script.

# The generated key is binded by a keyword.
# The keyword represents the bandwidth or the option.
# The keyword 200M represents a bandwidth of 200Mhz.
# The keyword WIFI represents the option WIFI, so you need only a WIFI dongle.
# The keyword TRUE represents the option IQ Waveforms.

import hashlib

# Replace this with your SN
# You get this over the info from the UI
# Sometime find this under "Info"
SN = 'SDG00000000000'

# Enter here the basic model
# You get this by running "MD5_PR?" at the SCIP prompt
# A sample: You have the SDG6022X than enter "SDG6000X
# Some more basic models: "SDG1000X", "SDG2000X", "SDG6000X"
Model = 'SDG6000X'

# You can add more bandwidhts here, when you have the ríght keyword
# Not all bandwidths works on your device!
bwopt = ('25M', '40M', '50M', '60M', '70M', '100M', '150M', '200M',
         '250M', '300M', '350M', '500M', '750M', '1000M', 'MAX')

# You can add more options here, when you have the ríght keyword
# TRUE is for the IQ Waveforms
# Not all options works on your device!
otheropt = ('WIFI', 'TRUE')

# NO CHANGES HERE !!!
# NO MORE INFORMATION HERE !!!
hashkey = '5zao9lyua01pp7hjzm3orcq90mds63z6zi5kv7vmv3ih981vlwn06txnjdtas3u2wa8msx61i12ueh14t7kqwsfskg032nhyuy1d9vv2wm925rd18kih9xhkyilobbgy'

def gen(x):
    h = hashlib.md5((
        hashkey +
        (Model+'\n').ljust(32, '\x00') +
        opt.ljust(5, '\x00') +
        2*((SN + '\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()

print('INFO: CHECK YOUR GENERATED KEY BEFOR ENTER A NEW ONE !!!' + '\n')
print('You get your bandwidth by running "PRBD?" at the SCIP prompt' + '\n')
print('You get your bandwidth key by running "MCBD?" at the SCIP prompt' + '\n')
print('Compare your key with the generated key')
print('INFO: IT HAVE TO BE SAME !!!')
print('\n')
print('\n')
print('--------------------------------')
print('Here are the bandwidth codes')
print('Enter these codes over SCIP prompt')
print('The SCIP promt is "MCBD"')
print('A sample with the 500M keyword: "MCBD PA3XCKP66XPYPPPI"')
print('\n')
for opt in bwopt:
    print('{:5} {}'.format(opt, gen(SN)))

print('\n')
print('--------------------------------')
print('Here are the options codes')
print('Enter these codes over the UI')
print('\n')
for opt in otheropt:
    print('{:5} {}'.format(opt, gen(SN)))



Do we know if this still works on the SDG2000X's Rev F / 05-xx-... hardware and/or the latest 2.01.01.37R31 firmware?
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1392
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #39 on: December 20, 2022, 09:56:39 pm »
Do we know if this still works on the SDG2000X's Rev F / 05-xx-... hardware and/or the latest 2.01.01.37R31 firmware?
This method has been superseded by the license key generator.  I suggest you do a bit more reading, or is there a reason you don't want to use the key generator?
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 Martin72

  • Super Contributor
  • ***
  • Posts: 5841
  • Country: de
  • Testfield Technician
Re: Siglent SDS & SDG Hack Script
« Reply #40 on: December 20, 2022, 09:59:51 pm »
I´ve ordered a SDG2042X today and want to "free" it when it´s arrived, because in the future I will need frequencies up to 100Mhz(so my SDG1062X will be selled).
Actually it wasn´t clear to me how to upgrade it to 120Mhz, it seems there are several methods?(here, hackdoor closed thread)

Martin

Offline Mr_Bean

  • Newbie
  • Posts: 8
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #41 on: December 20, 2022, 10:26:44 pm »
This method has been superseded by the license key generator.  I suggest you do a bit more reading, or is there a reason you don't want to use the key generator?

The method I quoted is Python code for the license key generator.
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1392
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #42 on: December 20, 2022, 11:37:02 pm »
This method has been superseded by the license key generator.  I suggest you do a bit more reading, or is there a reason you don't want to use the key generator?

The method I quoted is Python code for the license key generator.
Doh!  My bad. :palm:  AFAIK it still works.  It can't hurt to try it.  The worst that might happen is the license key will be rejected.
« Last Edit: December 20, 2022, 11:39:03 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
 

Offline Mr_Bean

  • Newbie
  • Posts: 8
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #43 on: December 21, 2022, 02:02:15 am »
Doh!  My bad. :palm:  AFAIK it still works.  It can't hurt to try it.  The worst that might happen is the license key will be rejected.

I don't have an SDG yet. I have a line on a 2042X, and I'd have no use for it on the slim chance I can't unlock it to a 2122X. So it might hurt to try.
 

Offline baldurn

  • Regular Contributor
  • *
  • Posts: 189
  • Country: dk
Re: Siglent SDS & SDG Hack Script
« Reply #44 on: December 21, 2022, 10:27:01 am »
Doh!  My bad. :palm:  AFAIK it still works.  It can't hurt to try it.  The worst that might happen is the license key will be rejected.

I don't have an SDG yet. I have a line on a 2042X, and I'd have no use for it on the slim chance I can't unlock it to a 2122X. So it might hurt to try.

It worked on my SDG6022X running 6.01.01.36.

You could always return it if it refuses to upgrade. But I think it will.
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1392
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #45 on: December 21, 2022, 01:53:57 pm »
Doh!  My bad. :palm:  AFAIK it still works.  It can't hurt to try it.  The worst that might happen is the license key will be rejected.

I don't have an SDG yet. I have a line on a 2042X, and I'd have no use for it on the slim chance I can't unlock it to a 2122X. So it might hurt to try.
For me, recently (in the last 3 months) this script has worked on:

SDS1104X-E
SDG1032X
SDS2104XP
SDL1020X-E (not script but his works: https://www.eevblog.com/forum/testgear/siglent-sdl1000xsdl1000x-e-electronic-load/msg3395024/#msg3395024)

No issues at all, except with the SDS2104XP I had to increase the BW incrementally.  Goin directly to 500MHz did not produce 500MHz bandwidth (266MHz was all I got) and it distorted signals above 200MHz.
« Last Edit: December 21, 2022, 06:28:56 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
 

Offline dshorthill

  • Contributor
  • Posts: 22
  • Country: us
Re: Siglent SDS & SDG Hack Script
« Reply #46 on: December 21, 2022, 05:02:10 pm »
BillyO:
Could you provide info on how to use Python script to “upgrade” the SDL1020X-E (Electronic Load) ?
 
Thanks
(also Siglent fanboy)
« Last Edit: December 21, 2022, 05:07:44 pm by dshorthill »
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1392
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #47 on: December 21, 2022, 06:27:17 pm »
BillyO:
Could you provide info on how to use Python script to “upgrade” the SDL1020X-E (Electronic Load) ?
 
Thanks
(also Siglent fanboy)

For the SDL you don't use the python script.  Sorry, I didn't mean to imply that, just to mention I had done the "improvement" and it still worked.

For teh SDL you just need to issue a few SCPI commands.  It's detailed here: https://www.eevblog.com/forum/testgear/siglent-sdl1000xsdl1000x-e-electronic-load/msg3395024/#msg3395024 
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 Zigortxu

  • Contributor
  • Posts: 10
  • Country: es
Re: Siglent SDS & SDG Hack Script
« Reply #48 on: January 27, 2023, 04:30:56 pm »
Hello,

I have recently bought a sdg2042x and I try to connect it via telnet and it refuse the connection, the lan options is "ON" status, I put the IP of the SDG on putty and port 23 but dont connect, the software version is 2.01.01.35R3B2 and hardware version is 02-02-00-40-00.

Anybody knows why dont connect it?

Thanks very much
 

Offline Martin72

  • Super Contributor
  • ***
  • Posts: 5841
  • Country: de
  • Testfield Technician
Re: Siglent SDS & SDG Hack Script
« Reply #49 on: January 27, 2023, 05:45:47 pm »
Hi,

Got one with the same hard- and software version you have, no problems.

Follow the quoted instructions in this post:

https://www.eevblog.com/forum/testgear/siglent-sdg2042x-hack-door-closed/msg4599439/#msg4599439

And it should work.
Don´t forget to enter the correct ip adress in putty/telnet, activate dhcp in the generator menu, take the new adress.
And:
Connect the generator via router to the pc.
 
The following users thanked this post: Zigortxu


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf