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

nick58 and 6 Guests are viewing this topic.

Offline tv84

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: pt
Re: Secret menu erases calibration?!?
« Reply #1750 on: May 18, 2020, 08:11:38 pm »
Hi everyone!

First, thanks for all the information given in those 70 pages of posts here (and in the other threads about the MSO5k)! :clap:

From all this reading, I have one question: Didn't I read that installing firmware using the "SINGLE" secret boot menu erases factory calibration?!? Doesn't this cause issues in measurements? I'm asking as I keep seeing people downgrading using this menu and there's no mention of the calibration reset, and no mention of having to self-calibrate after...

Finally, I placed my order for a MSO5074. I don't think I need more than 70MHz BW for my hobby use, and with the promo bundle I get the serial decode and AWG (+PWR). And the price difference between 2 and 4 channels is very close to the price of the extra probes. The 4 channels will be useful for SPI decoding, saving the expense of the LA adapter or a separate LA (for now).

Of course, the first thing to do after unboxing is a backup using https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg2757356/#msg2757356  :D

Again, thanks everyone!
73s,
Martin

As I remember, and I'm too lazy to go back and check, you have 2 options: flash FW and reset settings.

Why makes you think that anyone doing the flashing MUST do the resetting?  :-//

BTW, after NAND and FRAM backup you can erase whatever you want that anything can be recreated.
« Last Edit: May 18, 2020, 08:13:18 pm by tv84 »
 

Offline ve2mrx

  • Contributor
  • Posts: 38
  • Country: ca
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1751 on: May 18, 2020, 09:28:40 pm »
Hi tv84,

I know there are two options in the "secret menu". I'm only talking about the firmware update one.

From what I understand (from here: https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg2250324/#msg2250324), using the firmware update from that menu causes the non-volatile memory (including calibration) to be wiped. I want to understand what is lost in that process.

Thanks,
Martin
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1752 on: May 18, 2020, 10:18:31 pm »
Hi tv84,

I know there are two options in the "secret menu". I'm only talking about the firmware update one.

From what I understand (from here: https://www.eevblog.com/forum/testgear/hacking-the-rigol-mso5000-series-oscilloscopes/msg2250324/#msg2250324), using the firmware update from that menu causes the non-volatile memory (including calibration) to be wiped. I want to understand what is lost in that process.

Thanks,
Martin

I think that "DEFT" is only referring to the scope settings and nothing to do with calib. That is good programming practice: before doing a flash you should always reset to default settings.

Plenty of guys have taken the SINGLE road and I've seen no complaints...
 

Offline ve2mrx

  • Contributor
  • Posts: 38
  • Country: ca
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1753 on: May 18, 2020, 10:26:42 pm »
Hi tv84,

It all makes sense, else there would have been a flood of complaints or people doing wrong measurements. Now that I think of it, to do real damage you probably need to wipe the FRAM...

So, I guess it's the 'scope's way of doing a "clean install" without losing the user's data  :) Good to know!

Thanks!
Martin
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1754 on: May 18, 2020, 10:30:10 pm »
If calib was lost, more basic infos would be lost: S/N, model, etc.

None of that happens!

Even with the FRAM wiped we can recover the scope. The thing is resilient.
« Last Edit: May 18, 2020, 10:37:18 pm by tv84 »
 

Offline ykurban

  • Contributor
  • Posts: 20
  • Country: tr
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1755 on: May 20, 2020, 01:23:37 pm »
the subject seems to be a little scattered.

can someone who made the last update collect all the files and the procedure under one post?

 

Offline ve2mrx

  • Contributor
  • Posts: 38
  • Country: ca
How to patch - again
« Reply #1756 on: May 20, 2020, 01:50:14 pm »
« Last Edit: May 20, 2020, 01:52:54 pm by ve2mrx »
 
The following users thanked this post: stenbror

Offline ykurban

  • Contributor
  • Posts: 20
  • Country: tr
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1757 on: May 21, 2020, 11:49:23 am »
thank you for your response ve2mrx

turns out, i was doing everything right, but there is a problem with my flash memory.


when i restart my scope with usb plugged in, patch worked fine. Before that, i was getting "no package found" error

i used 3 files for patch, and attached a screenshot of my flash memory.
 
 

Offline santacruzjohn55

  • Contributor
  • Posts: 5
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1758 on: May 21, 2020, 09:22:10 pm »
Hi running into difficulties running the patch route through ssh. This is with the no-phone-home patch. When I reboot after below, it doesn't fully boot. I also tried the 3 files on a flash drive, but it keeps saying 'No package detected'. I notice that my .GEL file is 130kb, where as the screen shot above shows 133kb. Any tricks I should be looking at?

Code: [Select]
<root@rigol>ls -l
total 22324
-rwxrwxr-x    1 root     root      22558088 May 22 03:41 appEntry


Code: [Select]
<root@rigol>md5sum /rigol/appEntry
2efa4605b83bf1af48bf6736bfae3255  /rigol/appEntry
<root@rigol>cp /tmp/appEntry /rigol/
<root@rigol>md5sum /rigol/appEntry
60f1ca21475ffe9444213c2d9a571a99  /rigol/appEntry

 

Offline rodorr

  • Newbie
  • Posts: 4
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1759 on: May 21, 2020, 10:17:54 pm »
I just received my new MSO5074 and I updated everything and it all went very smoothly, thanks to all of the hard work others here on the forum have performed. I was just wondering if, at this point I should go ahead and run the built in calibration sequence or just leave it as is. By the way, I did not do a calibration before I did the updates. I am not noticing anything in particular being out of tolerance, just wondering what the consensus is regarding calibration. Thanks again to all of those who have helped on this forum.

Thanks,

rodorr
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 6230
  • Country: gb
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1760 on: May 21, 2020, 10:37:26 pm »
I just received my new MSO5074 and I updated everything and it all went very smoothly, thanks to all of the hard work others here on the forum have performed. I was just wondering if, at this point I should go ahead and run the built in calibration sequence or just leave it as is. By the way, I did not do a calibration before I did the updates. I am not noticing anything in particular being out of tolerance, just wondering what the consensus is regarding calibration. Thanks again to all of those who have helped on this forum.

Thanks,

rodorr

Run the calibration as you would normally ignoring the fact that you've upgraded. i.e. Run the calibration when you're using the scope at a significantly different temperature from when you last calibrated it (usually about 5º - see the manual for model specific details) or if it's 'too long' since you last ran it. For instance, it's about a month since I last ran a cal on mine, that's not 'too long', but the ambient temperate here now is 26.9ºC (England, at 23:30 hrs in May? You're kidding me, right?), it was probably 20ºC when I last ran it, so it's time for a cal when I next turn the scope on. You can't calibrate too often, unless it reaches OCD levels, but more than once a month or when temperature dictates is usually unnecessary.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 2347
  • Country: ca
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1761 on: May 21, 2020, 10:51:59 pm »
I just received my new MSO5074 and I updated everything and it all went very smoothly, thanks to all of the hard work others here on the forum have performed. I was just wondering if, at this point I should go ahead and run the built in calibration sequence or just leave it as is. By the way, I did not do a calibration before I did the updates. I am not noticing anything in particular being out of tolerance, just wondering what the consensus is regarding calibration. Thanks again to all of those who have helped on this forum.

Thanks,

rodorr

I would run a cal when you have time, it takes quite a few minutes. Don't need to do it before the update.
Can be of some use to reduce DC offsets, eg if you notice a grounded signal is significantly off from 0V, etc.
 

Offline Martin72

  • Super Contributor
  • ***
  • Posts: 1543
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1762 on: May 21, 2020, 10:57:06 pm »
Oh boys, how easy life is for a siglent owner... :-X 8)

Offline Gandalf_Sr

  • Super Contributor
  • ***
  • Posts: 1747
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1763 on: May 21, 2020, 11:02:59 pm »
Oh boys, how easy life is for a siglent owner... :-X 8)
OK, pray tell; how is life easy for a Siglent owner?
If at first you don't succeed, get a bigger hammer
 

Offline Martin72

  • Super Contributor
  • ***
  • Posts: 1543
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1764 on: May 21, 2020, 11:11:54 pm »
Once hacked ( in an "easy" way), you never must fear about it when a next update appear.

Offline Gandalf_Sr

  • Super Contributor
  • ***
  • Posts: 1747
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1765 on: May 21, 2020, 11:43:00 pm »
I'm there already  ;D
If at first you don't succeed, get a bigger hammer
 

Offline santacruzjohn55

  • Contributor
  • Posts: 5
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1766 on: May 21, 2020, 11:48:19 pm »
Can someone give me an md5sum of a working auto-updater .GEL file? I think my problems might be that or my USB stick.

 

Offline TK

  • Super Contributor
  • ***
  • Posts: 1604
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1767 on: May 21, 2020, 11:49:35 pm »
I'm there already  ;D
Doesn't Rigol require repatching and hacking after a firmware upgrade?
 

Offline santacruzjohn55

  • Contributor
  • Posts: 5
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1768 on: May 21, 2020, 11:53:40 pm »
Never mind, the 4th USB drive I tried worked.

Just had to learn how to use the 3 seashells ^H^H^H^H^H^H^H files.

Thanks to all the hard work, the auto-updater is definitely the way to go.
 

Offline Gandalf_Sr

  • Super Contributor
  • ***
  • Posts: 1747
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1769 on: May 21, 2020, 11:54:22 pm »
I'm not sure it does
If at first you don't succeed, get a bigger hammer
 

Offline TK

  • Super Contributor
  • ***
  • Posts: 1604
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1770 on: May 22, 2020, 12:43:35 am »
As you are patching a specific executable (appEntry?), I think you do need to hack after a firmware upgrade, and of course you need someone keep the hack updated as it is specific for a firmware release
 
The following users thanked this post: Gandalf_Sr

Offline tv84

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1771 on: May 22, 2020, 08:07:12 am »
Once hacked ( in an "easy" way), you never must fear about it when a next update appear.

The "easy" way is also available in Rigol, from the start, but patching became mainstream...
 
The following users thanked this post: KeBeNe, Martin72, Sighound36

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2199
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1772 on: May 22, 2020, 09:33:47 am »
What is the actual latest firmware hacked, Are this  available as unique gel file  , to be loaded on USB sticker, this path thing is confusing
 

Offline ykurban

  • Contributor
  • Posts: 20
  • Country: tr
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1773 on: May 22, 2020, 04:47:51 pm »
i uploaded a video of bode plot function


 
The following users thanked this post: thm_w, Fungus, MegaVolt, NED88, whatisthis, eklein

Offline Martin72

  • Super Contributor
  • ***
  • Posts: 1543
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #1774 on: May 22, 2020, 10:22:24 pm »
Could it be that bode plotting is much more faster than on the siglent sds2k+ ?


edit: forget it, it was played fast forwarding...
« Last Edit: May 23, 2020, 08:58:39 pm by Martin72 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf