Author Topic: Siglent SDG2042X Hack door closed  (Read 86489 times)

PeZe and 1 Guest are viewing this topic.

Offline stefi01

  • Newbie
  • Posts: 3
  • Country: us
Re: Siglent SDG2042X Hack door closed
« Reply #75 on: July 19, 2020, 11:08:04 pm »
Hey TV84
Thanks for your help, i followed the instructions and it worked first time, I now have the unit working with 120MHZ
awsome job  ;D
 

Offline MathWizard

  • Super Contributor
  • ***
  • Posts: 1421
  • Country: ca
Re: Siglent SDG2042X Hack door closed
« Reply #76 on: July 20, 2020, 04:00:10 am »
I followed some method on here back in May/June that still worked. I like this thing, and the buttons make sense, easy to use
 

Online mawyatt

  • Super Contributor
  • ***
  • Posts: 3244
  • Country: us
Re: Siglent SDG2042X Hack door closed
« Reply #77 on: August 28, 2020, 02:04:06 am »
Hello,

I've attempted to enable my new SDG2042X to 120MHz and encountering some issues. First off I'm not a computer/sofware/network guru, so highly likely I've missed something simple. I've followed john95 routine and encountered some problems listed below.

I'm use a MAC running MAC OS High Sierra 10.13.6, and downloaded telnet as part of Home-brew without any issues.

4) SDG2042X: hook Ethernet cable, turn on SDG2042X, utility->interface->LAN Setup->DHCP on (Could not get DHCP to turn ON), write down IP address, for example: 192.168.1.20 (Used manual Configure in MAC for IP address and Subnet Mask from SDG2042X, no place for Gateway). (Now MAC indicates Ethernet Connected, but if I use DHCP on MAC Ethernet is not connected)
5) SDG2042X: Insert USB Stick into front panel USB socket, put SDG2042X to utility->/System/Firmware Upgrade->USB0->find file: telnet_SDG2000X.ADS->Recall, updating starts and fails after a while. Yes, it fails. So your version is never changed. (Yes this is what happens)
6) SDG2042X: LEAVE POWER ON SDG
7) computer console: access to SDG2042X file. type: telnet <SDG IP address> <SPACE> 10101 <RETURN>, for example: telnet 192.168.1.20 10101 (Get "telnet: Unable to connect to remote host" message, I tried loading SDG2042X IP and Subset Mask from DCHP enabled on MAC and Ethernet doesn't connect and get same telnet message).

Any help is greatly appreciated.

Best,

Mike
Curiosity killed the cat, also depleted my wallet!
~Wyatt Labs by Mike~
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3217
  • Country: pt
Re: Siglent SDG2042X Hack door closed
« Reply #78 on: August 28, 2020, 01:47:50 pm »
Since you're not a guru, and also using a Mac, you should be using a router/switch to connect your PC with the SDG. Doing it directly is prone to misconfigs.  To test connectivity use 'ping' command. If you don't have IP connectivity, no need to advance to telnet...

Also, the telnet .ADS should hang. It's a feature.

 

Online mawyatt

  • Super Contributor
  • ***
  • Posts: 3244
  • Country: us
Re: Siglent SDG2042X Hack door closed
« Reply #79 on: August 28, 2020, 07:36:46 pm »
I plugged the ethernet cable from the SDG2042X into the WiFi router and was able to change the DHCP to "On" in the setup. A few minutes later the SDG2042X IP, Subnet and Gateway all changed and I was able to telnet into the SDG2042X as described by john95 procedure.

After carefully following the guidelines by john95 I was able to edit the file and save it. Did have to deviate some from this procedure and use "Esc, then :w, then return" to get the file saved. Then ":q! then return" to exit editor vi.

Unplugged USB and shut power down then repowered SDG2042X and sure enough have 120MHz capability now :)

Hopefully this will help anyone with a MAC.

Thanks for the help :-+

Next is enabling the SSA3021X Plus :)

Best,

Mike

 
« Last Edit: August 29, 2020, 01:00:12 am by mawyatt »
Curiosity killed the cat, also depleted my wallet!
~Wyatt Labs by Mike~
 

Offline imzack

  • Newbie
  • Posts: 4
  • Country: us
Re: Siglent SDG2042X Hack door closed
« Reply #80 on: August 29, 2020, 09:34:28 am »
On the telnet console, I get:

/ # cp /usr/bin/siglent/firmdata0/NSP_system_info.xml /usr/bin/siglent/firmdata0/NSP_system_info.x
ml.orig     
cp: cannot create '/usr/bin/siglent/firmdata0/NSP_system_info.xml.orig': Read-only file system


Any thoughts on why I don't have write access?

Thanks!
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6426
  • Country: de
Re: Siglent SDG2042X Hack door closed
« Reply #81 on: August 29, 2020, 09:40:06 am »
Did you enter the mount command properly and did it succeed?

Code: [Select]
mount -o remount,rw ubi2_0 /usr/bin/siglent/firmdata0
 

Offline imzack

  • Newbie
  • Posts: 4
  • Country: us
Re: Siglent SDG2042X Hack door closed
« Reply #82 on: August 29, 2020, 10:00:07 am »
Wow, you're my hero!

The first time I did it, I got the busybox dialog; but I assumed that it properly mounted, since I was able to navigate to that location via 'cd'.

Thanks again!
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6426
  • Country: de
Re: Siglent SDG2042X Hack door closed
« Reply #83 on: August 29, 2020, 10:08:12 am »
Hey, glad it worked out. Enjoy your 120 MHz sine waves!  :-+
 

Offline bando

  • Newbie
  • Posts: 3
  • Country: de
Re: Siglent SDG2042X Hack door closed
« Reply #84 on: September 28, 2020, 09:19:53 am »
Hi guys,
I'm trying to follow the method, but there are so many links to other threads and all have updates at the same time that is impossible to follow. Also the links for firmware files do not work. Is there anywhere an understable compilation with the nessesary information to hack the SDG2000? Thanks a lot!
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6426
  • Country: de
Re: Siglent SDG2042X Hack door closed
« Reply #85 on: September 28, 2020, 09:59:47 am »
Hi guys,
I'm trying to follow the method, but there are so many links to other threads and all have updates at the same time that is impossible to follow. Also the links for firmware files do not work. Is there anywhere an understable compilation with the nessesary information to hack the SDG2000? Thanks a lot!

What's wrong with the instructions in this post? I think they are still up to date:
https://www.eevblog.com/forum/testgear/siglent-sdg2042x-hack-door-closed/msg2409867/#msg2409867

Well, actually there is one thing wrong: The link to the post with the "firmware" has a comma at its end which does not belong there. Please use this corrected link:
https://www.eevblog.com/forum/testgear/siglent-ads-firmware-file-format/msg1870091/#msg1870091

Note: Those .zip files do not actually contain firmware, and you don't need any new firmware. They contain scripts which the SDG will run when you tell it to install the "firmware".

Another note: The exact same links I gave above were also given in reply #59 in this very thread, just one page back. Please do some reading before posting a question, it will help with the signal-to-noise ratio in this thread.
« Last Edit: September 28, 2020, 10:04:04 am by ebastler »
 

Offline Aqunity

  • Newbie
  • Posts: 3
  • Country: ca
Re: Siglent SDG2042X Hack door closed
« Reply #86 on: October 03, 2020, 04:55:57 pm »
Thanks so much John this process worked for me. :-+
I had software version 2.01.01.23R8

Two small things:
When you click the firmware link it doesn't work so copy and paste it into your web browser address bar and remove the comma at the end.

Step 10 should read:
             10) computer console, press the ESC key, then type: ":wq" and <RETURN> to save the file

The : in front of the wq is important as it does not work otherwise.

recap the steps scattered around to here.

----------------------------------------------------------------------------------------
1) SDG2042X: utility->system->system info, note down your Serial number and Software version. for example: 2.01.01.23R8
2) USB drive: format USB drive to FAT format, with MBR (master boot record) scheme. If you use GUID scheme, SDG2402X will not recognize it. It tells you it is removing media drive even you are inserting it in.
3) Firmware: goto https://www.eevblog.com/forum/testgear/siglent-ads-firmware-file-format/msg1870091/#msg1870091, and download telnet_SDG2000X.zip, unzip to telnet_SDG2000X.ADS, put it on USB drive
4) SDG2042X: hook Ethernet cable, turn on SDG2042X, utility->interface->LAN Setup->DHCP on, write down IP address, for example: 192.168.1.20
5) SDG2042X: Insert USB Stick into front panel USB socket, put SDG2042X to utility->/System/Firmware Upgrade->USB0->find file: telnet_SDG2000X.ADS->Recall, updating starts and fails after a while. Yes, it fails. So your version is never changed.
6) SDG2042X: LEAVE POWER ON SDG
7) computer console: access to SDG2042X file. type: telnet <SDG IP address> <SPACE> 10101 <RETURN>, for example: telnet 192.168.1.20 10101
6) computer console, mount driver as writable. type: mount -o remount,rw ubi2_0 /usr/bin/siglent/firmdata0
7) computer console, make a backup. type: cp /usr/bin/siglent/firmdata0/NSP_system_info.xml /usr/bin/siglent/firmdata0/NSP_system_info.xml.orig
8) computer console, use "vi" editor to edit one file. type: vi /usr/bin/siglent/firmdata0/NSP_system_info.xml
9) computer console, move cursor down by typing "j", and right by "l" to the very first letter "<" of the line <license> and press "x" to delete anything between and including "<license>" and "</license>". After deletion, this line becomes only has "</system_information>". if anything goes wrong, you could exit "vi" editor by "esc" and ":", and "q!", and redo it again.
10) computer console, press the ESC key, then type: "wq" and <RETURN> to save the file
11) remote computer console, type: "sync"
12) SDG2042X: remove USB stick
13) SDG2042X: turn power OFF
14) SDG2042X: check utility->system->system info, and check product type and Serial Number
 
The following users thanked this post: Blue, electr_peter, Johnny B Good, Chuck1000rr

Offline bando

  • Newbie
  • Posts: 3
  • Country: de
Re: Siglent SDG2042X Hack door closed
« Reply #87 on: October 10, 2020, 01:52:52 pm »
Thank you guys, I just bought my SDG2042X. I'm trying to connect it with my PC via ethernet cable but is impossible.
With the Siglent oscilloscope and an ethernet cable direct communicates perfectly.
Oscilloscope, SDG and PC connected to a ethernet switch:
Oscilloscope - PC       : perfect
Oscilloscope - SDG    : perfect
SDG - PC                  : nothing
Could be something in the newer firmware? The version is 2.01.01.35R3B2.
 

Offline indeterminatus

  • Contributor
  • Posts: 30
  • Country: at
Re: Siglent SDG2042X Hack door closed
« Reply #88 on: October 18, 2020, 12:39:19 pm »
Could be something in the newer firmware? The version is 2.01.01.35R3B2.

No, I just successfully flashed my unit with the same firmware (2.01.01.35R3B2).
 

Offline bando

  • Newbie
  • Posts: 3
  • Country: de
Re: Siglent SDG2042X Hack door closed
« Reply #89 on: October 24, 2020, 10:44:56 am »
Done! But is not 100% for dummies!  ;D
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6426
  • Country: de
Re: Siglent SDG2042X Hack door closed
« Reply #90 on: October 24, 2020, 11:44:05 am »
Thank you guys, I just bought my SDG2042X. I'm trying to connect it with my PC via ethernet cable but is impossible.
With the Siglent oscilloscope and an ethernet cable direct communicates perfectly.
Oscilloscope, SDG and PC connected to a ethernet switch:
Oscilloscope - PC       : perfect
Oscilloscope - SDG    : perfect
SDG - PC                  : nothing

So what did go wrong in your earlier attempt, and how did you fix it?
 

Offline Lupusmotus

  • Newbie
  • Posts: 2
  • Country: at
Re: Siglent SDG2042X Hack door closed
« Reply #91 on: November 26, 2020, 11:31:27 pm »
Hello,

I bought an new SDG2042 (firmware 2.01.01.35R3B2) and tried to telnet it (accordingly to the previously post). I tried different  firmware version from the siglent download page - but no success. It always asks for login/password.

Do you have any suggestions?


Thanks for your help.
 

Offline rf-loop

  • Super Contributor
  • ***
  • Posts: 4091
  • Country: fi
  • Born in Finland with DLL21 in hand
Re: Siglent SDG2042X Hack door closed
« Reply #92 on: November 27, 2020, 05:48:49 am »
Hello,

I bought an new SDG2042 (firmware 2.01.01.35R3B2) and tried to telnet it (accordingly to the previously post). I tried different  firmware version from the siglent download page - but no success. It always asks for login/password.

Do you have any suggestions?


Thanks for your help.

Suggestion: Read ALL again more carefully.
I drive a LEC (low el. consumption) BEV car. Smoke exhaust pipes - go to museum. In Finland quite all electric power is made using nuclear, wind, solar and water.

Wises must compel the mad barbarians to stop their crimes against humanity. Where have the wises gone?
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6426
  • Country: de
Re: Siglent SDG2042X Hack door closed
« Reply #93 on: November 27, 2020, 06:50:26 am »
I bought an new SDG2042 (firmware 2.01.01.35R3B2) and tried to telnet it (accordingly to the previously post). I tried different  firmware version from the siglent download page - but no success. It always asks for login/password.

Do you have any suggestions?

You mean, you followed this post?
https://www.eevblog.com/forum/testgear/siglent-sdg2042x-hack-door-closed/msg3261022/#msg3261022

I agree with rf-loop then: Just be sure that you do it right. It is quite a long series of steps and you need to do all of them as described, but if you do, it will work. If you should get stuck again, please be more specific in your problem description: At what point did things go wrong, what happened in the step before, etc.?
 

Offline graybeard

  • Frequent Contributor
  • **
  • Posts: 431
  • Country: us
  • Consulting III-V RF/mixed signal/device engineer
    • Chris Grossman
Re: Siglent SDG2042X Hack door closed
« Reply #94 on: November 28, 2020, 08:29:27 am »
recap the steps scattered around to here.

----------------------------------------------------------------------------------------
1) SDG2042X: utility->system->system info, note down your Serial number and Software version. for example: 2.01.01.23R8
2) USB drive: format USB drive to FAT format, with MBR (master boot record) scheme. If you use GUID scheme, SDG2402X will not recognize it. It tells you it is removing media drive even you are inserting it in.
3) Firmware: goto https://www.eevblog.com/forum/testgear/siglent-ads-firmware-file-format/msg1870091/#msg1870091, and download telnet_SDG2000X.zip, unzip to telnet_SDG2000X.ADS, put it on USB drive
4) SDG2042X: hook Ethernet cable, turn on SDG2042X, utility->interface->LAN Setup->DHCP on, write down IP address, for example: 192.168.1.20
5) SDG2042X: Insert USB Stick into front panel USB socket, put SDG2042X to utility->/System/Firmware Upgrade->USB0->find file: telnet_SDG2000X.ADS->Recall, updating starts and fails after a while. Yes, it fails. So your version is never changed.
6) SDG2042X: LEAVE POWER ON SDG
7) computer console: access to SDG2042X file. type: telnet <SDG IP address> <SPACE> 10101 <RETURN>, for example: telnet 192.168.1.20 10101
6) computer console, mount driver as writable. type: mount -o remount,rw ubi2_0 /usr/bin/siglent/firmdata0
7) computer console, make a backup. type: cp /usr/bin/siglent/firmdata0/NSP_system_info.xml /usr/bin/siglent/firmdata0/NSP_system_info.xml.orig
8) computer console, use "vi" editor to edit one file. type: vi /usr/bin/siglent/firmdata0/NSP_system_info.xml
9) computer console, move cursor down by typing "j", and right by "l" to the very first letter "<" of the line <license> and press "x" to delete anything between and including "<license>" and "</license>". After deletion, this line becomes only has "</system_information>". if anything goes wrong, you could exit "vi" editor by "esc" and ":", and "q!", and redo it again.
10) computer console, press the ESC key, then type: "wq" and <RETURN> to save the file
11) remote computer console, type: "sync"
12) SDG2042X: remove USB stick
13) SDG2042X: turn power OFF
14) SDG2042X: check utility->system->system info, and check product type and Serial Number

I successfully used this method today to "upgrade" my SDG2042X to a SDG2122X.  You can see here the system status screen now reports the "upgraded" model number SDG2122X.   I did this without changing my firmware from the 2.01.01.35R3B2 I have installed.

Initially I did not think it worked, but when I power cycled the unit for a second time it took.



I can now set it up to 120MHz in sine wave mode.  Here I set it to 1 VRMS



Here you can see the output displayed with my 500MHz TDS3052B ("upgraded" from a TDS3012B) with the input set to 50 Ohms.



The waveform looks good on my Siglent SDS1204X-E ("upgraded" from a SDS1104X-E) but I get some variation of signal magnitude vs. frequency which I think is due to standing waves since the add-on termination is not ideal.

I want to thank tv84 for posting the files that enable telnet for the "upgrade" and oldcqr for posting the precise instructions.

« Last Edit: November 28, 2020, 08:51:25 am by graybeard »
 

Offline Lupusmotus

  • Newbie
  • Posts: 2
  • Country: at
Re: Siglent SDG2042X Hack door closed
« Reply #95 on: November 29, 2020, 10:21:03 am »
Hi again,

Thanks for your replies - my sdg has now 120MHz!

In the end i did things a little different, i switched the steps 4 and 5 like so:

1) SDG2042X: utility->system->system info, note down your Serial number and Software version. for example: 2.01.01.23R8
2) USB drive: format USB drive to FAT format, with MBR (master boot record) scheme. If you use GUID scheme, SDG2402X will not recognize it. It tells you it is removing media drive even you are inserting it in.
3) Firmware: goto https://www.eevblog.com/forum/testgear/siglent-ads-firmware-file-format/msg1870091/#msg1870091, and download telnet_SDG2000X.zip, unzip to telnet_SDG2000X.ADS, put it on USB drive
4) SDG2042X: Insert USB Stick into front panel USB socket, put SDG2042X to utility->/System/Firmware Upgrade->USB0->find file: telnet_SDG2000X.ADS->Recall, updating starts and fails after a while. Yes, it fails. So your version is never changed.
5) SDG2042X: hook Ethernet cable, turn on SDG2042X, utility->interface->LAN Setup->DHCP on, write down IP address, for example: 192.168.1.20

6) SDG2042X: LEAVE POWER ON SDG
7) computer console: access to SDG2042X file. type: telnet <SDG IP address> <SPACE> 10101 <RETURN>, for example: telnet 192.168.1.20 10101
6) computer console, mount driver as writable. type: mount -o remount,rw ubi2_0 /usr/bin/siglent/firmdata0
7) computer console, make a backup. type: cp /usr/bin/siglent/firmdata0/NSP_system_info.xml /usr/bin/siglent/firmdata0/NSP_system_info.xml.orig
8) computer console, use "vi" editor to edit one file. type: vi /usr/bin/siglent/firmdata0/NSP_system_info.xml
9) computer console, move cursor down by typing "j", and right by "l" to the very first letter "<" of the line <license> and press "x" to delete anything between and including "<license>" and "</license>". After deletion, this line becomes only has "</system_information>". if anything goes wrong, you could exit "vi" editor by "esc" and ":", and "q!", and redo it again.
10) computer console, press the ESC key, then type: "wq" and <RETURN> to save the file
11) remote computer console, type: "sync"
12) SDG2042X: remove USB stick
13) SDG2042X: turn power OFF
14) SDG2042X: check utility->system->system info, and check product type and Serial Number


Thanks for your help!  :-+
 
The following users thanked this post: Blue

Offline graybeard

  • Frequent Contributor
  • **
  • Posts: 431
  • Country: us
  • Consulting III-V RF/mixed signal/device engineer
    • Chris Grossman
Re: Siglent SDG2042X Hack door closed
« Reply #96 on: November 30, 2020, 07:43:10 am »
I don’t think switching the order as you did matters.  My SDG was connected to my network and configured the whole time.  The IP address was preconfigured down so I can run it with my scope in bode plot mode.

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3217
  • Country: pt
Re: Siglent SDG2042X Hack door closed
« Reply #97 on: November 30, 2020, 11:59:55 am »
I don’t think switching the order as you did matters.  My SDG was connected to my network and configured the whole time. 

Correct. The order of those steps is totally irrelevant.

The essential thing is not rebooting after running the script (executing the "update").
 

Offline JoeShmo

  • Newbie
  • Posts: 2
  • Country: us
Re: Siglent SDG2042X Hack door closed
« Reply #98 on: December 02, 2020, 11:33:22 pm »
Hey guys thanks for all the work you've put into this but I am still having major troubles.
In step 4 I can't for the life of me turn on DHCP. It will not turn on no matter what I do.
Google searches tell me I need to put in the same IP that my computer uses, and mask and gateway.
Where do I find all that? It's different than what's in my sdg2042x.

In step 7 where do I type the Telnet command? I tried it in CMD and it says not found, I found how to install it for windows. But now it says telnet 192.168.0.230 10101 is an Invalid command. I tried it on powershell too, Putty also but no matter what I type, the network disconnects immediately.

Please be more clear where to type these things and how to get the right port numbers, ip addresses, default gateways and subnet masks.

So far, my computer can't even find my sdg2042x. (Yes, I plugged in the ethernet cable to my computer from my sdg2042x)
 

Offline JDubU

  • Frequent Contributor
  • **
  • Posts: 441
  • Country: us
Re: Siglent SDG2042X Hack door closed
« Reply #99 on: December 03, 2020, 12:27:12 am »
For DHCP, you need an appropriate ethernet network (e.g. router with a DHCP server and, if the router does not have enough LAN ports, a network switch).  The SDG2042x may not be able to do ethernet auto-polarity, so even if you use static IP's (not DHCP)  with a direct connection between the computer and the SDG2042x, you would need to use a crossover ethernet cable instead of the normal patch cable.

Take a look at this thread:
https://www.eevblog.com/forum/testgear/telnet-ing-into-my-siglent-sdg-2042x/

As for telnet, I recommend that you use Putty:
https://www.putty.org/

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf