Author Topic: New Rigol 16-bit function generators DG800/900 series  (Read 54200 times)

0 Members and 3 Guests are viewing this topic.

Offline Vtech

  • Contributor
  • Posts: 42
  • Country: pl
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #500 on: July 26, 2020, 06:14:29 pm »
Counter is completely shit on them and the DG1000Z units. I would just stick a cap on it and not use it.

Can you elaborate why? At least it has gate time option and 9 digits so it is slightly better than counter in MSO5000. Mine is not working on AC coupling :-BROKE
 

Offline Vtech

  • Contributor
  • Posts: 42
  • Country: pl
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #501 on: July 26, 2020, 07:08:13 pm »
As I have just successfully upgraded my DG812 to DG992 I would like to post yet another summary of the required steps.

0. Note your DG's serial number if you care.

1. If you have software version higher than 00.01.08.xx.xx you need to downgrade to version 1.08 using specially modified GEL file to allow downgrade (as described by evgbog here: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3017342/#msg3017342).
My contribution is that I've prepared modified GEL file, available here:
https://drive.google.com/file/d/16nC-uJ12MXilJElv4Eukvt1IW4RzGdb7/view?usp=sharing
Put the file on USB stick, plug it into your DG and accept "update" when popup shows. WARNING! This "upgrade" will reset your SN to DG80000000001 but convert your unit into DG992 immediately. This is the effect of the downgrade itself - the firmware is official Rigol firmware. The modification only changes the boot script to allow downgrade.

As a side note, I don't see a point in using hex editor in evgbog method of preparing the GEL. Those GELs are tar files as mentioned by tv84. I prepared the file by simply untaring it, decrypting fw4uboot.sh, modifying it, encrypting it back (you need to maintain file size) and finally TARing everything back into GEL file using 7zip.

2. Prepare a "magic" USB stick. Format USB stick as FAT32 (stick MUST BE BIGGER than 1GB). Open it in HxD editor as LOGICAL DISK (not physical disk - I did that mistake) Tools->Open Disk (uncheck "open as readonly"). Jump to sector 2000000 (sector field is at the top right corner). Enter value manually or use "Paste write" in edit menu (Ctrl+B). Magic value: 0B0A3B2E5F4CECBE

3. Insert the magic stick into DG (make sure it is recognized and USB icon is shown) and connect the instrument with the computer (using USB A-B cable and downloading Rigol's bloatware UltraSigma is the easiest way). Open SCPI command panel, check communication by issuing *IDN? command (use Send & Read). Send command :PROJ:SN DGxxxxxxxxxx with your correct SN number noted in step 0 (use Send command, DO NOT USE Send & Read). Verify if it worked by sending another *IDN? command - it should report back with correct serial number. Now send command :PROJ:MODE DG992. You can disconnect the instrument from PC and remove USB stick.

4. Edit: This step is only needed if your purchase version was higher than v1.08 and you did step 1 Download tv84's "Finish_Upgrade_2.04.zip" from this post: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264
Put this GEL file on USB stick, plug into DG and confirm update when popup shows.

5. Download official 2.04 firmware from Rigol: https://int.rigol.com/Public/Uploads/uploadfile/files/ftp/DG/软固件/SardineII(ARM)Update-v00.02.04.00.00.rar
No logging in required :-DD
Put GEL file on USB stick (delete the previous one), upgrade DG and enjoy ;D
Serial number should be kept and model should be DG992.

All credits go to tv84, bulba99, evgbog and others who helped to create this hack!
« Last Edit: August 05, 2020, 08:17:40 am by Vtech »
 
The following users thanked this post: netdudeuk, jscm2000, bitseeker, Luckygecko

Online tv84

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #502 on: July 26, 2020, 08:01:50 pm »
As I have just successfully upgraded my DG812 to DG992 I would like to post yet another summary of the required steps.

Generically, I think that sums it up.
 
The following users thanked this post: netdudeuk, Vtech

Offline Luckygecko

  • Newbie
  • Posts: 4
  • Country: us
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #503 on: July 31, 2020, 09:04:50 pm »
My notes based on Vtech's post (and other's work). There were a couple of little things I was not sure of, so I cover them here in case others have the same questions. I'm grateful for the hard work of others making this possible.  ( My unit DG821 just bought on current --July 2020-- 'clearance' $251USD was on version 1.08 )
[attach=1]

Since mine came with version 1.08 already, I could skip to step two on Vtech's list.

2. Prepare a "magic" USB stick. Format USB stick as FAT32 (stick MUST BE BIGGER than 1GB). Open it in HxD editor as LOGICAL DISK (not physical disk - I did that mistake) Tools->Open Disk (uncheck "open as readonly"). Jump to sector 2000000 (sector field is at the top right corner). Enter value manually or use "Paste write" in edit menu (Ctrl+B). Magic value: 0B0A3B2E5F4CECBE

I did this from Windows 10.  For good measure I DISKPART cleaned the drive, Disk Manager simple volume and formated it FAT32. Used Tools menu in HxD64 to open drive H: (your dive will/may be different. Make sure you have the correct one selected) (16gb Sandisk Cruzer in my case) went to sector offset 2000000 and manually entered the hex string. File menu save. Exited HxD64 and used Windows File Explorer to eject the disk safely.  Note, there were no other files on the disk, you do not need to write any image onto the file. Just make those hex changes to the sector offset.
[attachimg=5]
[attachimg=6]

While the DG821 was running, I inserted the usb thumb drive. A "waiting' popup appeard and the USB icon appeared into the upper right.


3. Insert the magic stick into DG (make sure it is recognized and USB icon is shown) and connect the instrument with the computer (using USB A-B cable and downloading Rigol's bloatware UltraSigma is the easiest way). Open SCPI command panel, check communication by issuing *IDN? command (use Send & Read). Send command :PROJ:SN DGxxxxxxxxxx with your correct SN number noted in step 0 (use Send command, DO NOT USE Send & Read). Verify if it worked by sending another *IDN? command - it should report back with correct serial number. Now send command :PROJ:MODE DG992. You can disconnect the instrument from PC and remove USB stick.

I connected it to the PC and used the SCPI Command function of Ultra Sigma. 

(This text is from ultranalog's post with my notes())

Code: [Select]
-> *IDN?              (Use Send and Receive button)
<- (Return Count:55)
Rigol Technologies,DG821,DG8A123456789,00.01.08.00.01

-> :PROJ:MODE DG992   (Send button only)
-> *IDN?                        (Use Send and Receive button)
<- (Return Count:55)
Rigol Technologies,DG992,DG8A123456789,00.01.08.00.01

 I removed the cable. I had to do a power off at this point.  I powered back on the unit and the screen text background changed to red/orange colors and I could see the icon for channel two. 

SEE TV84's post below: I did not need this step:


Step 4. Finish_Upgrade_2.04.zip is only needed if your purchase version was higher than v1.08.
4. Download tv84's "Finish_Upgrade_2.04.zip" from this post: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264
Put this GEL file on USB stick, plug into DG and confirm update when popup shows.


Unit will reboot on it's on at this point.

I copied and overwrote tv84's patch with the larger factory firmware. I turned the unit off and let it boot again before doing final upgrade.


5. Download official 2.04 firmware from Rigol: https://int.rigol.com/Public/Uploads/uploadfile/files/ftp/DG/软固件/SardineII(ARM)Update-v00.02.04.00.00.rar
No logging in required :-DD
Put GEL file on USB stick (delete the previous one), upgrade DG and enjoy ;D
Serial number should be kept and model should be DG992.

All credits go to tv84, bulba99, evgbog and others who helped to create this hack!


I inserted the USB while the unit was running. It was in 'waiting' mode for a while, be patient. Select yes to the update prompt (don't forget that it is simple as using the touch screen).  Then the unit automatically rebooted and started writing the firmware flash space. I removed the USB after the screen went black during reboot. I powered off once again when it was finished and powered up I'm left with this success: 


[attach=2]

[attach=3]


(I can remove that little while option cap)
[attach=4]

(soapbox)
I am pleased. While currently I understand (based on other's tests) the unit is more on par with DG952, that is more than fine with my use. If DG952 performance, I gained a second channel, extra memory, and double the signal rate/sample rate. 

Currently in the states the DG821 is a couple dollars cheaper than the DG811.    I'm assuming they are the same hardware, but at least in the case of the DG821 you know it factory tested at 25Mhz.     Ethically, I feel I'm in a gray area with this weird software limited hardware.   But, I'm not using mine for profit so I don't see it much different than performance tuning 'unlocks' on a car.    Rigol did not lose any money in my case.  I would have adapted my personal learning projects to the equipment I could afford (DG821) because I did not have the budget for more. In a way, this makes me like their product better.
(/soapbox)
« Last Edit: August 01, 2020, 07:52:34 pm by Luckygecko »
 
The following users thanked this post: bitseeker

Online tv84

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #504 on: July 31, 2020, 09:12:43 pm »
Step 4. Finish_Upgrade_2.04.zip is only needed if your purchase version was higher than v1.08.
 
The following users thanked this post: Vtech, gdombi, Luckygecko

Offline Luckygecko

  • Newbie
  • Posts: 4
  • Country: us
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #505 on: July 31, 2020, 09:15:24 pm »
Well, I'm glad I did not brick it.   That's information I missed.  I updated my post with your information. 
 

Offline AZTLAN

  • Newbie
  • Posts: 2
  • Country: us
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #506 on: August 01, 2020, 06:58:44 pm »
Can anyone post the complete backup of the firmware.  I think my firmware is corrupt i have firmware 1.08.00.01  |O



Thanks
Aztlan
« Last Edit: August 01, 2020, 09:00:17 pm by AZTLAN »
 

Online TK

  • Super Contributor
  • ***
  • Posts: 1573
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #507 on: August 05, 2020, 11:14:37 pm »
As I have just successfully upgraded my DG812 to DG992 I would like to post yet another summary of the required steps.

0. Note your DG's serial number if you care.

1. If you have software version higher than 00.01.08.xx.xx you need to downgrade to version 1.08 using specially modified GEL file to allow downgrade (as described by evgbog here: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3017342/#msg3017342).
My contribution is that I've prepared modified GEL file, available here:
https://drive.google.com/file/d/16nC-uJ12MXilJElv4Eukvt1IW4RzGdb7/view?usp=sharing
Put the file on USB stick, plug it into your DG and accept "update" when popup shows. WARNING! This "upgrade" will reset your SN to DG80000000001 but convert your unit into DG992 immediately. This is the effect of the downgrade itself - the firmware is official Rigol firmware. The modification only changes the boot script to allow downgrade.

As a side note, I don't see a point in using hex editor in evgbog method of preparing the GEL. Those GELs are tar files as mentioned by tv84. I prepared the file by simply untaring it, decrypting fw4uboot.sh, modifying it, encrypting it back (you need to maintain file size) and finally TARing everything back into GEL file using 7zip.

2. Prepare a "magic" USB stick. Format USB stick as FAT32 (stick MUST BE BIGGER than 1GB). Open it in HxD editor as LOGICAL DISK (not physical disk - I did that mistake) Tools->Open Disk (uncheck "open as readonly"). Jump to sector 2000000 (sector field is at the top right corner). Enter value manually or use "Paste write" in edit menu (Ctrl+B). Magic value: 0B0A3B2E5F4CECBE

3. Insert the magic stick into DG (make sure it is recognized and USB icon is shown) and connect the instrument with the computer (using USB A-B cable and downloading Rigol's bloatware UltraSigma is the easiest way). Open SCPI command panel, check communication by issuing *IDN? command (use Send & Read). Send command :PROJ:SN DGxxxxxxxxxx with your correct SN number noted in step 0 (use Send command, DO NOT USE Send & Read). Verify if it worked by sending another *IDN? command - it should report back with correct serial number. Now send command :PROJ:MODE DG992. You can disconnect the instrument from PC and remove USB stick.

4. Edit: This step is only needed if your purchase version was higher than v1.08 and you did step 1 Download tv84's "Finish_Upgrade_2.04.zip" from this post: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264
Put this GEL file on USB stick, plug into DG and confirm update when popup shows.

5. Download official 2.04 firmware from Rigol: https://int.rigol.com/Public/Uploads/uploadfile/files/ftp/DG/软固件/SardineII(ARM)Update-v00.02.04.00.00.rar
No logging in required :-DD
Put GEL file on USB stick (delete the previous one), upgrade DG and enjoy ;D
Serial number should be kept and model should be DG992.

All credits go to tv84, bulba99, evgbog and others who helped to create this hack!
Maybe I am missing something, but if you have the DG811 with any firmware version, then upgrade to 2.04, then downgrade to 2.02 you end up with a DG992 with the original serial number...

What is the point of downgrading all the way to 1.08?
 

Offline Luckygecko

  • Newbie
  • Posts: 4
  • Country: us
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #508 on: August 06, 2020, 01:48:44 am »
Maybe I am missing something, but if you have the DG811 with any firmware version, then upgrade to 2.04, then downgrade to 2.02 you end up with a DG992 with the original serial number...

What is the point of downgrading all the way to 1.08?

I've not read this whole mega thread, but Rigol either patched the firmware to 'fix' this model change issue or the firmware has a new private key so the 'magic' service USB trick no longer works on firmware later than 1.08.    With firmware 1.08 using the USB drive with the correct code in the right sector makes the unit that one is doing factory maintenance the best I can tell.  This allows commands not normally allowed.  One of them being the model change.  I would assume this allows Rigol or a service center to replace your main board and then set your orginal serial number and model to the replacement.  This way they don't have to make a board for each different model.   (it is also a cost savings at the factory/in design). 

Here is an earlier post:
I'm going to declare that the hack is closed or changed in firmware version 00.01.09.00.00
At least until the clever people can get hold of the firmware and take a look at it.
....
 

Offline Luckygecko

  • Newbie
  • Posts: 4
  • Country: us
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #509 on: August 06, 2020, 04:08:29 am »
I had a moment to try a USB Ethernet adapter.  Went to the 'junk' drawer and pulled one out. It had a USB C connector so I had to use an USB C to A adapter. Nevertheless, it worked.  Windows 10 gives it this information: (Realtek controller)


USB\VID_0BDA&PID_8153&REV_3000

Hope this is helpful.  I left settings at default.

[attach=1]
[attach=2]
[attach=3]
 

Online TK

  • Super Contributor
  • ***
  • Posts: 1573
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #510 on: August 06, 2020, 05:48:12 am »
Maybe I am missing something, but if you have the DG811 with any firmware version, then upgrade to 2.04, then downgrade to 2.02 you end up with a DG992 with the original serial number...

What is the point of downgrading all the way to 1.08?

I've not read this whole mega thread, but Rigol either patched the firmware to 'fix' this model change issue or the firmware has a new private key so the 'magic' service USB trick no longer works on firmware later than 1.08.    With firmware 1.08 using the USB drive with the correct code in the right sector makes the unit that one is doing factory maintenance the best I can tell.  This allows commands not normally allowed.  One of them being the model change.  I would assume this allows Rigol or a service center to replace your main board and then set your orginal serial number and model to the replacement.  This way they don't have to make a board for each different model.   (it is also a cost savings at the factory/in design). 

Here is an earlier post:
I'm going to declare that the hack is closed or changed in firmware version 00.01.09.00.00
At least until the clever people can get hold of the firmware and take a look at it.
....
i started with a DG811 with 2.04. Downloaded and installed 2.02 as it is allowed by 2.04. My unit converted automatically to a DG992 with the original serial number. No need to patch anything
 

Offline Vtech

  • Contributor
  • Posts: 42
  • Country: pl
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #511 on: August 06, 2020, 07:02:42 am »
i started with a DG811 with 2.04. Downloaded and installed 2.02 as it is allowed by 2.04. My unit converted automatically to a DG992 with the original serial number. No need to patch anything

Rigol hacked itself  :-DD

I assume that without all the steps (downgrading to 1.08, changing model and applying "finish upgrade") the model change won't survive firmware upgrade. Following all the steps you have permanent change - you can upgrade the firmware and the model will stay the same (DG992).
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #512 on: August 06, 2020, 08:17:05 am »
i started with a DG811 with 2.04. Downloaded and installed 2.02 as it is allowed by 2.04. My unit converted automatically to a DG992 with the original serial number. No need to patch anything

 :wtf: And you think that's an achievement? You're downgrading...

I assume that without all the steps (downgrading to 1.08, changing model and applying "finish upgrade") the model change won't survive firmware upgrade. Following all the steps you have permanent change - you can upgrade the firmware and the model will stay the same (DG992).

You assume well. There's also the MODF way...  ;)



 

Online TK

  • Super Contributor
  • ***
  • Posts: 1573
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #513 on: August 06, 2020, 03:26:39 pm »
i started with a DG811 with 2.04. Downloaded and installed 2.02 as it is allowed by 2.04. My unit converted automatically to a DG992 with the original serial number. No need to patch anything

 :wtf: And you think that's an achievement? You're downgrading...

I am not saying it is an achievement.  It all depends on your objectives... if you just want to have a DG992 with not the latest firmware (Rigol does not update it very frequently, anyway), this is the easiest path.  I tried applying 1.08 modified... but my unit kept at 2.04, the hack did not work.  Then I decided to downgrade to 2.02 and hack from there, but I realized the unit already was a DG992 with the original serial number... my objective was satisfied.  I will try installing 2.04 later today and see if it keeps the hack or not. 
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #514 on: August 06, 2020, 03:36:18 pm »
I will try installing 2.04 later today and see if it keeps the hack or not.

Before trying that, run this.
 

Online TK

  • Super Contributor
  • ***
  • Posts: 1573
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #515 on: August 06, 2020, 07:01:51 pm »
I will try installing 2.04 later today and see if it keeps the hack or not.

Before trying that, run this.
Installing directly 2.04 did not keep the hack.  Installed 2.02 back and device is DG992.  Installed SardineUpdateFinishUpgrade.GEL (it does not run like a valid install, it stays in the same state, asking again if I want to upgrade, does not reboot).  Then install 2.04 and it reverts to DG811.  It was the same symptom when trying to use 1.08 modified, it never installed.
« Last Edit: August 06, 2020, 07:16:35 pm by TK »
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #516 on: August 06, 2020, 07:30:14 pm »
Execute the procedure as listed by Vtech and it should work.
 

Online TK

  • Super Contributor
  • ***
  • Posts: 1573
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #517 on: August 06, 2020, 09:11:48 pm »
You mean all the process described by Vtech from 0 to 5?
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #518 on: August 06, 2020, 09:15:34 pm »
You mean all the process described by Vtech from 0 to 5?

Yep.
 

Offline Martian Tech

  • Contributor
  • Posts: 8
  • Country: us
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #519 on: August 08, 2020, 01:31:39 am »
A bit off the main topic of discussion, but just wondering if anyone else has tried operating one of these with an external timebase?  With mine, it runs OK for a while, then switches back to the internal timebase.  My source is a buffered OCXO, and the output voltage is within spec.  BUT I'm running 1.08 firmware - wondering if maybe upgrading to new firmware will fix it?
 

Offline dave3533

  • Contributor
  • Posts: 22
  • Country: us
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #520 on: August 11, 2020, 04:55:08 pm »
Is there a preferred base model (eg, DG811, 812, etc) to attempt the model change/firmware update?
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #521 on: August 11, 2020, 05:03:40 pm »
Is there a preferred base model (eg, DG811, 812, etc) to attempt the model change/firmware update?

Indifferent.
 

Online TK

  • Super Contributor
  • ***
  • Posts: 1573
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #522 on: August 12, 2020, 12:09:26 am »
Is there a preferred base model (eg, DG811, 812, etc) to attempt the model change/firmware update?

Indifferent.
The cheapest one
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #523 on: August 12, 2020, 07:01:15 pm »
This script replaces the previous one and also downloads the calibration files so that people can analyse them.
 

Offline jscm2000

  • Contributor
  • Posts: 10
  • Country: cn
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #524 on: August 14, 2020, 03:25:17 pm »
Hello everyone!
My DG811 version is 00.02.04.00.00, and I upgraded to 992 according to the method provided by Vtech.
But the output voltage is very different. What is the reason?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf