Author Topic: Hacking the Rigol DHO800/900 Scope  (Read 1596113 times)

Dimitrius76 and 36 Guests are viewing this topic.

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16853
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #175 on: October 24, 2023, 02:46:51 pm »
That won't happen. When you want to go above the official options for a certain model, you have to change model.

The bandwidth upgrade is currently enabled as a trial on my DHO804.

With the latest firmware it also says memory depth option.

Maybe 250MHz won't work but I'll give 100Mhz+memory depth a try.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16853
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #176 on: October 24, 2023, 03:42:53 pm »
Options 70mhz to 100mhz and storage depth can be unlock using SCPI command,which could gnenrate by rigol HDO-tools.
https://gitlab.com/riglol/rigolee/hdo-tools
(string BW7TO10,RLU)

That file is hard coded for DHO4000 keys.

I tried modifying it for DHO800 using this post as a guide: https://www.eevblog.com/forum/testgear/rigols-new-dho800-oscilloscope-unbox-teardown/msg5067982/#msg5067982

But I haven't had any luck yet.

 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16853
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #177 on: October 24, 2023, 03:59:15 pm »
I've got 50Mpts memory in a DHO800!




« Last Edit: October 24, 2023, 04:13:28 pm by Fungus »
 
The following users thanked this post: Mechatrommer, Markus2801A

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6676
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #178 on: October 24, 2023, 04:21:50 pm »
I've got 50Mpts memory in a DHO800!

 :-+

But where's the 100 MHz bandwidth option?
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16853
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #179 on: October 24, 2023, 04:29:55 pm »
I haven't had any luck generating keys for bandwidth upgrade but it's easy to push the DHO814 vendor.bin. I get about 135MHz measured bandwidth with that (2.6ns rise time).

Theory:
In the last firmware update the trial for "70MHz-100Mhz bandwidth upgrade option" changed to trial for "Storage depth option" (see screen captures). Various people saw this.

So... maybe Rigol is planning a storage upgrade option for the DHO800 and that's why that option works.

 :-//

The trick to finding out would be to try a bandwidth upgrade key with 1.00 firmware.


With 1.00 firmware:


With 1.01 firmware:

« Last Edit: October 24, 2023, 04:33:33 pm by Fungus »
 
The following users thanked this post: ebastler

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3260
  • Country: pt
Re: Hacking the Rigol DHO800/900 Scope
« Reply #180 on: October 24, 2023, 04:36:51 pm »
Has anyone seen where the options get stored?

In a file called "license.lic" like in some other Rigol equipments or in separate .lic files?

(should be next to Key.data)
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16853
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #181 on: October 24, 2023, 04:46:05 pm »
Has anyone seen where the options get stored?

In a file called "license.lic" like in some other Rigol equipments or in separate .lic files?

(should be next to Key.data)

I've got a new file called "RLU.lic" in /rigol/data:



The option I installed has code "RLU" so I'm guessing that's where it went.


10MPts per channel with all channels enabled on a DHO800:  :)


« Last Edit: October 24, 2023, 04:50:40 pm by Fungus »
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16853
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #182 on: October 24, 2023, 04:58:00 pm »
FWIW: The RLU.lic file is plain ASCII text with my license key in it. I'm guessing it's no use to anybody else.
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6676
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #183 on: October 24, 2023, 05:01:38 pm »
FWIW: The RLU.lic file is plain ASCII text with my license key in it. I'm guessing it's no use to anybody else.

Can you generate a key for the 70-to-100-MHz upgrade and store it as BW7TO10.lic? Maybe the option is just missing in the UI?
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11700
  • Country: my
  • reassessing directives...
Re: Hacking the Rigol DHO800/900 Scope
« Reply #184 on: October 24, 2023, 05:15:39 pm »
I haven't had any luck generating keys for bandwidth upgrade but it's easy to push the DHO814 vendor.bin. I get about 135MHz measured bandwidth with that (2.6ns rise time).
you are still being haunted by anti-aliasing rebel movement do you? ;)

btw i copied all files from rigol folder of ver1.0.0.19 (DHO804 from factory), ver1.1.0.2 (DHO804 legit gel upgrade) and ver1.14 (DHO924 illegit hack) using RigolTool.exe and do files size and binary (data) comparison:

comparing ver1.0.0.19 (DHO804 from factory), ver1.1.0.2 (DHO804 legit gel upgrade), every files are the same except:
\data\cal_afe_bandwidth.hex
\data\cal_vertical.hex
\FPGA\BOOT.bin

comparing the legit copies above (both) with ver1.14 (DHO924 illegit hack), the differences are:
\app\Launcher.apk
\app\Sparrow.apk
\app\Webcontrol.apk
\data\default\cal_vertical.hex
\data\cal_adc.hex
\data\cal_afe_bandwidth.hex
\data\cal_afe_zero.hex
\data\cal_ddr.hex
\data\cal_lsb.hex
\data\cal_vertical.hex
\data\Key.data
\vendor.bin
\FPGA\BOOT.bin

files in DHO924 dont exist in DHO804:
\data\cal_ext.hex
\FPGA\SPU_H12S1.bit

i also did recalibration on each version to see what files are changed in rigol\data:

recalibrating ver1.0.0.19, the following file is changed:
\data\cal_vertical.hex

recalibrating ver1.1.0.2 the following files are changed:
\data\cal_afe_bandwidth.hex
\data\cal_vertical.hex

recalibrating ver1.14 the following files are changed:
\data\cal_adc.hex
\data\cal_afe_bandwidth.hex
\data\cal_afe_zero.hex
\data\cal_vertical.hex

so during calibration, one or more of that files will be changed.
fwiw...
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 
The following users thanked this post: Serg65536

Offline t_i_t_o

  • Contributor
  • Posts: 43
  • Country: bg
Re: Hacking the Rigol DHO800/900 Scope
« Reply #185 on: October 24, 2023, 05:23:29 pm »
How about BW7TO25 BW10TO25...? :)
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16853
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #186 on: October 24, 2023, 05:31:34 pm »
How about BW7TO25 BW10TO25...? :)

They don't exist in the apk file.  :)
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16853
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #187 on: October 24, 2023, 05:34:09 pm »
Can you generate a key for the 70-to-100-MHz upgrade and store it as BW7TO10.lic? Maybe the option is just missing in the UI?

Nothing.
 

Offline dmulligan

  • Regular Contributor
  • *
  • Posts: 86
  • Country: ca
Re: Hacking the Rigol DHO800/900 Scope
« Reply #188 on: October 24, 2023, 05:38:53 pm »
How about BW7TO25 BW10TO25...? :)

They don't exist in the apk file.  :)

Neither is BW7TO10.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16853
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #189 on: October 24, 2023, 05:47:33 pm »
I haven't had any luck generating keys for bandwidth upgrade but it's easy to push the DHO814 vendor.bin. I get about 135MHz measured bandwidth with that (2.6ns rise time).
you are still being haunted by anti-aliasing rebel movement do you? ;)

It seems to be the fastest I can get and have the self-cal work.  8)
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 6258
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol DHO800/900 Scope
« Reply #190 on: October 24, 2023, 06:18:48 pm »
I have now also tried this, works....
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6676
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #191 on: October 24, 2023, 06:25:13 pm »
I have now also tried this, works....

 :-+

But now I am confused... I thought that, with the bandwidth option removed in the new firmware, a model change to DHO814 (via vendor.bin) is the only way to get 100 MHz bandwidth. So how is yours a DHO804, but nevertheless with 100 MHz?  ???
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16853
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #192 on: October 24, 2023, 06:26:49 pm »
I have now also tried this, works....

What code did you use to get 100Mhz bandwidth on an 804?

(And have you measured the bandwidth?)

Can you list /rigol/data to see what files you have in there?
« Last Edit: October 24, 2023, 06:28:23 pm by Fungus »
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 6258
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol DHO800/900 Scope
« Reply #193 on: October 24, 2023, 06:34:19 pm »
Bandwith measuring and check if we really have 50Mpts will follow.

I have changed the rgtool script as it was in the link, removed all "nonsense" options, left RLU and inserted BW7T10.
Then entered the generated keys via the SCPI console.
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6676
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #194 on: October 24, 2023, 06:37:43 pm »
You know what the next question will be, right? :)
Any chance of adding BW7TO25 and BW10TO25 to the script and giving those a try? 
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 6258
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol DHO800/900 Scope
« Reply #195 on: October 24, 2023, 06:40:27 pm »
Quote
Can you list /rigol/data to see what files you have in there?

Bandwith is in...
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 
The following users thanked this post: Serg65536

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6676
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #196 on: October 24, 2023, 06:48:12 pm »
Oh -- it's BW7T10, not BW7TO10 as originally stated by nervdg.
That might explain why it didn't work for Fungus.
How did you find the correct spelling?
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 6258
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol DHO800/900 Scope
« Reply #197 on: October 24, 2023, 06:50:29 pm »
Hi,

already exists in the script...

Edit:
Quote
Any chance of adding BW7TO25 and BW10TO25 to the script and giving those a try?

Tried...No.  ;)
Makes sense as long as the scope is a 800 model.
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 
The following users thanked this post: ebastler

Online Martin72

  • Super Contributor
  • ***
  • Posts: 6258
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol DHO800/900 Scope
« Reply #198 on: October 24, 2023, 07:36:52 pm »
Checking the bandwith with a sml01 generator and 50ohm external resistor.
Bandwith: Proofed.. ;)
I think I don´t need a further bandwith upgrade.
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 
The following users thanked this post: mwb1100

Offline Serg65536

  • Regular Contributor
  • *
  • Posts: 133
  • Country: ua
Re: Hacking the Rigol DHO800/900 Scope
« Reply #199 on: October 24, 2023, 07:40:02 pm »
BTW, here is the DC accuracy check results on my DHO804. The voltage source is 7.49844 V.
Stock firmware - 0.25% accuracy:



DHO924 firmware, autocalibrated, offset is close to zero, error is 1.66%. That's awful:



So, not only the DC offset is the issue, but the DC accuracy also!! :bullshit:
« Last Edit: October 24, 2023, 07:49:29 pm by Serg65536 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf