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

0 Members and 1 Guest are viewing this topic.

Offline kikis

  • Newbie
  • Posts: 4
  • Country: gr
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #775 on: July 28, 2021, 12:22:15 pm »
i followed this guide successfully down to step 3 and stack to 4. yes i run the unzipped script in 1.08

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: July 28, 2021, 12:26:55 pm by kikis »
 
The following users thanked this post: coy

Offline JimKnopf

  • Regular Contributor
  • *
  • Posts: 176
  • Country: 00
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #776 on: August 05, 2021, 06:38:27 pm »
Seems i'm the first one who tried to update a DG2052 to a 2102. I started a new threat until i noticed that the DG2000 series is very very close to the DG800/DG900.

I saved the calibration and NAND data and downgraded to 1.08 using the mentioned firmware.  The device now thinks it's a DG992. I ran into trouble. The network interface is not recognized. Because 1.08 has no driver for this NIC i think. I can't use SCPI via nc. I tried several USB-Hub/Ethernet-adapters. Not a single one will work. I bought a new (cheap Hama one) USB2Ethernet-adapter (without USB-Hub function). The device is recognized after booting and i can reach the device via lan.

The problem is, i can't connect another USB device. The second port on the backside (USB-B)  does not work with USB stick.
I installed UltraSigma on virtualbox and was able to change the serial number. I also could change the device name to DG2102.

I put the USB drive in with the finish gel file. But nothing happend. 
The device has frozen. I restarted and found the device with blue colored screen menu instead of red.
Serial number was the one i entered. But it now thinks its a DG811.  I repeated it without luck. Same behavior. It freezes after entering the new model number DG2102.

Any idea? Maybe it's because the 2000 series was not supported when 1.08 came out?
 

Online thm_w

  • Super Contributor
  • ***
  • Posts: 6352
  • Country: ca
  • Non-expert
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #777 on: August 05, 2021, 09:15:14 pm »
Any idea? Maybe it's because the 2000 series was not supported when 1.08 came out?

hm probably the case. I would say press the help button during boot but there is none. Try pressing/holding various keys during boot and see if you can get into the bootloader/recovery screen.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline JimKnopf

  • Regular Contributor
  • *
  • Posts: 176
  • Country: 00
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #778 on: August 06, 2021, 04:37:43 am »
Does anyone figured out the root password for serial port access? If not, why not just edit the backup file mtd11_NAND_filesystem.bin and enter a known hash value for root user? Maybe the password would be 111111, the hash value is $6$7jOa0k43IrEfrvD7$RtUb9xqNbs0F/fvvtqccqbU58JF5pN2l8iIwzrWWNojxfOKjaN68sgBCj/TQiPyEQoFjM4IxyKz81yAupUJAg.

Anyone tried to restore files? Maybe using the first stage uboot-loader shell?

Btw. the serial number is stored as plaintext in file mtd13_NAND_userspace.bin. My was at offset 0246:1045 up to 0246:1051


« Last Edit: August 06, 2021, 04:59:34 am by JimKnopf »
 

Offline JimKnopf

  • Regular Contributor
  • *
  • Posts: 176
  • Country: 00
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #779 on: August 06, 2021, 08:50:28 am »
I updated again to 2.06 with pressing front button while booting.
Starts as DG2052. NIC is present. Calibration data and functionallity is as it was before this little adventure.

For the DG2000 series we have to find another way to get the upgrade trick to higher modell number to work.
 
The following users thanked this post: thm_w

Offline coy

  • Contributor
  • Posts: 10
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #780 on: August 07, 2021, 12:59:21 pm »
Just got my DG811 with 2.05.00 installed on it, however I would try to do all the steps to upgrade it.

But it looks like archive.org removed the site where the firmware links are pointing to. Or maybe I am doing it wrong?

Any help would be much appreciated.

EDIT: Okay, I finally got it: https://web.archive.org/web/20190820203337/https://beyondmeasure.rigoltech.com/acton/ct/1579/p-00ac/Bct/-/-/ct61_0/1?sid=TV2%3AQ2jKaGpUj

You will see an error message, but it will start download anyway :-)
« Last Edit: August 07, 2021, 01:20:27 pm by coy »
 

Offline coy

  • Contributor
  • Posts: 10
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #781 on: August 07, 2021, 03:03:35 pm »
As I have just successfully upgraded my DG812 to DG992 I would like to post yet another summary of the required steps.

Thanks much! Worked like a charm, I followed your steps successfully. DG811 2.0.5 -> DG992 2.0.6  :-+
 

Offline Swat

  • Contributor
  • Posts: 21
  • Country: cz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #782 on: August 10, 2021, 09:49:43 am »
Hi,
I just bought a Rigol DG812. Of course, I would also like to upgrade, but I'm just getting to know the device. While browsing the settings, I found "Memory depth: Not installed" in Utility. Does this mean I have a default setting of 2 Mpts, or is it an error? I was expecting "Official" there. Thank you very much for the advice.
« Last Edit: August 10, 2021, 09:52:39 am by Swat »
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3217
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #783 on: August 10, 2021, 10:19:33 am »
Does this mean I have a default setting of 2 Mpts, or is it an error?

8 Mpts is an additional option (not default) on DG812.
 
The following users thanked this post: Swat

Offline TinkeringSteve

  • Frequent Contributor
  • **
  • Posts: 289
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #784 on: September 04, 2021, 12:35:37 pm »
Is this still supposed to work?
My 811 device reports the version 2.0.5.

I downloaded "DG800_900_downgradableFW1.08.01.zip", put the GEL file on a USB stick, plugged it in.
The device recognizes an update file, asks whether to update, I click OK.
It displayes a waiting circle with green strokes rotating around, then clicks a little bit (relays?) after doing that, and then all stops, and the normal operating screen is shown again.
If I just wait a few seconds, it will ask again whether it should update. If I do that, the second run around of the same show will get stuck with frozen waiting screen.
At least that much luck - after power cycle, it is back to normal.
Still 811 / 2.0.5.

I tried this with 3 different makes, sizes, and 2 different file formats, of USB sticks.
The file is always found, the "update" always seems to have no effect.
« Last Edit: September 04, 2021, 12:42:33 pm by TinkeringSteve »
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23018
  • Country: gb
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #785 on: September 04, 2021, 01:57:19 pm »
Turn it off, then back on again and keep hitting HELP button on the front when it is booting up. It’ll do the update to 1.08 on the stick properly then.

Then you need to apply the update in here: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264 … this one appears to do nothing but sets up the device so it won’t lose the new model after updating.

Then do the normal 2.05 update. That’ll leave you with a DG992 with 2.05 on it.

I just did this in my 811 the other day and can confirm it still works.
« Last Edit: September 04, 2021, 01:59:57 pm by bd139 »
 
The following users thanked this post: TinkeringSteve

Offline TinkeringSteve

  • Frequent Contributor
  • **
  • Posts: 289
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #786 on: September 04, 2021, 02:26:14 pm »
Thanks!
The help button trick worked for 1.08.
But trying to put on the linked 2.04 on the same way, gets me "bad script".
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3217
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #787 on: September 04, 2021, 02:32:26 pm »
Thanks!
The help button trick worked for 1.08.
But trying to put on the linked 2.04 on the same way, gets me "bad script".

 :-// Why not read a little? It's in this page...

https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3616221/#msg3616221
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23018
  • Country: gb
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #788 on: September 04, 2021, 02:33:43 pm »
I had to do the finish upgrade script on mine before applying 2.05. If I didn't it trashed it back to a DG811  :(

Not sure what finish upgrade actually does TBH.
 

Offline TinkeringSteve

  • Frequent Contributor
  • **
  • Posts: 289
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #789 on: September 04, 2021, 02:37:17 pm »
I did not do any update other than 108 and now this script one - he did not complain about bad script after letting it boot first, and then putting in the USB stick, though.

On the rigol site I only see 2.0.6 now, not 2.0.5, will that also work?
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3217
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #790 on: September 04, 2021, 02:49:19 pm »
I did not do any update other than 108 and now this script one - he did not complain about bad script after letting it boot first, and then putting in the USB stick, though.

On the rigol site I only see 2.0.6 now, not 2.0.5, will that also work?

What is your current version, model, and S/N is correct?
 

Offline TinkeringSteve

  • Frequent Contributor
  • **
  • Posts: 289
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #791 on: September 04, 2021, 02:52:19 pm »
I did not do any update other than 108 and now this script one - he did not complain about bad script after letting it boot first, and then putting in the USB stick, though.

On the rigol site I only see 2.0.6 now, not 2.0.5, will that also work?

What is your current version, model, and S/N is correct?

After this script, I now uodated to 2.0.4 that I found without needing to login to Rigol (have no login yet).
Now it is saying I do have DG992, sn is DG8000....1, so not my actual one.
Maybe 2.0.4 is good enough anyway? It sounds a lot more mature than 1.0.8 :)
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3217
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #792 on: September 04, 2021, 03:00:27 pm »
I did not do any update other than 108 and now this script one - he did not complain about bad script after letting it boot first, and then putting in the USB stick, though.

On the rigol site I only see 2.0.6 now, not 2.0.5, will that also work?

What is your current version, model, and S/N is correct?

After this script, I now uodated to 2.0.4 that I found without needing to login to Rigol (have no login yet).
Now it is saying I do have DG992, sn is DG8000....1, so not my actual one.
Maybe 2.0.4 is good enough anyway? It sounds a lot more mature than 1.0.8 :)

Read the instructions to correct the S/N while on 1.08. Do it, reboot, check and then upgrade to 2.06.
 
The following users thanked this post: TinkeringSteve

Offline TinkeringSteve

  • Frequent Contributor
  • **
  • Posts: 289
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #793 on: September 04, 2021, 04:21:50 pm »
How does the Rigol signup to get the firmware actually work?
First, they display an all-caps captcha but really want lower case letters to send the verification email... And then if I copy the code form the email, it doesn't work, WTF. (neither as lower nor upper case)
The ones who made that site need to be punched, a lot.
 

Offline Swat

  • Contributor
  • Posts: 21
  • Country: cz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #794 on: September 04, 2021, 04:40:49 pm »
I just registered as well, I used capital letters in the capcha, but I left the code field blank and pressed the button. The code arrived in 5 minutes - I was already quite nervous. Then I noticed that the capcha had changed in the meantime, so I rewrote it and the registration went well.
 

Offline TinkeringSteve

  • Frequent Contributor
  • **
  • Posts: 289
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #795 on: September 04, 2021, 04:42:45 pm »
I just registered as well, I used capital letters in the capcha, but I left the code field blank and pressed the button. The code arrived in 5 minutes - I was already quite nervous. Then I noticed that the capcha had changed in the meantime, so I rewrote it and the registration went well.

As said, I did get the code in the mail.
And I also did notice that the captcha changed - about 10 times trying to correct it, but my eyes are not bad and I doubt I am constantly getting it wrong, so I'm not too inclined to continue that game.
 

Offline TinkeringSteve

  • Frequent Contributor
  • **
  • Posts: 289
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #796 on: September 04, 2021, 07:22:37 pm »
Funny, here it is without login:

https://www.rigolna.com/firmware/
 

Offline Swat

  • Contributor
  • Posts: 21
  • Country: cz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #797 on: September 07, 2021, 12:32:00 pm »
to tv84:
Hi, I did a downgrade successfully  :) (see fig. 1) 1264447-0  according to you (and other great guys here). The original model was DG812 with firmware 2.05. Then I wanted to upgrade to the latest official version from Rigol, but this didn't go well. Everything returned to the original model, only with the new firmware (see fig. 2) 1264453-1
I've done a new downgrade, so I'm ready again for that last step, but I don't know what to do now.
« Last Edit: September 07, 2021, 06:14:04 pm by Swat »
 

Offline TinkeringSteve

  • Frequent Contributor
  • **
  • Posts: 289
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #798 on: September 08, 2021, 05:31:43 pm »
go back a page or two, someone lists all the necessary steps ther, in a numbered list - look for it.
You'll also see my posts there with some confusions, but from folloing that, you should get it working.
 

Offline Swat

  • Contributor
  • Posts: 21
  • Country: cz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #799 on: September 08, 2021, 06:18:15 pm »
Thank you very much for your reply!
I followed exactly that list - the only step I missed was number 4. Somewhere earlier I read that it was not necessary for my original 2.05. That's why I turned directly to tv84. Do you think that could be a problem? Did you manage to reach the latest firmware version 2.06? I welcome any advice.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf