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

ekaszubski and 6 Guests are viewing this topic.

Online 2N3055

  • Super Contributor
  • ***
  • Posts: 3349
  • Country: hr
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #750 on: February 22, 2019, 10:33:06 pm »
Well, Rigol says that front end analog chip has full bandwidth and attenuator control inside. And since chip is supposed to good to 4GHz, it would stand to reason that it would have some kind of equalization built in for board layout and channel difference tuning. Self calibration could use it to compensate and equalize channels.
 

Offline Bax

  • Contributor
  • Posts: 7
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #751 on: February 23, 2019, 03:41:01 am »
The question is, do the Rigol PVP2350 probes meet their intended specs.

What's the result if the probes are set at 1x? On my 'scope the signal has the same overshoot as with 10x compensated. Both times getting signal from the 1kHz compensation generator.

Posted a reply here:

https://www.eevblog.com/forum/blog/new-rigol-scope/msg2219100/#msg2219100
 

Offline mindy

  • Contributor
  • Posts: 20
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #752 on: February 27, 2019, 01:27:49 pm »
 
The following users thanked this post: mrpackethead

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 11910
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #753 on: February 27, 2019, 04:46:50 pm »
A new Firmware is now available for MSO5000!

http://int.rigol.com/File/ProductSoftWare/20190227/DS5000(ARM)Update.rar

Only a .GEL file, no release notes.  ???

 

Offline mabl

  • Regular Contributor
  • *
  • Posts: 115
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #754 on: February 27, 2019, 05:39:06 pm »
softver=00.01.01.04.04
builddate="2019-02-20 16:27:49"


Code: [Select]
        modified:   firmware/fw4linux.sh
        modified:   firmware/fw4uboot.sh
        modified:   firmware/rootfs/rigol/K160M_TOP.bit
        modified:   firmware/rootfs/rigol/appEntry
        modified:   firmware/rootfs/rigol/default/cal.hex
        modified:   firmware/rootfs/rigol/resource/appmeta.xml
        modified:   firmware/rootfs/rigol/resource/boardmeta.xml
        modified:   firmware/rootfs/rigol/resource/dsometa.xml
        modified:   firmware/rootfs/rigol/resource/help/b/chan1.hlp
        modified:   firmware/rootfs/rigol/resource/help/b/eyejit.hlp
        modified:   firmware/rootfs/rigol/resource/help/b/help.hlp
        modified:   firmware/rootfs/rigol/resource/help/b/histogram.hlp
        modified:   firmware/rootfs/rigol/resource/help/b/horizontal.hlp
        modified:   firmware/rootfs/rigol/resource/help/d/chan1.hlp
        modified:   firmware/rootfs/rigol/resource/help/d/eyejit.hlp
        modified:   firmware/rootfs/rigol/resource/help/d/help.hlp
        modified:   firmware/rootfs/rigol/resource/help/d/histogram.hlp
        modified:   firmware/rootfs/rigol/resource/help/d/horizontal.hlp
        modified:   firmware/rootfs/rigol/resource/menu/b.hex
        modified:   firmware/rootfs/rigol/resource/menu/c.hex
        modified:   firmware/rootfs/rigol/resource/menu/d.hex
        modified:   firmware/rootfs/rigol/resource/menu/desc.hex
        modified:   firmware/rootfs/rigol/resource/menu/h.hex
        modified:   firmware/rootfs/rigol/resource/menu/i.hex
        modified:   firmware/rootfs/rigol/resource/menu/j.hex
        modified:   firmware/rootfs/rigol/resource/menu/k.hex
        modified:   firmware/rootfs/rigol/resource/menu/l.hex
        modified:   firmware/rootfs/rigol/resource/menu/m.hex
        modified:   firmware/rootfs/rigol/resource/menu/menu.hex
        modified:   firmware/rootfs/rigol/resource/menu/modelconfig_ch.hex
        modified:   firmware/rootfs/rigol/resource/menu/modelconfig_ext.hex
        modified:   firmware/rootfs/rigol/resource/menu/msg.h
        modified:   firmware/rootfs/rigol/resource/menu/n.hex
        modified:   firmware/rootfs/rigol/resource/menu/o.hex
        modified:   firmware/rootfs/rigol/resource/menu/pic.hex
        modified:   firmware/rootfs/rigol/resource/menu/res.hex
        modified:   firmware/rootfs/rigol/resource/menu/t.hex
        modified:   firmware/rootfs/rigol/resource/menu/u.hex
        modified:   firmware/rootfs/rigol/resource/res.qrc
        modified:   firmware/rootfs/rigol/resource/scpi/CALibration.xml
        modified:   firmware/rootfs/rigol/resource/scpi/CHANnel1.xml
        modified:   firmware/rootfs/rigol/resource/scpi/DISPlay.xml
        modified:   firmware/rootfs/rigol/resource/scpi/HISTogram.xml
        modified:   firmware/rootfs/rigol/resource/scpi/MASK.xml
        modified:   firmware/rootfs/rigol/resource/scpi/MEASure.xml
        modified:   firmware/rootfs/rigol/resource/scpi/SYSTem.xml
        modified:   firmware/rootfs/rigol/resource/scpi/WAVeform.xml
        modified:   firmware/rootfs/rigol/shell/start.sh
        modified:   firmware/rootfs/rigol/webcontrol/webpages/PrintScreen.html
        modified:   firmware/zImage
        modified:   firmware/zynq.bit


EDIT: fullopt cannot be found in latest appEntry

EDIT2: Interestingly, this coincides with Batronix today mailing me they are shipping my unit....
« Last Edit: February 27, 2019, 06:04:12 pm by mabl »
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 1743
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #755 on: February 27, 2019, 06:12:01 pm »
Quote
Only a .GEL file, no release notes.

On the "official homepages"(rigol.com and other) there´s no firmware update avaible ( like the fw for 7000).
I think, if it´s there, it will have release notes too.


Offline Noy

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #756 on: February 27, 2019, 06:14:53 pm »
Also shipped  my order...

I  saw the mso8000  today. But got no Information / pricing anywhere...
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 2013
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #757 on: February 27, 2019, 07:15:38 pm »
It seems the root password is.................. again...................  Rigol201   

The fullopt checking and also the USB vendor disk checking were removed. But any of them can be easily "emulated"...   ::)
« Last Edit: February 27, 2019, 08:18:00 pm by tv84 »
 

Offline TopLoser

  • Supporter
  • ****
  • Posts: 1912
  • Country: fr
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #758 on: February 27, 2019, 07:38:41 pm »
Proceed with caution!

Uboot access might prove impossible over the serial interface and SSH access probably won’t work anymore.

Just a hunch. An informed one though...
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 11910
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #759 on: February 27, 2019, 07:58:04 pm »
Uboot access might prove impossible over the serial interface and SSH access probably won’t work anymore.

It's suicide if they don't work... :popcorn:

 

Offline oliv3r

  • Regular Contributor
  • *
  • Posts: 136
  • Country: nl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #760 on: February 27, 2019, 08:56:36 pm »
softver=00.01.01.04.04
builddate="2019-02-20 16:27:49"


Code: [Select]
        modified:   firmware/fw4linux.sh
        modified:   firmware/fw4uboot.sh
        modified:   firmware/rootfs/rigol/K160M_TOP.bit
        modified:   firmware/rootfs/rigol/appEntry
        modified:   firmware/rootfs/rigol/default/cal.hex
        modified:   firmware/rootfs/rigol/resource/appmeta.xml
        modified:   firmware/rootfs/rigol/resource/boardmeta.xml
        modified:   firmware/rootfs/rigol/resource/dsometa.xml
        modified:   firmware/rootfs/rigol/resource/help/b/chan1.hlp
        modified:   firmware/rootfs/rigol/resource/help/b/eyejit.hlp
        modified:   firmware/rootfs/rigol/resource/help/b/help.hlp
        modified:   firmware/rootfs/rigol/resource/help/b/histogram.hlp
        modified:   firmware/rootfs/rigol/resource/help/b/horizontal.hlp
        modified:   firmware/rootfs/rigol/resource/help/d/chan1.hlp
        modified:   firmware/rootfs/rigol/resource/help/d/eyejit.hlp
        modified:   firmware/rootfs/rigol/resource/help/d/help.hlp
        modified:   firmware/rootfs/rigol/resource/help/d/histogram.hlp
        modified:   firmware/rootfs/rigol/resource/help/d/horizontal.hlp
        modified:   firmware/rootfs/rigol/resource/menu/b.hex
        modified:   firmware/rootfs/rigol/resource/menu/c.hex
        modified:   firmware/rootfs/rigol/resource/menu/d.hex
        modified:   firmware/rootfs/rigol/resource/menu/desc.hex
        modified:   firmware/rootfs/rigol/resource/menu/h.hex
        modified:   firmware/rootfs/rigol/resource/menu/i.hex
        modified:   firmware/rootfs/rigol/resource/menu/j.hex
        modified:   firmware/rootfs/rigol/resource/menu/k.hex
        modified:   firmware/rootfs/rigol/resource/menu/l.hex
        modified:   firmware/rootfs/rigol/resource/menu/m.hex
        modified:   firmware/rootfs/rigol/resource/menu/menu.hex
        modified:   firmware/rootfs/rigol/resource/menu/modelconfig_ch.hex
        modified:   firmware/rootfs/rigol/resource/menu/modelconfig_ext.hex
        modified:   firmware/rootfs/rigol/resource/menu/msg.h
        modified:   firmware/rootfs/rigol/resource/menu/n.hex
        modified:   firmware/rootfs/rigol/resource/menu/o.hex
        modified:   firmware/rootfs/rigol/resource/menu/pic.hex
        modified:   firmware/rootfs/rigol/resource/menu/res.hex
        modified:   firmware/rootfs/rigol/resource/menu/t.hex
        modified:   firmware/rootfs/rigol/resource/menu/u.hex
        modified:   firmware/rootfs/rigol/resource/res.qrc
        modified:   firmware/rootfs/rigol/resource/scpi/CALibration.xml
        modified:   firmware/rootfs/rigol/resource/scpi/CHANnel1.xml
        modified:   firmware/rootfs/rigol/resource/scpi/DISPlay.xml
        modified:   firmware/rootfs/rigol/resource/scpi/HISTogram.xml
        modified:   firmware/rootfs/rigol/resource/scpi/MASK.xml
        modified:   firmware/rootfs/rigol/resource/scpi/MEASure.xml
        modified:   firmware/rootfs/rigol/resource/scpi/SYSTem.xml
        modified:   firmware/rootfs/rigol/resource/scpi/WAVeform.xml
        modified:   firmware/rootfs/rigol/shell/start.sh
        modified:   firmware/rootfs/rigol/webcontrol/webpages/PrintScreen.html
        modified:   firmware/zImage
        modified:   firmware/zynq.bit
You skipped one:    new file:   rootfs/rigol/webcontrol/webpages/remote.html
:)

I generated the firmware using the repo again here https://gitlab.com/riglol/rigolee/ so differences are more visible.

Also, I noticed I have a few typo's in my readme :D
 
The following users thanked this post: thm_w

Online Martin72

  • Super Contributor
  • ***
  • Posts: 1743
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #761 on: February 27, 2019, 09:16:34 pm »
By the way,

Quote
no release notes.

Hi-Res mode added, that will be sure, I´m curious if this will work now..
« Last Edit: February 27, 2019, 10:56:21 pm by Martin72 »
 

Offline TK

  • Super Contributor
  • ***
  • Posts: 1617
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #762 on: February 27, 2019, 10:32:20 pm »
EDIT: fullopt cannot be found in latest appEntry[/size]
It means hack was disabled?
 

Offline KeBeNe

  • Regular Contributor
  • *
  • Posts: 50
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #763 on: February 28, 2019, 05:37:39 am »
I did the update, there is High Res Mode.
SSH does not work anymore, so no hack on this path.


one more question, how does the device know which version it is, ie 70Mhz or 350Mhz, 2-channel or 4-channel?
« Last Edit: February 28, 2019, 06:00:43 am by KeBeNe »
 

Offline mabl

  • Regular Contributor
  • *
  • Posts: 115
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #764 on: February 28, 2019, 06:44:21 am »
SSH does not work anymore, so no hack on this path.

I believe appEntry will kill sshd, there is no obvious change otherwise which limits sshd, and appEntry contains a string pointing to sshd (it was not there in previous revisions). You should be able to ssh in during boot and potentially prevent appEntry from killing sshd.

Alternatively, we could probably just patch the string in appEntry?

EDIT: With the right timing, something like
Code: [Select]
ssh -p Rigol201 root@host "nohup /usr/bin/sshd -p 22"

Should give you ssh on port 22  >:D Haven't tried it though.

EDIT2: I was wrong. firmware/rootfs/etc/init.d/rcS was changed such that sshd does not run.
« Last Edit: March 01, 2019, 09:45:43 am by mabl »
 

Offline mindy

  • Contributor
  • Posts: 20
  • Country: 00
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #765 on: February 28, 2019, 07:38:53 am »
More information on the latest Firmware ;)

v00.01.01.04.04  2019/02/20

     - Optimized the operating experience of the local upgrade.
     
     - Added the 12-bit high resolution mode.
     - Added 500uV/div in vertical scale.
     - Added the SCPI command :MEASure:STATistic:ITEM CNT,<item>[,<src>[,<src>]]
       to reading the count of measure statistics.
     - The waveform can zoom out by drawing a rectangle. If you draw a rectangle
       from the top left to the bottom right, the waveform will zoom in. If you
       draw it from the bottom right to the top left(the opposite direction),
       the waveform will zoom out.
     - Added the GND coupling in channel.
     - Enriched the color options of the LA channels.
     - If the newest version is detected, a red dot will display in the Online
       upgrade menu.
       
     - Modified the waveform freeze problem in slow scan mode.
     - The boot time is reduced to less than 1 minute.
     - Improve the touch experience in the lower half of the touch screen.
     - Reduced the noise amplitude of the waveform.
     - Modified the problem of decode vanishing after moving signals.
     - Modified the error of digital waveform when adjusting the timebase after
       stop the sampling.
     - The :SYSTEM:SETUP command can successfully save and upload setting
       information in remote.
 

Offline pascal_sweden

  • Super Contributor
  • ***
  • Posts: 1519
  • Country: no
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #766 on: February 28, 2019, 08:54:53 am »
Does it mean now that you have a real 12-bit oscilloscope, and that it beats the R&S RTB series 10-bit oscilloscope?
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 3800
  • Country: de
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #767 on: February 28, 2019, 10:48:30 am »
Does it mean now that you have a real 12-bit oscilloscope, and that it beats the R&S RTB series 10-bit oscilloscope?

Yes, the firmware ZIP file contains a physical 12-bit ADC which is uploaded into the scope via USB.
 
The following users thanked this post: egonotto, ve2mrx

Offline Daixiwen

  • Regular Contributor
  • *
  • Posts: 225
  • Country: no
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #768 on: February 28, 2019, 10:55:49 am »
but make sure you are using an audiophile grade USB cable for the upload
 
The following users thanked this post: ve2mrx

Online Rerouter

  • Super Contributor
  • ***
  • Posts: 4672
  • Country: au
  • Question Everything... Except This Statement
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #769 on: February 28, 2019, 11:10:26 am »
Its likely just enhanced resolution mode by adding samples, Add up 16x 8 bit values, and you can get a not very reliable 12 bit value. You will likely find the sample rate it cut down by an equivalent amount.
 

Offline satlars

  • Contributor
  • Posts: 9
  • Country: dk
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #770 on: February 28, 2019, 12:22:32 pm »
hello today
i got my new mso5074 and immediately started playing with it After playing with it for a few hours I would open a few extra functions
and therefore I added a little to this line

/ rigol / appEntry $ PowerOn -run -fullopt&

with the result that now can not scopet boot
'
it comes to the boot screen and the bar counts up completely and then it freezes

lan is not up and running so how do i get in and remove my addition ??

the software version is 00.01.01.02.03
compiled 2018-10-11

all help will be received with pleasure
Best regards, satlars
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 2013
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #771 on: February 28, 2019, 12:31:57 pm »
"fullopt&" should have been "fullopt &"

 

Offline satlars

  • Contributor
  • Posts: 9
  • Country: dk
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #772 on: February 28, 2019, 12:34:13 pm »
yes i can understand that a space has slipped

but how do i get hold of the file system now?
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 2013
  • Country: pt
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #773 on: February 28, 2019, 12:34:31 pm »
the firmware ZIP file contains a physical 12-bit ADC

Please explain what you mean by this.
 

Offline dpenev

  • Regular Contributor
  • *
  • Posts: 148
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #774 on: February 28, 2019, 12:40:00 pm »
the firmware ZIP file contains a physical 12-bit ADC

Please explain what you mean by this.

The guy was in a funny mood today and was joking I think :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf