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

nick58 and 6 Guests are viewing this topic.

Offline typoknig

  • Regular Contributor
  • *
  • Posts: 53
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1825 on: July 20, 2020, 07:12:12 pm »
Yes, just reload the firmware and the hacked options will be erased.  You can force reload firmware by repeatedly pressing the SINGLE key during boot.
 
The following users thanked this post: deisenberg

Offline bveina

  • Contributor
  • Posts: 7
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1826 on: July 28, 2020, 02:23:14 pm »
has anyone had any luck using the ":SYSTem:TOUCh {x}, {y}" command to simulate a press and drag?
i can do single presses, but afaik to move cursors, and create trigger zones you must click and drag.
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1827 on: July 28, 2020, 03:19:07 pm »
Shouldn't there be a pair of X,Y ?
 

Offline bveina

  • Contributor
  • Posts: 7
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1828 on: July 28, 2020, 05:27:14 pm »
based on some other work, it seems that the touch command can only take 2 numbers.

SYSTem:TOUCh [IndexesItem(number=4, direction=1, type=<IndexesItemType.INTEGER: 0>, enums={}), IndexesItem(number=4, direction=1, type=<IndexesItemType.INTEGER: 0>, enums={})]

":SYSTEM:TOUCH 575,43" for example will hit the run stop button on the top of the screen.

i have tried things like ":SYSTEM:TOUCH 400,167,472,181" but no response. it may not be possible but it seems silly to implement touch and not touch/drag/ release
 

Offline bveina

  • Contributor
  • Posts: 7
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1829 on: July 28, 2020, 06:02:30 pm »
this is all in service of this project by the way. comments and suggestions welcome.

https://github.com/bveina/Rigol-Scope-Snap

(I've been away from the internet for a while; do you still apologize for double posting? sorry.)
 
The following users thanked this post: thm_w

Offline oliv3r

  • Regular Contributor
  • *
  • Posts: 121
  • Country: nl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1830 on: August 11, 2020, 02:36:27 pm »
First off, sorry for being afk for such a long time :)

Finally Rigol acknowledging the use of Open Source in their latest products!!!!!!!!!!

MSO5000 example

 ::) well let's assume "acknowledgement" is what they meant.

And, if we could access the source code then that would be a killer factor!  :popcorn:

I found this as well while googling 'Rigol GPL' (which I do occasionally :p)

So first thing that's cool; second thing I noticed, apparently that was already released in 2018.11 :) but I don't think they've shared it ...

Has anybody take them up on their offer? It does say it in quite verbatim:
Quote
The open source software is provided for free. RIGOL uses third-party open source
software subject to the specified licenses. You are entitled to use the open source
software subject to their respective license. If you or any third party wants to obtain
the complete corresponding source code for the software from us, please contact:
RIGOL (SUZHOU) TECHNOLOGIES
E-mail: service@rigol.com
Website: www.rigol.com
This offer is valid for three years after you received the software.

I did ask them for the software, so lets see what happens next :) (but would be nice to know if others already did this  too)
 

Online Xtremexp

  • Contributor
  • Posts: 6
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1831 on: August 15, 2020, 03:25:40 am »
I am also waiting for the source code  :)
 

Offline bveina

  • Contributor
  • Posts: 7
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1832 on: August 20, 2020, 05:28:00 pm »
Id be surprised if you got appEntry source. i did this for a samsung tv some time ago, all i got was the linux kernel i could have downloaded from the source webpage. none of their derivative works or things that used the Open Source libraries.

Still, id be happy to be wrong :)
 

Offline 2efa4605b83bf1af48bf6736b

  • Newbie
  • Posts: 1
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1833 on: August 23, 2020, 03:12:53 am »
Just wanted to thank everyone here - the MSO5074 was way outside my budget when I started looking, but I got it based on the work done here. All I needed was the AWG...

FWIW, I bought my scope a couple of weeks ago, it came with FW 00.01.03.00.01 and I was able to update it using this file: https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg3024236/#msg3024236

and these instructions:
https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg3105598/#msg3105598

I also used an old Sandisk Ultra USB 3.0 16GB thumb drive, I know some have had issues with this. Apparenly Windows 10 will not format anything above 32GB in FAT32. 

EDIT: no sooner had I posted this than my scope stalled on startup every time (the Rigol screen never cleared). I used the secret menu (single key on startup) and used the "restore settings" function. This appears to have fixed the problem and I didn't see this elsewhere in this thread so thought I'd share here.
« Last Edit: August 24, 2020, 11:36:51 pm by 2efa4605b83bf1af48bf6736b »
 
The following users thanked this post: rajeshmag

Offline bmx

  • Contributor
  • Posts: 19
  • Country: fr
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1834 on: August 25, 2020, 04:06:35 am »
Just wanted to thank everyone here - the MSO5074 was way outside my budget when I started looking, but I got it based on the work done here. All I needed was the AWG...

FWIW, I bought my scope a couple of weeks ago, it came with FW 00.01.03.00.01 and I was able to update it using this file: https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg3024236/#msg3024236

and these instructions:
https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg3105598/#msg3105598

I also used an old Sandisk Ultra USB 3.0 16GB thumb drive, I know some have had issues with this. Apparenly Windows 10 will not format anything above 32GB in FAT32. 

EDIT: no sooner had I posted this than my scope stalled on startup every time (the Rigol screen never cleared). I used the secret menu (single key on startup) and used the "restore settings" function. This appears to have fixed the problem and I didn't see this elsewhere in this thread so thought I'd share here.

Meanwhile, would you mind picking up a nicer handle that doesn't uglify the render of that page?
 

Offline Fotris

  • Newbie
  • Posts: 3
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1835 on: August 28, 2020, 11:08:15 am »
My scope is running and running with our patches from this forum here. No stalls, no problems. I use it at home for my private non-commercial projects and if I had to pay the full price I couldn't have never bought it. So Rigol was able to sell one more device.
 

Offline DigitalDeath

  • Contributor
  • Posts: 49
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1836 on: August 28, 2020, 03:20:53 pm »
Is there a way to have the original calibration values active with the hack? I Tested it out of curiosity but the voltages being measured are off so I'm assuming that the cal info is not in there. I did save all the previous info so I can go back to the original but was curious to know if there's a way for this hack to keep the original calibrations.
 

Offline ve2mrx

  • Contributor
  • Posts: 38
  • Country: ca
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1837 on: August 28, 2020, 03:22:48 pm »
Hi!

Did you run the self-calibration after the hack?

Martin
 

Offline DigitalDeath

  • Contributor
  • Posts: 49
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1838 on: August 28, 2020, 03:57:03 pm »
I think I did and I think it took a very long time. I'll do it again and see what happens. Thanks for the suggestion.
 

Offline DigitalDeath

  • Contributor
  • Posts: 49
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1839 on: August 28, 2020, 04:38:08 pm »
Ran the self calibration again and there's variation in the 10mv-28mv range from a calibrated source among all channels.
 

Offline Slats

  • Newbie
  • Posts: 2
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1840 on: August 29, 2020, 12:24:11 am »
Hi

I'm a pristine noob to the blog and oscilloscopes in general.

I received my MSO5074 a few days ago and tried the hack as per the instructions in this thread (at least I think I have), but it isn't working for me. Hopefully someone can help?

The scope came loaded with FW 00.01.03.00.01, so I went straight to applying the appropriate patch, but the script gives me a checksum error. See attached.

Any suggestions?

Thanks
 

Offline mabl

  • Regular Contributor
  • *
  • Posts: 114
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1841 on: August 29, 2020, 07:17:57 am »
That is strange. It looks like you are running a 00.01.03.00.01 with a different appEntry? You could try flashing a new 00.01.03.00.01 with the SINGLE button press trick at startup. However, I would rather first like to understand the issue you have. Anybody has any idea? For example, we could create a special upgrade file which copies the rigol part of the code and check for differences to the offical released 00.01.03.00.01 version.
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1842 on: August 29, 2020, 08:08:59 am »
However, I would rather first like to understand the issue you have. Anybody has any idea? For example, we could create a special upgrade file which copies the rigol part of the code and check for differences to the offical released 00.01.03.00.01 version.

Slats can execute the NAND dump .GEL. It's somewhere in the thread.
 

Offline Slats

  • Newbie
  • Posts: 2
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1843 on: August 29, 2020, 10:48:42 pm »
Slats can execute the NAND dump .GEL. It's somewhere in the thread.

Thanks for responding.  :-+

Done. What do you need?
 

Offline ExtreMme

  • Newbie
  • Posts: 1
  • Country: pl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1844 on: September 07, 2020, 04:51:54 pm »
i have fixed this with upload one more time clear firmware 00.01.03.00.01.  And then i unlock all without any errors.
 

Offline Mazayac

  • Newbie
  • Posts: 1
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1845 on: September 08, 2020, 07:17:37 pm »
i have fixed this with upload one more time clear firmware 00.01.03.00.01.  And then i unlock all without any errors.
Yes, that's right method.
Original MSO5000 Firmware 01.03.00.01
 

Offline Datboi568

  • Newbie
  • Posts: 1
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1846 on: September 14, 2020, 01:20:07 am »
I just received a brand new 5072 today and come with the fw ver 01.01.04.08.

Those three files from skander36 are perfectly work.

I encountered a problem while using 16GB USB Drive. But it solved after replace with the 32GB USB Drive. It is highly recommend that you have prepared two or more different brand and size USB Drive before perform the upgrade. My failure one is Sandisk 16GB and workable one is Sandisk 32GB (Tiny one).

Case :
When you found that the USB Drive is empty except the GEL file after the backup process:
   - Attach the USB drive back to the scope, press Storage/Disk
   - If you found there are two or more USB Disk, it means that you may need to try another USB Drive.

Enclosed with all the files from skander36 and backup GEL file from TV84.


My workflow are :
(Please read carefully especially handle the same name GEL files).

1. Format the USB Drive (FAT32 Format);
2. Copy the DS5000Update.GEL.backup.doc to the USB Drive;
3. Rename it by delete the "backup.doc" extension;
4. Attach the USB Drive to scope;
5. Press Utility/System/Help/Local upgrade;
6. After finished the screen will have message told you to reboot the scope;
7. Turn off the scope;
8. Attach the USB drive back to your Mac / PC;
9. Copy all the file except the GEL files and folder back to your Mac / PC for your backup;
10. Format the USB Drive (FAT32 Format);
11. Copy another three files to the USB Drive, rename them by remove the ".doc" extension;
12. Attach the USB Drive back to the Scope, turn it on;
14. Wait for the screen shows that USB Drive was attached.
15. Press Utility/System/Help/Local upgrade
16. The screen will turn to white background and follow the instruction to press any keys.
17. After the upgrade process is finished, the scope will reboot.
18. Done! Enjoy!

Please correct me if any mistake or typo. Thanks!

Thank you so much for all of you to contribute here!

Okay but what files do you mean by “all file” on step 11

11. Copy another three files to the USB Drive, rename them by remove the ".doc" extension;
 

Offline Khazod

  • Newbie
  • Posts: 1
  • Country: se
Thanks
« Reply #1847 on: September 15, 2020, 09:59:13 pm »
Got my MSO5074 last Friday, I run the patch and it worked at first time without any problems. It’s my first oscilloscope, the MSO5000 series was outside my budget, but after I run across this thread, I took the decision to rise my budget to be able to get the MSO5074.

Want to say thanks to you guys involved in researching and making the patches. As a hobbyist and quite recently got interested in electronics to be able to afford a oscilloscope in this class. I looking forward to explore and learn new things with this.

My MSO5074 come with firmware 00.01.03.00.01, and hardware 01.01.000.
I followed instruction posted by the user srjaynes49 #1811.
 
The following users thanked this post: thm_w

Offline phips

  • Newbie
  • Posts: 2
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1848 on: September 17, 2020, 09:49:34 am »
I applied the patch to my scope, too.
Today I noticed that my channel 1 and 2 are a bit off.
This means when nothing is connected to the probes one shows a lower voltage then the other channel.

Attached a picture of all four channels without a probe connected, averaged and maximum memory depth set to 1k - to see it clearly.
It is visible that the channels are not exactly zeroed.

Does that mean my scope is damaged?
Or is it working and a difference of up to 300µV is totally fine?


Best,
Philipp


EDIT:
I did a self-calibration of the scope before I took the picture.
It was up and running for around 2 hours before, so should be warmed up enough.


EDIT 2:
The difference scales with the voltage per division setting.
With 2V per division it is around 3mV off.
« Last Edit: September 17, 2020, 10:44:15 am by phips »
 

Online S. Petrukhin

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: ru
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1849 on: September 19, 2020, 01:38:10 pm »
I applied the patch to my scope, too.
Today I noticed that my channel 1 and 2 are a bit off.
This means when nothing is connected to the probes one shows a lower voltage then the other channel.

Attached a picture of all four channels without a probe connected, averaged and maximum memory depth set to 1k - to see it clearly.
It is visible that the channels are not exactly zeroed.

Does that mean my scope is damaged?
Or is it working and a difference of up to 300µV is totally fine?


Best,
Philipp


EDIT:
I did a self-calibration of the scope before I took the picture.
It was up and running for around 2 hours before, so should be warmed up enough.


EDIT 2:
The difference scales with the voltage per division setting.
With 2V per division it is around 3mV off.

Rigol is not a precision equipment, don't expect miracles from it.
If you using averaging, the line became clear, but it now shows the average noise value. A shift relative to zero indicates that the noise of the positive level is on average greater.
And sorry for my English.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf