Author Topic: Hacking the Rigol MSO5000 series oscilloscopes  (Read 929766 times)

0 Members and 7 Guests are viewing this topic.

Online ebastler

  • Super Contributor
  • ***
  • Posts: 6506
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2725 on: March 03, 2024, 09:46:39 am »
This option mentioned twice without explanation on why whould it not work. There is a speculation that we have a bw limiting settings enabled in frontend ic, maybe activating BW07T5 even partially will disable this limit.

The option list includes options for all Rigol scopes which are based on the same software platform. But that does not imply that all options will work with all members of that scope family. The 500 MHz bandwidth option is apparently supported by the DS7000 and MSO7000 only.
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2726 on: March 03, 2024, 10:17:52 am »
This option mentioned twice without explanation on why whould it not work. There is a speculation that we have a bw limiting settings enabled in frontend ic, maybe activating BW07T5 even partially will disable this limit.

Why do you make a question and then don't follow the answer to what you asked?

Here with 30 seconds search.

If there was anything that could be done in HW, Rigol would easily have released the 5504 model. They had the software prepared for it.

BTW, all that analysis have been done years ago. Nothing has changed.
 

Offline Neekeetos

  • Contributor
  • Posts: 27
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2727 on: March 03, 2024, 11:50:57 am »
Why do you make a question and then don't follow the answer to what you asked?
I do follow. As you may have noticed, some time ago i made my measurements replacing low pass filter at ADC. This filter could explain your results even if you changed a model to 500M one. Don't you think it is worth to reconsider again?
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2728 on: March 03, 2024, 11:57:18 am »
I do follow. As you may have noticed, some time ago i made my measurements replacing low pass filter at ADC. This filter could explain your results even if you changed a model to 500M one. Don't you think it is worth to reconsider again?

How much BW you achieved? Remind me please.

But as you can read in the thread, the 470-480 MHz are available to anyone despite not having the 5504 model configured, so I guess if you open the BW a little more you don't need any other software hack.

Of course you cant go to eyes&jitter world because the machine simply doesnt have the horsepower for it.
 

Offline Neekeetos

  • Contributor
  • Posts: 27
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2729 on: March 03, 2024, 12:13:56 pm »
How much BW you achieved? Remind me please.

But as you can read in the thread, the 470-480 MHz are available to anyone despite not having the 5504 model configured, so I guess if you open the BW a little more you don't need any other software hack.

Of course you cant go to eyes&jitter world because the machine simply doesnt have the horsepower for it.
I got around 100ps of rise time reduction. You can start by looking near my post , where i made my conclusions https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg5175111/#msg5175111  , there are also many actual BW measurements which are missing in your description for 500M model.
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2730 on: March 03, 2024, 12:45:31 pm »
Oh, I see. And we have talked in the past...  :palm:

Well, my advice still stands.

Although, this is "beyond infinity" territory. Personally I don't think you can get anything more from the software. Unless you go to 7000 FW. BUT the differences should be plenty which might prove that the 7000 won't work anyway.

With a FRAM and NAND backups you can test everything and, if all fails, rollback. But you'll be definitely on your own because nobody will be able to accompany you.
 

Offline gbix

  • Contributor
  • Posts: 20
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2731 on: March 03, 2024, 01:11:56 pm »
I found that the device has project mode with ssh and ftp daemon

Code: [Select]
    if ( flagInSSHDandTFTPD != 1 )
    {
      system("/usr/sbin/sshd");
      system("tcpsvd 0:21 ftpd ftpd -w /&");
      flagInSSHDandTFTPD = 1;
    }

All that remains is to find which button to launch it  :-DD
 

Offline Retired2

  • Newbie
  • Posts: 5
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2732 on: March 03, 2024, 05:43:26 pm »
Hi,
I have just received a MSO5354 and would like to unlock the “options”.
I received and it is 00.01.03.00.03 and installed from Rigol MSO5000 01.03.03.00 
Firmware: 00.01.03.03.00 Hardware: 01.01.000 Boot: 2018.6.27 Build 2023-02-22

I am using a Windows 11 OS. I used Putty on a Windows Vista connected directly to the RJ45 of each unit. I got into the Rigol web page OK.

I need some help with this.

I have read many of the post and the one I am using is the post on page 105 Reply #2604 on September 14, 2023. I backed up NAND and FRAM –ok.
I installed SSH, removed the pendrive and installed the patch with the gel file, patch.txt and bspatch. Then I got the results below and pressed any key the unit rebooted -- ignoring the gel file as the file has the wrong checksum.
 
I am not sure what I am doing wrong as this fix worked for others.
Can anyone offer suggestions?
Thanks
 

Offline Retired2

  • Newbie
  • Posts: 5
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2733 on: March 03, 2024, 06:44:08 pm »
My mistake, sorry.
I said "I used Putty on a Windows Vista connected directly to the RJ45 of each unit. I got into the Rigol web page OK."
What i should have said I connected to the rigol web page with the RJ45 on Vista. I used putty to do a SSH connection but got blank results no command lines. So no real results.
 

Offline gbix

  • Contributor
  • Posts: 20
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2734 on: March 03, 2024, 08:20:29 pm »
you used wrong patch
fw version is 01.03.03.00, but patch is for 01.03.02.02

you must downgrade fw or use patch for your fw

 

Offline seronday

  • Regular Contributor
  • *
  • Posts: 93
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2735 on: March 03, 2024, 10:06:54 pm »
I found that the device has project mode with ssh and ftp daemon

Code: [Select]
    if ( flagInSSHDandTFTPD != 1 )
    {
      system("/usr/sbin/sshd");
      system("tcpsvd 0:21 ftpd ftpd -w /&");
      flagInSSHDandTFTPD = 1;
    }

All that remains is to find which button to launch it  :-DD

See  Reply #2307
 

Offline gbix

  • Contributor
  • Posts: 20
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2736 on: March 03, 2024, 11:06:46 pm »
I found that the device has project mode with ssh and ftp daemon

Code: [Select]
    if ( flagInSSHDandTFTPD != 1 )
    {
      system("/usr/sbin/sshd");
      system("tcpsvd 0:21 ftpd ftpd -w /&");
      flagInSSHDandTFTPD = 1;
    }

All that remains is to find which button to launch it  :-DD

See  Reply #2307

Its only for calibration menu, not for ssh
 

Offline mabl

  • Regular Contributor
  • *
  • Posts: 122
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2737 on: March 04, 2024, 05:20:08 am »
It's the project mode. See #2308.
 

Offline DrMefistO

  • Contributor
  • Posts: 12
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2738 on: March 04, 2024, 09:55:29 pm »
For those, who asked: this is a new version of rigol_kg.py. Now it can activate MSO5072, enable SSH or uninstall all options.

Code: [Select]
usage: rigol_kg2.py [-h] [-i] [-r] [-u] [-s] ip_addr

positional arguments:
  ip_addr          Rigol MSO5072/MSO5074 IP-address

options:
  -h, --help       show this help message and exit
  -i, --info       Print options status, model and serial then exit
  -r, --regen      Regenerate private key
  -u, --uninstall  Uninstall all options
  -s, --ssh        Activate SSH
 
The following users thanked this post: thm_w, tcottle, gbix, Protegimus, wngud, zauberpilz, edward-p

Offline The Doktor

  • Regular Contributor
  • *
  • Posts: 163
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2739 on: March 04, 2024, 11:42:16 pm »
What version of Python does this use? When I tried to run it, a window flashes up very quickly, and then disappears.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6389
  • Country: ca
  • Non-expert
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2740 on: March 05, 2024, 01:54:43 am »
What version of Python does this use? When I tried to run it, a window flashes up very quickly, and then disappears.

Never run random python scripts without looking at them and understanding what they do.
Use powershell or similar to run the script and view its output: https://realpython.com/run-python-scripts/
"py .\rigol_kg2.py"

It will probably complain about a module you don't have installed.
"py -m pip install requests"
etc.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline zauberpilz

  • Newbie
  • Posts: 6
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2741 on: March 10, 2024, 02:03:53 am »
I'm sorry to disappoint you, but the keygen still doesn't work. 2RL and the bandwidth options are not activated for me. The other options are activated by the BND bundle. With the patch it is no problem to unlock the other options.
 

Offline DrMefistO

  • Contributor
  • Posts: 12
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2742 on: March 10, 2024, 05:40:53 pm »
Try to uninstall all options first, wait for reboot, then install with regen private key flag.
 

Offline zauberpilz

  • Newbie
  • Posts: 6
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2743 on: March 10, 2024, 11:33:25 pm »
Does not work too. I also noticed that the display shows "remaining attempts" while attempting to activate. My original BND license can no longer be used, which is why I will always have to rely on the one working patch for an update. "good job"  :palm:

Hmmm, ok. I just noticed that your script saves the priv.pem on the PC. But how can I restore this now?
« Last Edit: March 11, 2024, 12:44:39 am by zauberpilz »
 

Offline DrMefistO

  • Contributor
  • Posts: 12
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2744 on: March 11, 2024, 05:27:38 am »
priv.pem is not a backup from the rigol. It's just your own private key for the generation process, like you're the rigol guy itself. Wrote you in pm.
 

Offline zauberpilz

  • Newbie
  • Posts: 6
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2745 on: March 11, 2024, 02:13:57 pm »
Excellent! Thanks to your short help, everything is now permanently activated. Even after a firmware update. This time it wasn't meant to be sarcastic

GOOD JOB! ;D
 

Offline bulba99

  • Contributor
  • Posts: 43
  • Country: pl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2746 on: March 11, 2024, 02:47:54 pm »
Excellent! Thanks to your short help, everything is now permanently activated. Even after a firmware update. This time it wasn't meant to be sarcastic

GOOD JOB! ;D

What was causing the problem?
 
The following users thanked this post: mwb1100

Offline reztek

  • Newbie
  • Posts: 7
  • Country: br
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2747 on: March 11, 2024, 09:01:30 pm »
No matter if I run the script on a Windows or Linux machine, and what options I use, I always get this:

Code: [Select]
Traceback (most recent call last):
  File "C:\Users\myuser\Downloads\rigol_kg2.py", line 431, in <module>
    main()
  File "C:\Users\myuser\Downloads\rigol_kg2.py", line 380, in main
    model, ser = read_rigol_model_serial(args.ip_addr)
    ^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
 

Offline DrMefistO

  • Contributor
  • Posts: 12
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2748 on: March 12, 2024, 10:40:07 am »
No matter if I run the script on a Windows or Linux machine, and what options I use, I always get this:

Code: [Select]
Traceback (most recent call last):
  File "C:\Users\myuser\Downloads\rigol_kg2.py", line 431, in <module>
    main()
  File "C:\Users\myuser\Downloads\rigol_kg2.py", line 380, in main
    model, ser = read_rigol_model_serial(args.ip_addr)
    ^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
Ip addr is correct? Can you ping the device?
 

Offline reztek

  • Newbie
  • Posts: 7
  • Country: br
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #2749 on: March 12, 2024, 02:24:33 pm »
Quote
Ip addr is correct? Can you ping the device?
Yes, no problem accessing the device whatsoever.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf