EEVblog Electronics Community Forum

Products => Test Equipment => Topic started by: maxwell3e10 on September 11, 2018, 04:35:23 pm

Title: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on September 11, 2018, 04:35:23 pm
It looks like Rigol released a new series of function generators with 16-bit vertical resolution. The models range from DG811 - 1 channel 10 MHz for $279 to DG992 - 2 channel 100 MHz for $1000.
DG822 -2 channel 25 MHz with 10 MHz square wave and 125 MSa/s for $329 might be the sweet spot.

I've been looking recently at high vertical resolution generators, so I am curious how the new Rigol ones would compare with SDG2042X and Keysight 33522B.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kuba_eM on September 11, 2018, 04:53:10 pm
but the look is like a horror movie ...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: simone.pignatti on September 11, 2018, 04:57:03 pm
well, launch date is tomorrow September the 12th :)
DG800 and DG900 are entry level models not to compete with SDG2000X or 33522B.

DG800 data sheet
https://www.batterfly.com/PDF/RIGOL/DG8e9/DG800_Datasheet_EN.pdf (https://www.batterfly.com/PDF/RIGOL/DG8e9/DG800_Datasheet_EN.pdf)

DG900 data sheet
https://www.batterfly.com/PDF/RIGOL/DG8e9/DG900_Datasheet_EN.pdf (https://www.batterfly.com/PDF/RIGOL/DG8e9/DG900_Datasheet_EN.pdf)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on September 11, 2018, 07:09:39 pm
DG800 and DG900 are entry level models not to compete with SDG2000X or 33522B.

They all have SiFi II/True Arb/TrueForm that is supposed to improve waveform fidelity and reduce jitter.
It would be interesting to compare their approaches to waveform interpolation and just the cleanliness of a sine wave on a spectrum analyzer. 

DG800 datasheet says 200 ps jitter or 5 ps jitter depending on the filter for arbitrary waveform. SDG2000X datasheet says 150 ps jitter, no additional filter. 33522B says 40 ps to 5 ps, depending on filter.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tautech on September 11, 2018, 07:52:45 pm
It looks like Rigol released a new series of function generators with 16-bit vertical resolution. The models range from DG811 - 1 channel 10 MHz for $279 to DG992 - 2 channel 100 MHz for $1000.
DG822 -2 channel 25 MHz with 10 MHz square wave and 125 MSa/s for $329 might be the sweet spot.


SDG1032X is 150 MSa, 14 bit and does square to 30 MHz for just a few $ more. SDG1062X goes to 60 MHz square wave.
SDG2042X is 1.2 GSa, 16 bit and does square wave to 25 MHz.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tautech on September 11, 2018, 08:07:14 pm
SDG2042X is 1.2 GSa, 16 bit and does square wave to 25 MHz.

Did you miss a zero?
Nope.
Sine is only 40 MHz on that model but for those that want to hack them it can be improved to 120 MHz (SDG2122X) but still square is 25 MHz.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ogden on September 11, 2018, 08:56:02 pm
Booby prize of design awards goes to... Rigol 16-bit function generator!!!!

:palm:

Design with every new instrument is getting worse. They shall check mental health of designers and product decision makers ASAP.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: blackdog on September 11, 2018, 09:13:43 pm
Hi,
For anyone who does not know yet, necessary for a good square wave representation, at least 10x more bandwidth is required than for a sinus.

So if the generator has a maximum sine frequency of 40MHz then at least 400MHZ bandwidth is needed from the DAC and the amplifier steps behind this.
For a really nice block reproduction I usually use 15x the bandwidth.

Yes i know, live sucks  :-DD

Do not forget to check the max output level, at the max Frequency of the generator, and get dissapointed (almost all generators have a  mutch lower output level at the higer frequency)

Kind regards,
Bram
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: MikeP on September 11, 2018, 09:16:28 pm
 Total Harmonic Distortion[1] <0.075% (10 Hz to 20 kHz)
 It 's about -63dB.  :wtf:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Pinkus on September 11, 2018, 09:45:50 pm
Booby prize of design awards goes to... Rigol 16-bit function generator!!!!

:palm:

Design with every new instrument is getting worse. They shall check mental health of designers and product decision makers ASAP.
But you have to keep in mind that they designed the case so that the air can circulate, even if the device is next to or under other devices. That's why a fanless design was possible.
Thats: +1
Also: real power switch: +1

I do not mind the look of the back of a housing a lot, as long as the front (which I am seeing all the time and I am working with) is fine.

They still use different shapes of buttons, but I would be able to tolerate it here as (probably because of the lack of more buttons) the design is clear and not crowded. They could have done worse.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: EEVblog on September 11, 2018, 10:16:03 pm
Someone was thinking

(https://i.imgur.com/TFEBgBZ.png)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Daruosha on September 11, 2018, 10:46:03 pm
Booby prize of design awards goes to... Rigol 16-bit function generator!!!!

:palm:

Design with every new instrument is getting worse. They shall check mental health of designers and product decision makers ASAP.

Are these AWGs designed for gamers? Somebody please find the head designer and slap him as hard as possible in the face! WTF!! Look at the top of the unit in the datasheets.  |O :-DD

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on September 11, 2018, 11:08:31 pm
Are these AWGs are designed for gamers? Somebody please find the head designer and slap him as hard as possible in the face! WTF!! Look at the top of the unit in the datasheets.  |O :-DD

It looks a bit wild, but if something else is stacked on top (it seems like it is designed to accommodate this), then you won't even see the top.

Consider how often people here compare about fan noise for hobbyist instruments, it seems like they are catering directly to that audience. Of course this could be done without the wild stylings too.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: DaJMasta on September 11, 2018, 11:39:49 pm
Fanless is great, crazy gaming PC design doesn't match anything on my bench.  I don't really think industrial equipment needs to look scifi (or have SciFi II tech  :-DD) or be super edgy.... at least no RGB lights.


Doesn't seem like incredible pricing, but it's about competitive and the waveform memory seems big, hopefully they have a lot of built in modes and patterns.


EDIT: oh actually the 800 series looks much more like a bit of test gear.  Maybe there's some LeCroy bench where the 900 fits in terms of color, at least, but the DG900 wouldn't fit next to their own brand new DS7000.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on September 12, 2018, 02:45:15 am
Wrong design for the market, but at least the buttons/labels all face the same direction (looking at you, DS7000!).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: xrunner on September 12, 2018, 03:18:14 am
How can I set my coffee cup on top of that?  :(
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on September 12, 2018, 05:23:11 am
How can I set my coffee cup on top of that?  :(

Have Rigol design a coffe cup ?   8)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on September 12, 2018, 05:28:21 am
 :-DD Good one, Tom. Maybe the gen will keep it warm for you, too — but only warm :P.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on September 12, 2018, 06:10:04 am
So since it doesn't make any fan noise anymore, maybe searching for "noise DG822" in the future will instead reveal more results on how well the 16-bit ADC is working.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maukka on September 12, 2018, 06:19:25 am
One unlisted Youtube video on the product page (https://www.rigol.eu/products/waveform-generators/dg800/):

https://www.youtube.com/watch?v=yV-cUezMsNQ (https://www.youtube.com/watch?v=yV-cUezMsNQ)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on September 12, 2018, 06:26:30 am
Reminds me of the Flying Sub (https://en.wikipedia.org/wiki/USOS_Seaview#Refit_and_the_Flying_Sub) from the TV series, Voyage to the Bottom of the Sea (https://en.wikipedia.org/wiki/Voyage_to_the_Bottom_of_the_Sea_(TV_series)).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: MrW0lf on September 12, 2018, 06:37:24 am
(https://s8295.pcdn.co/wp-content/uploads/2015/03/jet1-thumbnail-e1427745032646.jpg)

Are they trying to fly under the bug radar with this new stealth design ::)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mikeselectricstuff on September 12, 2018, 08:04:12 am
If that tiny rocker switch is a real mains switch I can't see it lasting long
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mikeselectricstuff on September 12, 2018, 08:07:08 am
"seven bit 240MHz function generator".. I think they mean seven digit...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timgiles on September 12, 2018, 08:47:13 am
Kinda feel like the black 900 model should have gold plated connectors.... bit of a missed opportunity!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on September 12, 2018, 09:22:41 am
Help ! Darth Vader tried to land on my lab desk !  >:D

Well, its an entry level thing. The 16bits look nice, but when you see the distortion specs they are 10dB worse than the DG1000Z series.
Output level and square wave data (risetime, max. frequency) is not spectacular, either.

I dont think I really need one of those ...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: xrunner on September 12, 2018, 11:57:19 am
How can I set my coffee cup on top of that?  :(

Have Rigol design a coffe cup ?   8)

I can see it coming - pure marketing genius from Rigol! They're leaning! :clap:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Andrew on September 12, 2018, 01:09:49 pm
If it uses "Natural Heat Dissipation Without Fan" then what does the internal fan do?

Page 11 of both datasheets "Cooling Method: Fan cooled"?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: asmi on September 12, 2018, 01:17:37 pm
I like the way it looks! Definitely 10000 times better than typical boring white boxes that other vendors are pumping out...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on September 12, 2018, 01:40:04 pm
If you like the design, I have some more suggestions for you:

- LED lighting like a gaming PC or car stereo that flickers in the rythm of output modulation
- breathing noises if the unit suffers from higher temperatures
- avaliability in all major neon colors
- a "special" edition in gold for the higher bandwidth models
- animated GUI with all kinds of beeps, grunts and sounds following your touchscreen inputs
- a "home entertainment" model with just 30dB harmonic suppression, but extra space invaders effects for a very attractive price.

 :-- |O :wtf: :palm: :palm: :palm:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: asmi on September 12, 2018, 02:38:18 pm
If you like the design, I have some more suggestions for you:
<skipped>
See ya guys are so boring, you can't even come up with good ideas! :-DD I love that Rigol doesn't listen to old farts who can't design any TME that doesn't look like a shoebox from $10 shoes off Walmart.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: snarkysparky on September 12, 2018, 03:16:25 pm
But the Siglent SDG1032X has 16k point sample length.

rigol DG800 says 8 Meg points.   

Have to go with Rigol based on that.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: simone.pignatti on September 12, 2018, 03:58:32 pm
DG800 and DG900 are entry level models not to compete with SDG2000X or 33522B.

They all have SiFi II/True Arb/TrueForm that is supposed to improve waveform fidelity and reduce jitter.
It would be interesting to compare their approaches to waveform interpolation and just the cleanliness of a sine wave on a spectrum analyzer. 

DG800 datasheet says 200 ps jitter or 5 ps jitter depending on the filter for arbitrary waveform. SDG2000X datasheet says 150 ps jitter, no additional filter. 33522B says 40 ps to 5 ps, depending on filter.
take a look at tis video, the unit is tested by oscilloscope and spectrum analyzer

https://www.youtube.com/watch?v=1mSV5CZRRD4 (https://www.youtube.com/watch?v=1mSV5CZRRD4)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kleinstein on September 12, 2018, 04:18:03 pm
The case looks really odd. The form might help with cooling, but a would still prefer the classic square full metal box. At the usually low power passive cooling might still work in that form factor with sufficient vents.

For the noise I would prefer to have fan less cooling under normal conditions and a fan that sets in in a high temperature environment (e.g. hot rack, or high ambient).

The specs look not that bad.

For the square wave I wonder if they could offer a special square wave channel to provide just a square (maybe PWM) signal, up to higher frequencies. No need for ARB.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on September 12, 2018, 04:50:44 pm
"seven bit 240MHz function generator".. I think they mean seven digit...

Yes. This seems to be a growing trend in China. For some reason, they've adopted the word "bit" to mean "digit." I'm seeing it on more and more marketing materials and, when I asked one manufacturer about it, they said that "bit" is what "everyone" calls it. :palm:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: xrunner on September 12, 2018, 05:05:44 pm
Yes. This seems to be a growing trend in China. For some reason, they've adopted the word "bit" to mean "digit." I'm seeing it on more and more marketing materials and, when I asked one manufacturer about it, they said that "bit" is what "everyone" calls it. :palm:

Well when we look at your forum name - of course you would notice this.  :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on September 12, 2018, 05:08:22 pm
Yes. If I didn't notice, you'd be a bit disappointed. :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timgiles on September 12, 2018, 06:07:53 pm
Any news if Dave is getting hold of either for a tear down?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: blackdog on September 12, 2018, 06:59:45 pm
They must be kidding!!!!

WTF..., a real nice high performance puls, SiFi II Technology!
(http://www.bramcam.nl/Diversen/Rigol-PulsError-01.png)

Dubble loaded output? two 50 Ohm cables on one output whoehhahaha
Who makes these videos, someone who has just left school? a video blogger...

Kind regards,
Bram



Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on September 12, 2018, 07:11:02 pm
... I've seen it too. This, in a risetime range of a few nanoseconds, it simply silly.

A 50 Ohms power splitter or divider is absolutely neccessary for signal fidelity and freedom from cable reflections.

If you ask me, their scope and analyzer inputs are not perfect 50Ohms, either.

All the SiFi inside the instrument does not help against incompetent people sitting in front of it.  :palm:

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Berni on September 13, 2018, 05:47:59 am
What i want to know is how good the signals look when you ask it to reproduce a weird frequency square wave such as 10.16456 MHz.

Does it make it jitter all over the place like most cheap arb signal generators?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: simone.pignatti on September 13, 2018, 06:59:31 am
What i want to know is how good the signals look when you ask it to reproduce a weird frequency square wave such as 10.16456 MHz.

Does it make it jitter all over the place like most cheap arb signal generators?
We get the units begin of next week then I will do some test using both RIGOL MSO/DS7000 and R&S RTM3000 and post the results.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: pilotchup on September 13, 2018, 07:18:04 am
I don't understand the DG900 series. It appears to be pretty much inferior across the board when compared to Siglent SDG2000x series, a piece of gear that has been in the market for years? Both in price and specs. Especially when you consider the 2000x ability to be "unlocked" to the high end model.
I literally JUST bought a SDG2000x (almost went for the 6000x..) days ago, and after seeing this new Rigol device today.. I am really pretty confident in my decision to stay with Siglent.
I'm surprised Rigol isn't trying to be more competitive with a new product like this, either in specs or price, in respect to their MAIN competition, Siglent.

The look of the product does not bother me at all, I appreciate their attempt at styling because it at least makes sense - it was mostly made to allow a zero fan set up. They just tried to make it a bit more spiffy looking after they got the functional style set for having no fan and being stacked with other gear. At least they didn't make it as atrocious as their new 7000 series scope buttons/style.

The one thing I do not like, after watching that video above, is how the UI seems to work. Seems very bulky and annoying to actually use compared to other vendors. I appreciate Siglent's method of allowing usage using buttons or touch on their gens.

I don't know, seems like this one is a big let down for a company like Rigol. It's pretty crazy to say that, since thinking about the past this is an AMAZING amount of specs for the price.. but when you have Siglent out there now doing really well, it's hard to accept this as "good job Rigol". Oh well, I'm excited for a review & teardown nonetheless. Cheers!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Berni on September 13, 2018, 07:22:03 am

We get the units begin of next week then I will do some test using both RIGOL MSO/DS7000 and R&S RTM3000 and post the results.

Awesome, looking forward to it.

Hopefully one of the test gear vendors also gets to loan one to Dave (Don't think Rigol wants to work directly with him).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: simone.pignatti on September 13, 2018, 07:24:40 am

We get the units begin of next week then I will do some test using both RIGOL MSO/DS7000 and R&S RTM3000 and post the results.

Awesome, looking forward to it.

Hopefully one of the test gear vendors also gets to loan one to Dave (Don't think Rigol wants to work directly with him).
:-+ don't kill me if I do mistake on the video  :phew:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timgiles on September 13, 2018, 07:46:56 am

We get the units begin of next week then I will do some test using both RIGOL MSO/DS7000 and R&S RTM3000 and post the results.

Awesome, looking forward to it.

Hopefully one of the test gear vendors also gets to loan one to Dave (Don't think Rigol wants to work directly with him).

Why dont Rigol want to play ball with Dave?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rf-loop on September 13, 2018, 10:06:10 am
What i want to know is how good the signals look when you ask it to reproduce a weird frequency square wave such as 10.16456 MHz.

Does it make it jitter all over the place like most cheap arb signal generators?

For reference Cheap Siglent SDG1032X
Square.
Cycle to Cycle jitter. Freq 10.16456MHz
(note, oscilloscope SDS1104X-Emod and SDG both run independently with they own internal reference and this sum jitters and drifts also included and oscilloscope itself trigger jitter)

Perhaps we later see how this Rigol performs.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 13, 2018, 12:40:28 pm
Oh sexy. I'm going to grab a DG832 when they actually become available here.

35MHz dual channel for less than my DG1022Z cost. Can't moan at that. Also solves the one thing that pisses me off about the DG1022Z; the noise!

Edit: Looks like arse but to quote my father "who looks at the mantelpiece while you're poking the fire"
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Bassman59 on September 13, 2018, 05:08:28 pm
Oh sexy. I'm going to grab a DG832 when they actually become available here.

DG822 is in stock here in the colonies ... I am trying to justify the purchase.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 13, 2018, 06:28:28 pm
You’re closer to the source than we are here :)

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Synthtech on September 13, 2018, 07:47:34 pm
Hats off to Rigol for the innovative case, one less fan running in the room is definitely a very good thing even if that requires a radical looking case. It might look ugly but at least it isn’t as ugly to look at as that wierd mismatched 3 colour logo plate that Siglent sticks on the front of everything.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 13, 2018, 08:11:35 pm
If you want a Siglent without an ugly logo you can pay through the nose and get an RS Pro branded one  :palm:

Ok dug further into this now I have some time. I think my major concern with the DG832 is the touch interface. The current DG1022Z I have muscle memory for. Sure the screen is smaller but it has a metric fuck ton more buttons on it. I may futz an entry and blow up a DUT one day with a touch screen.

Image for comparison:

(https://i.imgur.com/TPHvC7M.png)

On DG1022Z, to set say 7030 KHz, you press:
Code: [Select]
[freq soft] [7] [0] [3] [0] [KHz soft]
Dg832 you:
Code: [Select]
[smudge] [squark] [fum] [bib] [flib] [nark] [scrark]
Also the DG1022Z you could clearly beat Hulk to death with it in about 2 minutes flat and it wouldn't even have a dent. DG832 looks like an ebay 69 quid jobby in size and quality.

I might skip this actually.

Edit: recon occuring:

(https://i.imgur.com/OiGjrkD.png)

Hey Siglent if you're listening, please don't add a touch interface to your stuff. I'll buy one when my DG1022Z drops dead but only if it has buttons :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tautech on September 13, 2018, 08:31:31 pm
Edit: recon occuring:

(https://i.imgur.com/OiGjrkD.png)

Hey Siglent if you're listening, please don't add a touch interface to your stuff.
Already in some existing and 'to come' models.
WS3000/SDS3000    < resistive and apparently not nice.

Capacitive:
SDG2000X models    < rarely use touch but it seems just fine.
SDG6000X models    < should be equivalent to 2000X models
SVA1015X                < got one and it's touch is excellent !
Coming
SDS5000X

Any others don't jump to mind.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on September 13, 2018, 08:40:40 pm
Just from the looks its clear that the DG1022Z is built like a rock compared to the new all-plastic models.

I dont drop my stuff so often, but a full metal jacket has other advantages: resistance to EMI.
I am curious if RIGOL also made compromises here. Has somebody tried this yet ?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 13, 2018, 08:47:24 pm
Edit: recon occuring:

(https://i.imgur.com/OiGjrkD.png)

Hey Siglent if you're listening, please don't add a touch interface to your stuff.
Already in some existing and 'to come' models.
WS3000/SDS3000    < resistive and apparently not nice.

Capacitive:
SDG2000X models    < rarely use touch but it seems just fine.
SDG6000X models    < should be equivalent to 2000X models
SVA1015X                < got one and it's touch is excellent !
Coming
SDS5000X

Any others don't jump to mind.

Joy. Why? Honestly.

I don't get it. It's just bad. People need to stop coming up with this shit. I'll explain why:

1. Your hand obscures half the interface when you're using it.
2. There is no haptic feedback.
3. Everything relies on precise absolute positioning of your hands. They have to iterate the position via visual feedback. Fingers are pretty good little sensors once you get close but there's nothing to feel.
4. It's physically more demanding and tiring than physical controls.
5. The interface elements aren't standardised so every device is a complete context switch.
6. The panels are fragile.

But fuck me, those Chinese capacitive displays lifted off no brand smartphone lines will save us so many dollars on buttons and we can say "look everybody it's got a touch screen".

Edit: this is even a million times worse than the greatest fad ever; touch screen laptops. When you have a touch screen scope for example, the screen is even higher up so when your arms get tired it's even more painful to use it with the above constraints.

Just from the looks its clear that the DG1022Z is built like a rock compared to the new all-plastic models.

I dont drop my stuff so often, but a full metal jacket has other advantages: resistance to EMI.
I am curious if RIGOL also made compromises here. Has somebody tried this yet ?

You probably don't drop it as often you're right but a lot of equipment in labs is shared and moved around regularly. That thing has zero protection on it at all from corner knocks. I reckon you could drop a 1022Z front on and it'd survive. If you look at the old HP 546xx series scopes, one of the design flaws that I have actually experienced is the BNCs stick out of the front and the entire mechanical load is on the motherboard. One knock and it'll crack the board. No secondary protection on those either. I imagine this is vulnerable too. Butt side of a DG1022Z for reference - it's 90% protection

(https://i.imgur.com/IGitTrT.jpg)

Good point there. I'm worried about emissions with this. If I put my DG1022Z next to an HF transceiver I can't hear a thing and that is literally perfect. If I did the same with my old plastic cased TG220 function generator you could hear it strongly in the receiver. The transceiver is very heavily shielded as well (cast aluminium chassis, steel panels).

Hmm. I smell a turd I think.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Synthtech on September 13, 2018, 08:57:09 pm
I have to agree about touch screens.  I know that they have so many amazing advantages but I bypassed the new Keithley 6 1/2 digit multimeter because of it. I really enjoy using my old Agilent 34401A, it’s as stable as a church pew and I recently replaced the VFD display and the part cost me $70.00. based on how so many of the older HP 34401A’s are still performing it’s not impossible that that I will still be using it in 10-20 years time.

I am not sure how I would fare if in 10 years I went to look for a replacement touch screen for the Keithley. Longevity counts for me, there’s enough scrap electronics in the world as it is.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on September 13, 2018, 08:59:54 pm
At the risk of being cursed as too conservative, I prefer buttons to touchscreens as well.
I do have a lot of touchy instruments, though (see profile).
 
Reasons are:

- I hate fingerprints on my screens
- typing or wheeling is faster and has less entry errors than guestures due to haptic feedback
- touchscreens dont last forever. They get numb over the years, especially when used frequently.
  No problem for short-lived junk, but not smart for expensive lab stuff that is supposed to last for decades.

IMHO, touchscreens are a lot cheaper to make and more flexible than a classic panel, agreed.
So if your product is as mature as a green banana you will love a touchscreen because all is done by software
and can be changed weekly if needed.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on September 14, 2018, 12:58:20 am
Touchscreens can be useful for some things, but replacing buttons and knobs isn't one of them. Even if you want to have a flexible interface, that's already been done successfully with a combination of screen space (for labels) and physical buttons.

As with many wank (as Dave might put it) features, they'll go to an extreme before (hopefully) finding a reasonable balance.

I really enjoy using my old Agilent 34401A, it’s as stable as a church pew and I recently replaced the VFD display and the part cost me $70.00. based on how so many of the older HP 34401A’s are still performing it’s not impossible that that I will still be using it in 10-20 years time.

I am not sure how I would fare if in 10 years I went to look for a replacement touch screen for the Keithley. Longevity counts for me, there’s enough scrap electronics in the world as it is.

There's been a successful project replacing the 34401A VFD with an OLED display (a TFT LCD shouldn't be much different). Something similar could probably be done for Keithley ones as well.

If all else fails, those meters can also be used remotely. So, they'll be useful until they're dead, regardless how long the displays last.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Berni on September 14, 2018, 05:20:06 am
Touchscreens are a good idea and capacitive ones have no moving parts so should be very reliable. But they are NOT a replacement for buttons!

A touchscreen is useful as a complement to the existing buttons. Would you want the horizontal scale control on your scope on the touchscreen? Hell no! But you could probably do something useful with cursors where you just tap two points and it puts a set of cursors on those spots (While still having a cursor button where the soft knob moves them). Or you might want to enter in a frequency of 2.048 MHz into the built in signal gen. Sure you can do it with the knob but that takes a bit since scopes generally don't have a numeric keypad, but if you tap the setting you could have a big touchscreen keypad pop up where you type it in and it disappears once done.

I do have a touchscreen scope (MSO9000) but the UI requires you to do most stuff on the screen rather than with buttons. It does some things right but not everything. And if im going to use the scope for some time i just use a mouse with it instead as its faster and easier than touch.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tautech on September 14, 2018, 07:55:42 am
Edit: recon occuring:

(https://i.imgur.com/OiGjrkD.png)

Hey Siglent if you're listening, please don't add a touch interface to your stuff.
Already in some existing and 'to come' models.
WS3000/SDS3000    < resistive and apparently not nice.

Capacitive:
SDG2000X models    < rarely use touch but it seems just fine.
SDG6000X models    < should be equivalent to 2000X models
SVA1015X                < got one and it's touch is excellent !
Coming
SDS5000X

Any others don't jump to mind.

Joy. Why? Honestly.

I don't get it. It's just bad. People need to stop coming up with this shit. I'll explain why:

1. Your hand obscures half the interface when you're using it.
2. There is no haptic feedback.
3. Everything relies on precise absolute positioning of your hands. They have to iterate the position via visual feedback. Fingers are pretty good little sensors once you get close but there's nothing to feel.
4. It's physically more demanding and tiring than physical controls.
5. The interface elements aren't standardised so every device is a complete context switch.
6. The panels are fragile.

But fuck me, those Chinese capacitive displays lifted off no brand smartphone lines will save us so many dollars on buttons and we can say "look everybody it's got a touch screen".
You're really showing your age now and I'm a good bit older than you.  :P

A few years back I'd have thought similar but every bit of equipment a has different UI requirement like WTF would you want a 'pinch to zoom' on an AWG for instance.
Placement of the touch screen elements has everything to do with usability and if they're aligned with physical buttons the choice is yours of which to use. For some elements a touch screen is faster and less effort, quite contrary to your misguided beliefs. Other elements of course require user feedback such as indented encoders  and numerical keypads and it's unlikely they'll be replaced anytime soon with touch controls especially in instruments with small displays and/or complex multi-menued UI's.
You comment on the users hand obscuring the display, well yes but in some in some implementations a quick access panel is available to place (drag drop) anywhere that suits.
Like you I've never been a great fan of touch displays but the more I get to use instruments that have them the more I understand their advantages with good implementation.

Panels fragile ? BS, double BS !  :bullshit:

You really need get out more !  :P

Just to wind some of ya's up some more, in not too many years I predict there will be instrument ranges from many manufacturers only available with touch displays and also ranges of instruments with physical controls too but at an additional cost.
Such is the pace of change in the last few decades.

 :popcorn:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 14, 2018, 08:44:45 am
Sorry for the length of this.

You're really showing your age now and I'm a good bit older than you.  :P

It's not age related this. It's actually down to real quantifiable experience.

One of the products I was wholly in charge of in the early 00's was a virtual interface platform that allowed people to prototype hardware and software based interfaces and wire them to the underlying electronics. This consisted of a COTS PC and various standard PCI digital interface cards and numerous Matrox cards connected to physical controls and virtual displays. There was a whole load of VC++ I am not proud of under there :D ... The result was your avionics module could be tried in situ in simulator platforms and the controls could be moved around and look for HCI related problems with the end users (pilots, military personel etc). This spanned avionics, ground support systems, production line controls, everything.

One of the major findings from this platform was that the important thing is user preference and dividing the control surface into two groups of functions: primary and secondary. Primary functions are things that are critical to the operation of the product. Secondary functions are not so important and are used occasionally.

We found that primary functions MUST be physical tactile controls with haptic feedback and must be comfortable or fatigue builds up over time leading to errors, physical pain and generally low opinion of the products. I've even seen it where people get shoulder problems after having to look around the side of something that their hand is obscuring a hundred times a day. Even little things like this only come from observing the user for days at a time and doing several hardware prototype revisions (which was expensive and why I built the above).

Secondary functions it really doesn't matter as they are used so infrequently. Stick it in a menu somewhere!

Literally everything you have on a standard analogue scope, DMM, signal generator should still be primary physical controls on every piece of test gear unconditionally.

This comes from watching hundreds of people doing real work with hardware for 3 years using this software and building interfaces. This is quantifiable and there's a ton of research out there which backs this up. Go and have a look around.

This is why the TDS210/220, while not having an amazing spec sheet, is such a nice bit of kit to use. It has that functionality clearly divided and clearly implemented. The interface is literally "right".

A few years back I'd have thought similar but every bit of equipment a has different UI requirement like WTF would you want a 'pinch to zoom' on an AWG for instance.
Placement of the touch screen elements has everything to do with usability and if they're aligned with physical buttons the choice is yours of which to use. For some elements a touch screen is faster and less effort, quite contrary to your misguided beliefs. Other elements of course require user feedback such as indented encoders  and numerical keypads and it's unlikely they'll be replaced anytime soon with touch controls especially in instruments with small displays and/or complex multi-menued UI's.
You comment on the users hand obscuring the display, well yes but in some in some implementations a quick access panel is available to place (drag drop) anywhere that suits.
Like you I've never been a great fan of touch displays but the more I get to use instruments that have them the more I understand their advantages with good implementation.

I think I've covered the above already.

I will say that if you look at the quantifiable disaster that is metro / UWP on Windows platforms over the last few years, you will see that it has started to move away from the touch focus to a keyboard and mouse focus again. Because it literally didn't work in the real world. It's tough to admit this. People should learn from other people's mistakes. win32 was not a mistake. UWP is.

Panels fragile ? BS, double BS !  :bullshit:

You really need get out more !  :P

I think I did :)

They are incredibly fragile. If they weren't there wouldn't be at least 100 phone repair shops within a mile of me. And the phones are pretty much the best bits of engineering out there. They have had the highest overall investment in technology and reliability over the last decade. But they still get broken because you don't get to choose the hands in which they are placed.

Same goes for test gear which is pretty much ritually abused. Back when I was at university, someone popped a DMM screen with a flying test lead for example. And that had a layer of Fluke around it. And working for the test gear department of a large company for a bit, I actually saw all the creative ways people fucked up their kit.

Just to wind some of ya's up some more, in not too many years I predict there will be instrument ranges from many manufacturers only available with touch displays and also ranges of instruments with physical controls too but at an additional cost.
Such is the pace of change in the last few decades.

 :popcorn:

This is a side effect known as the feature bell curve. What we have is roughly the pinnacle of feature completeness at the moment. We have decent quality reliable feature load, we have devices which are completely functional and reliable and we have low cost manufacturing. Unfortunately when we get into this state, there is a latent desire to innovate because of fear from other manufacturers innovating first. This results in either two outcomes:

1. Firstly we have negative innovation. Apple are good at this. They start removing things people use and need to build the ultimate clean interface and system. This harms the user by removing established patterns.
2. Secondly we have negative innovation again. This is where established paradigms are broken, simply for the sake of labeling something as innovation.

This is a type 2 failure mode. Thus people are so afraid to do minor revisions of their products and only reinvent them every few years due to the pressure from above and the marketing teams. Also there is a pressure to cut costs. If you tick both boxes you think you have won.

Yaesu are a fine example of sticking a finger up to this. They took the FT-817 platform which is nigh on 20 years old now and released the FT-818. People nearly shit a brick because it was literally almost exactly the same as the FT-817. 20 years of progress?!?!?! What is this?!?!?!? Why should you buy this?!?!?  That was the sentiment. Well it turns out you shouldn't if you have an FT-817. This is shocking to the masses apparently who have been programmed with itchy upgrade dick syndrome (fear of obsolescence) and the manufacturers desire to sell new products all the time to the same people.  What did they do with the FT-818? Well they re-engineered the guts so that Yaesu could provide the same functionality with newer parts. That was it.  The interface for it works. Didn't need changing. You can drive it with your eyes shut.

Same with HP / Agilent / Keysight. Over the last 25 years some of their products haven't changed, like the E36xx platform and the 34401A for example. When you look at their newer lines, taking the E36312A for example, there are still physical controls. Even the high end InfiniVision 6000 scopes with the touch screen still have ALL of the primary controls on the panel with no channel sharing for example. They paid for a user study.

This is simply the bottom end of the market throwing cost cutting fad crap out to outdo each other and not even bothering to do a user study.

I'll throw another "right" user interface on the table:

(https://i.imgur.com/1bRpyUP.jpg)

I'd just like to say that the DG1022Z interface isn't great, especially if you compare to the above, but the thing is an order of magnitude better than the newer touch devices for sure.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: blackdog on September 14, 2018, 09:27:05 am
Hi tautech,

The fact that it is "modern" to have a touch control does not mean that this is a good interface for the device to which it is applied.
Almost everything in this world is driven by economics, and I can tell you, that's not a good thing, and I think you are intelligent enough to understand what I mean.

Also the Rigol generator is a good example that this is driven by the Marketers, Marketers are a really bad religion... They will demolish this world just by their drive to profit maximization.
Siglent is not different, there are so many companies that take on the bad decisions from their competitors to get 0.1% more profit in the short term...

Lets remove all the buttons! Easy, look how modern we are, look at al the option we put in it! look at al the nice colors we use, bullshit housing,
and you cant put anything on top of it and that for only for 324$!!!

And now some remarks on my Siglent SDG2042 generator.   :box:
It has a touch screen, i almost never use it, why you may ask? (you will problely think it's a nother old fart) yes i am!

I will explain it to you, when I am measuring an object I would like to keep my brain on the object,
the attention should not be drawn away by a too small screen where I have to press exactly on a position to set e.g. the output voltage, its a hell to do that....

The modern scoops and spectrum analyser with their large screens are easier to operate with a touch screen than the standard size housing such as the Siglent SDG 2042, HP 34401A, Fluke 8840A etc.

Another big mistake made by many manufacturers, on LAB power supplies is this,
I want to have a separate button for the voltage and a separate button for the current setting.
For function generators I want to have a separate button for the output level.
It always takes a lot of time to switch to modern generators to switch from frequency settings to output voltage settings and back again.

It is clear to me that the people who determine which buttons are placed on a function generator, take very few measurements themselves...

The Siglent good stuf!
I can also tell you that I am very happy with the Siglent SDG 2042, why? it is not the touch screen witch make's me cry...
This generator delivers the best square wave or pulse if you stay below 1MHz., now happy tears  :-DD
If the frequency is exactly 1MHz then the block/pulse response is not so perfect but still very good, at exactly 1MHz or higher something is switched in the generator to make the perfection go away.
It is better in this, than my HAMEG HMF2525 en my Rigol DG4162 generators.

Because of these good features of the SDG 2042 generator, it is regularly used by me for testing broadband amplifiers or adjusting scope probes.
And i can even use it to make reasonable distortion measurements on audio equipment with its lower than 0.01% distortion (< 0.007% measured with my Audio Presision measuringSet)
So its not all bad...  ;)

Kind regards,
Bram
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tautech on September 14, 2018, 10:10:36 am
@ blackdog
I don't disagree with anything you've said and it's good to get the opinions out into the open and invite/incite discussion. Of course there will be extremes of views both for and against ............anything.

WRT touch interfaces, they are still in their youth but look how far they have come in just a couple of decades when not long before that, encoders surfaced to replace pots and/or ganged switches when most thought they would be with us for all time. These touch interfaces are becoming very reliable as there no membranes, buttons or encoders to wear or fail. We see them everywhere, even the parking meter where I went to demo scopes the other day had no buttons, only credit card slot and a touch screen.  :o

It's called progress and not all like it or embrace it, that I very much understand.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mikeselectricstuff on September 14, 2018, 10:15:56 am
Touchscreens are a useful and welcome addition to testgear functionality, but it's an augmentation,  not a replacement,.Things like text entry, annotation, selecting from a long menu and dragging waveforms are genuinely useful enhancements, but gestures like pinch-zooming simply don't work on vertically oriented screens, because fingernails and joint geometry

One issue I've noticed  is that adding a fancy GUI has slowed down the response to hard buttons to near-unusability -e.g. on the  R&S RTB/RTM, the conventional double-presss on a channel button to turn it on/off is rendered essentially nonfunctional because of the excessive time taken to animate the opening the menu.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mikeselectricstuff on September 14, 2018, 10:18:40 am
IMO the arguments for/against touch controls are somewhat different for measuring instruments vs. things like siggens and PSUs.
With a measuring instrument you are always going to be looking at the screen while adjusting, but for generators you may well be looking elsewhere, like looking at another instrument or checking for smoke.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: netdudeuk on September 14, 2018, 10:18:54 am
I notice that the channel and memory upgrades are via licenses as with some of the other devices.  I wonder how long it will be before there's an equivalent riglol fix for them.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 14, 2018, 10:34:12 am
I notice that the channel and memory upgrades are via licenses as with some of the other devices.  I wonder how long it will be before there's an equivalent riglol fix for them.

A couple of hours after the right person gets their hands on them :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on September 14, 2018, 10:12:49 pm
I'll throw another "right" user interface on the table:

(https://i.imgur.com/1bRpyUP.jpg)

I'd just like to say that the DG1022Z interface isn't great, especially if you compare to the above, but the thing is an order of magnitude better than the newer touch devices for sure.

DG1022Z interface is a huge improvement over that:
- multiple important on screen info shown at the same time, no need to scroll
- dedicated numerical keys
- dedicated channel output select
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 14, 2018, 10:25:28 pm
To note I wasn’t comparing the interface of the DG1022Z to the 33120A but the 33120A to the DG832.

The 33120A is single channel and none of the buttons are double press contextual like the DG1022Z which is rather annoying. Also with the DG1022Z setting the power reference impedance is a dick no less than about three menus down.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: MrW0lf on September 15, 2018, 07:45:43 am
You really need get out more !  :P

Do you mean citypersons gathering in coffee bar and touching eachothers screens :P Then ya... But if one actually gets out eg powersports, ice fishing or whatever that involves mud, blood or negative temperatures then all you want is rugged devices with hard to press buttons eg Garmin 78. And I do (sadly) have high end smartphone with huge touchscreen so I have something to align against.

Just to wind some of ya's up some more, in not too many years I predict there will be instrument ranges from many manufacturers only available with touch displays and also ranges of instruments with physical controls too but at an additional cost.
Such is the pace of change in the last few decades.

 :popcorn:

But you see if we talking about calm soothing lab environment its all been rendered obsolete in 1968 with public demonstration of computer mouse :o
Progress is not always linear. Now many high end scopes etc get touch interfaces all being stroked with passion in promo videos but afterwards they secretly attach mouse... ;)

So beware, sometimes with age you just succumb to social=media pressure. :popcorn:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Bassman59 on September 16, 2018, 06:22:01 pm
I’m not a kid any more, and like all of you I have an opinion about capacitive touch-screen displays. For example, in my other life as a live sound mix-person, touch screens have really taken over. And whether that’s good or bad is wholly in how the entire user interface is designed. For example, the new thing about mixing on an iPad as the only interface? It’s totally great for a bar system where it’s set and forget, and it’s a godsend for ringing out monitor wedges. But you can’t mix a show on it for a reason alluded to above. Someone mentioned adjusting the signal generator while watching the result on an oscilloscope, and that’s exactly it. I watch the lead singer with my finger on his channel fader. If I have to look down to find it on a flat screen, I’ve already missed the cue.

But for other things, the touch screen gives me what I need when I need it, like on the Soundcraft Vi series or DiGico consoles. Touch the channel, it all opens up, and the row of knobs lets me adjust something. And faders are always available.

Back to this signal generator. The touch screen is of course the latest cool thing, all the kids like touch screens, blah blah. But it is also a money-saver, or at least allows reallocating BOM cost to where it matters most. So, let me see, I can get a 14-bit generator for $300 with a lot of buttons, or I can get a 16-bit generator with fewer buttons and a touch screen for that $300.

I know what I prefer.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: simone.pignatti on September 21, 2018, 08:09:43 am
here are 2 nice pictures :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 21, 2018, 08:11:53 am
Can you crack one open so we can see the guts?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: blackdog on September 21, 2018, 08:39:01 am
Hi simone.pignatti,

Thaks for the pictures, but it is of far more importance how the puls responce is of these generators...
So 1KHZ, 100KHz, 1MHz, 10MHZ 50% duty cycles is ok for the first impression, this all at minimal edge time.
So, what about professional 50 Ohm coax cables, 50 Ohm in line therminators from MiniCircuits or a other good brand.
Whit a fast edge generator you wil see the difference between the 50 Ohm therminator in your scoop or a good 50 Ohm inline therminator.

Check the responce on different frequencys and different output levels, and yes... somtimes your mouth drops open when you see the difference in performance  ;)

If you are using a spectrum analyser, use also inline attenuators, minimal 20 db to be sure your generator sees a relative good 50 ohm load and don't overload your spectrum analyzer!
Most spectrum analysers are not a nice 50 Ohm input over a broad frequency range...

Just some tips, maybe you know this already, then i shut up  :-DD

Kind regards,
Bram
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Berni on September 21, 2018, 08:44:17 am
And id like to see a jitter test.

Set the generator to a weird non round frequency square wave such as 10.123456 MHz. Trigger on one of the edges then move the time on the scope to the next rising and next falling edge.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: simone.pignatti on September 21, 2018, 08:56:51 am
And id like to see a jitter test.

Set the generator to a weird non round frequency square wave such as 10.123456 MHz. Trigger on one of the edges then move the time on the scope to the next rising and next falling edge.
do you mean something like this?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on September 21, 2018, 08:59:39 am
Provide a test unit and it will undergo the same "punishment (https://www.eevblog.com/forum/testgear/siglent-sdg6000-series-awg_s/msg1835534/#msg1835534)" on my MDA as the SDG6000X...  :P
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: commongrounder on September 28, 2018, 07:04:15 pm
I’ve been looking into these generators and noticed a difference between the 800 and 900 series other than the maximum frequency, sampling rate, and memory depth (We’ll leave the color of the case and screen out of this). On the 800 series, 16-bit arb waveform files are truncated to 14-bit, whereas the 900 series reproduces the full 16 bits. That might matter to those looking for the best signal fidelity from their created (and in-built?) arb waveforms.  Of course I wonder if this is a hardware, or software, limitation.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: MT on September 29, 2018, 12:52:45 am
Case design is hilarious , i cant buy this even if i needed , want and i had the money! :scared:
Which one of the Transformers is it?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on September 29, 2018, 12:56:58 am
They now need to design a special coffee mug that fits on top of this.  >:D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 29, 2018, 09:29:18 am
Yes the case is pretty crap. Not quite as rubbish as my ADSL router though. I have yet to find a worse one than that. https://en.avm.de/products/fritzbox/fritzbox-7560/ very MIB.  Rigol is probably misinterpreted Ridley Scott science fiction here.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on September 29, 2018, 09:45:42 pm
On the 800 series, 16-bit arb waveform files are truncated to 14-bit, whereas the 900 series reproduces the full 16 bits.

Wow, really? :palm:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on September 29, 2018, 09:48:30 pm
Your router is the most aerodynamic model on the market. I boasts a Cw value of just below 0.2, and has been carfully optimized to minimize wind noises.  :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: commongrounder on September 30, 2018, 12:21:34 am
On the 800 series, 16-bit arb waveform files are truncated to 14-bit, whereas the 900 series reproduces the full 16 bits.

Wow, really? :palm:

Check it out, from DG800 manual:

For the arbitrary waveform file, the voltage values corresponding to each waveform point are stored in binary data format. The voltage value at each point takes up 2 bytes (16 bits). DG800 only uses 14 bits, and the higher 14 bits are used to represent voltage and the lower 2 bits are not used. Therefore, its format of the binary data is from 0x0000 to 0xFFFC.

From DG900 manual:

For the arbitrary waveform file, the voltage values corresponding to each waveform point are stored in binary data format. The voltage value at each point takes up 2 bytes (16 bits). Therefore, its format of the binary data is from 0x0000 to 0xFFFF.

 :-//
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on September 30, 2018, 12:31:44 am
Nice. The title should've been, "New Rigol up to 16-bit function generators." ;D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Mr. Scram on September 30, 2018, 02:17:19 am
Bonus points for the mechanical power switch. Siglent, take note!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tautech on September 30, 2018, 10:17:03 am
Bonus points for the mechanical power switch. Siglent, take note!
FYI
ALL Siglent AWG's have always had mechanical power switches !

Further:
In the Siglent AWG range, 1kX and old models, 800 and 1k series are 14 bit while SDG2kX and 6kX models are 16 bit.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Mr. Scram on September 30, 2018, 10:42:28 am
FYI
ALL Siglent AWG's have always had mechanical power switches !

Further:
In the Siglent AWG range, 1kX and old models, 800 and 1k series are 14 bit while SDG2kX and 6kX models are 16 bit.
Who cares when the other devices come with soft touch buttons? You don't get brownie points for not messing up across the board.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Berni on October 01, 2018, 05:46:07 am
But the trend of soft power buttons in test equipment is annoying.

There is little to no good reason why such gear would need to have a soft power button. They don't have remote controls to turn them on and they are not working on so much data that the OS could corrupt itself by forced power downs. RAM is cheap now days so simply run your OS from a ramdisk image while keeping only large static files in flash along with a settings file that gets written to in a safe way. Test equipment spends most of its life in the off state. You don't even use your scope for 10 hours a day on average even if you really use your scope a lot. Let alone use some more specialized bit of gear that you perhaps only power on a few times per year.

What makes things worse is that all of this gear uses switching supplies now. Okay they do waste less power than a oldschool transformer at low loads (When properly designed) so that lends them well to soft power off. But these things are also a lot more fragile. Mains power can have all sorts of surges happen and is common to get stuck by lightning. These surges can blow the primary side transistors in switching supplies pretty easily, but a big chunk of copper and iron doesn't really care as long as its less than the few kV of its insulation resistance. If you try pushing too much voltage into a transformer it simply saturates and draws a huge current while the output just rises a bit above normal. Of course it won't save you from a direct hit but i seen a lot of switching supplies blow up from lightning strikes while all transformered things in the same building kept working fine.

The only exception is instruments that have ovenised things in them. Often old gear had a small standby supply that is wired before the power switch to provide just a few watts of power to an ovenised crystal or something so that it drifts as little as possible. So i suppose if you have that then a soft power button is easy to do and saves you having an extra PSU.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tautech on October 01, 2018, 09:30:34 am
But the trend of soft power buttons in test equipment is annoying.

There is little to no good reason why such gear would need to have a soft power button. They don't have remote controls to turn them on and they are not working on so much data that the OS could corrupt itself by forced power downs. RAM is cheap now days so simply run your OS from a ramdisk image while keeping only large static files in flash along with a settings file that gets written to in a safe way. Test equipment spends most of its life in the off state. You don't even use your scope for 10 hours a day on average even if you really use your scope a lot. Let alone use some more specialized bit of gear that you perhaps only power on a few times per year.

What makes things worse is that all of this gear uses switching supplies now. Okay they do waste less power than a oldschool transformer at low loads (When properly designed) so that lends them well to soft power off. But these things are also a lot more fragile. Mains power can have all sorts of surges happen and is common to get stuck by lightning. These surges can blow the primary side transistors in switching supplies pretty easily, but a big chunk of copper and iron doesn't really care as long as its less than the few kV of its insulation resistance. If you try pushing too much voltage into a transformer it simply saturates and draws a huge current while the output just rises a bit above normal. Of course it won't save you from a direct hit but i seen a lot of switching supplies blow up from lightning strikes while all transformered things in the same building kept working fine.

The only exception is instruments that have ovenised things in them. Often old gear had a small standby supply that is wired before the power switch to provide just a few watts of power to an ovenised crystal or something so that it drifts as little as possible. So i suppose if you have that then a soft power button is easy to do and saves you having an extra PSU.
There's a few things you overlook.

Some test gear has a hidden OS (often Windoze or Linux) that must be shutdown correctly so a soft OFF button lends itself well to these needs and fits well with SMPS supplies.
Much equipment is also more portable than those of yesteryear and again SMPS is preferable to save weight and cost rather than brute iron and copper.
Also, we've all seen enough years of SMPS to know their primary failure case is when hard switched rather than left powered for long periods.
And lastly, SMPS lends itself to international markets better than linear PSU's for multi-voltage and multi-frequency needs. At one time marine and aviation test equipment was somewhat specialized whereas today most equipment can handle these rather obscure mains supplies with ease.


Unlike the minuscule walwarts we all have for the likes of our phones etc, equipment with larger form factors do have the room to incorporate proper mains filtering that consists of adequately sized components, spark gaps, air gaps and common mode mains filters that make the modern SMPS quite robust. I've never replaced any in equipment I've supplied and can only vaguely remember one Siglent SMPS failing mentioned somewhere on this forum.
Luck I guess, but it seems not all other brands have shared this luck.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on October 01, 2018, 09:42:17 am
... another exception are larger instruments that need a regular Windows shutdown, like the Keysight S Scopes, VNAs and Spectrum Analyzers.
They have a "hard" power pushbutton, but a "soft" shutdown is performed.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tautech on October 01, 2018, 09:45:54 am
... another exception are larger instruments that need a regular Windows shutdown, like the Keysight S Scopes, VNAs and Spectrum Analyzers.
They have a "hard" power pushbutton, but a "soft" shutdown is performed.
Which of course indicates a PSU that's always ON when plugged in or rear switched. (PITA)
Be it linear or SMPS, smoothing caps still wear out as the years tick by.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on October 01, 2018, 10:01:51 am
I dont know if they do a "hard" shutdown after the "soft" one is completed.
They Keysight stuff (or Agilent, or HP) has a reputation to last for very long, so maybe they use a lot better caps than our Chinese friends from today (see Daves standard rant when tearing down stuff).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Mr. Scram on October 01, 2018, 10:22:19 am
I dont know if they do a "hard" shutdown after the "soft" one is completed.
They Keysight stuff (or Agilent, or HP) has a reputation to last for very long, so maybe they use a lot better caps than our Chinese friends from today (see Daves standard rant when tearing down stuff).
A hard shutdown is simply cutting the power by means of a physical switch. That's what people like, a proper switch with zero power consumption and a non ambiguous function. What you describe sounds like a soft solution.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Berni on October 01, 2018, 10:52:05 am
I did have the PSU in my Tek AWG2041 fail all of a sudden, one day it simply didn't turn on. Its a pretty big thing (Twice as large as a standard ATX PSU) and it had a transistor fail in the PFC that then also blew up the softstart circuit.

And yes a lot of gear now runs a OS back there, and you can indeed screw up the flash if you keep killing power to it as its running. What you simply have to do is move a unchanging golden filesystem image into RAM at boot and then run the OS from ram disk. If you kill the power the RAM is gone anyway so no worries if the filesystem is screwed up. For things you can't loose like the settings you just store that in flash with proper safety (backup copies, minimal writes, syncing changes). Perfectly doable for a multimeter or signal generator. At work we have a bunch of products that run full blown linux and its normal for them to be turned off by cutting power and 1000s of these units keep working for years in the field. All you have to do is keep it from writing to flash all willy nilly.

And yeah PC based scopes like the Keysight Infiniium ones are a different story, obviously you can't just kill Win 7 and running from ramdisk under a hypervisor is not practical for such a big bulky OS. On my particular MSO9000 the power button is simply the motherboards power switch so it works exactly like on a PC (And is pretty much just a PC with a scope board hanging off a PCIe port).

But i do suppose i have not seen many failures of switchmode PSUs on test equipment. I have a lot of test gear and i saw only 1 failure on my Tek. But i do remember switchmode PSU failures being very common in consumer crap (Probably the number 1 cause of failure even).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Bassman59 on October 02, 2018, 03:40:38 am
On the 800 series, 16-bit arb waveform files are truncated to 14-bit, whereas the 900 series reproduces the full 16 bits.

Wow, really? :palm:

Check it out, from DG800 manual:

For the arbitrary waveform file, the voltage values corresponding to each waveform point are stored in binary data format. The voltage value at each point takes up 2 bytes (16 bits). DG800 only uses 14 bits, and the higher 14 bits are used to represent voltage and the lower 2 bits are not used. Therefore, its format of the binary data is from 0x0000 to 0xFFFC.

From DG900 manual:

For the arbitrary waveform file, the voltage values corresponding to each waveform point are stored in binary data format. The voltage value at each point takes up 2 bytes (16 bits). Therefore, its format of the binary data is from 0x0000 to 0xFFFF.

 :-//

I suppose I could RTFM, but does that apply to standard waveforms such as sine and square waves?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: commongrounder on October 02, 2018, 02:08:57 pm
On the 800 series, 16-bit arb waveform files are truncated to 14-bit, whereas the 900 series reproduces the full 16 bits.

Wow, really? :palm:

Check it out, from DG800 manual:

For the arbitrary waveform file, the voltage values corresponding to each waveform point are stored in binary data format. The voltage value at each point takes up 2 bytes (16 bits). DG800 only uses 14 bits, and the higher 14 bits are used to represent voltage and the lower 2 bits are not used. Therefore, its format of the binary data is from 0x0000 to 0xFFFC.

From DG900 manual:

For the arbitrary waveform file, the voltage values corresponding to each waveform point are stored in binary data format. The voltage value at each point takes up 2 bytes (16 bits). Therefore, its format of the binary data is from 0x0000 to 0xFFFF.

 :-//

I suppose I could RTFM, but does that apply to standard waveforms such as sine and square waves?

I have to assume the "standard" waveforms are 16-bit, since the generator is marketed as 16-bit.  Also, it isn't clear to me whether the 14-bit truncation is just with loaded-in (created) arb files, or the in-built arb waveforms as well.  This info was only stated in the file management section of the manual.  I think it deserves a mention in the published specification.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on November 24, 2018, 07:12:06 pm
but the look is like a horror movie ...

What the RIGOL DG800 series needs is a special accessory:

A matching coffee cup that does not risk to fall over when put on top of the unit and spill the coffee thru all the cooling slits on top.
I have a modest proposal here how this could look like  :) Innovation or Nothing !  :) :)

Another effect is that the coffee will be kept warm by the heat generated within the generator.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on November 24, 2018, 09:10:50 pm
That's a great idea. My 33120A appears to have coffee stains on the back of it so this is definitely a desired feature  :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: David Hess on November 25, 2018, 12:47:14 am
Cases are deliberately designed like that to prevent stacking anything on top when the device has power dissipation problems.  Less than 30 watts and they needed to do that?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Mr. Scram on November 25, 2018, 12:55:58 am
Cases are deliberately designed like that to prevent stacking anything on top when the device has power dissipation problems.
The ridges seem intended to allow stacking, just while leaving a considerable vent.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: David Hess on November 25, 2018, 01:00:29 am
Cases are deliberately designed like that to prevent stacking anything on top when the device has power dissipation problems.

The ridges seem intended to allow stacking, just while leaving a considerable vent.

I had to find some other photographs to see that  It is still pretty extreme even to cool up to 30 watts passively.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on November 25, 2018, 01:15:35 am
Cases are deliberately designed like that to prevent stacking anything on top when the device has power dissipation problems.

The ridges seem intended to allow stacking, just while leaving a considerable vent.

I had to find some other photographs to see that  It is still pretty extreme even to cool up to 30 watts passively.

The intention is clear, only its not very practical. Its for people with indefinite desk space. If every instrument designer does this, we need labs several times as large.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: David Hess on November 25, 2018, 01:47:57 am
Even if passive cooling is not feasible, a low speed fan with a filter to keep the dust out will move enough air to make a huge difference, be silent, and last for decades.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on November 25, 2018, 02:08:08 am
Yeah, agreed. If the price for pure passive cooling is that all such test equipment must be arranged side by side and cannot be towered, the price is definitely too high. What a lot of manufacturers could also do is implement better fans with less noise. The extra cost is not that high, and the annoyance factor of noisy fans is significant.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Mr. Scram on November 25, 2018, 02:36:43 am
Yeah, agreed. If the price for pure passive cooling is that all such test equipment must be arranged side by side and cannot be towered, the price is definitely too high. What a lot of manufacturers could also do is implement better fans with less noise. The extra cost is not that high, and the annoyance factor of noisy fans is significant.
Again, these should be stackable due to the fins providing a surface to put anything flat bottomed on. It seems to be the whole point of the design.

Besides, fanless signal generators are feasible. GW-Instek and others do it without much trouble in regular cases. Fans are a weak point and a nuisance, so fanless designs seem preferable.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: David Hess on November 25, 2018, 02:54:55 am
Besides, fanless signal generators are feasible. GW-Instek and others do it without much trouble in regular cases. Fans are a weak point and a nuisance, so fanless designs seem preferable.

Usually fans are a weak point and nuisance but at low powers, below 100 watts, and where passive cooling is marginal, they can be used without any compromises.  It takes very little airflow to make a huge difference.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on March 23, 2019, 08:28:24 pm
Has anyone got a chance to test these function generators, measure pulse jitter or noise spectrum?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on March 23, 2019, 08:31:44 pm
Specs are shit compared to the old ones so I skipped buying one recently.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on March 24, 2019, 04:17:02 pm
The problem with Siglent SDG2000X series is that it has only one Aux In/Out BNC, whereas a proper generator should have Sync, Modulation, Trigger or even more BNCs for each channel. DG800/900 is a little better, with two BNCs, one for each channel. Keysight 33500 series has three auxiliary BNCs.

And what is it with these generators including a counter? I understand its easy to implement a crappy counter, but why waste a BNC for it? Except for the most basic models, I don't imagine it would be a selling point. Better to use that BNC as a trigger or another function generator control.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on March 24, 2019, 06:35:11 pm
The problem with Siglent SDG2000X series is that it has only one Aux In/Out BNC, whereas a proper generator should have Sync, Modulation, Trigger or even more BNCs for each channel. DG800/900 is a little better, with two BNCs, one for each channel. Keysight 33500 series has three auxiliary BNCs.

And what is it with these generators including a counter? I understand its easy to implement a crappy counter, but why waste a BNC for it? Except for the most basic models, I don't imagine it would be a selling point. Better to use that BNC as a trigger or another function generator control.

That was almost exactly my comment (https://www.eevblog.com/forum/testgear/siglent-sdg6000-series-awg_s/msg1837019/#msg1837019) on the AUX capabilities of the SDG6000X. Considering this is Siglent's "top of the line" generator, it's rather poorly equipped. The Rigol DG4000 series offers much more regarding these additional functions though it's got other shortcomings. A merger of several of these generators would probably be what we're looking for...  ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on March 24, 2019, 08:11:48 pm
I got a DG812 a week ago. So far I am very happy with it. :)

The UI needs a bit getting used to, especially accessing the deeper menus for trigger sync etc. - mainly because using a touch screen on test gear is somewhat counter-intuitive for me.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 13, 2019, 08:28:49 pm
Let's spice things up a bit!

Maybe they don't look so ugly after alll...     :popcorn:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on May 13, 2019, 08:56:54 pm
Looks like an Android phone screen as sold in an Indian tech market in 2011  :-DD

Only joking. I'm still not giving up my DG1022Z for one.

The crack is however impressive if it actually kicks out 100MHz.

What does the attenuator go down to when you set it to 50 ohms impedance?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 13, 2019, 09:07:13 pm
The crack is however impressive if it actually kicks out 100MHz.

What does the attenuator go down to when you set it to 50 ohms impedance?

No "crack". It's a feature.

Can't do that test right now. But stay tuned...   ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on May 13, 2019, 09:12:42 pm
Let's spice things up a bit!

Maybe they don't look so ugly after alll...     :popcorn:

Nice work, so DG811 may be able to be upgraded to DG992 as well?
Will definitely buy one if that is the case.  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 13, 2019, 09:25:14 pm
Nice work, so DG811 may be able to be upgraded to DG992 as well?

 ::)

Edit: I didn't meant to be disrespectful. I looked at the emoji just by its graphical look: "Hmmmm, let me see..."
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on May 13, 2019, 09:34:27 pm
::)

The specs between DG811 to DG832 appear to be the same (datasheet quotes 100MHz bandwidth), so the cap is presumably done in software.

edit: :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 13, 2019, 10:11:03 pm
Let's spice things up a bit!

Maybe they don't look so ugly after alll...     :popcorn:

Still ugly on the outside, but you make them much nicer on the inside. :-+

No "crack". It's a feature.

Yes, we like features! I actually wasn't expecting the 8xx series to be able to do 250 Msps. It's good to know that "it's in there."

https://www.youtube.com/watch?v=2J87QekxQVI (https://www.youtube.com/watch?v=2J87QekxQVI)

I foresee a sudden spike in 811 sales. >:D

And maybe cans of black paint. ^-^
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on May 14, 2019, 04:48:16 pm
Sooo. Would you mind elaborating on how you got DG992 firmware on the 832? @tv84
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 14, 2019, 05:09:11 pm
I'm sure elaboration will come in good time. Perhaps a thread for it, too. ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 15, 2019, 09:08:52 am
As soon as I have a DG811 test, I'll post the method. The FW is the one that comes with the SG.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Sighound36 on May 15, 2019, 04:58:09 pm
Hi Tv84

I suspect your latest endevours will work with the DG822 as well

Also many thanks for your work with the MSO 5000 to  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on May 15, 2019, 08:20:30 pm
As soon as I have a DG811 test, I'll post the method. The FW is the one that comes with the SG.

Thank you, I've ordered DG811 so will check back when it arrives if you have not tested it already.

Another thing I noticed is DG800/DG900 both do not come with ethernet as standard, they require a $60 USB to ethernet adapter. Thats not bad, but the adapter looks to be the same as you can get on ebay for $5. We can either open that adapter or test some different chipsets to see what works (chipset might be referenced in the firmware somewhere?).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Berni on May 16, 2019, 05:08:10 am
Well at least they give you an option of an USB Ethernet adapter.

Id guess just check what are the best supported USB network card chipsets in the older Linux kernels and try plugging one of those in, id guess it works with more than just one special "the chosen one" chipset

Oh and careful with cheap chinese USB to Ethernet converters. I seen some pretty dodgy stuff inside of them like completely omitting the isolation transformer or terrible performance because the chip inside is marketed as "USB 2.0 compatible" but its actually a USB 1.1 Full Speed device limiting you to about 10% of full 100Mbit link speed.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: commongrounder on May 16, 2019, 04:44:35 pm
My DG952 works fine with a cheap USB 3.0 Gigabit LAN dongle.
One reason I purchased a 900 series instead of the 800 series is the difference in the arb bit depth.  Both series have 16-bit main function generation, but the 800 series only has 14-bit arbitrary output.  Loaded in 16-bit arb files just get the lowest two bits truncated.  I also was attracted to the additional arb memory of the 900 series which allows for lengthy sequences of low distortion audio tests.
I’ve had my unit for several months, and have found it easy to learn.  I almost never use the touch screen, since the main knob plus arrow keys can access all of the screen icons.
And, I don’t give a crap about what the case looks like.  It’s dead silent, and performs very well for my applications. :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 16, 2019, 06:08:15 pm
Can you post some performance data, like a noise spectrum or time jitter measurements?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kodovo on May 16, 2019, 07:13:24 pm
One reason I purchased a 900 series instead of the 800 series is the difference in the arb bit depth.  Both series have 16-bit main function generation, but the 800 series only has 14-bit arbitrary output.  Loaded in 16-bit arb files just get the lowest two bits truncated.

Is that really true?  I asked clarification for the User's Guide page 2-74 from Batronix last November, and Jan-Steffen Schwiemann answered:

  "we are sorry for the late reply.
    But we have finally gotten an answer from Rigol.

    For the DG800 series it is definitely 16bit resolution.
    Looks like they took the description directly from one of their other generators and forgot to correct this part."

Has anybody checked if those last bits really get truncated or not?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 17, 2019, 02:49:11 am
Rigol's data sheet for the 900 series also has errors in the maximum carrier frequency in burst mode. Unless there's something wrong with the generators, the max frequency in burst mode should match the max frequency of the generator. However, the data sheet shows them as 5 MHz less than the corresponding 800 series. It looks like someone changed the least significant digit from 5 to 0, but forgot to change the other digits.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on May 17, 2019, 11:36:17 am
So, if you convert your 8xx to 9xx you should have the 16-bits.  But, somebody will have to really test it.

I am willing to test! :)

DG812 is what I have here. What other per-requisites are there?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kodovo on May 17, 2019, 12:10:26 pm
We now have a discrepancy between what Rigol says (according to Batronix), and what is actually printed in the Manual.  So, I'd like to see whether the official firmware has 14 or 16 bits for arb. wave forms.  If you could produce an arb. form with, say, values 0x4000, 0x4001, 0x4002, 0x4003, and 0x4004, and check with a scope whether there are five different voltage levels or just two.  I think that should close the case.

Screenshot would be nice!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 17, 2019, 01:41:14 pm
We now have a discrepancy between what Rigol says (according to Batronix), and what is actually printed in the Manual.  So, I'd like to see whether the official firmware has 14 or 16 bits for arb. wave forms.  If you could produce an arb. form with, say, values 0x4000, 0x4001, 0x4002, 0x4003, and 0x4004, and check with a scope whether there are five different voltage levels or just two.  I think that should close the case.

Screenshot would be nice!

I did the test. Here is the result. This is the display of my DG811:
(https://i.imgur.com/ADaPbOF.jpg)

This is the measurement with my MSO5000:
(https://i.imgur.com/dTFEKOy.png)

See test2_1416.RAF (inside attached ZIP) for ARB file. I repeated the 0x4000 ... several times for better visualization.

Seems to be 16bit. No truncation.

Best regards
timber
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kodovo on May 17, 2019, 06:25:03 pm
Great, timber23, thank you!    How stupid from Rigol: the mistake in the User's Guide has certainly affected on the sales.  At least I have postponed the purchase until now.  But not anymore, thank you :)   Just waiting for the details of tv84 before deciding for the model.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 17, 2019, 06:48:17 pm
What does the attenuator go down to when you set it to 50 ohms impedance?

Does anybody know how to measure this?

Strangely the measurement doesn't change if I change from HighZ to 50 ohm impedance.

(https://i.imgur.com/bvSz2xu.png)

The red curve is BNC direct connected to scope. Doesn't matter if I select HighZ or 50 ohm impedance. The yellow trace is BNC connected to BNC-T-adapter with 50 ohm termination. As you can see, the 20Vpp is divided by 2, maybe because of a voltage divider. For my MSO5000, I cannot change input impedance. The button is grayed out and it says 1 M ohm.

Any suggesstions why there is no difference between HighZ and 50 ohm on DG800? What am I doing wrong?

Best regards
timber23
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on May 17, 2019, 07:34:36 pm
I was just interested in what the minimum input value was.

I suspect this is a UI issue. Impedance has to match at each end to be accurate.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on May 17, 2019, 08:52:01 pm
Strangely the measurement doesn't change if I change from HighZ to 50 ohm impedance.

https://i.imgur.com/bvSz2xu.png (https://i.imgur.com/bvSz2xu.png)

The red curve is BNC direct connected to scope. Doesn't matter if I select HighZ or 50 ohm impedance. The yellow trace is BNC connected to BNC-T-adapter with 50 ohm termination. As you can see, the 20Vpp is divided by 2, maybe because of a voltage divider. For my MSO5000, I cannot change input impedance. The button is grayed out and it says 1 M ohm.

Any suggesstions why there is no difference between HighZ and 50 ohm on DG800? What am I doing wrong?

Yes MSO5000 has only 1M input, no switchable 50 ohm.

The spec of the DG800 is 10Vpp into 50 ohm, so that is the most output you will see into a matched load. In your case if you connect 1M, this doubles, as you have a 50 ohm source and no 50 ohm loading it down.
Usually, when you switch from 50 ohm to Hi-z, the output will not change. The UI will simply be updated to have a different displayed voltage (in this case, it should show 10V, if you switch to Hi-Z then 20V).
But maybe as bd139 is hinting at, could be a UI bug.

You can try a lower voltage and see if the result is the same (1Vpp say), the UI should update when switching modes.

https://www.keysight.com/main/editorial.jspx%3Fckey%3D1948055%26id%3D1948055%26nid%3D-11143.0.00%26lc%3Djpn%26cc%3DJP?&cc=CA&lc=eng (https://www.keysight.com/main/editorial.jspx%3Fckey%3D1948055%26id%3D1948055%26nid%3D-11143.0.00%26lc%3Djpn%26cc%3DJP?&cc=CA&lc=eng)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 17, 2019, 09:48:45 pm
Correct, the DG's output impedance is always 50Ω. The setting in the DG simply changes the amplitude value that's displayed, assuming that you're connecting it to a device with an input impedance that matches the setting you chose.

On an oscilloscope with switchable input impedance, the setting does change the input impedance.

It's a bit confusing, but that's the story.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 18, 2019, 09:30:40 am
You are right. I did some tests on 1 Vpp. And as you said, if I change to 50 ohm than the output amplitude is automatically set to 500 mVpp.

Here are some screenshots. DG811 on HighZ:
(https://i.imgur.com/VvqEUOi.png)

Resulting measurement on MSO5000 without 50 ohm termination:
(https://i.imgur.com/C0IdSrQ.png)

Now, DG811 on 50 ohms:
(https://i.imgur.com/tDG70UW.png)

Resulting measurement on MSO5000 without 50 ohm termination
(https://i.imgur.com/2e8eQZG.png)

Resulting measurement on MSO5000 with 50 ohm termination
(https://i.imgur.com/eCg71u0.png)

It was a litte bit difficult to obtain the screenshots from DG811 without using an USB disk. Here is the code which I wrote to do it with Python and PyVISA:
Code: [Select]
import visa
import datetime

def main():
    rm = visa.ResourceManager()
    res = rm.list_resources()
    my_instrument = rm.open_resource(res[0])
    my_instrument.write(':HCOP:SDUM:DATA:FORM PNG')
    print ('Screenshot format: '+my_instrument.query('HCOPy:SDUMp:DATA:FORMat?'))
   
    my_instrument.write(':HCOPy:SDUMp:DATA?')
   
    bmpdata = my_instrument.read_raw(391734+11)
    bmpdata = bmpdata[11:]
    my_instrument.close()
    fileName = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
    fileName = 'Screenshot_'+fileName+'.PNG'
    with open(fileName,"wb") as f:
        f.write(bmpdata)
   
if __name__=='__main__':
    main()

Best regards
timber23
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on May 18, 2019, 09:40:53 am
Yeah that's all correct  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 18, 2019, 01:53:16 pm
Thanks for testing. Even with 50 Ohm termination the square wave has some ringing. It seems fairly bad compared with other generators.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 18, 2019, 02:45:33 pm
Well, I couldn't resist the possible opportunity to get a quite well performing, full featured generator at the price of the entry level model. Not that I'ld really need another AWG, but I'm probably a bad case of TEA and once in a while I've just got to get another piece...

Actually, this time I really followed the EEVBlog rules and took the unit apart before I turned it on. So here's a sequence of posts with just photos of the interior of a DG811. Actually, I found nothing to complain about, the build quality is first class and I really like how the metal chassis is integrated in the instrument. Disassembly is easy and all the boards seem to be well laid out. The quality of the switch mode transformer impressed me, it's actually wound with triple-insulated magnetic wire despite a decent layer insulation. The PSU appears to be intended to be used in several instruments just by the fact that a mains frequency coupler is included (hence it might be used in an oscilloscope, providing a source for mains trigger). Output voltages are 5V, +-7V and +-17V. The solder side of the PCB is actually conformally coated with the mounting pads spared out.

I'm quite surprised Rigol used a plug-in CPU board in this instrument. Maybe they intend to design several instruments around this platform. It's funny that there's an unpopulated LAN footprint on the PCB that supposedly requires a connector with integrated isolation transformer. Who will be the first one to install it in order to figure out if it works?

An now for the teardown photos -- Enjoy!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 18, 2019, 02:46:52 pm
More Photos...

BTW, now we know that Rigol's internal designation of the DG800/900 series is "Sardine"  :-DD
If that name somehow relates to the design of the instrument's enclosure? Gills everywhere...

P.S.The laser-etched output amp is most likely a THS3091. Or could it be a THS3491??
Edit: It's now verified it's a THS3095, so basically a THS3091 with shutdown.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 18, 2019, 02:51:25 pm
Still more Photos...

BTW, the DAC is an AD9747 -- I wonder why "some" companies don't understand that it's no use lasering the markings off a chip... except maybe being unable to find out that the company skimped with the speed grading...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 18, 2019, 02:52:32 pm
Yet still more Photos...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 18, 2019, 03:10:46 pm
BTW, now we know that Rigol's internal designation of the DG800/900 series is "Sardine"  :-DD
If that name somehow relates to the design of the instrument's enclosure? Gills everywhere...

The executable is also "Sardine"!  :)

BTW, nice job!  :clap:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on May 18, 2019, 03:25:07 pm
Indeed. Very nice job. Thanks for this  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 18, 2019, 08:45:02 pm
HOW TO CHANGE RIGOL DG800/DG900 MODELS

1. Get a blank formatted USB disk (capacity >= 1GB)

2. Write signature in the disk with the following command (in linux):

        sudo dd if=DG800_sardinha.bin of=/dev/sda1 bs=512 seek=2000000

3. With special USB disk inserted, send the SCPI command (for example) to change model to DG992:

        :PROJ:MODE DG992

Possible model types (as seen in the first 4 bytes of sd.xx configuration file):
00 - DG811
01 - DG821
02 - DG831
03 - DG812
04 - DG822
05 - DG832
06 - DG952
07 - DG972
08 - DG992

ATTENTION: Use a blank disk and be sure it's mounted as /dev/sda1. Don't blame me if you do things wrong!!

(I included some pics kindly sent by a voluntary member)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on May 18, 2019, 08:51:29 pm
LOL. Wondering if I should grab a DG811 now before they all disappear in a puff of smoke :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 18, 2019, 09:14:42 pm
Did someone managed to get a USB to ethernet adapter working? I have a super cheap adapter from action.com here, but DG811 aka DG992 is not getting an IP-address via DHCP.

Any suggestions? I had a look on amazon's offers, but I didn't find any information about the used chipsets.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on May 18, 2019, 09:15:16 pm
HOW TO CHANGE RIGOL DG800/DG900 MODELS

1. Get a blank formatted USB disk (capacity >= 1GB)

2. Write signature in the disk with the following command (in linux):

        sudo dd if=DG800_sardinha.bin of=/dev/sda1 bs=512 seek=2000000

Thanks for posting the info! :)
Where do I get the binary file? Is it already in this thread and I missed it?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 18, 2019, 09:18:57 pm
Thanks for posting the info! :)
Where do I get the binary file? Is it already in this thread and I missed it?

It is the first attachment of tv84 post.
https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391)

It is inside the ZIP file.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on May 18, 2019, 09:21:39 pm
Thank you! I completely skipped that. Maybe due to reading parts of this thread on mobile...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 18, 2019, 09:22:00 pm
Did someone managed to get a USB to ethernet adapter working? I have a super cheap adapter from action.com here, but DG811 aka DG992 is not getting an IP-address via DHCP.

Any suggestions? I had a look on amazon's offers, but I didn't find any information about the used chipsets.

These driver modules are present:

Code: [Select]
-rwxrw-rw-  1 1000  1000      842148 2018-07-19 09:12:50 modules/r8188eu.ko
-rwxrw-rw-  1 1000  1000       19076 2018-07-19 09:12:50 modules/rtl_usb.ko
-rwxrw-rw-  1 1000  1000       50952 2018-07-19 09:12:50 modules/rtl8192c-common.ko
-rwxrw-rw-  1 1000  1000       42048 2018-07-19 09:12:50 modules/usbnet.ko
-rwxrw-rw-  1 1000  1000       32048 2018-07-19 09:12:50 modules/r8152.ko
-rwxrw-rw-  1 1000  1000       22848 2018-07-19 09:12:50 modules/usbtmc_dev.ko
-rwxrw-rw-  1 1000  1000       69052 2018-07-19 09:12:50 modules/rtlwifi.ko
-rwxrw-rw-  1 1000  1000       19936 2018-07-19 09:12:50 modules/usbtmc.ko
-rwxrw-rw-  1 1000  1000       85044 2018-07-19 09:12:50 modules/rtl8192cu.ko

usbnet.ko
Code: [Select]
.rodata.str1.4:000038E0 47 65 6E 65 53 79+.LC8            DCB "GeneSys",0         ; DATA XREF: usbnet_open+1ACo
.rodata.str1.4:000038E8 4E 65 74 43 68 69+.LC9            DCB "NetChip",0         ; DATA XREF: usbnet_open+19Co
.rodata.str1.4:000038F0 5A 61 75 72 75 73+.LC10           DCB "Zaurus",0          ; DATA XREF: usbnet_open+1BCo
.rodata.str1.4:000038F8 52 4E 44 49 53 00 .LC11           DCB "RNDIS",0           ; DATA XREF: usbnet_open+1CCo
.rodata.str1.4:00003908 41 53 49 58 00    .LC13           DCB "ASIX",0            ; DATA XREF: usbnet_open+1D8o
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ogden on May 18, 2019, 09:26:14 pm
LOL. Wondering if I should grab a DG811 now before they all disappear in a puff of smoke :-DD

Out of stock in Batronix (https://www.batronix.com/shop/waveform-generator/Rigol-DG811.html) already  ::)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on May 18, 2019, 10:11:44 pm
xD Big thank you to tv84 for buying me a brand new DG992!

Worked like a charm on my DG812!

Edit: I am curious though. Is the performance actually the same as with a "true" DG992?

Sinewave from ca. 2MHz and above is heavily attenuated
Ripple on squarewave is the same as in timber23s screenshots and gets pretty unusable after that (not very square after all above 6MHz).

Would be interesting to see if the output of a genuine DG992 differs. Might be, that there is some hardware selection in the factory just like other binning. (just a guess)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 18, 2019, 11:10:17 pm
Edit: I am curious though. Is the performance actually the same as with a "true" DG992?

Sinewave from ca. 2MHz and above is heavily attenuated

The output amplitude spec for all DG800 and DG900 is the same:

Amplitude (into 50Ω):
≤10 MHz: 1.0 mVpp to 10 Vpp
≤30 MHz: 1.0 mVpp to 5.0 Vpp
≤60 MHz: 1.0 mVpp to 2.5 Vpp
>60 MHz: 1.0 mVpp to 1 Vpp

There should not be heavy attenuation beginning at only 2 MHz.

Quote
Ripple on squarewave is the same as in timber23s screenshots and gets pretty unusable after that (not very square after all above 6MHz).

What are you measuring it with and what is your setup?

Quote
Would be interesting to see if the output of a genuine DG992 differs. Might be, that there is some hardware selection in the factory just like other binning. (just a guess)

From what I've seen, other Rigol products have not used any special hardware differences for software-limited functionality. I wouldn't expect them to treat this product line any differently.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 18, 2019, 11:11:54 pm
Thank you, TurboTom, for the teardown pics.

Thank you, tv84, for all the work you put into feature research ;D and for sharing them with us.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: commongrounder on May 18, 2019, 11:12:38 pm
Is it confirmed that the sample frequency goes to 250ms/s with the “upgrade?.  I’m desperately trying to find some difference between the 800 and 900 series to help me justify spending $600US on my DG952. :palm:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 18, 2019, 11:43:37 pm
I did some tests comparing a pimped RIGOL DG811 (DG992-mode) vs. a pimped Siglent SDG2042X (SDG2122X-mode).

I used the same BNC cable which I unpluged and repluged during the tests. The mesurement was taken by a RIGOL MSO5000 oscilloscope. BNC cable was terminated using 50 ohm on T-adaptor.

Rigol DG811 (pimped to DG992) set to 25 MHz square wave, 4 Vpp, 50 ohm:
(https://i.imgur.com/f0N9ArF.png)

Siglent SDG2042 (pimped to SDG2122X), set to 25 MHz square wave, 4 Vpp, 50 ohm:
(https://i.imgur.com/mm8FN8C.png)

Comparison of both signals, Siglent's trace in green colour:
(https://i.imgur.com/tIgKN9m.png)

Now sine wave, 100 MHz, 1 Vpp (since 1Vpp is max. amplitute of DG992), 50 Ohm.

DG811 (pimped to DG992):
(https://i.imgur.com/hNzu6cC.png)

SDG2042X (pimped to SDG2122X):
(https://i.imgur.com/CG6sPJx.png)

Comparison of both traces, Siglent in green colour:
(https://i.imgur.com/tbLMX1j.png)

You can clearly see that the RIGOL is much more attenuated at 100MHz than the Siglent. Furthermore Siglent's square wave is a little bit better. But SDG2042X costs 565€ (upgradeable to SDG2122X) compared to 236€ for DG811 (upgradeable to DG992). Considering the price, DG811/DG992 is the winner in my opinion.

Update: I changed the labeling of the measurements because of TurboTom's objection. I do not own a genuine DG992, nor do I have access to one. Sorry for any confusion.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 18, 2019, 11:46:04 pm
Did some testing already on my "pimped" 811...

Actually, there is considerable amplitude drop above approx. 50MHz with the two channels slightly differing from each other. I only tested at 1Vpp into 50 Ohms so far and did a slow sweep from 10kHz to 100MHz. I had the Vpp measurement running and took a history record of this, see attached screenshots. If this is the result of inadequate hardware or the instrument not being calibrated over the full range has yet to be found out.

The ugly ringing on square or other waveforms with steep edges apparently is the result of the anti-aliasing filter after the DAC. This filter seems to be pretty effective with the edge at round about 115MHz. Since this means, all the higher frequency components of a square wave (which aren't present anyway at the output of a 250MSa/s DAC) are missing from the signal, the mentioned observations may just be obvious. Attached you will find two more screenshots visualizing this.

BTW, if you take a look at the "solder side" (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2419776/#msg2419776) of the main PCB, you get an idea how Rigol got away without any external shielding of the AWG's enclosure...it's simply one big ground plane. I wonder how many layers this board has. It's amazing they can sell this package for round about 200EUR (plus VAT if applicable).

I found some more peculiarities but these will follow probably tomorrow night...

Cheers,
Thomas

P.S. Altogether, I consider the DG811 so far as some of the best spent money. It's not an SDG6000X (which has its shortcomings as well) but as a general purpose AWG (hacked), there's little left to wish for (not to talk about the casing design...). Hardware-wise it's close to perfect and the firmware is surprisingly complete and stable. So if you're in the market for a decent AWG for your hobby electronics workbench, with the DG811 you can't go wrong!

Edit: The output level recorded for CH2 in the attached screenshots may not be completely accurate since I later identified a dodgy adapter that i used during this test. Further tests with a power meter actually indicate that both channels perform very similar, CH2 may be even slightly better than CH1.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: commongrounder on May 19, 2019, 12:19:08 am
What about arb memory? Is there 16MB hidden in the 800 series that is made available with the “upgrade”?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 19, 2019, 12:42:35 am
What about arb memory? Is there 16MB hidden in the 800 series that is made available with the “upgrade”?

Of course -- the sample memory DRAM chip attached to the FPGA is an MT41K128M16JT-125 (128M*16) so this provides more than enough space for two channels of 16M*16 including double-buffering and what not. After having read @timber23's post I'm pretty sure the hardware of the DG8xx and DG9xx series is identical.

I may have to modify this last statement after having read @timber23's previous contributions: timber23, you specified you compared a DG992 to the Siglent SDG2000X, I assumed it was a "real" DG992 but now I'm not too sure anymore since apparently you've (also?) got an upgraded DG8xx. I guess we should be very careful and accurate with the designations of the instruments, i.e. I'ld never call my "pimped" DG811 a DG992.

We're just at the very beginning of this adventure and we cannot be sure yet that there really aren't any differences unless we had a close look at a "real" DG992. So far, my DG811 is a DG811 that "thinks" it's a DG992...  ;)

Cheers,
Thomas
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 19, 2019, 06:37:54 am
What about arb memory? Is there 16MB hidden in the 800 series that is made available with the “upgrade”?
timber23, you specified you compared a DG992 to the Siglent SDG2000X, I assumed it was a "real" DG992 but now I'm not too sure anymore since apparently you've (also?) got an upgraded DG8xx. I guess we should be very careful and accurate with the designations of the instruments, i.e. I'ld never call my "pimped" DG811 a DG992.
Sorry for the confusion. I modified my post for clarity.
@commongrounder : You said that you own a DG952. Maybe you can perform some test, which we can compare our "pimped DG811s" to.

Maybe someone has an idea for a test-setup which can distinguish a sample rate of 250 MSa/s from 125 MSa/s.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 19, 2019, 07:02:20 am
Sample rate is 250M on the "DG811+++" otherwise it wouldn't be possible to output 100MHz at all and we should observe bad aliasing above 62.5MHz output frequency. I'm quite certain that even the original DG8xx sereis samples at 250M, maybe arbitrary waveforms are limited to 125MSa/s, doubling each sample. It should also be possible by checking when (i.e. at what frequencies) the instrument outputs a "clean" square wave without edge jitter. These frequencies would need to be whole-number factors of the sampling rate, so by figuring out a few it should be possible to deduce on the latter. Will look into this more closely in the evening.

Edit: Added the screen shot of my sample rate test. I used an arbitrary waveform with as many steep edges as possible for that. The reason is that the "controlled edge technology" that Rigol calls "SiFi2" is not operational in Arb mode. This means, slopes are defined by just a single sample interval, also recognisable by the slightly faster rise/fall times and (even) more ringing. Now I selected a frequency at which the signal cannot be reproduced by full integers of the sampling frequency, resulting in edge jitter. I measured the time between the two traces that are shown when the scope "averages" over several scans and calculate the frequency which should resemble actual sample rate. And voila, 250MHz!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: idolclub on May 19, 2019, 11:22:39 am
HOW TO CHANGE RIGOL DG800/DG900 MODELS

1. Get a blank formatted USB disk (capacity >= 1GB)

2. Write signature in the disk with the following command (in linux):

        sudo dd if=DG800_sardinha.bin of=/dev/sda1 bs=512 seek=2000000



Amazing !!  DG811 free upgrade to DG992.  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on May 19, 2019, 12:11:39 pm
I am going to go through this: DG900 performance verification guide (https://beyondmeasure.rigoltech.com/acton/attachment/1579/f-ac0a4084-7340-4829-9b9e-a9e921c92533/1/-/-/-/-/DG900_PerformanceVerificationGuide_EN.pdf) and see what gives.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: commongrounder on May 19, 2019, 01:21:56 pm
I’m willing to perform tests with my DG952, if given the exact procedure.  I’m curious whether paying a premium for the 900 series got me more than a black cabinet color!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kodovo on May 19, 2019, 02:46:56 pm
Out of stock in Batronix (https://www.batronix.com/shop/waveform-generator/Rigol-DG811.html) already  ::)

Wow, there is now up to 40 days lead time for the orders.  Placed my today.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 19, 2019, 08:36:40 pm
I am going to go through this: DG900 performance verification guide (https://beyondmeasure.rigoltech.com/acton/attachment/1579/f-ac0a4084-7340-4829-9b9e-a9e921c92533/1/-/-/-/-/DG900_PerformanceVerificationGuide_EN.pdf) and see what gives.
Thank you for this Guide. I performed the Harmonic Distortion Test using my Siglent SSA 3021X. My pimped DG811 (aka DG992) passed all scenaios on both channels. Please find attached the resulting screenshots.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 19, 2019, 08:40:43 pm
I performed the Harmonic Distortion Test using my Siglent SSA 3021X. My pimped DG811 (aka DG992) passed all scenaios on both channels. Please find attached the resulting screenshots.

Nice work and good news!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 19, 2019, 08:58:04 pm
That's looking good, timber! How does it look at 100 MHz, just to complete the range?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 19, 2019, 09:20:12 pm
That's looking good, timber! How does it look at 100 MHz, just to complete the range?

As you requested, here are the results for 100MHz. This test is not part of RIGOL's "DG900 Performance Verification Guide". Furthermore I add the fall/rise-time and overshoot test. I performed the tests with respect to the beforementioned guide.

It is funny that my channel 2 has less overshoot than channel 1, because channel 2 was disabled before unlock...

Just for completeness: This is how my measurement setup looks like.
(https://i.imgur.com/Un3dfDg.jpg)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 19, 2019, 09:38:14 pm
That's looking good, timber! How does it look at 100 MHz, just to complete the range?

As you requested, here are the results for 100MHz. This test is not part of RIGOL's "DG900 Performance Verification Guide".

Thanks. Looks good. Since the spec table in the guide said less than -35 dBc for any frequency over 40 MHz, I just had to see if it could make it all the way to 100 MHz. It certainly does. :-+

Quote
Furthermore I add the fall/rise-time and overshoot test. I performed the tests with respect to the beforementioned guide.

Does the rise/fall time measurement change much if you use a faster timebase? I'd get more slope visible on screen (i.e., instead of a vertical line) for measurement purposes.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 19, 2019, 09:50:53 pm
Does the rise/fall time measurement change much if you use a faster timebase? I'd get more slope visible on screen (i.e., instead of a vertical line) for measurement purposes.
No, it doesn't change much. I adjusted the timebase to 1µs in the previous test, because it is specified in the guide. Now I changed it to 10ns. Please find attached the resulting measurement.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 19, 2019, 09:55:12 pm
OK, cool. Thanks for checking, timber. I feel more confident seeing it measured this way. :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 20, 2019, 02:52:41 am
HOW TO CHANGE RIGOL DG800/DG900 MODELS

1. Get a blank formatted USB disk (capacity >= 1GB)

2. Write signature in the disk with the following command (in linux):

        sudo dd if=DG800_sardinha.bin of=/dev/sda1 bs=512 seek=2000000


This sounds great! Does anyone know how to do this on Windows? What file system should the USB be formatted to? What is the equivalent signature command?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 20, 2019, 04:34:17 am
Here's a good place to start: https://www.google.com/search?q=dd+for+windows (https://www.google.com/search?q=dd+for+windows)

I haven't tried dd on non-Linux platforms, but if one of them supports all the parameters, it should work.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 20, 2019, 06:15:28 am
HOW TO CHANGE RIGOL DG800/DG900 MODELS

1. Get a blank formatted USB disk (capacity >= 1GB)

2. Write signature in the disk with the following command (in linux):

        sudo dd if=DG800_sardinha.bin of=/dev/sda1 bs=512 seek=2000000


This sounds great! Does anyone know how to do this on Windows? What file system should the USB be formatted to? What is the equivalent signature command?
I used a virtual machine (VMware) with Xubuntu installed. VMware player or VirtualBox are free software and the procedure works. Inside a VM you won't do any damage to your system, if you use dd command wrong. Installation is nowadays straight forward. Opening a terminal should be easy. Finding the correct device path to USB drive is also easy, when knowing the command, e.g. "lsblk" or maybe "sudo lsblk". Knowing the correct path leads to the dd command introduced by tv84. That's it.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 20, 2019, 07:26:25 am
Since I also didn't have a Linux machine available (my Linux netbook silently vanished in my epic mess...too many projects at a time...and I was too lazy to wire up a Raspi) I used a free disc editor (HxD) to manually enter the eight "magic" bytes at the beginning of sector 2000000 of the thumb drive. Worked a treat.

Regarding the performance of a "pimped" DG811, it clearly doesn't match the specs of a DG9xx. The latter is specified with an amplitude accuracy of +-1dB above 40MHz and we're consitently seeing close to -3dB @ 100MHz on the modified DG8xx's. We've got to figure out how the calibration of the DG9xx is supposed to work to finally be able to tell if there's a hardware difference -- maybe actually the DG8xx series utilizes a different output opamp than the DG9xx series since two of the THS3091 that I'ld expect there would add considerably to the BOM...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 20, 2019, 08:14:56 am
Since I also didn't have a Linux machine available (my Linux netbook silently vanished in my epic mess...too many projects at a time...and I was too lazy to wire up a Raspi) I used a free disc editor (HxD) to manually enter the eight "magic" bytes at the beginning of sector 2000000 of the thumb drive. Worked a treat.

Cool :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 20, 2019, 08:37:32 am
Since I also didn't have a Linux machine available (my Linux netbook silently vanished in my epic mess...too many projects at a time...and I was too lazy to wire up a Raspi) I used a free disc editor (HxD) to manually enter the eight "magic" bytes at the beginning of sector 2000000 of the thumb drive. Worked a treat.

Regarding the performance of a "pimped" DG811, it clearly doesn't match the specs of a DG9xx. The latter is specified with an amplitude accuracy of +-1dB above 40MHz and we're consitently seeing close to -3dB @ 100MHz on the modified DG8xx's. We've got to figure out how the calibration of the DG9xx is supposed to work to finally be able to tell if there's a hardware difference -- maybe actually the DG8xx series utilizes a different output opamp than the DG9xx series since two of the THS3091 that I'ld expect there would add considerably to the BOM...
Your approach, using HexEditor, is much better than mine if someone has no Linux available. Thanks for sharing.

Did you spot any parts on the PCB which could cause this ~ -3dB attenuation?

Maybe the user with his DG952 could upgrade to DG992 and check if his amplitude at 100 MHz is within +/- 1dB ?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: idolclub on May 20, 2019, 09:03:04 am
Here's a good place to start: https://www.google.com/search?q=dd+for+windows (https://www.google.com/search?q=dd+for+windows)

I haven't tried dd on non-Linux platforms, but if one of them supports all the parameters, it should work.
There is no need to install linux, just download Ubuntu Linux ISO and running Ubuntu directly from either a USB stick or a DVD.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 20, 2019, 11:36:31 am
After another, more thorough reading of the DG900 performance verification guide, it appears that the "improved" DG8xx may actually match the requirements of the DG992!

First of all, the performance specs list the amplitude accuracy as "typical" which basically means you can forget all the number that follow...  :o

Then, the verification procedure of the amplitude accuracy asks just for a test at 50MHz as the highest frequency where the output amplitude has to be +-1dB accurate -- which shouldn't be a problem for a modified DG8xx.

---------

Just did it correctly and pulled my 437B / 8482A power meter out to do the amplitude accuracy test "the proper way". At the specified test frequencies for the DG992, my "DG811+++" performs better than within one tenth of the permitted error margins on both channels. I further tested for the frequency of 1dB amplitude drop, which were 81MHz and 85MHz for channels 1 and 2. At 100MHz I measured a drop of 2.16dB and 1.83dB, respectively.

So we may actually be up to a surprise if we'ld get a chance to test a "real" DG992...  >:D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Zack on May 20, 2019, 02:43:23 pm
maybe actually the DG8xx series utilizes a different output opamp than the DG9xx

The Motherboard part numbers 2010004229 in the the DG800 and DG900 are identical, comparing the Service Guides.

https://www.rigol.com/File/TechDoc/20190213/DG800_ServiceGuide_CN.pdf (https://www.rigol.com/File/TechDoc/20190213/DG800_ServiceGuide_CN.pdf)
https://www.rigol.com/File/TechDoc/20190213/DG900_ServiceGuide_CN.pdf (https://www.rigol.com/File/TechDoc/20190213/DG900_ServiceGuide_CN.pdf)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 20, 2019, 05:20:43 pm
@Zack -

welcome to the forum and great finding! This should actually wipe away all my (our?) concerns regarding differences between DG800 and DG900 series, the hardware is identical and hence the performace should be the same after the upgrade. I'm curious if there's a calibration guide available on the chinese site already?

During my tests of the "DG811+++" I found a few peculiarities:

It's good to see that parameter changes (frequency) of sine output takes place without any glitches. Square and Pulse waveforms provide (almost) glitch-free parameter changes (frequency, symmetry/pulse width, slope) up to frequencies of 1MHz, above that, the signal pauses for a few milliseconds at half the signal level (i.e.[Vmax+Vmin]/2).
The "almost" mentioned above means that once in a while I was able to catch a strange high frequency glitch of several superimposed frequencies when changing the frequency setting, see attached screenshots.
Ramp and Arb waveforms always pause for a few milliseconds upon parameter changes.

Amplitude changes only cause glitches if the internal attenuators switch ranges. Yet, this happens rather often. I found such switching events (50 Ohms output impedance selected, for high-impedance, double the specified figures) to take place at 2.5mV, 6.4mV, 16mV, 40mV, 100mV, 256mV, 640mV*, 1.6V and 4V. It's quite peculiar that the 640mV switching event takes place without an audible relay click. If a glitch-free level sweep is required, the output signal can be amplitude modulated by an internal ramp.

I also did the "PAL raster frequency test" (outputting two ramps of 50Hz and 15625Hz and observing the relative phase) that my SDG6000X failed at and found the "DG811+++" to fail as well. The phase should stay constant, i.e. the frequencies should stay locked against each other, but I find them to walk through at very slow pace in an incremental manner, see the third and fourth screen shot. They can be brought back to the original relation by pressing the "Align" button.

Considering the price of the "unimproved" instrument  ;), these small problems may be tolerable, especially since they are really of minor importance for the average user.

Btw, the very nice touch screen is extremely well integrated into the UI concept, it's obvious that the whole UI had been designed with the touch panel in mind instead of other manufactures' approaches where it's plain to see that a touch panel had been added to an existing firmware package and it more or less only duplicates functions that can be accessed via the key pad as well.

Cheers,
Tom


P.S. Just for fun I aded a fifth screen shot where I compared the rise times of the edges in Pulse mode between the "DG811+++"  and my "SDG6000X-I" ("I" =  improved...must be chosing the equipment upon the possibility to hack...  >:D) Hint: The measured rise time of the SDG is rather limited by the scope used than by the generator!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 20, 2019, 05:49:51 pm
@TurboTom -thanks for digging into it. I already ordered one.  It will be fun to compare against Keysight 33522.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 21, 2019, 12:57:15 am
I did not find any remote control software for DG800/900. Because I wanted to control the device from PC, I wrote a small Python script.
I used Python 3.7 with PyQt5 and PyVISA. If you do not have it: After installing Python3 you can install PyQt5 with "pip install PyQt5" and PyVISA with "pip install pyvisa"
The GUI is made using Qt Designer.
(https://i.imgur.com/2bMXQQ9.png)
To change a value type it in and press [enter].

Execute from command line with all three files in same folder: "python myDG800.py"

The script is "work in progress". Maybe it is of some use for anybody...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 21, 2019, 01:04:43 am
Looks cool, timber. Thanks for using Python 3.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 21, 2019, 02:56:01 pm
I have the opportunity to do some measurements with a real DG992. It seems that at least at the top end of the frequency range, the real one is better.

I did an initial comparison. If you have special requests, let me know. But I am not allowed to open the device.
(https://i.imgur.com/ublxjuY.jpg)
Please note that I used the same cable for all the tests. The second cable in the photo above let to misleading results.

Somehow the pimped DG811's signal is a little bit attenuatet (-2.2 dBm) at 100MHz.

Best regards
Timber

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 21, 2019, 05:01:48 pm
@timber23 --
Great that you had the opportunity to test a genuine DG992, and thanks a lot for the info.
Since we know that the hardware of the DG800 and DG900 series is identical, I'ld assume that it's all about a different calibration of the two flavors.
This means one way or the other we've got to get hold of the calibration instructions...

Cheers,
Thomas
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kosmic on May 21, 2019, 05:37:09 pm
Another possibility is that they test the boards after production and sort them by performance. The good performer goes for the DG992 and the average for the other models.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on May 21, 2019, 07:06:08 pm
Another possibility is that they test the boards after production and sort them by performance. The good performer goes for the DG992 and the average for the other models.

That was exactly my guess.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on May 21, 2019, 07:23:22 pm
It's possible that they bin the final boards by performance, but it may simply be that the calibration just isn't performed at frequencies above their model designation.

Being able to recalibrate the generators would take care of either case. So, that would be the important next endeavor.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: 2N3055 on May 21, 2019, 08:35:23 pm
With today process control and components, I would be surprised if there was any significant spread in specs across batches. Any spread is calculated in into parameter calibration range. They save money calibrating amplitude for smaller bandwidth.
Short version: I also highly doubt there is binning, only partial calibration. Binning actually cost money, they would avoid it, leaving only shorter calibration as a savings on lesser models..
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kosmic on May 21, 2019, 08:46:49 pm
With today process control and components, I would be surprised if there was any significant spread in specs across batches. Any spread is calculated in into parameter calibration range. They save money calibrating amplitude for smaller bandwidth.
Short version: I also highly doubt there is binning, only partial calibration. Binning actually cost money, they would avoid it, leaving only shorter calibration as a savings on lesser models..

Make sense.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on May 21, 2019, 09:21:12 pm
Processor: https://www.ti.com/product/AM3352 (https://www.ti.com/product/AM3352)

That is a nice processor board, price seems not bad for TI, $6 for 1GHz A8.
J1 connector seems to just be to prevent you from plugging it in backwards! The connections don't go anywhere. There is a very small risk though of that board falling out, if there is excessive shock during transportation.

Ram (2pc): https://www.micron.com/products/dram/ddr3-sdram/part-catalog/mt41k128m16jt-125-it (https://www.micron.com/products/dram/ddr3-sdram/part-catalog/mt41k128m16jt-125-it)
DDR3-1600 256MB ~$8

Relay (12pc): http://www.hongfa.com/product/detail/70689a00-9d73-4802-b0ac-e36561332f57 (http://www.hongfa.com/product/detail/70689a00-9d73-4802-b0ac-e36561332f57)
HFD4/4.5-S <$1 ea

DAC (if its the one reported above): https://www.analog.com/en/products/ad9747.html#product-overview (https://www.analog.com/en/products/ad9747.html#product-overview)
AD9747 Dual 16-Bit 250 MSPS $16
AD9743/AD9745/AD9746 are reported as lower bit rate (10, 12, 14-bit) so probably cannot be swapped in, but who knows? They could still be using the same die.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 22, 2019, 12:45:11 am
I conducted the following test:
First DG922 connected to Rigol MSO5000 via BNC and 50ohm termination.
I put DG922 in all possible modes using channel 1.
I measured every 100 KHz Vpp starting at 1 MHz up to maximum frequency using SCPI commands (one command to set freq. and one for measuring).
After finishing all modes for DG922 I disconnected the BNC cable from DG922 and connected it to DG811. After that I performed the same measurements for all modes again.

All measurements were added to an excel sheet (see file attached).

This is how the plot of the data looks like. Until 55MHz the results are very similar. After that there is a difference between DG992 and DG811, independed of the mode set.
(https://i.imgur.com/F0EM3Gh.png)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on May 22, 2019, 12:58:51 am
Until 55MHz the results are very similar. After that there is a difference between DG992 and DG811, independent of the mode set.

That looks about what I am seeing on my hax0red DG812 (though I do not have that sophisticated kind of gear to really verify).

Thank you for going through all the effort! :)  :-/O


Edit: There is no calibration manual available yet for either DG800 or DG900 series, but as these are available for more or less the rest of the line-up it might be just a matter of time to see it pop up here:

https://www.rigol.eu/calibration/ (https://www.rigol.eu/calibration/)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: toshas on May 22, 2019, 09:00:27 am
I'm looking for compatible usb-lan adapter.
Could you share working models ?
Already tried Lenovo FRU03X6903 (RTL8153) and Dlink DUB-1312 (AX88179) with no success "adapter not found".

P.S. tv84 reported that r8188eu.ko module is included, does it means that usb-wifi is possible too?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 22, 2019, 09:09:04 am
All measurements were added to an excel sheet (see file attached).

This is how the plot of the data looks like. Until 55MHz the results are very similar. After that there is a difference between DG992 and DG811, independed of the mode set.

This is precisely what I asked for although I still haven't processed the pic fully!! : ;D

So, one thing is certain:

we may not be able to create an official 992 without adjustments, but a 952 is guaranteed.

Right?

PS: Thank you timber for all that work.

P.S. tv84 reported that r8188eu.ko module is included, does it means that usb-wifi is possible too?

I think the answer is yes.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 22, 2019, 09:44:30 am
I'm looking for compatible usb-lan adapter.
Could you share working models ?
Already tried Lenovo FRU03X6903 (RTL8152) and Dlink DUB-1312 (AX88179) with no success "adapter not found".

P.S. tv84 reported that r8188eu.ko module is included, does it means that usb-wifi is possible too?

I have tried this one. It is not working, just shows the LXI-symbol, but does not get IP address.
Code: [Select]
Bus 001 Device 002: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet AdapterIt is a noname device, looks white with "75.007.24/JP208" written on the side.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: toshas on May 22, 2019, 09:53:15 am
I'm sorry FRU03X6903 has RTL8153.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: toshas on May 22, 2019, 06:35:53 pm
Also tried TP-Link UE200 (RTL8152B) with no luck.

Finally found this one : D-Link DUB-E100 rev. D1 (AX88772), vid:pid 2001:1a02 and it works!

:phew:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rtv on May 24, 2019, 02:39:40 pm
DG811 pcb pictures: https://app.box.com/s/rjgizdvupdsnn4do5hnmw8jmyqdargsz (https://app.box.com/s/rjgizdvupdsnn4do5hnmw8jmyqdargsz)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on May 24, 2019, 06:26:12 pm
For whatever reason I didn't have any luck with Ultra Sigma to send the SCPI command. *IDN? was able to receive a response so that part was working OK. Tried restarting PC and now Ultra Sigma won't even connect, it just crashes when I try to right click the DG811, or closes the window.

So I tried in pyvisa and it worked OK. If anyone else wondering, there is no response back from the instrument after the command is sent. Then the model will be changed right away in sys info, after this you can restart the instrument and limits/UI will then be updated.

Quote
rm = pyvisa.ResourceManager()   #'@py' will not find the DG800
print(rm.list_resources())

gen = rm.open_resource('USB0::0x1AB1::0x0643::DG8A2xxxxxxxx::INSTR')

#Request ID string
print(gen.query('*IDN?'))

#Change model
gen.write(':PROJ:MODE DG992') #works but no response: print(gen.query(':PROJ:MODE DG992'))

#Close the connection
gen.close()
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on May 28, 2019, 11:15:41 am
Since I am getting quite some personal messages regarding how to perform the upgrade I thought it might be useful to elaborate on the method that was kindly put forward by tv84.

dd bs=512 seek=2000000 skips 2*106*512 bytes of memory before writing the contents of the image file. Hence, the USB stick needing to have more memory than 1Gb.

In short: When the DG### sees the contents of the image file on a USB medium from byte 1024000000 onward, it will be listening to the "special" SCPI commands.

My first try was formatting with OS X Diskutility (GUI) and then write the image via dd on the command line. However, SCPI hack did not work afterwards.
Second try I deleted the Volume with diskutil from the command line and then wrote the .img via dd and my DG812 would start as a DG992 on next reboot.
There is no confirmation / ACK sent back by the device though (at least I did not get a response code via SCPI) and you will only see if it worked after restarting the device.

In case you do not know how to use diskutil, how to identify the correct mount point and how not to screw up your other hard drives / media connected to the computer you are working on, please get familiar with what dd and diskutil actually do. It is quite easy to shoot yourself in the foot with those tools. ;)

Please let me know if you need more information.

Also, there is a dd port for Windows: http://www.chrysocome.net/dd (http://www.chrysocome.net/dd)
It is quite an old release and I did not try it myself, but maybe this is of use to some of you.

Kind regards
Frederik
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: gossamer on May 28, 2019, 12:58:33 pm
I had some issues with preparing the partition on the usb flash drive from OSX. I ended up using linux VM and followed this tutorial: https://www.redips.net/linux/create-fat32-usb-drive/ (https://www.redips.net/linux/create-fat32-usb-drive/)

after which I dd the file and everything went smooth.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 28, 2019, 09:41:20 pm
I got mine to upgrade. I used HxD to edit the USB drive and MATLAB tmtool to connect to the instrument. It went smoothly. You can tell that the upgrade worked when the color scheme changes and even the output LEDs switch color from green to red.

I tested briefly the DG811(->DG992) in comparison with Keysight 33500B series. There are obvious limitations of the DG811: overshoot and time jitter are worse, I will post some data later. So, it can't replace a higher-quality generator, but probably a good deal for 1/4 the price of a used Keysight.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 29, 2019, 06:15:08 am
Just noticed that using CH2 and the frequency counter are mutually exclusive. Apparently, the hardware resources (FPGA cells / grunt) won't permit contemporary operation. Considering the market that Rigol's new(ish) low end AWGs are intended for, the integration of a frequency counter may make some sense, especially since Rigol's implementation is quite nice, providing statistics and graphical display. But including it and providing an extra BNC input for the counter and then skimping on the hardware in that way is ridiculous!  ::)

Edit: Some more playing around seems to indicate that the situation is still way more severe if the counter function is enabled: If statistics is active, I won't be able to enable sweeps and other more complex functions on channel 1! Moreover, the generator always reverts to sine waveform. When changing to square wave, duty cycle appears to be limited. I guess a major firmware fix is required from Rigol to set this straight! Shame, I thought Rigol this time got a half-way bug-free instument out but this seems to prove me wrong.
Very strange: After power cycling the instrument and reconfiguring the aformentioned setup, I wasn't able to reproduce my findings and the AWG appears to work as expected.  :-//
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 29, 2019, 03:59:28 pm
I played a bit more with mine DG811(DG922) and seem to have found that it has terrible voltage noise level. If  confirmed by others, it would indicate that 16 bit resolution is nothing but a marketing gimmick!

Here is the simple setup: 10Vpp (Hi-Z) sine wave at 1 kHz with 5 Vdc offset. So the bottom of the sine wave is at 0 V. Now zoom onto the bottom of the wave with an oscilloscope set to 50mV/div or 100 mV/div. Note that not all oscilloscopes can do it, it needs to have a good overload recovery. Among the ones I tried, Owon and Tek could zoom in, while Keysight and Micsig could not.
Here are a couple of pictures comparing the noise level  of DG811 (channel 1, top trace) with Agilent 33500 and with Rigol DG4162, both are much better than DG811.
I have mistakenly tested the noise level while adding extra noise using the waveform combine feature. See message below.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 29, 2019, 06:12:43 pm
I played a bit more with mine DG811(DG922) and seem to have found that it has terrible voltage noise level. If  confirmed by others, it would indicate that 16 bit resolution is nothing but a marketing gimmick!
I repeated your measurement using Siglent SDG2042x as a reference. The DG800's trace is displayed in yellow and the SDG2042x's trace is displayed in blue. I do not see any terrible noise level. Everything seems fine.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 29, 2019, 06:24:48 pm
@maxwell3e10 -

I replicated your tests with an ultra-low frequency square wave (since then the overdrive tolerance of the scope input isn't as relevant to the test) and found more or less similar noise figures for the DG811 and the DG4102, both averaging at round about 850µVRMS. Interestingly (but not unexpectedly), the output of the Siglent SDG6000X is much more noisy with figures round about 3.1mVRMS (bandwidth of at least 500MHz). The spectrum of the DG811 appears to be just white noise without the sampling filter drop at ~120MHz which leads to the assumption that the noise is really generated in the analog output section. I think adding screenshots doesn't make much sense since they look rather boring, the only important figure is the RMS measurement...

Since my Rigol scope isn't as tolerant to input overdrive than the model(s) you used, I cannot replicate your test with the sine wave output directly. And I'm too lazy to pull out the TEK2465 from the darkest corner of the basement for the test... ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 29, 2019, 07:08:48 pm
Duh! Yesterday I was playing with the feature of combining two waveforms on one channel and added noise to it, then forgot to turn it off! Thanks for checking it and setting me straight, TurboTom.

So now that I turned off extra noise, the noise level of DG811 is just a bit worse than Keysight 33500 (see below). It is very similar to the level of noise from DG4162.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 30, 2019, 02:45:25 am
Here is a more detailed comparison of the residual noise spectra for Keysight 33500B and DG811 generators. It is taken again near the bottom of the sine wave. I assume the noise rise around 200 kHz is due to switching noise of the ADC. So it appears that DG811 actually has less ADC noise while it has more analog broadband noise, but that can potentially be filtered out.
(https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/?action=dlattach;attach=749862;image)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 30, 2019, 03:44:05 pm
With low pass filtering at 30 kHz using Micsig scope one can indeed see that DG811 (recorded on Ch 1) is quieter at low frequency than Keysight 33500B (Ch 2). This is recorded for a 0.1 Hz 10Vpp sine wave. I was hoping to see individual ADC steps, which should be equal to 0.15 mV for 16 bit ADC with 10V full range. But the noise is just a bit too high.
(https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/?action=dlattach;attach=750462;image)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on May 30, 2019, 04:35:23 pm
With low pass filtering at 30 kHz using Micsig scope one can indeed see that DG811 (recorded on Ch 1) is quieter at low frequency than Keysight 33500B (Ch 2). This is recorded for a 0.1 Hz 10Vpp sine wave. I was hoping to see individual ADC steps, which should be equal to 0.15 mV for 16 bit ADC with 10V full range. But the noise is just a bit too high.
I have repeated your measurement using Rigol MSO5000 to display the sine-wave. You have to change vector-view to dot view. Then the individual ADC steps are visible.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 30, 2019, 05:15:30 pm
Yes, there are steps, but they are due to time discretization not ADC bits. Notice the step size is about 1 mV. Apparently Rigol used only 2^15 time steps in calculating the sine wave. Here are the measurements using DMM7510 with very slow frequency of 0.1 mHz. Near the top and bottom of the wave the signal is smooth. But on the slope one can see the time steps and even a glitch when the sine wave crosses zero.
Perhaps they can update the firmware, for a 16 bit generator one needs about 2^18 time steps. Otherwise, one can generate a arbitrary waveform with more points.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: geezer458 on May 30, 2019, 08:44:34 pm
Two things about this unit I do not like:

They advertise 250 MHz sampling for ARB or at least strongly imply that. In fact, ARBs that you load up as signed 16 bit integers are played out at a maximum rate of 60 MHz. If there is any trick to do this better I'd like to know it.

If you use external modulation it is filtered and then (apparently) sampled at 1 MHz and then digitally multiplied without interpolation, so unless you like ugly waveforms it's not really useful for anything above audio frequencies. I admit that the second item is a bit of an optimistic stretch on my part but it is (as usual) very misleading to state that the analog modulation has a BW of 1 MHz because that makes you think you could use it at 100 kHz and it would be OK. Not!

I don't think they understand what an arbitrary waveform is. They provide a bewildering array of strange waveforms that they made up from math functions and other stuff and you can select an arbitrary waveform from that group. And everything from that group has their 250 MSPS mumbo jumbo going on, but an actual arbitrary waveform is left out in the cold, so to speak.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 30, 2019, 09:08:11 pm
Welcome to the forum.  In the spec for DG800/900 it says the external modulation bandwidth is 50 kHz. For comparison 33500B has 100 kHz analog modulation bandwidth. I haven't tested that feature.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on May 31, 2019, 12:00:15 am
Yes, there are steps, but they are due to time discretization not ADC bits. Notice the step size is about 1 mV. Apparently Rigol used only 2^15 time steps in calculating the sine wave. Here are the measurements using DMM7510 with very slow frequency of 0.1 mHz. Near the top and bottom of the wave the signal is smooth. But on the slope one can see the time steps and even a glitch when the sine wave crosses zero.
Perhaps they can update the firmware, for a 16 bit generator one needs about 2^18 time steps. Otherwise, one can generate a arbitrary waveform with more points.

The step size is 200uV in his screenshot. I'm seeing 70uV as the lowest discrete step, which is a limitation of the oscilloscope (1mV * 10 / 255 = 40uV, close enough). To use a DMM makes more sense as you've done I think.

I can't see any noticeable difference between the MSO5000 internal generator (AD9744 14-bit), and the DG811 for sine wave (1kHz, 0.1Hz), in terms of noise, etc.

If I look at the horizontal time step, DG800 has a discrete step of 32us (15-bit as you've measured). Internal generator has a step of ~76us (14-bit) for 1Hz sine.
So might report to Rigol, see what they say.

edit: 8Mpts memory should be capable of 125ns division with a 1Hz signal. 1Mpts = 1us. So the limitation shouldn't be that memory, even if you half it for 2 channels. Could it be it takes long to load the memory?
edit2: sent info to rigol.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on May 31, 2019, 12:39:44 am
They advertise 250 MHz sampling for ARB or at least strongly imply that. In fact, ARBs that you load up as signed 16 bit integers are played out at a maximum rate of 60 MHz. If there is any trick to do this better I'd like to know it.

But it doesn't say 250MHz in the spec anywhere, its very clear:
https://beyondmeasure.rigoltech.com/acton/attachment/1579/f-08a0/1/-/-/-/-/DG800%20Datasheet.pdf
https://beyondmeasure.rigoltech.com/acton/attachment/1579/f-08a1/0/-/-/-/-/DG900%20Datasheet.pdf

240MHz frequency counter, 35MHz for sine, 20MHz for arbitrary waveform.

You will find the same advertising on Keysight and other generators, in terms of Msps figures.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: geezer458 on May 31, 2019, 04:53:28 pm
Thanks :)   I will own the fact that I didn't read every line of the DG900 datasheet I quote below in a jpeg attachment
(not sure how to make it inline). I think you could see why after viewing the imaged snippet that I was satisfied that I
could use the modulation feature at 100 kHz. There were duplicate sets of lines after that referencing Internal/External
and a 1 MHz BW over and over, and I had already read something about the input impedance in another place. I had
seen what I was looking for already and didn't find my way down to the "catch" where they say the BW is 50 kHz. I'm
not sure that I would like the results of modulation at 50 kHz either but at the end of the day I would agree that the
fault is mine. Caveat Emptor.

About the sampling, here is the content of the current advertisement on Amazon:

100MHz Function Generator, 2 Channel, 250MSa/sec, 16Bit Resolution, 16M Memory
100 MHz function / arbitrary waveform generator
16 Mpts memory depth per channel for arbitrary waveforms

and here is what is at the top of the data sheet mentioned by thm_w:
----------------------------------------------------------------------------------------
Unique SiFi II (Signal Fidelity II) technology: generate the arbitrary
waveforms point by point; recover the signal without distortion; sample
rate accurate and adjustable; jitter of all the output waveforms (including
Sine, Pulse, etc.) as low as 200 ps
16 Mpts memory depth per channel for arbitrary waveforms
Standard dual-channel with the same performance, equivalent to two
independent signal sources
...
Sample rate up to 250 MSa/s, vertical resolution 16 bits
Arbitrary waveform sequence editing function available; arbitrary
waveforms also can be generated through the PC software
--------------------------------------------------------------------------------------
I don't remember, but I must have read the material below that and perhaps
wondered what they meant by:

Basic Waveforms Sine, Square, Ramp, Pulse, Noise, DC, Dual-tone
Advanced Waveforms PRBS, RS232, Sequence
Built-in Arbitrary Waveforms 160 types of waveforms, including Sinc, Exponential Rise, Exponential Fall, ECG, Gauss, HaverSine,
Lorentz, etc.
.....
Sequence 2 k to 60 MSa/s
Noise (-3 dB) 100 MHz bandwidth
Arbitrary Waveform 1 μHz to 15 MHz 1 μHz to 20 MHz 1 μHz to 20 MHz

It looked like what they meant by ARB waveform was their collection of functions so I chose, perhaps correctly,
to connect the 20 MHz limit with those things, believing that they referred to a limit for playing out predetermined
lists of points. And that may not be wrong.

What I should have understood is that, by their terminology what I was doing was an "Advanced" "Sequence"
to which the limit 2 k to 60 MSa/s applies.

Well, all right.

In the end, I made a generous interpretation based on the headlines and what I wanted it to be. I didn't call them
because it was likely to be a waste of time. Very few companies anymore let you talk to people who aren't reading
canned scripts. I have bought exactly two pieces of Rigol gear and was very favorably impressed with their capabilities
so this time when the item provided less value than I expected rather than more it made me unhappy.

Unfortunately I didn't know that there was a big thread about this unit before I bought it and I think reading that might
have stayed my hand. I am not a regular reader of EEVBLOG, shame on me!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 31, 2019, 05:09:35 pm
Edit: Added the screen shot of my sample rate test. I used an arbitrary waveform with as many steep edges as possible for that. The reason is that the "controlled edge technology" that Rigol calls "SiFi2" is not operational in Arb mode. This means, slopes are defined by just a single sample interval, also recognisable by the slightly faster rise/fall times and (even) more ringing. Now I selected a frequency at which the signal cannot be reproduced by full integers of the sampling frequency, resulting in edge jitter. I measured the time between the two traces that are shown when the scope "averages" over several scans and calculate the frequency which should resemble actual sample rate. And voila, 250MHz!
So it seems that it can output an arbitrary waveform at 250MHz, but I am not sure if its one of the pre-programmed ones, or a custom one.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on May 31, 2019, 06:30:39 pm
Here is another screenshot of the steps in sine wave. This is for a 1 Hz 20Vpp wave. DG811 is yellow, 33500B is blue. If I didn't know any better, I would say at first glance DG811 is not really a 16-bit sine wave, more like 13 bit. But it is due to 2^15 time steps. The Keysight has 4 times as many, 2^17 steps.

(https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/?action=dlattach;attach=751467;image)

This affects only low-frequency sine signals. For frequencies above 7.6kHz one cannot output more than 2^15 steps anyway at 250MS/sec.  Still, generating high-fidelity signals in the audio band is something it should be capable of doing. So hopefully Rigol can address this with a firmware upgrade. Do you know who on this forum represents Rigol?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on May 31, 2019, 08:27:33 pm
This affects only low-frequency sine signals. For frequencies above 7.6kHz one cannot output more than 2^15 steps anyway at 250MS/sec.  Still, generating high-fidelity signals in the audio band is something it should be capable of doing. So hopefully Rigol can address this with a firmware upgrade. Do you know who on this forum represents Rigol?

Oh good point I didn't consider the frequency aspect of that. No one on this forum represents Rigol, but I have updated my case that it would only effect lower frequencies (250M/32768 = 7.6kHz).

They must have something in the software already to decimate the 15-bit calculations when outputting, say a 30MHz sine right? So hopefully its not too hard to add.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on June 01, 2019, 12:17:35 am
Response:

Quote
The 16 bit refers always to the voltage levels not the time base.

The DG800 has a variable time base in reality. The standard waveform functions like sine wave have a standard about 32K length to the table that defines them. This is much deeper that our other instruments actually.

The way we talk about what you are asking about is really memory depth. The memory depth of the standard waves varies from 9000 or so up to what you are seeing. But the arb mode enables waves as deep as 8 Million points. So, you can create a 1 Hz signal that changes every 125 nanoseconds if you need.

Sounds like they store all of the pre-computed waveforms in flash (faster to load?).
So I don't expect an improvement to be made here. If we need a better signal, we have to create it in Arb. timber23's GUI could be modified to load a high-res ARB version, instead of using the internal waveform, for example.

Keysight 33500B is ~$3,400 btw, even most expensive DG992 is only $1000. I guess its asking for a bit much.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on June 01, 2019, 05:57:40 am
I think the problem comes when you need a sine wave with an odd frequency, like 7 Hz, that is not a multiple of the clock rate. I am not sure if the arbitrary wave has the Si-Fi interpolation, so one ends up with some time jitter.

A used Keysight 33500B is about $1200, so the "upgrade" path is the only way that DG800 makes sense.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on June 03, 2019, 02:35:06 pm
Here is a comparison of DG811 (yellow Ch1) with DG4162 (blue Ch2) outputing 20Vpp, 1 Hz sine wave.
One can see that DG4162 uses 2^16 time steps. Even though it is has a 14-bit ADC, the steps are smaller than in DG811.
(https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/?action=dlattach;attach=754086)
Its funny that so far every generator (DG811, 33500B, DG4162) I looked at has a glitch when the sine wave crosses zero. Why can't anyone program a sine wave without a bug.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wolfgang on June 03, 2019, 04:30:17 pm
... just curious, is there also a comparison with Rigols 1062Z somewhere ?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Sighound36 on June 03, 2019, 05:56:43 pm
Sorry if this sounds a tad simple, why not just upgrade the clock and localized decoupling as the unit is only a few hundred $ maybe that way the software may have less to re assemble at its critical point? or is that just to pie in the sky?

On the 822 unit we have, happy to undertake the work on this.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on June 03, 2019, 09:55:22 pm
Sorry if this sounds a tad simple, why not just upgrade the clock and localized decoupling as the unit is only a few hundred $ maybe that way the software may have less to re assemble at its critical point? or is that just to pie in the sky?

On the 822 unit we have, happy to undertake the work on this.

Please explain further, upgrade which clock and decoupling to improve what? I don't think digital decoupling will change anything here.
If a better reference clock is needed, then you can feed 10MHz into the back of the instrument.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on June 04, 2019, 09:28:24 pm
Added all DG800 SCPI commands here:

https://www.eevblog.com/forum/testgear/lists-of-rigol-scpi-commands/ (https://www.eevblog.com/forum/testgear/lists-of-rigol-scpi-commands/)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on June 04, 2019, 10:23:34 pm
Added all DG800 SCPI commands here:

https://www.eevblog.com/forum/testgear/lists-of-rigol-scpi-commands/ (https://www.eevblog.com/forum/testgear/lists-of-rigol-scpi-commands/)

Thanks, I  put the "hidden" commands from your list in that thread.

Some of the interesting ones (response on the right):
:PROJect:PWM:FREQuency? -> '2'
:PROJect:PWM:FINe:CH? -> '0.000'
:PROJect:PWM:LEVel:CH? -> '0.000'

Ones that can only be written:
:PROJect:KEY
:PROJect:DAC:AMP:CH
:PROJect:DAC:OFFSet:CH
:PROJect:MODE
:PROJect:SN

Calibration stuff (I can't read anything back, seems like its just write commands?)

:SOURce<n>:CALibration:RANGNUM
:SOURce<n>:CALibration:SETVALUE
:SOURce<n>:CALibration:MEASVALUE
:SOURce<n>:CALibration:STORE
:SOURce<n>:CALibration:RECALL
:SOURce<n>:CALibration:PRESet
:SOURce<n>:CALibration:DATE
:SOURce<n>:CALibration:HIGHest

Unsure if any of the PROJ commands other than MODEl need a USB key inserted to work.
edit: guide is here (https://beyondmeasure.rigoltech.com/acton/attachment/1579/f-08a6/0/-/-/-/-/DG800_ProgrammingGuide_EN.pdf) btw, I'm impressed that there are ~470 SCPI commands/queries.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on June 09, 2019, 01:10:56 pm
Here are some time jitter std. measurements for a square wave. Both function generators are locked to the oven clock of the HP53310A. DG811 works reasonably well until one gets to low frequencies.

              33500B   DG811
10 Hz         56 ps     396 ps
100 Hz        45 ps      58 ps
10 MHz        42 ps      40 ps

10.1 Hz      292 ps     924 ps
100.1 Hz     107 ps     509 ps

7 MHz        104 ps     147 ps
15 MHz        52 ps     134 ps
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: drummerdimitri on July 08, 2019, 11:47:47 pm
Can anyone please make a video showing how to "hack" a DG8XX to a DG992 as I've been reading the instructions posted on here and it's like I'm reading Chinese  :palm:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on July 09, 2019, 01:25:31 am
Can anyone please make a video showing how to "hack" a DG8XX to a DG992 as I've been reading the instructions posted on here and it's like I'm reading Chinese  :palm:

So where are you running into issues with tv84s post (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391), let us know:

- Have you tried creating the USB key (1GB or larger)?
- Did you download HxD or dd program attempt to modify the drive?
- Do you know how to send SCPI commands to the instrument?

Someone posted a USB image file but can't find the post at the moment.

edit here is the image post: https://www.eevblog.com/forum/testgear/need-help-hacking-dp832-for-multicolour-option/msg2475702/#msg2475702 (https://www.eevblog.com/forum/testgear/need-help-hacking-dp832-for-multicolour-option/msg2475702/#msg2475702)
beware it will re-partition the USB drive to ~32MB (but can be undone with diskpart -> clean in windows if needed).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: drummerdimitri on July 09, 2019, 09:37:39 am
Can anyone please make a video showing how to "hack" a DG8XX to a DG992 as I've been reading the instructions posted on here and it's like I'm reading Chinese  :palm:

So where are you running into issues with tv84s post (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391), let us know:

- Have you tried creating the USB key (1GB or larger)?
- Did you download HxD or dd program attempt to modify the drive?
- Do you know how to send SCPI commands to the instrument?

Someone posted a USB image file but can't find the post at the moment.

I have a 64 GB flash drive that is formated as NTFS is this correct or does it need to be FAT32?
I did download HxD but I have no clue how to use it or what to modify in the drive.
I have no idea how to send SCPI commands. I'm assuming those will be sent through the back USB port?

The instructions aren't clear for someone who's never had a crack at this type of thing.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on July 09, 2019, 09:05:58 pm
Bought a cheap adapter and it works OK: https://www.aliexpress.com/item/32945323919.html (https://www.aliexpress.com/item/32945323919.html) (check out the text on the front)
Chipset is 8152B, so part of the drivers mentioned earlier in this thread.

The clearance across the isolation gap is not very good. Shouldn't matter much for this use.

I have a 64 GB flash drive that is formated as NTFS is this correct or does it need to be FAT32?
I did download HxD but I have no clue how to use it or what to modify in the drive.
I have no idea how to send SCPI commands. I'm assuming those will be sent through the back USB port?

The instructions aren't clear for someone who's never had a crack at this type of thing.

No it should be FAT32, I would recommend finding an older smaller USB key if you have one but that might work.
- Download HxD, run the program, select Tools -> Open Disk -> uncheck "open as readonly" at the bottom -> Select the USB drive (make sure it says Removable Disk as type) and click OK
- At the top where it says Sector, enter 2000000 and press enter
- Copy the magic bytes from tv84's sardinha bin file (0B0A3B2E5F4CECBE), on the top select Edit and then "Paste write"
- Click Save
- Eject USB key
- Plug USB key into back of instrument, it will show the USB symbol in the top right if its detected. You can see if the drive can be opened in the DG800 menu if you like as well, but it won't indicate if it is the magic key or not.

You can send SCPI commands with USB on the back port yes, or ethernet with adapter.

https://hackaday.com/2016/11/16/how-to-control-your-instruments-from-a-computer-its-easier-than-you-think/ (https://hackaday.com/2016/11/16/how-to-control-your-instruments-from-a-computer-its-easier-than-you-think/)
https://www.rohde-schwarz.com/ca/driver-pages/remote-control/instruments-drivers-vs.-plain-scpi-commands_231246.html (https://www.rohde-schwarz.com/ca/driver-pages/remote-control/instruments-drivers-vs.-plain-scpi-commands_231246.html)
https://github.com/eez-open/studio (https://github.com/eez-open/studio) (only works with ethernet)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on July 09, 2019, 10:42:00 pm
Slightly off-topic, but I have been looking for a small VISA implementation to send SCPI commands over USB. How many MB of code does it take to tell the computer to send an ASCII string over USB?
R&S have a 30 MB VISA implementation
https://www.rohde-schwarz.com/ca/driver-pages/remote-control/3-visa-and-tools_231388.html (https://www.rohde-schwarz.com/ca/driver-pages/remote-control/3-visa-and-tools_231388.html)
which is better than Tektronix and Keysight, that seem to be around 100 MB.

Does anyone know any other simple stand-alone VISA application?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: drummerdimitri on July 09, 2019, 11:17:43 pm
Bought a cheap adapter and it works OK: https://www.aliexpress.com/item/32945323919.html (https://www.aliexpress.com/item/32945323919.html) (check out the text on the front)
Chipset is 8152B, so part of the drivers mentioned earlier in this thread.

The clearance across the isolation gap is not very good. Shouldn't matter much for this use.

I have a 64 GB flash drive that is formated as NTFS is this correct or does it need to be FAT32?
I did download HxD but I have no clue how to use it or what to modify in the drive.
I have no idea how to send SCPI commands. I'm assuming those will be sent through the back USB port?

The instructions aren't clear for someone who's never had a crack at this type of thing.

No it should be FAT32, I would recommend finding an older smaller USB key if you have one but that might work.
- Download HxD, run the program, select Tools -> Open Disk -> uncheck "open as readonly" at the bottom -> Select the USB drive (make sure it says Removable Disk as type) and click OK
- At the top where it says Sector, enter 2000000 and press enter
- Copy the magic bytes from tv84's sardinha bin file (0B0A3B2E5F4CECBE), on the top select Edit and then "Paste write"
- Click Save
- Eject USB key
- Plug USB key into back of instrument, it will show the USB symbol in the top right if its detected. You can see if the drive can be opened in the DG800 menu if you like as well, but it won't indicate if it is the magic key or not.

You can send SCPI commands with USB on the back port yes, or ethernet with adapter.

https://hackaday.com/2016/11/16/how-to-control-your-instruments-from-a-computer-its-easier-than-you-think/ (https://hackaday.com/2016/11/16/how-to-control-your-instruments-from-a-computer-its-easier-than-you-think/)
https://www.rohde-schwarz.com/ca/driver-pages/remote-control/instruments-drivers-vs.-plain-scpi-commands_231246.html (https://www.rohde-schwarz.com/ca/driver-pages/remote-control/instruments-drivers-vs.-plain-scpi-commands_231246.html)
https://github.com/eez-open/studio (https://github.com/eez-open/studio) (only works with ethernet)

Thanks for that quite helpful!

I was able to edit the USB as mentioned above and the USB icon showed up on the main screen of my DG811 but I'm confused about why anyone would need a USB to Ethernet adapter as it doesnt have a LAN port  :-//

Anyway, since I only have a windows PC and that link seems to be for raspberry Pi, how to I send the commands via USB connected to my PC?

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on July 09, 2019, 11:29:25 pm
Anyway, since I only have a windows PC and that link seems to be for raspberry Pi, how to I send the commands via USB connected to my PC?
Download R&S VISA (see link above) and use their Tester tool to send the commands
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on July 11, 2019, 09:53:41 pm
I found this minimalistic USBTMC implementation with a windows command-line interface:
https://github.com/xyphro/WinUsbTmc

I installed the driver and it recognizes the device is connected, but so far I haven't been able to make it work.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: drummerdimitri on July 13, 2019, 11:18:25 am
Anyway, since I only have a windows PC and that link seems to be for raspberry Pi, how to I send the commands via USB connected to my PC?
Download R&S VISA (see link above) and use their Tester tool to send the commands

I did but have no idea how to use the software.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on July 13, 2019, 11:54:42 am
Start Tester 32 bit, go find resources menu and click find resource. The generator should show up as USB:...
Then click on it and click connect. In the text window on the right type *IDN?\n, click query and  see if it responds. If not, go to Choose visa implementation menu and try different options then disconnect and connect again. Once it responds to *IDN?\n command, then you can execute other commands.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: drummerdimitri on July 13, 2019, 02:14:22 pm
Start Tester 32 bit, go find resources menu and click find resource. The generator should show up as USB:...
Then click on it and click connect. In the text window on the right type *IDN?\n, click query and  see if it responds. If not, go to Choose visa implementation menu and try different options then disconnect and connect again. Once it responds to *IDN?\n command, then you can execute other commands.

Ok so I was able to configure the software to get a response from my DG811.

Now what's the next step to convert it into a DG992?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on July 13, 2019, 02:57:13 pm
Now you are just one step away! Send

:PROJ:MODE DG992\n

and then restart the generator.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: drummerdimitri on July 13, 2019, 03:26:15 pm
Now you are just one step away! Send

:PROJ:MODE DG992\n

and then restart the generator.

I tried that but nothing happened still showing DG811 :wtf:

I must be missing a step what about that DG800_sardinha.bin file? Surely I must have used it somewhere but didn't.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on July 13, 2019, 03:29:42 pm
You should. Read my procedure, can't be simpler.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: drummerdimitri on July 13, 2019, 03:41:00 pm
You should. Read my procedure, can't be simpler.

I did but it is not clear.

I formatted the USB with HxD and moved the bin file to it.

Then I sent the :PROJ:MODE DG992 command in Tester 32bit application and restarted the device but nothing changed.

What am I missing?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: drummerdimitri on July 13, 2019, 04:06:07 pm
Nevermind.

I tried editing the drive's signature a second time with HxD and it worked this time  :-DD

Thanks for the free upgrade tv84  :clap:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on July 13, 2019, 04:27:18 pm
Nice that you could figure it out. :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 12, 2019, 09:18:54 am
I've just bought a DG-811. Software version 00.01.09.00.00

Can anyone confirm they have upgraded a unit with this software version?  I'm wondering if the door has been closed.

After reading the instructions carefully and many attempts I have been unable to upgrade my unit.

I have tried different sized usb drives.  I have formatted a 2GB, FAT32, 512mB sector size and used HxD to write the string at sector 2,000,000. The drive is recognised when plugged into the DG811. I send the ":PROJ:MODE DG992" using Ultra Sigma connected by usb. I get return code 0 and no upgrade after power cycle.

I have also tried a 8GB drive formatted with default sector size.  All this on Windows laptop.
Any suggestions?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 12, 2019, 09:25:10 am
Format the USB disk in Linux to FAT32 and do the sector writing in Linux, as explained. Forget Windows, for now.

Report the results.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 12, 2019, 10:21:35 am
Format the USB disk in Linux to FAT32 and do the sector writing in Linux, as explained. Forget Windows, for now.

Report the results.

Ok. Formatted the usb drive on linux as vfat type b and put a file system on it and then

dd if=/home/nick/Downloads/DG800/DG800_sardinha.bin of=/dev/sdb1 bs=512 seek=2000000
0+1 records in
0+1 records out
8 bytes copied, 0.00547345 s, 1.5 kB/s

The dg811 mounts the drive ok. When I send :PROJ:MODE DG992 via Ultra Sigma I get (Return Count:0) as a reply. And after power cycle still no upgrade.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on August 12, 2019, 11:42:02 pm
The dg811 mounts the drive ok. When I send :PROJ:MODE DG992 via Ultra Sigma I get (Return Count:0) as a reply. And after power cycle still no upgrade.

You can see my post above where I recommend not using Ultra Sigma to send the command. I'm not certain if it works or not, but the program is quite bad IMO. Try something else and please let us know.

Otherwise we have to wait until FW 00.01.09.00.00 has been uploaded.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ogden on August 13, 2019, 07:24:45 am
You can see my post above where I recommend not using Ultra Sigma to send the command.

I can confirm that I failed with Ultra Sigma as well. What could be that "something else" that works under Windows.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on August 13, 2019, 09:03:38 pm
I can confirm that I failed with Ultra Sigma as well. What could be that "something else" that works under Windows.

pycharm + pyvisa (https://pyvisa.readthedocs.io/en/latest/)
NI-Visa (https://www.ni.com/en-rs/support/downloads/drivers/download.ni-visa.html)
R&S Visa (https://www.rohde-schwarz.com/ca/applications/r-s-visa-application-note_56280-148812.html)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 13, 2019, 09:45:24 pm
Thanks everyone for your interest and help.

I had another go last night with R&S Visa 5.8.5. for Windows.  DG-811 connect by USB.  I was able to change the display brightness ok which I did as a test that the instrument was accepting commands. But still no luck upgrading the model.

If anyone has been able to upgrade an instrument with 00.01.09.00.00 firmware it would be nice to know that.

If firmware 00.01.09.00.00 is known to work, it seems to me there must be something very pedantic about the preparation of the usb drive that I have missed.

Or does the DG-811 have to be set to a certain screen or mode before sending :PROJ:MODE DG992\n ?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on August 13, 2019, 10:03:16 pm
Thanks everyone for your interest and help.

I had another go last night with R&S Visa 5.8.5. for Windows.  DG-811 connect by USB.  I was able to change the display brightness ok which I did as a test that the instrument was accepting commands. But still no luck upgrading the model.

If anyone has been able to upgrade an instrument with 00.01.09.00.00 firmware it would be nice to know that.

If firmware 00.01.09.00.00 is known to work, it seems to me there must be something very pedantic about the preparation of the usb drive that I have missed.

Or does the DG-811 have to be set to a certain screen or mode before sending :PROJ:MODE DG992\n ?

No it doesn't need to be in a certain screen mode. I had it in the info screen, to see the model number. Thats good that you tested commands are working. But its basically impossible to test that the "rigol key" is working as expected, without the PROJ command actually working, which is tough.

You are the first person to report 00.01.09.00.00 firmware so no, its not "known to work". You could consider trying to downgrade the firmware, 00.01.08.00.01 is available on the rigol site: https://www.rigolna.com/firmware/. (https://www.rigolna.com/firmware/.)
There may be some small risk to doing this, and you won't be able to go back to 09 FW until its released, but most likely if there is any problem it will be that rigol blocked ability to downgrade FW.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on August 14, 2019, 12:20:58 am
Format the USB disk in Linux to FAT32 and do the sector writing in Linux, as explained. Forget Windows, for now.

Report the results.

Ok. Formatted the usb drive on linux as vfat type b and put a file system on it and then

dd if=/home/nick/Downloads/DG800/DG800_sardinha.bin of=/dev/sdb1 bs=512 seek=2000000
0+1 records in
0+1 records out
8 bytes copied, 0.00547345 s, 1.5 kB/s

The dg811 mounts the drive ok. When I send :PROJ:MODE DG992 via Ultra Sigma I get (Return Count:0) as a reply. And after power cycle still no upgrade.

Note the highlighted items in red, above. Might make a difference.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 14, 2019, 02:27:42 am
Format the USB disk in Linux to FAT32 and do the sector writing in Linux, as explained. Forget Windows, for now.

Report the results.

Ok. Formatted the usb drive on linux as vfat type b and put a file system on it and then

dd if=/home/nick/Downloads/DG800/DG800_sardinha.bin of=/dev/sdb1 bs=512 seek=2000000
0+1 records in
0+1 records out
8 bytes copied, 0.00547345 s, 1.5 kB/s

The dg811 mounts the drive ok. When I send :PROJ:MODE DG992 via Ultra Sigma I get (Return Count:0) as a reply. And after power cycle still no upgrade.

Note the highlighted items in red, above. Might make a difference.

That was a fairly hurried reply to tv84 in response to a suggested action.

A better reply would have been that I created on the usb drive, with fdisk, a partition of type b and then created a FAT32 file system on that.  I have subsequently tried both active and non-active partitions and also a FAT filesystem. And then after those actions copied DG800_sardinha.bin to the correct sector.

This is the first time I've used VISA to control instruments, so I'm going to go back through all the instructions to see if I am overlookng something simple.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on August 14, 2019, 04:34:22 am
Ah, OK. Bummer. I was hoping that would've gotten you success.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 14, 2019, 05:26:09 am
Tried everything again with no luck.  Attached are the first 2 sectors of my formatted usb stick. Maybe that could be the problem. Can someone with a good stick compare to this file.

Or better still, post you sectors and I will write to my stick.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 14, 2019, 09:14:59 am
Ash,

Why are you showing the 1st 2 sectors of your disk?

Remember the bytes are written at (almost) the 1GB mark. BTW, are you using a +1GB capacity disk?

Have you tried a partition type 0C ?   

Have you tried with another USB disk?

As last resource, go to windows, remove the partition. Create a new partition (default values). Go to debian. Format it FAT32. Do the sector insertion.

You can easily test the sector reading, as the DG does it. I don't have here the command but I can post.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 14, 2019, 10:17:07 am
Thanks for your questions.  I like your work.  I'll answer in  order.

1. Several posts in this thread and your questions are about the stick.  Old stick, another stick, how it was partitioned, FAT32 etc. Created under linux or windows.
Reading through the posts:
It didn't work, a different stick, and then it worked.  No clear explanation.  You get my thinking?  Nothing definitive.  It's a long time since I looked at boot sectors, volume labels, FAT tables etc.
But looking in the first sector is "ëX.mkfs.fat", volume label, etc. Are those fields (except the FAT table ) the same for every utility on different systems that are used to create the stick?  I don't know.

2. I've confirmed that the bytes are written at sector 2,000,000 on a 2 Gb stick.

3.  Yes.  I tried that today.

4.  Not really.  I started out with 2 x 8GB sticks that didn't work and managed to find a 2GB stick.  I can't find another old small one.  So see 1. above.

5.  Sort of the same as above.  What is that trying to achieve?  It's like we are not sure what is going on.  I'd like to help.

Is it possible that before the DG-811 even looks for the bytes at sector 2,000,000, it expects a volume label, text string from creation  utility, come what may, etc etc in first 2 sectors.  On my stick all sectors above the first 2 are 00 until 2,000,000

"You can easily test the sector reading, as the DG does it. I don't have here the command but I can post."  Yes. That could help.

I am suspicious that I seem I can't get this to work on the new firmware.  If anyone has managed to achieve this on firmware 00.01.09.00.00 I'd be really pleased to know.

But it does seem that many are struggling with the usb stick and I'd like to help get to the bottom of that.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 14, 2019, 10:42:37 am
Don't use:

:PROJ:MODE DG992\n

Use just:

:PROJ:MODE DG992

I think I have done this.

Within Rigol Ultra Sigma, -> SCPI command -> Advanced (drop box) -> Options is an EOL sequence.  "\n" is one of 4 options.  So within Ulra Sigma I have sent ":PROJ:MODE DG992" which will be appended by "\n".  It's not possible to send without an EOL sequence.

I don't see similar option within RsVisa so have tried both ":PROJ:MODE DG992" and ":PROJ:MODE DG992\n".  No upgrade either way.

Within both Ultra Sigma and RsVisa I can send ":DISP:BRIG 1" and ":DISP:BRIG 100" to set the display brightness.

What I haven't done is send commands to the DG-811 outside those 2 packages.  I need to do more work before I can use pyVisa under linux.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 14, 2019, 11:26:44 am
I also don't like to insist on the USB thing...  :)

I've tried multiple time in this forum that people start documenting the USB disks with controller, etc info. But to no avail... There are multiple FWs that use some (direct access) sector reading functions that may or may not work in certain conditions.

From what you have said it seems the prob may be in new FW. That's easy to check once I get my hands on it.

The only thing that comes to mind about the sector writing in HxD is if you are using logical or absolute sectors... That's why I prefer to tell people to use the Linux command.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 14, 2019, 11:35:46 am
Thanks for reply.

All my recent tests are using your linux command modified for my file locations.  I have only checked with HxD to see if bytes are present.

I extracted the first 2 sectors from my stick with: dd if=/dev/sdb1 of=/home/nick/Downloads/DG800/sectors.hex count=2

Can you provide first 2 sectors of known good usb stick?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 14, 2019, 12:52:46 pm
Not at home.

Do this and see if the first 8 bytes are the sardinha.bin:

dd if=/dev/sdb1 of=block.bin skip=2000000 count=1
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 15, 2019, 04:51:57 am
Not at home.

Do this and see if the first 8 bytes are the sardinha.bin:

dd if=/dev/sdb1 of=block.bin skip=2000000 count=1

Upload utility won't accept block.bin so block.hex.

Attachment is the result of your command on usb drive prepared with linux that I have been using to try to upgrade.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 15, 2019, 08:55:41 pm
Attachment is the result of your command on usb drive prepared with linux that I have been using to try to upgrade.

As you can see, the block is correctly written. If it's not your VISA stuff, it's the FW that has changed.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 15, 2019, 09:27:27 pm
Attachment is the result of your command on usb drive prepared with linux that I have been using to try to upgrade.

As you can see, the block is correctly written. If it's not your VISA stuff, it's the FW that has changed.

Yes I agree.

I am trying to locate a usb to lan adapter so I can provide the information you requested by PM. The ones that are readily available are based on Axis AX88772 chipset. Looking at your post of kernel modules earlier in the thread, there is only a Realtek rtl8152 driver so I guess the adapter must be based on that chipset.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on August 15, 2019, 10:12:24 pm
There are several adapters, also the "el-cheapo"-ones (https://www.ebay.de/itm/USB2-0-to-Ethernet-RJ45-Female-Network-LAN-Adapter-Card-100Mbps-8152-Chip-no-CD/283413991087?_trkparms=aid%3D1110001%26algo%3DSPLICE.SIM%26ao%3D1%26asc%3D20131231084308%26meid%3Dba30545613d8401f8e336b6ff8ce9f8c%26pid%3D100010%26rk%3D4%26rkt%3D12%26sd%3D253643341083%26itm%3D283413991087%26pg%3D2047675&_trksid=p2047675.c100010.m2109) that work. Some of the cheapest ones aren't equipped with isolating transformers.

The funny thing is, some only get recognized by the DG800/900 after an active LAN cable is plugged in. After that, no problem (...only found this out after having bought three different ones -- altogether still a lot cheaper than the one Rigol offers...).

Cheers,
Thomas
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on August 15, 2019, 10:20:54 pm
If it's not your VISA stuff, it's the FW that has changed.
You could use my Python script to send the SCPI command to switch mode.
(https://i.imgur.com/pHGgjAD.png)
Necessary files are attached.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on August 15, 2019, 10:43:47 pm
I can confirm that this GoojoDoq adapter works: https://www.aliexpress.com/item/32945323919.html (https://www.aliexpress.com/item/32945323919.html) It is only $3.57 and was delivered within 4 weeks. It was sugested by someone here in the forum.

The el-cheapo ones I tryed so far did not work. I mean white LAN adapters with realtek chipset. Even with active LAN connected to it, it didn't work.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 16, 2019, 06:11:01 am
There are several adapters, also the "el-cheapo"-ones (https://www.ebay.de/itm/USB2-0-to-Ethernet-RJ45-Female-Network-LAN-Adapter-Card-100Mbps-8152-Chip-no-CD/283413991087?_trkparms=aid%3D1110001%26algo%3DSPLICE.SIM%26ao%3D1%26asc%3D20131231084308%26meid%3Dba30545613d8401f8e336b6ff8ce9f8c%26pid%3D100010%26rk%3D4%26rkt%3D12%26sd%3D253643341083%26itm%3D283413991087%26pg%3D2047675&_trksid=p2047675.c100010.m2109) that work. Some of the cheapest ones aren't equipped with isolating transformers.

The funny thing is, some only get recognized by the DG800/900 after an active LAN cable is plugged in. After that, no problem (...only found this out after having bought three different ones -- altogether still a lot cheaper than the one Rigol offers...).

Cheers,
Thomas

I'm glad I read your post before going to the local computer shop.  I took the DG811 with me and would probably have rejected the adapter I bought if I hadn't known to plug onto an active cable.

And you also can't "Apply" the network settings if the cable is not connected.

This usb to lan adapter works fine. https://en.j5create.com/products/jue125 (https://en.j5create.com/products/jue125)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 18, 2019, 07:19:46 pm
Bump.
Has anyone with a recently purchased unit with firmware 00.01.09.00.00 been able to upgrade?  Care to share your experience?

Has anyone stumbled upon the root password?  I've tried the obvious ones.

It's not possible to downgrade to 00.01.08.00.01 which is available from rigolna.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 19, 2019, 09:00:39 pm
No luck logging in with "root" or "sshd".

I presume the passwd and shadow files are from a DGxxx firmware 00.01.08 or lower.  The shadow file shows that all accounts except root are disabled. (* in second field) Root has no password ("root::") but that has obviously changed.

I don't understand the significance of the ssh directory.  How does that help?  How do those keys help?

All and any help appreciated.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on August 19, 2019, 10:53:04 pm
All and any help appreciated.

Try performing the downgrade by powering on and hitting the 'Help/Local' button to get to the low level tool.
Does it still block it?

edit: got an interesting screen with two options in Chinese, during boot, not sure what it said. Need to try to get that to show up again.
edit2: port 22 SSH, port 111 rpcbind, port 5555 freeciv.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on August 19, 2019, 11:53:22 pm
I presume the passwd and shadow files are from a DGxxx firmware 00.01.08 or lower.
I don't understand the significance of the ssh directory.  How does that help?  How do those keys help?
I have version 00.01.08.00.01 and I have no luck trying to log in with root and no password using SSH.

The ssh directory includes the authorized_keys. It is the public key of a PC which is allowed to log in, using its private key without password. Because the private key is unknown, the public key doesn't help.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 19, 2019, 11:58:21 pm
Did your instrument ship with 00.01.08.00.01?  Were you able to upgrade using the procedure earlier in the thread?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on August 20, 2019, 12:05:11 am
Did your instrument ship with 00.01.08.00.01?  Were you able to upgrade using the procedure earlier in the thread?
Yes. I did no update, since I received the device. Yes, I created an USB drive with the magic bytes and upgraded from DG811 to DG992.

This is how my "Info" screen looks like:
(https://i.imgur.com/TKvDeky.png)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 20, 2019, 12:11:27 am
Reading through the thread, some members seem to have trouble with the key, which they resolved, and also sending the ":PROJ:MODE DG912". which they resolved.

Can you share by what method your key was formatted and the package used to send the :PROJ command?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 20, 2019, 12:56:26 am
All and any help appreciated.

Try performing the downgrade by powering on and hitting the 'Help/Local' button to get to the low level tool.
Does it still block it?

edit: got an interesting screen with two options in Chinese, during boot, not sure what it said. Need to try to get that to show up again.

I've tried several things with the 'Help/Local' key but I can't bring up low level screen.

If I put a usb drive with firmware 00.01.08.00.01 in the instrument with the Help screen showing, it loads and I get a dialog with 'Detects the upgrade file, upgrade? Touch 'OK' .  Waiting dialog box and then eventually returns to home screen. Upgrade dialog reappears. No downgrade.

EDIT.  Ok. Got to a low level screen in English. Keep pushing 'Help/Local' key when initial RIGOL appears onscreen, before progress bar appears.
No usb installed: 'Not found images...'    Instrument stopped, need to power off.
Usb installed:  'Upgrade from usb disk. Reading...'  wait and then  'ERROR: bad script!'   Instrument stopped.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 20, 2019, 08:19:34 am
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.

It is not possible to downgrade to 00.01.08.00.01 which is known to work and available at rigolna.

I've tried a 2gb and 8gb usb sticks formatted FAT32 with the magic bytes at the correct location.  I've tried sending the the SCPI command by 2 different Windows packages and most recent  using Python under linux. Code snippet below.

>>> rigol = rm.open_resource('USB0::6833::1603::DG8Axxxxxxxxx::0::INSTR')  (xxxxxxxxx is serial no.)
>>> rigol.write(':DISP:BRIG 1')
(28, <StatusCode.success: 0>)
>>> rigol.write(':DISP:BRIG 100')
(28, <StatusCode.success: 0>)

Insert key, waiting dialogue appears, wait

>>> rigol.write(':PROJ:MODE DG992')
(32, <StatusCode.success: 0>)
Power off, remove key, power up.

The 2 DISP strings are just sent to confirm the DG811 is receiving commands by dimming then brightening the display. Then insert key, and after waiting for dialogue box to disappear, send PROJ command.  Then power down and up.
Unfortunately, no upgrade.

Happy to help from here on.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 20, 2019, 08:40:45 am
Root password is:

Code: [Select]
root:$6$KRD.PxZVpASx$V15pbKoUrwRvuPgiX8hegJD9uD3NbLllV6NDiH/A48Es4z9.pc40LGilqSEJifwwxwDKt1rn7yyW//Npp6Oi90:10933:0:99999:7:::
Anyone can break it?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on August 20, 2019, 10:30:39 pm
SSH version info:

ssh dropbear_2016.74 kippo honeypot
https://www.cvedetails.com/vulnerability-list/vendor_id-15806/product_id-33536/version_id-214300/Dropbear-Ssh-Project-Dropbear-Ssh-2016.74.html (https://www.cvedetails.com/vulnerability-list/vendor_id-15806/product_id-33536/version_id-214300/Dropbear-Ssh-Project-Dropbear-Ssh-2016.74.html)

I'm not sure how hard it is to exploit this vulnerability?

'root' is an SSH user, but 'sshd' is not showing as an accessible user. 'Rigol201' was the MSO5000 root password but thats not working here.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on August 20, 2019, 11:42:09 pm
Dialogue box,"Detects the upgrade file, upgrade?" OK.
Rotating wait graphic, which stops and a relay click from the DG811, then after a further short delay waiting dialogue box disappears.  No apparent change in status.  No upgrade after power cycle.
Edit: Just tried to ssh with root. Still no access.

Did you try the GEL then SSH without a power cycle? I'm assuming here the GEL is making a temporary modification.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 21, 2019, 01:04:41 am
It seems we need to get down and dirty with the ssh thing. I'll try some GEL packs in the coming days.

Ashdash, try this GEL.
I'm new at this.  I'd don't see any option to attach files to a private message and how do you move files about over the 5k limit?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 21, 2019, 10:06:14 am
From analysis of the v00.01.09.00.00 app, I can confirm that the new FW version changes the previous method of changing Model.

The USB signature (sardinha.bin) is now placed in the last reserved sector of the USB disk and is XXTEA encrypted.

So, for those who have v00.01.09.00.00, you can write the file DG800_sardinha_v2.bin in the last reserved sector of a USB disk and use the usual SCPI command, as explained previously. Preferably disks with size smaller than 2GB!!


Here's also a small .GEL so that everyone can backup their NAND.  (It takes some minutes to run since it is 512 MBytes long.)

EDIT: Although this method with v2 would work, Rigol also disabled the :PROJ:MODE command in v00.01.09.00.00. So, now, a new command :PROJ:MODF must be used to change Model and this one doesn't use the same sector verification method.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 22, 2019, 08:31:17 am
Thanks again for your help.  The backup GEL worked fine.
But I still can't upgrade.

I have used python to send the SCPI string, doing the display test first.

Just to clarify where the sector should be written:

fsck.fat 4.1 (2017-01-24)
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkfs.fat"
Media byte 0xf8 (hard disk)
       512 bytes per logical sector
      4096 bytes per cluster
        32 reserved sectors
First FAT starts at byte 16384 (sector 32)
         2 FATs, 32 bit entries
   1921024 bytes per FAT (= 3752 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 3858432 (sector 7536)
    480082 data clusters (1966415872 bytes)
62 sectors/track, 61 heads
      2048 hidden sectors
   3848192 sectors total
Checking for unused clusters.
Checking free cluster summary.

32 reserved sectors so I did dd if=/home/xxxx/Downloads/DG800/DG800_sardinha_v2.bin of=/dev/sdb1 bs=512 seek=31
No luck.
I thought maybe it should be before the data sector so then tried dd if=/home/xxxx/Downloads/DG800/DG800_sardinha_v2.bin of=/dev/sdb1 bs=512 seek=7535
No luck
 And I have tried also with an 8GB usb drive adjusting the seek to the appropriate values.

Any suggestions?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 22, 2019, 12:48:54 pm
For reserved sectors access, you must use sdb not sdb1. Sdb1 is the logical volume.
Reformatted drive and put a fat32 file system on it again.

Snippet from fdisk.
Using default response p.
Partition number (1-4, default 1):
First sector (2048-3850239, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-3850239, default 3850239):

Then dd if=/home/xxxx/Downloads/DG800/DG800_sardinha_v2.bin of=/dev/sdb bs=512 seek=2047

And I've inspected the disk and confirmed "DG800_sardinha_v2" is written immediately in front of the logical volume stuff.

I tried the upgrade procedure again but still no luck.  But is "DG800_sardinha_v2" in the correct location now?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 22, 2019, 12:53:57 pm
Use fat16.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on August 22, 2019, 01:05:10 pm
Use fat16.
Same result.  No upgrade. The disk sectors don't look any different with fat16 (type 6 in fdisk).  2048 is the default and lowest value for the first sector.

Edit.  Just spotted a type 4  FAT16 <32M  in the fdisk types.  I'll try that.
Edit. Same result unfortunately.  Sectoring looks the same. Lowest sector for partition 2048.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on September 03, 2019, 04:10:30 am
Hi all,

I'm not sure so, as i understand the  DG800 hack is not possible anymore with new firmware ( 00.01.09.00.00)
as Ashdash latest attempts ? Somebody could confirm this or not ?
Regards.

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on September 03, 2019, 02:51:39 pm

Ok, thank you for the answer  tv84.
So i will follow the thread with patience.  :D
Regards

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Alfons on September 11, 2019, 01:03:46 pm
Any News?:)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on October 02, 2019, 03:19:19 pm
I would love to get a DG800 with 100MHz sine output,
but the hack seem to be closed now so i'll need to found
something other to get a 100MHz output...
Not many choice  available in low price tag. :'(

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on October 02, 2019, 06:49:16 pm
Amplitude accuracy of a hacked DG800 unit anyway is way beyond specs at frequencies above 70MHz. If we had the calibration instruction, we surely could convince a hacked unit to be accurate, but so far there's not even a firmware update (publicly) available -- not that it would be neccessary  ;). The recent 01.09.00.00 probably only had been released to close the hacking backdoors...

Anyway, I'm pretty sure the brillant code wizards attending here will find a way to get around that.  8)  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: xzswq21 on October 16, 2019, 03:05:57 pm
I want to buy a quality Signal generator especillay for Sine and Multisine signals to test my sensors. I want to publish the data with the IEEE.
I'm skeptical between Siglent SDG2042X and Rigol DG952. which one has more cleaner signal?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kodovo on October 18, 2019, 08:06:58 am
I'm skeptical between Siglent SDG2042X and Rigol DG952. which one has more cleaner signal?

If you need clean signal, in terms of S/N ratio, then Rigol DG800/900 series is not for you.  Also some jitter related issues have been reported.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: xzswq21 on October 18, 2019, 09:58:09 pm
I'm skeptical between Siglent SDG2042X and Rigol DG952. which one has more cleaner signal?

If you need clean signal, in terms of S/N ratio, then Rigol DG800/900 series is not for you.  Also some jitter related issues have been reported.
I have another question.
I have realized an optimized Multisine signal to have a better Multisine, anyhow now I have 100 or 1000 different phases, if I want to generate this signal I should send these phases to a DDS core.
Can I send these phases to a Siglent signal generator? Which signal generator do you offer me?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on October 30, 2019, 07:49:33 pm
Halloween gift

Sorry guys (specially Ashdash). It was my fault.

Those who were expecting to upgrade newer FWs can retry:

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

The patch sector is corrected. I hope!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on October 30, 2019, 09:08:37 pm
Halloween gift
Sorry guys (specially Ashdash). It was my fault.

Those who were expecting to upgrade newer FWs can retry:
https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2631693/#msg2631693 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2631693/#msg2631693)

The patch sector is corrected. I hope!

Nice work. I guess they need this functionality for production and they can't avoid it.

Although MSO5000 for example does not have this PROJ command, so they might be configuring it more manually. I tried inserting the key and didn't notice anything unusual there.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on October 31, 2019, 04:07:44 pm
Hello,

I hope somebody would confirm soon that this work again. :)
Thank's for your efforts TV84 !

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ashdash on November 01, 2019, 12:04:23 am
See private message.

Retried using new patch sector, but unfortunately no change in model.

Ready to assist.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on November 01, 2019, 11:53:53 am
Could possibly the serieal number of the device be involved in the "proper" machine identification?

My "almost better than new" DG811  ;) for instance has as S/N starting with DG8A20... but it's running the older firmware so the :PROJECT:MODE change worked.

I'm pretty sure that DG9xx instruments have serial numbers starting with DG9, so this could actually be used by the new firmware to identify if the device is legitimate to be changed into a DG900 series instrument. It's just a shot into the blue but since there appears to be a SCPI command :PROJECT:SN that assumingly permits to change/set the serial number, it may be worth to give it a try.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on November 06, 2019, 07:40:45 pm
So, after a more detailed analysis, the verdict:

With the introduction of FW v00.01.09.00.00, Rigol replaced the :PROJ:MODE command with the :PROJ:MODF !!!!!!

MODE             MODE        :PROJect:MODE    (up to FW v00.01.08.00.01)
MODIF            MODF        :PROJect:MODIF    (from FW v00.01.09.00.00)

Nonetheless, they changed the validation sector of the MODE command but ended up disabling it altogether and inserting a new replacement.

The new replacement uses an ECC signature of the DG model string (ex. DG992) as a parameter. So, not super easy to change modes but still accomplishable.  ;)

BTW, a DG992 (ex-DG811) can be upgraded to v00.01.09.00.00 & beyond and retain all it's features including a S/N starting with DG8A...   :popcorn:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: qft1967 on November 06, 2019, 08:57:02 pm
Ah, that is great news :-) I just received a new DG811 that I had ordered hoping to still find the old FW. But no, it already had FW v00.01.09.00.00. With a calibration date of
07.09.2019, BTW.

I will be eager to test the new method!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on November 06, 2019, 10:42:47 pm
BTW, a DG992 (ex-DG811) can be upgraded to v00.01.09.00.00 & beyond and retain all it's features including a S/N starting with DG8A...   :popcorn:

Don't give rigol any ideas  >:D.

So they sent you the new FW file? I assume no major changes other than what you have found already.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on November 09, 2019, 07:33:03 pm
These equipments have 2 Option licenses:

DG800-ARB8M - ARB  - Memory Depth Upgrade Option
DG800-DCH   - DCH  - Single-dual CH Upgrade Option

In the latest FW version (1.09.xx), Rigol implemented a 3rd "license" (called 'TYPE') to validate Model conversion.

Maybe in the future Rigol will start selling this option and officially support upgrading Models via that scheme.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on November 13, 2019, 05:15:46 pm
Hello,

I'm not sure so i ask, do some progress been made about becoming available again ?
Regards

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TheBay on December 20, 2019, 07:02:19 pm
About to buy a new Function generator, torn between a DG800 series (Hacked if still possible) and a Siglent SDG 1032X
This thread has gone a bit quiet and can't find out much about the DG800/D900 series. The Siglent is about £50 more.
No sure what to go for!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on December 20, 2019, 09:09:56 pm
I'd go with the SDG1032X or the older Rigol DG1022Z. The latter can be cracked to 60MHz still and outperforms both the Siglent and the newer Rigol units.

Telonic sell both. I think the DG1022Z is canned now though
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TheBay on December 20, 2019, 09:55:12 pm
I'd go with the SDG1032X or the older Rigol DG1022Z. The latter can be cracked to 60MHz still and outperforms both the Siglent and the newer Rigol units.

Telonic sell both. I think the DG1022Z is canned now though

Thanks, I hadn't heard of Telonic! Having a look on there now.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kosmic on December 27, 2019, 03:02:49 pm
What's the best way to create and edit arbitrary waveforms ?

I tried Rigol Ultra station and it's only a trial and not working really well.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Mattjd on December 27, 2019, 03:50:47 pm
I'd go with the SDG1032X or the older Rigol DG1022Z. The latter can be cracked to 60MHz still and outperforms both the Siglent and the newer Rigol units.

Telonic sell both. I think the DG1022Z is canned now though

How did you figure out to crack the DG1022Z?

Of all the Rigol gear I bought thats the only one I haven't been able to find stuff for.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kosmic on December 27, 2019, 05:12:40 pm
I'd go with the SDG1032X or the older Rigol DG1022Z. The latter can be cracked to 60MHz still and outperforms both the Siglent and the newer Rigol units.

Telonic sell both. I think the DG1022Z is canned now though

How did you figure out to crack the DG1022Z?

Of all the Rigol gear I bought thats the only one I haven't been able to find stuff for.

try this http://www.gotroot.ca/rigol/riglol/ (http://www.gotroot.ca/rigol/riglol/)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Mattjd on December 27, 2019, 05:44:29 pm
I'd go with the SDG1032X or the older Rigol DG1022Z. The latter can be cracked to 60MHz still and outperforms both the Siglent and the newer Rigol units.

Telonic sell both. I think the DG1022Z is canned now though

How did you figure out to crack the DG1022Z?

Of all the Rigol gear I bought thats the only one I haven't been able to find stuff for.

try this http://www.gotroot.ca/rigol/riglol/ (http://www.gotroot.ca/rigol/riglol/)

Right. That's how Ive done my scope, and psu. Nothing for the DG1022z though.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kosmic on December 27, 2019, 06:34:49 pm
I'd go with the SDG1032X or the older Rigol DG1022Z. The latter can be cracked to 60MHz still and outperforms both the Siglent and the newer Rigol units.

Telonic sell both. I think the DG1022Z is canned now though

How did you figure out to crack the DG1022Z?

Of all the Rigol gear I bought thats the only one I haven't been able to find stuff for.

try this http://www.gotroot.ca/rigol/riglol/ (http://www.gotroot.ca/rigol/riglol/)

Right. That's how Ive done my scope, and psu. Nothing for the DG1022z though.

https://www.eevblog.com/forum/testgear/rigol-dg1022z-function-generator-hack/ (https://www.eevblog.com/forum/testgear/rigol-dg1022z-function-generator-hack/)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on December 27, 2019, 06:58:03 pm
For those that frequently ask for a solution on the "model change" with the new FW v1.09: as I've hinted in the past, it's perfectly possible to continue to perform the "model change" with the new FW. Attached is the proof.

As I've said, Rigol now implements a license-type validation for the "model type" string. It uses ECDSA to verify the model string.

Maybe the best way for all is for someone release a binary patch to the v1.09 main app and place it in a .GEL. For now, i wont be releasing such solution although is perfectly doable by anyone that takes a look at the app. Or try the downgrade path...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on December 27, 2019, 07:04:35 pm
How did you figure out to crack the DG1022Z?

Of all the Rigol gear I bought thats the only one I haven't been able to find stuff for.

It's been available for a few months...

Here is a guide. (https://www.eevblog.com/forum/testgear/need-help-hacking-dp832-for-multicolour-option/msg2582898/#msg2582898)

The ARB16M can be obtained by using the specific private key with riglol. Search is your friend.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on December 28, 2019, 05:48:50 pm
Hello Tv84,

First, thank you for this message.
Now, I must admit to doesn't be sure to understood all.

From your post #312 you explain that the magic command is now
":PROJ:MODIF DG992" for DG992 conversion.
(instead of previous ":PROJ:MODE DG992")
Then, you explain that it not work because there is an ECC signature.
So, it's not doable (easily ?).

You seem to explain that EEC (ECDSA)  model string signature can be obtain by our-self,
 but that is very obscure for me..
How i can obtain this, and what i do with ?

The other way would be to downgrade the firmware to previous one (00.01.08.00.01)
 that allow the model change to work. Does this method has been tested successfully ?
I agree that if this work ok,  that could be fine for me ! : )

Is there any feedback to others owners of DG811 with new firmware
that have done model change with success ?
Does Ashdash has been done this ?
Thank you for your efforts.
Best regards.

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kosmic on December 28, 2019, 06:06:00 pm
If I understand correctly, TV84 is suggesting to patch the command ":PROJect:MODIF" in the binary and hardcode the new required argument to "DG992" (after being processed by ECDSA). This will allow anybody to call the command and upgrade their unit.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on December 28, 2019, 07:39:04 pm
If I understand correctly, TV84 is suggesting to patch the command ":PROJect:MODIF" in the binary and hardcode the new required argument to "DG992" (after being processed by ECDSA). This will allow anybody to call the command and upgrade their unit.

Indeed that is the scenario very similar to what I suggested. A patch can be done multiple ways but that one is perfectly doable.

You seem to explain that EEC (ECDSA)  model string signature can be obtain by our-self,
 but that is very obscure for me..
How i can obtain this, and what i do with ?

The other way would be to downgrade the firmware to previous one (00.01.08.00.01)
 that allow the model change to work. Does this method has been tested successfully ?
I agree that if this work ok,  that could be fine for me ! : )

Does Ashdash has been done this ?

Frex, I never said ECDSA was acessible to everyone. The "best way for all" suggested by me is in line with what kosmic said.

But downgrade can also be a easier way. All I need is a volunteer.

The photos are from Ashdash's equipment...

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on December 28, 2019, 08:14:58 pm
Hello,
Ok, thanks for clarifying.
(And my apologize about ECDSA misunderstanding).

So, now we must wait that someone explain how to get same "trick" as on the Ashdash device,
 or if firmware downgrade is possible to get it.  That's it ?
Best regards.

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on December 28, 2019, 09:01:25 pm
@Frex: Or you can offer to volunteer testing the experimental downgrade firmware file that TV84 may provide on your DG800. This will (most likely) result in an improved machine for you and a path for others to follow who are in the same situation as you are now.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on December 29, 2019, 06:42:33 am

@TurboTom: Yes of course, but i don't have own it yet,
i wait for the trick become available before deciding to buy it .
 :P

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: worsthorse on January 03, 2020, 02:17:28 am

No it should be FAT32, I would recommend finding an older smaller USB key if you have one but that might work.
- Download HxD, run the program, select Tools -> Open Disk -> uncheck "open as readonly" at the bottom -> Select the USB drive (make sure it says Removable Disk as type) and click OK
- At the top where it says Sector, enter 2000000 and press enter
- Copy the magic bytes from tv84's sardinha bin file (0B0A3B2E5F4CECBE), on the top select Edit and then "Paste write"
- Click Save
- Eject USB key
- Plug USB key into back of instrument, it will show the USB symbol in the top right if its detected. You can see if the drive can be opened in the DG800 menu if you like as well, but it won't indicate if it is the magic key or not.

You can send SCPI commands with USB on the back port yes, or ethernet with adapter.


Thanks to tv84 for the original post and to you for posting this.  :-+

I had some trouble with the original instructions (definitely PEBKAC, I am very out of practice with Linux) and your directions showed me where I was going wrong.

For non-Linux types: you can do this in windows 7 with rigol's ultrasigma SCPI control program over USB and, as noted above, make the key following these directions. No ethernet adapter necessary nor Linux expertise!  ;D

BTW... I am using a Plugable USB to ethernet adapter (USB2-E100) with no problems. About ten bucks I think.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ogden on January 03, 2020, 02:31:57 am
For non-Linux types: you can do this in windows 7 with rigol's ultrasigma SCPI control program over USB and, as noted above, make the key following these directions. No ethernet adapter necessary nor Linux expertise!  ;D
My two cents: I tried literally every possible way of preparing flash disk using windows. Did not fork for me. Solution was Linux (rPI) to prepare - format & write flash, then windows ultrasigma software.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: worsthorse on January 03, 2020, 02:42:04 am
For non-Linux types: you can do this in windows 7 with rigol's ultrasigma SCPI control program over USB and, as noted above, make the key following these directions. No ethernet adapter necessary nor Linux expertise!  ;D
My two cents: I tried literally every possible way of preparing flash disk using windows. Did not fork for me. Solution was Linux (rPI) to prepare - format & write flash, then windows ultrasigma software.

I had exactly the opposite experience trying to format the drive in Linux. In my case, I am sure it involved a large PEBKAC factor so after three or four tries, I stuck the USB stick into a windows 7 box, formatted it to FAT32 using the standard format tool, opened HxD, inserted the key bytes, saved it and was good to go. 

Reality is very odd sometimes.  :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on January 05, 2020, 09:13:26 pm
But downgrade can also be a easier way. All I need is a volunteer.

The volunteer has appeared and helped test the downgrade FW.

So, now there is a FW v1.08 that can be flashed over a v1.09. It has been successfully tested.

The following can also happen immediately:
Additional PRO: immediately converts the unit to DG992, with no more commands.    :popcorn:
Additional CON: resets the S/N. So, one must resend the S/N with the SCPI command :PROJ:SN.  ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: worsthorse on January 05, 2020, 10:31:14 pm
But downgrade can also be a easier way. All I need is a volunteer.

The volunteer has appeared and helped test the downgrade FW.

So, now there is a FW v1.08 that can be flashed over a v1.09. It has been successfully tested.

The following can also happen immediately:
Additional PRO: immediately converts the unit to DG992, with no more commands.    :popcorn:
Additional CON: resets the S/N. So, one must resend the S/N with the SCPI command :PROJ:SN.  ;)

nice piece of work!  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on January 06, 2020, 03:01:31 am
Agreed. Well done, tv84! :clap:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on January 06, 2020, 04:41:29 pm
Hello,
indeed very nice TV84 !   :-+
How to perform this then ?
Can you explain a procedure ?

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on January 06, 2020, 04:56:03 pm
Can you explain a procedure ?

Upgrade FW procedure as usual.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on January 06, 2020, 05:36:37 pm
 
Ah ok !  ::)
I wasn't thinking that is so simple... :P
So as soon firmware is back to 00.01.08.00.01 , we can follow the procedure
in you post #147 (http://"https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391")  , it is correct ?
Can i use the old (01.08) firmware here (http://"https://www.rigolna.com/firmware/") ?
Regards

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on January 06, 2020, 05:41:42 pm

I downloaded the firmware zip file I linked above, and it include
a GEL file and text file.

When i open the text file "DG800_DG900 Upgrade Instructions.txt" i can read :
"  - DG800/900 series digital oscilloscope does not support the downgrading
      operations. "

What about this , It's a lie ?

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on January 06, 2020, 05:58:57 pm
 :palm:

I crafted the downgradable version.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Kosmic on January 06, 2020, 06:12:54 pm

I downloaded the firmware zip file I linked above, and it include
a GEL file and text file.

When i open the text file "DG800_DG900 Upgrade Instructions.txt" i can read :
"  - DG800/900 series digital oscilloscope does not support the downgrading
      operations. "

What about this , It's a lie ?

Frex

Frex, the patched firmware was never posted by TV84.

If you try to install the official firmware, of course it's not going to work since Rigol do not support downgrade.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on January 06, 2020, 06:53:57 pm
OK I see.
Sorry once again for the misunderstanding.
So it isn't as simple and we need this new 01.08 "custom"  firmware
before to try downgrade.
Do you share it TV84 ?

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on January 06, 2020, 08:20:46 pm
OK I see.
Sorry once again for the misunderstanding.
So it isn't as simple and we need this new 01.08 "custom"  firmware
before to try downgrade.
Do you share it TV84 ?

Frex

Frex, now it's my turn: have you got the equipment? If not, then you don't need the file.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on January 06, 2020, 08:50:25 pm

Not yet, well done.  :(
But i could ask you when done ?

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on January 10, 2020, 06:06:21 pm
Hello,

I received today my DG811 from Batronix !
Good news, it is arrived with the old firmware 00.01.08.00.01
I have made the special USB key.
To send the SCPI command, does the easiest way is to
install RIGOL UltraSigma software ?
Regards

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: egonotto on January 10, 2020, 07:47:51 pm
Hello,

no, Peter Dreisiebner Rigol Bildschirmkopie LAN/USB is much better. http://peter.dreisiebner.at/rigol-bildschirmkopie/index.htm (http://peter.dreisiebner.at/rigol-bildschirmkopie/index.htm)

If you use lan you dont need a installation.

Best regards
egonotto
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on January 11, 2020, 09:38:50 am
Ok right.

I installed it, but when i tried to install the WinUSB driver (WinUSB (v6.1.7600.16385))
 with Zadig the install fail . I'm on win7-64.
Any idea ?

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on January 12, 2020, 09:52:44 am
Hello,

After installing Rigol Bildschirmkopie LAN/USB and WinUSB drivers with Zadig,
the DG811 recognized but communication not work (error when scpi command send).
SO i finally install Rigol UltraSigma that is a nightmare on win7...
Anyway, now the DG811 is becomed a DG992 !
Very happy, and big thank to all ! (special for TV84).
Regards

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: swperk on January 25, 2020, 02:28:02 pm
A HUGE thanks to tv84 for helping me with my DG812->DG992 upgrade!

I've written up a set of instructions based on tv84's original instructions, but also added a few bits gleaned from other discussions and my own adventures and missteps while performing the upgrade. I have not tried the upgrade method for firmware 01.09, so the command I've listed for that upgrade is based only on what I've read in this forum. I would definitely appreciate any comments, suggestions, additions, or corrections to what I've written here.


HOW TO CHANGE RIGOL DG800/DG900 MODELS

1. Format a blank USB disk of at least 1GB capacity as a FAT32 drive

2. Write the special signature to the USB disk (assuming it is at /dev/sda1) with the following Linux command:

   sudo dd if=DG800_sardinha.bin of=/dev/sda1 bs=512 seek=2000000

Or use the HxD program in Windows to write the following 8 bytes at offset 2000000:

   0B0A3B2E5F4CECBE

3. With the special USB disk inserted, send the SCPI command via the DG USB interface (using Rigol Ultra Sigma, for example) to change the model to DG992:

   :PROJ:MODE DG992      (for firmware 00.01.08.00.01 or lower)

   :PROJ:MODIF DG992   (for firmware 00.01.09.00.00 or greater)

DO NOT use the "Send and Read" command. Attempting to read a response from the DG will invalidate the command.

Possible model types (as seen in the first 4 bytes of the sd.xx configuration file):

00 - DG811
01 - DG821
02 - DG831
03 - DG812
04 - DG822
05 - DG832
06 - DG952
07 - DG972
08 - DG992

4. Remove the special USB disk from the DG and restart the DG.

5. Enjoy!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on January 25, 2020, 02:37:06 pm
:PROJ:MODIF DG992   (for firmware 00.01.09.00.00 or greater)

This is not correct! The rest is OK.

MODIF command is something like this:

PROJ:MODIF DG992,<---512 bytes block with encrypted signature of the model--->
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: swperk on January 25, 2020, 05:38:53 pm
Thanks for that correction!

Do you know if the purpose of the 01.09 release was only to close the window for the upgrade possible under 01.08, or were there additional features enabled? I notice that on www.rigolna.com (http://www.rigolna.com), the latest firmware is still shown as 00.01.08.00.01.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on January 25, 2020, 06:15:21 pm
Thanks for that correction!

Do you know if the purpose of the 01.09 release was only to close the window for the upgrade possible under 01.08, or were there additional features enabled? I notice that on www.rigolna.com (http://www.rigolna.com), the latest firmware is still shown as 00.01.08.00.01.

I have that feeling BUT the "window closing" and the new upgrade method was so poorly implemented that the FW didn't even see the light of day (for the general public).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ultranalog on January 29, 2020, 11:47:30 pm
Just a BIG thank you to tv84 for his help in downgrading my 1.09 DG811 which came with 1.09 preinstalled, and of course all the work done in making this possible in the first place.

I don't do much in the 100 MHz area, but for the more complex waveforms (even square), I definitely need the 25 MHz, 5 MHz is a joke.

Also, thanks to timber23, my desk is often so full that I can't get to the damn equipment. I need remote control, well done!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: qft1967 on January 30, 2020, 08:08:08 am
Just a BIG thank you to tv84 for his help in downgrading my 1.09 DG811 which came with 1.09 preinstalled, and of course all the work done in making this possible in the first place.

I don't do much in the 100 MHz area, but for the more complex waveforms (even square), I definitely need the 25 MHz, 5 MHz is a joke.

Also, thanks to timber23, my desk is often so full that I can't get to the damn equipment. I need remote control, well done!

Yes, from me also a big thanks to tv84 for the downgrade. Was your serial number also reseted to 0, and where you able to put it back? Somehow for me the PROJ commands are not working... Anyway, besides that it's working perfectly...

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ultranalog on January 30, 2020, 03:24:32 pm
Yes, from me also a big tanks to tv84 for the downgrade. Was your serial number also reseted to 0, and where you able to put it back? Somehow for me the PROJ commands are not working... Anyway, besides that it's working perfectly...

Yes, my serial was reset. Funnily enough, if you go to utility->interface->USB you will still find a reference to your original serial number  :o

And I did manage to bring it back. For this, you need the magic usb stick, formatted FAT32, with 0B 0A 3B 2E  5F 4C EC BE written at sector 2 000 000. I then was able to use ultra sigma and go :PROJect:SN DG8XXXXXXXXXX without any issues.

(https://i.imgur.com/A1KNAng.png)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: qft1967 on January 30, 2020, 09:24:25 pm
Well, look at that, now it works for me too. I think I exchanged over 10 messages with tv84 just about this as I couldn't get it to take my SN back. I had given up already, as I thought it anyway doesn't matter.

In the end I think I missread the instructions and had put the code at sector 200k and not 2M. Thanks ultranalog for writing it out clearly again.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: NETeagle on February 05, 2020, 10:24:22 am
Hi,

I've done successfully a downgrade from 1.09 to 1.08 with the custom fw provided by tv84 on my DG811. Then I have restored the serial number with the command :PROJect:SN DG8XXXXXXXXXX and the USB key plugged. The function generator works up to 100MHz now  8).
Thanks tv84 for your help  :-+ !

Cheers
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on February 13, 2020, 08:13:10 pm
I was able to upgrade another DG811 with 1.09 firmware using tv84 method. Thanks! One possible problem is that if the USB stick has too many files, the generator can't find the .GEL file and doesn't initiate the upgrade. Using an empty USB stick works fine.

Strangely, I haven't been able to change my SN using the USB stick with the magic string. I used one before to upgrade another generator. Must be doing something wrong now...

Edit: Apparently I was opening the USB stick in HxD as a "physical disk". If I open it as a "logical disk" and put in the magic string, then it works! That is what I must have done the first time. So this is another potential pitfall.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on March 02, 2020, 04:41:14 pm
First of all I want to thank all the keen and gifted helpers in this thread, especially TurboTom, Ashdash, thm_w, tv84 for providing the decisive information and files and timber23 for risking his DG922 and writing the RemoteControl! :-)

My DG811 is on its way and due to the thread entries it is obvious, that I will get Version 1.09 tomorrow, thus I have to downgrade to 1.08 first, right?

Because of my high blood pressure, I need to ask some questions for my understanding, before having the device in front of me... ;-)

1. I have an old "SanDisk USB", 4GB, formatted with "SD Card Formatter" to FAT32

2. I did the manipulation of the "SanDisk USB" with HxD at point 2 000 000 with the bytes (0B0A3B2E5F4CECBE) from file "DG800_sardinha.bin" in order to get the MagicUSB

3. The DG811 will be connected via the shipped USB cable together with my PC. I am on Ubuntu Bionic Beaver, but my MultiBoot-PC has an "Offline Windows 7", which I will use for this purpose:

   -> I have already installed "Ultra Sigma Software" in order to send via "SCPI Panel Control" the two commands:
   -> :PROJ:MODIF DG992
   -> :PROJect:SN DG8XXXXXXXXXX
   -> The MagicUSB will be connected directly to the DG811 USB port while doing so.
   
   
   ***** And HERE - probably also before  :-// - I struggle concerning the meaning of the different files...*****


What do I have to copy onto my MagicUSB, connected directly to my DG811 at first, second...before executing my step "3." ???

"SardineUpdate.GEL" provided by tv84 in post #294
Is this for doing my NAND-Backup in order to get back to 1.09 after the downgrade for the later upgrade again?

...or is this already the downgrade file over 1.09?
...or is this an update file back to 1.09?

"DG800_sardinha_v2.bin" provided by tv84 in post #294
Is this for doing the downgrade to 1.08?


As this will be my first Rigol, I am unfortunately a little bit confused and have the feeling, that I have misunderstood something...  ???

Thank you very much for any help! ;-)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on March 02, 2020, 05:06:21 pm
You're making things harder for you!

Implement JUST and ONLY my 1st procedure, if you have v1.08. If not, you need to downgrade from v1.09 to v1.08 to apply it.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on March 03, 2020, 02:56:17 pm
Thank you for your quick reply, tv84!

Unfortunately I am not that lucky as Frex with his version 1.08...

Today I received my DG811 from Batronix with FW 1.09 - I did a photo from the DG811 and blacken SN after DG8A... The black spot on the upper side is from my dirty Galaxy S5 lense.


May I ask for your special Custom Firmware to do the downgrade, tv84?  :'(


Best wishes!


By the way @ Frex: Did you have a foil protection on your display, as you also ordered from Batronix? I did not. In several yt-videos all of them had to peal of the protection foil from the display...maybe they sold me a retoure...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Frex on March 03, 2020, 03:53:24 pm
Hello PushUp,

Yes, I ordered mine to Batronix too.
But honestly i don't remember if there was a protection foil ... sorry :- \
No worry, i think Tv84 will help you to downgrade it  :-+

Frex
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Dagidag on March 05, 2020, 09:15:56 pm
Hello all

some problem.  can not downgrade from 1.09 to 1.08 :(
MODIF on 1.09 not working :(
after many restarts and flash-horror-hour  |O
anybody use "SardineII(ARM)Update-v00.02.04.00.00" from internal Rigolsite?
Sorry for my english
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on March 05, 2020, 09:47:34 pm
Hello all

some problem.  can not downgrade from 1.09 to 1.08 :(
MODIF on 1.09 not working :(
after many restarts and flash-horror-hour  |O
anybody use "SardineII(ARM)Update-v00.02.04.00.00" from internal Rigolsite?
Sorry for my english

I think tv84 is the only one with file to downgrade.

Release notes:
v00.02.04.00.00   2020-02-18
- Add open source declaration in help UI
- Solve the problem of address error in ultralab heartbeat server configuration
- Solve the bug that the relay output instantaneous voltage error after setting offset

The applicable models include DG811,DG821,DG831,DG812,DG822,DG832,DG952,DG972,DG992,DG2052,DG2072,DG2102.

I'm not sure if the third one is the fix we discussed in the other thread, if it is I'm thoroughly confused as support said it won't come until June... Will try the firmware when I get home.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on March 05, 2020, 09:49:05 pm
Hello all

some problem.  can not downgrade from 1.09 to 1.08 :(
MODIF on 1.09 not working :(
after many restarts and flash-horror-hour  |O
anybody use "SardineII(ARM)Update-v00.02.04.00.00" from internal Rigolsite?
Sorry for my english

Forget MODIF. Please send me that FW version.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on March 05, 2020, 09:53:42 pm
Forget MODIF. Please send me that FW version.

Its on the rigol EU site, https://www.rigol.eu/En/Index/listView/catid/28/p/3.html (https://www.rigol.eu/En/Index/listView/catid/28/p/3.html)
edit: mirror (https://wetransfer.com/downloads/fa968b202fc31f5bc356ce39bfa1264920200305215456/abf59585617790e2a8317081337acb3920200305215457/78c446)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on March 06, 2020, 06:02:10 am
- Solve the bug that the relay output instantaneous voltage error after setting offset

Can confirm this is fixed. I don't expect any other major changes, model is still the same DG992 (thanks to tv84).

Before:
[attachimg=1]

After:
[attachimg=2]
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Dagidag on March 06, 2020, 06:13:49 am
THX thm_w

that is the FW 00.02.04.00.00 what I meant.

THX tv84
have you dowload it? or should I send (64MB) ?

if there is no easy way downgrade 1.09 to 1.08. And unlock with 1st method (MODE) on 1.08.
I can try update to 02.04 and 1st method (MODE)
or downgrade 02.04 to 01.08 and 1st method (MODE)
need DG992  8)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on March 06, 2020, 10:00:46 am
...did some testing...  :-/O

In case you are as curious as I - don't do the 2.04 update from a modified 1.08.00.01 by tv84, because your DG8XX (pimped to a DG992) ends up as a normal DG8XX again - with FW 2.04!

However, it was also possible to use the same method backwards to downgrade from 2.04 (the same as with 1.09), to end up with a pimped DG992 on FW 1.08.00.01 as before again.

This time the SN is also kept - no need to use scpi command any more...


Cheers!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on March 06, 2020, 10:43:40 am
In case you are as curious as I - don't do the 2.04 update from a modified 1.08.00.01 by tv84, because your DG8XX (pimped to a DG992) ends up as a normal DG8XX again - with FW 2.04!

 ::) Since that was not the case in thm_w's FW update, you should try this:

After installing the downgrade FW, you MUST execute my 1st procedure in order to change the model to DG992 (even if you already see DG992 in the system menu). Or change it to DG972 and then back to DG992, just to check that all is good. Then apply the newest 2.04 FW. I think it should stick.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on March 06, 2020, 12:24:30 pm
I did the change to model name "DG972" (pic 1) and backwards to model name "DG992" (pic 2) successfully, but again no luck to update to official 2.04 keeping a pimped DG992, ending with a "DG811" on 2.04 (pic 3) and back to "DG992" with your special CFW ending with 01.08.00.01 (pic 4)...

I clearly miss something, but at the moment I have no idea, how to solve it...  :'(

At least it shows, that any new buyer is able to downgrade from official 2.04!

Cheers!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on March 06, 2020, 05:46:00 pm
No problem!  :-+

Maybe it has something to do with the implemented/saved/changed SN? DG8A vs. DG9A!?

Before executing FW 2.04 on my pimped DG992, I tried to implement a DG9A-SN (see pic, probably blacklisted?!)
and surprisingly ended with my own original SN on a DG811 with official FW 2.04 after the reboot.

However, when doing the CFW by tv84 to get back to a pimped DG992,
there was the same DG9A-SN from the beginning again - directly after the reboot...  :popcorn:

Cheers!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Dagidag on March 06, 2020, 07:17:07 pm
custom FW for downgrade not posted here.
you can share it?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on March 06, 2020, 07:19:59 pm
Here is my photo after finishing FW upgrade.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on March 06, 2020, 08:04:02 pm
Maybe it is also useful to name the FW the DG8XX was originally delivered with?

Could it be, that the DG8XXies originally shipped with 1.09, got a special "implementation"?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on March 06, 2020, 08:10:18 pm
Maybe it is also useful to name the FW the DG8XX was originally delivered with?

Could it be, that the DG8XXies originally shipped with 1.09, got a special "implementation"?

Naaaa...  My DG came as 1.08.

Downgrade. Set the original S/N and model = "DG992", explicitly with my 1st procedure. Then try again the upgrade. Or after setting things, flash a FW previous to 2.04 and then 2.04.

Don't do any operation with the S/N DG9... No need to invent.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on March 06, 2020, 08:43:10 pm
My DG812 came with FW 1.08.01 and I initially could upgrade it to the 992 model when tv84 first posted the instructions.
I did not run a firmware update in the meantime but just now installed 2.04.
After FW update it still runs in 992 mode without any changes, keeping the original DG8xxxx serial number etc.

Just wanted to report back that there was no problem at all upgrading to the new firmware. :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on March 06, 2020, 09:59:20 pm
This thread is going to lose me some coin soon  :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wintel on March 06, 2020, 10:57:01 pm
Maybe it is also useful to name the FW the DG8XX was originally delivered with?

Could it be, that the DG8XXies originally shipped with 1.09, got a special "implementation"?

Naaaa...  My DG came as 1.08.

Downgrade. Set the original S/N and model = "DG992", explicitly with my 1st procedure. Then try again the upgrade. Or after setting things, flash a FW previous to 2.04 and then 2.04.

Don't do any operation with the S/N DG9... No need to invent.

After upgrade from FW 1.08 to FW 2.04 , does the "DG992" can output 100MHz without any problem?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on March 07, 2020, 12:06:46 am
After upgrade from FW 1.08 to FW 2.04 , does the "DG992" can output 100MHz without any problem?

yes
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: timber23 on March 07, 2020, 02:42:28 pm
After upgrade from FW 1.08 to FW 2.04 , does the "DG992" can output 100MHz without any problem?
yes
For me, there is still a problem at 100MHz. The output power is reduced by (-11.3 - (-8.08) [dBm] =) -3.22 dBm.
So the output of a 100MHz sinusoidal signal is possible with FW 2.04, but at least my device has the same reduced output power problem as before with FW 1.08.
I attached a photo of my hacked DG811->DG992 with FW 2.04. Furthermore I attached three measurements taken with hacked SSA3021X. Both devices (DG811 and SSA3021X) are connected to an external clock driven by a GPSDO. So there is no surprise that both frequencies are spot on.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Dagidag on March 08, 2020, 10:24:30 pm
THX tv84 :)

downgrade 01.09  to 01.08 work perfect.

Unfortunately it works update to 02.04  :(

First downgrade 01.09  to 01.08 CFW - ( show as DG992 S/N reset 0)

send :PROJ:MODE DG992 (can change it to DG997 or some Model its works)
send :PROJect:SN DG8AXXXXXXXXX with my original S/N (thats works, can be changed)
tested with UltraSigma and NI Max
after update to 02.04 start as DG811

I can before the update enter any S/N (reset DG8A000000000, tested with another DG811 Key)
send :PROJect:SN DG8Asomething

after update 02.04 start as DG811 with my original S/N  :o

01.09Official->01.08CFW = Yes
02.04Official->01.08CFW = Yes
02.04Official->01.08Official =No
01.08CFW->01.08Official = No

PushUp did you have sucess?
someone did it successfully preinstalled 01.09->01.08FW->02.04 ?

another project, not tested https://github.com/justchain/DG811
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on March 09, 2020, 01:33:27 am
For me, there is still a problem at 100MHz.

I would not call that a problem. This behavior is to be expected since FW does not have anything to do with your devices calibration. Attenuated output on 'upgraded' DG8xx models seems to be the norm. There were a lot of comprehensive measurements on various units (posted some pages back), that showed attenuation above 50 MHz (?).
The assumption is, that DG8xx models have only been calibrated up to 50MHz and one would need to do a full calibration routine after upgrading. However, there is no comprehensive DIY calibration guide (yet) AFAIK.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on March 09, 2020, 02:32:04 am
Correct on the calibration issue above 50 MHz. For more info, the discussion starts about here: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420703/#msg2420703 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420703/#msg2420703)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on March 09, 2020, 12:19:02 pm
PushUp did you have sucess?

Nope - either we are total noobs or there must be a difference between originally shipped 1.08 and 1.09 FW and/or units as I have already mentioned somewhere above...of course only from logical aspect, as I am no programmer being able to analyze *.GEL-files...

When I am not mistaken, AshDash was the first one with a shipped 1.09, who had to invest time and brain to contribute decisive steps to tv84 and other friendly helpers to search for a new/other way to downgrade; probably this is also the case for an upgrade to 2.04 and any further...

I did a nightsession on Friday evening, testing any possible situation with no luck in the end; at the moment I wait till other users with originally 1.09 shipped devices verify our experiences...

For now, I do have two normal USB-Sticks - apart from the MagicUSB. The first with the official 2.04 FW and the second with CFW 1.08.00.01.
When I want to check something with new and old FW, I can now easily switch both FWs in a hurry - at the moment I am fine with this. As 2.04 isn't totally satisfying for all users, I have no problem to wait...

Maybe we can profit from AshDash trying to upgrade to 2.04 or others coming in the future...or we collect some money to send tv84 a DG811 with originally shipped 1.09 to challenge his skills! ;-)


Cheers!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Dagidag on March 10, 2020, 12:27:20 am
sorry work keeps me from important things :-\
Yes all changes S/N & Model with magic-usbstick
Power off, stick and usbcabel unplug, turn on.
 
2GB stick (512 Bytes sektorsize) format normal FAT32 (not quick) on Windows10, hope all sektor overwrited.
Format FAT32 on USB Live-Mint Linux again.

boot with Linux-mint Live-stick and pluged magic-stick, SSD unplug :) wanted absolutely sda1 for magic-stick
sudo dd if=/home/mint/Downloads/DG800_sardinha.bin of=/dev/sda1 bs=512 seek=2000000 (usbstick mouted on sda1, DG800_sardinha.bin in "Downloads" folder)

checked with HxD in logical drive. Magic-string its really in sektor 2000000.

I use this magic-stick, think stick is correct.  I can change model just with stick.

what is the difference?
:PROJect:SN   (26 Bytes)
:PROJ:SN        (23 Bytes)
both work. the same result - 02.04 with DG811. :(
magic-stick loading on 02.04 faster (block magic-string? or faster usb read? hmm) I just noticed...
EU Rigol site 00.02.04.00.00 release 2019-08-29 in readme release  2020-02-18 ???
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on March 10, 2020, 09:54:57 am
sorry work keeps me from important things :-\
Yes all changes S/N & Model with magic-usbstick
...
what is the difference?
:PROJect:SN   (26 Bytes)
:PROJ:SN        (23 Bytes)

OK, thanks.

No difference in the commands. Most of all SCPI commands have an extended and a short version.

When I have some time I'll take a peek at the 2.04 FW to try solve your problem.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Dagidag on March 10, 2020, 12:50:34 pm
THX tv84  :)

as long as. I will use 1.08. it does too :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: klamath on March 10, 2020, 07:48:09 pm
Hello,
I'm new rigol dg811 user, it arrived with firmware 1.09, and I have made a usb stick with "magic" string but the command "PROJ MODF DG992" not work.

Where can find the tv84 cwf for downgrade?
I'm a volontario for testing:)

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on March 10, 2020, 08:30:25 pm
DG822 landed on my doorstep today from Telonic here in the UK with the 1.08 firmware on it still  :-+

Alas no upgrade fun because there wasn't a USB cable in the damn box  :palm:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mrflibble on March 10, 2020, 10:09:22 pm
Must! ... Not! ... Read thread about hackable goodies. :scared:

Resist!!! *close tabs*
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on March 11, 2020, 12:30:18 am
He'll be back. :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on March 11, 2020, 08:47:06 am
Yeah it does happen. Proof:

This thread is going to lose me some coin soon  :-DD

DG822 landed on my doorstep today from Telonic here in the UK with the 1.08 firmware on it still  :-+

Alas no upgrade fun because there wasn't a USB cable in the damn box  :palm:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on March 11, 2020, 12:29:50 pm
And cracked. Used the magic USB stick and UltraSigma to do the job. Worked first time. Thanks to all involved in this  :-+

(https://imgur.com/aiIJpWE.jpg)

I like how the output buttons go red as well.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: exit_failure on March 19, 2020, 08:42:31 am
I'm looking into buying a DG822. It would be great, if you could answer the following questions:

Many thanks
Harry
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ultranalog on March 19, 2020, 02:13:12 pm
Haven't checked this thread for a few weeks, interesting developments :)

I found the new firmware, Rigol wants you to log in but if you look at the HTML you simply find a direct link to the RAR file: https://www.rigol.eu/Public/Uploads/uploadfile/files/ftp/DG/软固件/SardineII(ARM)Update-v00.02.04.00.00.rar (https://www.rigol.eu/Public/Uploads/uploadfile/files/ftp/DG/软固件/SardineII(ARM)Update-v00.02.04.00.00.rar)

My original FW was 1.09.
I used TV84's downgrade to 1.08, got a DG992 and reprogrammed my serial number afterwards.
Life was good (well, until the world fell apart)
Today, I flashed the TV84-1.08 to 2.04 and it came back as DG811 with original serial number.
I then re-flashed with TV84's downgrade and came back to 1.08, regained my DG992 model but did not lose my serial number this time!

Oddly enough when it came back to DG992 it even had the frequency settings that I last used.
Fine with me, I didn't even know what is so great about 2.04 anyway, the release notes are not super impressive:

Quote
[Updated Contents]

v00.02.04.00.00   2020-02-18

     - Add open source declaration in help UI
    - Solve the problem of address error in ultralab heartbeat server configuration
    - Solve the bug that the relay output instantaneous voltage error after setting offset

It looks to me like Rigol is really not happy with this thread.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: klamath on March 19, 2020, 02:17:57 pm
Haven't checked this thread for a few weeks, interesting developments :)

I found the new firmware, Rigol wants you to log in but if you look at the HTML you simply find a direct link to the RAR file: https://www.rigol.eu/Public/Uploads/uploadfile/files/ftp/DG/软固件/SardineII(ARM)Update-v00.02.04.00.00.rar (https://www.rigol.eu/Public/Uploads/uploadfile/files/ftp/DG/软固件/SardineII(ARM)Update-v00.02.04.00.00.rar)

My original FW was 1.09.
I used TV84's downgrade to 1.08, got a DG992 and reprogrammed my serial number afterwards.
Life was good (well, until the world fell apart)
Today, I flashed the TV84-1.08 to 2.04 and it came back as DG811 with original serial number.
I then re-flashed with TV84's downgrade and came back to 1.08, regained my DG992 model but did not lose my serial number this time!

Hi,
But where can I find the “TV84's downgrade to 1.08” firmware?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: spruutz on March 19, 2020, 09:47:28 pm
Hello,

got my DG821 this week and I really enjoy it.
I have tried to ugrade it to a DG832 but it doesn't want to. Also any other upgrade have no effect.

SW version 00.01.08.00.01

I have done the steps from tv84 post #147 and used a RaspberryPi with raspian to write the bin file to the formatted USB drive (2GB). Also tried it with HxD on my Windows laptop, but after entering the SCPI code :PROJ:MODE DG832 and restarting the DG it says still 821.
Has anybody a glue what I am doing wrong?

Many thanks in advance!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: klamath on March 20, 2020, 08:15:30 pm
Hello,

the trick to change model type with magic usbstick work very well, (THANKS tv84)
I've change my dl3021 to 3021A and my dp832 to 832A, but for success of operation you need to create a good usb stick.

I have a dg811 with 1.09 fw and the trick not work, it required a 1.08
so, are you sure to have 1.08 firmware and not 1.09 or later?



Hello,

got my DG821 this week and I really enjoy it.
I have tried to ugrade it to a DG832 but it doesn't want to. Also any other upgrade have no effect.

SW version 00.01.08.00.01

I have done the steps from tv84 post #147 and used a RaspberryPi with raspian to write the bin file to the formatted USB drive (2GB). Also tried it with HxD on my Windows laptop, but after entering the SCPI code :PROJ:MODE DG832 and restarting the DG it says still 821.
Has anybody a glue what I am doing wrong?

Many thanks in advance!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Mikets7 on March 23, 2020, 07:27:49 pm
Hi!

i have a Rigol DG811 and i am trying to hack it!
i have follow the steps of TV84 but nothing!
my sn is 1.08 its the old version!
i format the flash drive (32gb) via windows i change at 2000000sector to 0B 0A 3B 2E 5F 4C EC BE with HxD and with r&s visa
i send the command :PROJ:MODE DG992 ... but nothing
thanks in advance!!!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on March 23, 2020, 11:24:21 pm
Hi!

i have a Rigol DG811 and i am trying to hack it!
i have follow the steps of TV84 but nothing!
my sn is 1.08 its the old version!
i format the flash drive (32gb) via windows i change at 2000000sector to 0B 0A 3B 2E 5F 4C EC BE with HxD and with r&s visa
i send the command :PROJ:MODE DG992 ... but nothing
thanks in advance!!!

Does the USB symbol show up when the drive is inserted into DG800?
If you open the drive with HxD again is the data still there?
Maybe try a smaller flash drive.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Mikets7 on March 24, 2020, 08:03:16 am
Hi!
Thanks for the quick response..

Done it...thank you very much... :phew:
It performed easily only following the procedure
Tv84 explains only via linux...
I used raspi....love raspi...

Best regards...

Thank so much...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ultranalog on March 24, 2020, 07:48:05 pm
For the linux people that are scared of command line:

1. What the hell are you doing with linux?  :-DD

2. Use 'gparted' for formatting. Not 'disks'. That utility is a useless-tility.

3. Format the disk 'FAT32' for a firmware image, Format it as 'FAT16' if you want to make a magic disk.

This worked without fail for me.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: digitalautomotive on March 25, 2020, 03:55:44 pm
Hi,
Can you please help where to find the custom firmware 1.08 so i can downgrade my DG811 Fw 1.09.00.02 to modify it to DG992 using TV84 method.
Thanks in advance
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ruediger on March 30, 2020, 11:53:09 am
Hi guys,

I bought my DG811 some time ago and received it with the FW1.09.  Now I would like to upgrade it and need your help to downgrade the FW to 1.08 or to test other ways of updrading for you.

Thanks for your help
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: evgbog on April 06, 2020, 03:32:20 pm
Finally, got DG811 unit from China. Unfortunately, it have 2.02 firmware installed.

Is it possible to upgrade to 992?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thetechnick on April 07, 2020, 07:06:29 pm
Finally, got DG811 unit from China. Unfortunately, it have 2.02 firmware installed.

Is it possible to upgrade to 992?

It is, but you need to downgrade the firmware and do the unlock trick from this post: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391)
Unfortunately the device does not let you downgrade the firmware, so you need to bypass the version validation for the downgrade to succeed.

tv84 seems to have a working "downgrade" firmware, although he did not put it up for public download.
Probably due to the attachment-size limit, I am sure he will share a download link when he has time.

I am currently trying to take a stab at it myself, although my experience with such stuff is about zero :D

Rigol pulled the old (hackable) firmware from most of their websites, but by checking some of their file servers I finally found it.
If someone needs the old firmware - just ping me. Cannot upload it here due to attachment size restrictions of the forum.
PLEASE NOTE: you cannot downgrade your device with the original firmware - you need to patch it first, somehow :D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on April 07, 2020, 07:18:44 pm
Is there a change log for software versions for the DG800 series at all?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thetechnick on April 07, 2020, 07:31:33 pm
If you download the latest firmware you will find a Release Notes file.
As v00.01.09.00.00 was never released as an updated, just preinstalled on some devices, there seems to be no change log entry for it.

Code: [Select]
[Model Supported] DG811,DG821,DG831,DG812,DG822,DG832,DG952,DG972,DG992,DG2052,DG2072,DG2102
[Latest Revision Date] 2020-02-18


[Updated Contents]

v00.02.04.00.00 2020-02-18

     - Add open source declaration in help UI
- Solve the problem of address error in ultralab heartbeat server configuration
- Solve the bug that the relay output instantaneous voltage error after setting offset
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on April 07, 2020, 07:36:04 pm
Fantastic thanks. That actually answers the question I was going to ask about the instantaneous output voltage as well  :-+

Looks like I'm going to upgrade my cracked DG822 to latest firmware. Will lose 100MHz but not that fussed about it at the moment.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thetechnick on April 07, 2020, 07:46:20 pm
Fantastic thanks. That actually answers the question I was going to ask about the instantaneous output voltage as well  :-+

Looks like I'm going to upgrade my cracked DG822 to latest firmware. Will lose 100MHz but not that fussed about it at the moment.

If you cracked it "properly" the update should not reset the model designation, see:
https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2950872/#msg2950872 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2950872/#msg2950872)
https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2951658/#msg2951658 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2951658/#msg2951658)

( I already read through this whole thread way too many times... )
Just people that receive new units with v00.02.xx need to downgrade... in order to upgrade - sounds stupid, but seems to work :D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ruediger on April 09, 2020, 05:34:38 am
Thanks for the answers.

I'll wait for TV84 to answer.
If any of you have an idea to upgrade directly from FW1.09 I can try it for you.

I volunteer.

Have a nice day
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 10, 2020, 10:35:08 pm
When I am not mistaken, AshDash was the first one with a shipped 1.09, who had to invest time and brain to contribute decisive steps to tv84 and other friendly helpers to search for a new/other way to downgrade; probably this is also the case for an upgrade to 2.04 and any further...

:) Let's call him a helpful volunteer and that's why he deserved a special treatment... His upgrade method is not "public".   ;)

So, from all the posts in these last 2 pages i seem to conclude that the (factory released) v2.04 equipments don't migrate the model ID from the v1.08 version because they already have a valid DG81x ID in the new memory struct area.

If that's so, it should be possible to patch the FW to do it or ... using the MODF command (which is Rigol's official way). 

Edit: Therefore the "downgrade" method only works with re-upgrade up to v2.02 , as such its validity has expired.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: evgbog on April 11, 2020, 12:30:53 pm
I've extracted some fw4uboot.sh parts from GEL files:

Command used:
Code: [Select]
openssl aes-128-cbc -in 1.bin.aes -out 1.bin -d -K "BAD8CFFEBBAAB5C4C3D8D4BFCAFDBEDD" -iv "0" -nopad


Also,  fw4linux.sh seems to be encoded using some other key.

FW 1.80
Code: [Select]
#upgrade_shell
#check version first
showMessage 'Upgrading(1/4), check version...' 7 14
if checkVer "00.01.00.11.01"; then \
  echo New version; \
else \
  echo Old version; \
  showMessage 'Upgrading failed, not new version!' 7 14;\
fi;


#check all md5
progress 16
showMessage 'Upgrading(2/4), check images...' 7 14
progress 17
if tar_find 0x88000000 Sardine.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} 856ee251bb839a7c231c2920903939c3; then \
    echo check Sardine.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check Sardine.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find Sardine.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 app_gz.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} e3260cf08c98485d8d51c2fd83142c61; then \
    echo check app_gz.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check app_gz.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find app_gz.img.gz error!;\
  exit_from_shell;\
fi;

#update spi flash images
progress 19
showMessage 'Upgrading(3/4), flash images...' 7 14
#update nand images
mtdparts default;
echo 'set mtdparts environment';
setenv mtdparts "mtdparts=nand.0:1m(NAND.bootpic-usr),1m(NAND.bootpic-def)ro,1m(NAND.bootpic-def.bak)ro,512k(NAND.uboot-env),512k(NAND.uboot-env.bak),512k(NAND.fdt)ro,512k(NAND.fdt.bak)ro,8m(NAND.kernel)ro,8m(NAND.kernel.bak)ro,31m(NAND.reserved),180m(NAND.sardine)ro,100m(NAND.filesystem),20m(NAND.cal),-(NAND.userspace)"
echo 'del partitions';
mtdparts del NAND.reserved
mtdparts del NAND.sardine
echo 'add partitions';
mtdparts add nand0 0x01f00000@0x01500000 NAND.reserved
mtdparts add nand0 0x0b400000@0x03400000 NAND.sardine
saveenv
echo 'set mtdparts environment OK!';
if tar_find 0x88000000 Sardine.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.sardine; then \
      progress 70;\
      if nand write 0x82000000 NAND.sardine ${filesize}; then \
        progress 74;\
      else \
        nand erase.part NAND.sardine; \
        if nand write 0x82000000 NAND.sardine ${filesize}; then \
          progress 74;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip Sardine.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar Sardine.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 app_gz.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.reserved; then \
      progress 94;\
      if nand write 0x82000000 NAND.reserved ${filesize}; then \
        progress 98;\
      else \
        nand erase.part NAND.reserved; \
        if nand write 0x82000000 NAND.reserved ${filesize}; then \
          progress 98;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip app_gz.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar app_gz.img.gz error!;\
  exit_from_shell;\
fi;

#env
echo 'set some env';
showMessage 'Upgrading(4/4), set some env...' 7 14
progress 99
setenv softver '00.01.00.11.01'
setenv builddate '2018.08.30 16:39:44'
setenv bootcmd nandboot
showMessage 'Upgrade OK, please reboot.' 7 14
progress 100
saveenv
echo 'System download OK!';
##end##


FW 2.02
Code: [Select]
#upgrade_shell
#check version first
showMessage 'Upgrading(1/4), check version...' 7 14
if checkVer "00.01.09.00.01"; then \
  echo New version; \
else \
  echo Old version; \
  showMessage 'Upgrading failed, not new version!' 7 14;\
  exit_from_shell;\
fi;


#check all md5
progress 16
showMessage 'Upgrading(2/4), check images...' 7 14
progress 17
if tar_find 0x88000000 Sardine.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} ac0f5b34f8b37c3648ad2995b911c611; then \
    echo check Sardine.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check Sardine.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find Sardine.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 app_gz.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} 9d6a5188b8f2cc5254ed1b5d62b0f431; then \
    echo check app_gz.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check app_gz.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find app_gz.img.gz error!;\
  exit_from_shell;\
fi;

#update spi flash images
progress 19
showMessage 'Upgrading(3/4), flash images...' 7 14
#update nand images
mtdparts default;
if tar_find 0x88000000 Sardine.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.sardine; then \
      progress 70;\
      if nand write 0x82000000 NAND.sardine ${filesize}; then \
        progress 74;\
      else \
        nand erase.part NAND.sardine; \
        if nand write 0x82000000 NAND.sardine ${filesize}; then \
          progress 74;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip Sardine.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar Sardine.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 app_gz.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.reserved; then \
      progress 94;\
      if nand write 0x82000000 NAND.reserved ${filesize}; then \
        progress 98;\
      else \
        nand erase.part NAND.reserved; \
        if nand write 0x82000000 NAND.reserved ${filesize}; then \
          progress 98;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip app_gz.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar app_gz.img.gz error!;\
  exit_from_shell;\
fi;

#env
echo 'set some env';
showMessage 'Upgrading(4/4), set some env...' 7 14
progress 99
setenv softver '00.01.09.00.01'
setenv builddate '2019.10.29 18:31:33'
setenv bootcmd nandboot
showMessage 'Upgrade OK, please reboot.' 7 14
progress 100
saveenv
echo 'System download OK!';
##end##


FW 2.04
Code: [Select]
#upgrade_shell
#check version first
showMessage 'Upgrading(1/4), check version...' 7 14
if checkVer "00.01.09.00.01"; then \
  echo New version; \
else \
  echo Old version; \
  showMessage 'Upgrading failed, not new version!' 7 14;\
  exit_from_shell;\
fi;


#check all md5
progress 16
showMessage 'Upgrading(2/4), check images...' 7 14
progress 17
if tar_find 0x88000000 logo.bmp.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} c1963c37d1742018cc1658103b48d969; then \
    echo check logo.bmp.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check logo.bmp.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find logo.bmp.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 uImage.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} 683c8c204a06c9d5a15535973e1b991d; then \
    echo check uImage.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check uImage.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find uImage.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 fdt.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} 4b38335267ccfa51bfeb5c361d6ffb1c; then \
    echo check fdt.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check fdt.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find fdt.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 rootfs.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} c21426ba480b4cff028d819a7e2865a3; then \
    echo check rootfs.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check rootfs.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find rootfs.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 Sardine.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} 03a9b8fc7d6a86f08679809af56ca86a; then \
    echo check Sardine.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check Sardine.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find Sardine.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 logo.bmp.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} c1963c37d1742018cc1658103b48d969; then \
    echo check logo.bmp.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check logo.bmp.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find logo.bmp.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 logo.bmp.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} c1963c37d1742018cc1658103b48d969; then \
    echo check logo.bmp.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check logo.bmp.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find logo.bmp.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 uImage.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} 683c8c204a06c9d5a15535973e1b991d; then \
    echo check uImage.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check uImage.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find uImage.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 fdt.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} 4b38335267ccfa51bfeb5c361d6ffb1c; then \
    echo check fdt.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check fdt.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find fdt.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 app_gz.img.gz; then \
  if md5sum -v ${tar_find_addr} ${filesize} 74ce13e40ae4fd1535f02e4e88d730e2; then \
    echo check app_gz.img.gz success; \
  else \
    showMessage 'Upgrading failed, bad images!' 7 14;\
    echo check app_gz.img.gz error; \
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar_find app_gz.img.gz error!;\
  exit_from_shell;\
fi;

#update spi flash images
progress 19
showMessage 'Upgrading(3/4), flash images...' 7 14
#update nand images
mtdparts default;
if tar_find 0x88000000 logo.bmp.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.bootpic-def; then \
      progress 39;\
      if nand write 0x82000000 NAND.bootpic-def ${filesize}; then \
        progress 43;\
      else \
        nand erase.part NAND.bootpic-def; \
        if nand write 0x82000000 NAND.bootpic-def ${filesize}; then \
          progress 43;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip logo.bmp.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar logo.bmp.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 uImage.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.kernel; then \
      progress 46;\
      if nand write 0x82000000 NAND.kernel ${filesize}; then \
        progress 50;\
      else \
        nand erase.part NAND.kernel; \
        if nand write 0x82000000 NAND.kernel ${filesize}; then \
          progress 50;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip uImage.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar uImage.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 fdt.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.fdt; then \
      progress 54;\
      if nand write 0x82000000 NAND.fdt ${filesize}; then \
        progress 58;\
      else \
        nand erase.part NAND.fdt; \
        if nand write 0x82000000 NAND.fdt ${filesize}; then \
          progress 58;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip fdt.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar fdt.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 rootfs.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.filesystem; then \
      progress 62;\
      if nand write 0x82000000 NAND.filesystem ${filesize}; then \
        progress 66;\
      else \
        nand erase.part NAND.filesystem; \
        if nand write 0x82000000 NAND.filesystem ${filesize}; then \
          progress 66;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip rootfs.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar rootfs.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 Sardine.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.sardine; then \
      progress 70;\
      if nand write 0x82000000 NAND.sardine ${filesize}; then \
        progress 74;\
      else \
        nand erase.part NAND.sardine; \
        if nand write 0x82000000 NAND.sardine ${filesize}; then \
          progress 74;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip Sardine.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar Sardine.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 logo.bmp.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.bootpic-usr; then \
      progress 76;\
      if nand write 0x82000000 NAND.bootpic-usr ${filesize}; then \
        progress 80;\
      else \
        nand erase.part NAND.bootpic-usr; \
        if nand write 0x82000000 NAND.bootpic-usr ${filesize}; then \
          progress 80;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip logo.bmp.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar logo.bmp.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 logo.bmp.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.bootpic-def.bak; then \
      progress 82;\
      if nand write 0x82000000 NAND.bootpic-def.bak ${filesize}; then \
        progress 86;\
      else \
        nand erase.part NAND.bootpic-def.bak; \
        if nand write 0x82000000 NAND.bootpic-def.bak ${filesize}; then \
          progress 86;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip logo.bmp.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar logo.bmp.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 uImage.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.kernel.bak; then \
      progress 88;\
      if nand write 0x82000000 NAND.kernel.bak ${filesize}; then \
        progress 92;\
      else \
        nand erase.part NAND.kernel.bak; \
        if nand write 0x82000000 NAND.kernel.bak ${filesize}; then \
          progress 92;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip uImage.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar uImage.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 fdt.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.fdt.bak; then \
      progress 94;\
      if nand write 0x82000000 NAND.fdt.bak ${filesize}; then \
        progress 98;\
      else \
        nand erase.part NAND.fdt.bak; \
        if nand write 0x82000000 NAND.fdt.bak ${filesize}; then \
          progress 98;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip fdt.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar fdt.img.gz error!;\
  exit_from_shell;\
fi;
if tar_find 0x88000000 app_gz.img.gz; then \
  if unzip ${tar_find_addr} 0x82000000 0x6000000; then \
    if nand erase.part NAND.reserved; then \
      progress 94;\
      if nand write 0x82000000 NAND.reserved ${filesize}; then \
        progress 98;\
      else \
        nand erase.part NAND.reserved; \
        if nand write 0x82000000 NAND.reserved ${filesize}; then \
          progress 98;\
        else \
          showMessage 'Upgrading failed, write failed!' 7 14;\
          exit_from_shell;\
        fi; \
      fi; \
    else \
      showMessage 'Upgrading failed, write failed!' 7 14;\
      exit_from_shell;\
    fi; \
  else \
    showMessage 'Upgrading failed, unzip image error!' 7 14;\
    echo unzip app_gz.img.gz error!;\
    exit_from_shell;\
  fi; \
else \
  showMessage 'Upgrading failed, image not found!' 7 14;\
  echo tar app_gz.img.gz error!;\
  exit_from_shell;\
fi;

#env
echo 'set some env';
showMessage 'Upgrading(4/4), set some env...' 7 14
progress 99
setenv softver '00.01.09.00.01'
setenv builddate '2020.02.18 08:59:53'
setenv bootcmd nandboot
setenv kernel_size '0x409000'
setenv kernel_check '0x1174efc5'
setenv fdt_size '0x9140'
setenv fdt_check '0x614e138a'
showMessage 'Upgrade OK, please reboot.' 7 14
progress 100
saveenv
echo 'System download OK!';
##end##


FW 2.04 seems to have many changes to the previous.

I wondering  how to patch this 1.08 script to downgrade my 2.02 unit. I get "ERROR: bad script!" message when trying to flash 1.08 FW.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 11, 2020, 01:16:23 pm
Also,  fw4linux.sh seems to be encoded using some other key.

So that you can better enjoy the quarantine period:     :D

BCD2FCFECB9AB54B12D2D4AFCAFD6E0D

BTW, IVs must be 0.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: evgbog on April 11, 2020, 01:20:46 pm
Wow!

I've modified (commented with #) version check section of fw4uboot.sh, encoded it with open-ssl, updated SardineUpdate.GEL (haven't updated any headers) and reflashed with "Help" key at startup, and voila:

My DG811 ver 2.02 unit transformed to DG992 ver 1.08.01 without sending any SCPI commands. Serial number changed to DG8000000000001.

So, what is my next step? Do I need send change model command  with magic USB to flash next FWs?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 11, 2020, 01:29:03 pm
My DG811 ver 2.02 unit transformed to DG992 ver 1.08.01 without sending any SCPI commands. Serial number changed to DG8000000000001.

So, what is my next step? Do I need send change model command  with magic USB to flash next FWs?

First you must use IV = 0 or behavior can be strange...

Sure it did, that's normal behavior when you downgrade. Now you should correct the S/N and force model. Then re-upgrade. When you do that it should rollback to DG811...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: evgbog on April 11, 2020, 01:46:37 pm
Quote from: tv84
First you must use IV = 0 or behavior can be strange...

Oh, that's right, thanks.  I guessed why firts string of decoded block is corrupted. I fixed previous post, need to use -iv "0" argument.

Quote from: tv84
Sure it did, that's normal behavior when you downgrade. Now you should correct the S/N and force model. Then re-upgrade. When you do that it should rollback to DG811...

UPDATE: successfully flashed to 2.02, but fail on 2.04 (model reset to 811). So, will stay on 2.02 FW.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: evgbog on April 15, 2020, 06:43:06 pm
I was asked how to prepare custom firmware for downgrade firmware version.

Here is my mini how-to guide:

1. Get 1.08.01 official firmware (available at web.archive.org of rigolna.com website)
2. Use hex editor (HxD, for example), open SardineUpdate.GEL
3. You will see encrypted block of data at the begining, starting at 200h offset. Select this block and do "save selection"  to file fw4uboot.sh.aes (size 4016 bytes).
4. Decode file using command (under linux)
Code: [Select]
openssl aes-128-cbc -in  fw4uboot.sh.aes -out  fw4uboot.sh -d -K "BAD8CFFEBBAAB5C4C3D8D4BFCAFDBEDD" -iv "0" -nopad5. Edit decoded fw4uboot.sh. Comment ..if checkVer ...else ... fi rows like this (insert # characters):
Code: [Select]
#if checkVer "00.01.00.11.01"; then \
echo New version; \
#else \
#  echo New version; \
#  showMessage 'Upgrading failed, not new version!' 7 14;\
#fi;
6. Make sure total length of edited fw4uboot.sh is still 4016 bytes (if not, add or delete some characters in commented rows).
7. Encrypt edited fw4uboot.sh using command:
Code: [Select]
openssl aes-128-cbc -in  fw4uboot.sh -out  fw4uboot_new.sh.aes -K "BAD8CFFEBBAAB5C4C3D8D4BFCAFDBEDD" -iv "0" -nopad9. Using hex editor, update data block at 200h of SardineUpdate.GEL with encrypted fw4uboot_new.sh.aes
10.All done. Proceed flashing SardineUpdate.GEL to device (using "Help" key at boot method).

Next step is to use @tv84 guide. https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391)

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 15, 2020, 07:02:44 pm
UPDATE: successfully flashed to 2.02, but fail on 2.04 (model reset to 811). So, will stay on 2.02 FW.

Which was your original version?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: evgbog on April 15, 2020, 07:13:00 pm
UPDATE: successfully flashed to 2.02, but fail on 2.04 (model reset to 811). So, will stay on 2.02 FW.

Which was your original version?

Original fw was 00.02.02.00.00.  s/n DGA8A220800XXX
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: stupiid on April 18, 2020, 03:34:29 pm
1. DG952 shipped with FW 01.09

2. downgrade to 01.08 following evgbog's guide, success

3. system info showing model 'DG992', SN lost

4. write model 'DG992', write original SN(DG9A2xxxx) by SCPI command, success

5. system info showing model 'DG992' with correct SN(DG9A2xxxx)

6. upgrade to 02.04, success

7. system info showing model 'DG811', with correct original SN(DG9A2xxxx)

8. downgrade to 01.08 following evgbog's guide, success

9. system info showing model 'DG992', with correct original SN(DG9A2xxxx)

10. upgrade to 02.04, success

11. system info showing model 'DG811', with correct original SN(DG9A2xxxx)




What's wrong?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thetechnick on April 18, 2020, 06:28:33 pm
What I have cached so far:

Devices that where delivered with v00.01.08.xx can be hacked and afterwards upgraded all the way to v00.02.04.xx.

Devices delivered with v00.01.09 and up can only be upgraded to v00.02.02.xx. If you upgrade those devices to v00.02.04.xx, the hack stops working.

---

Do we know if there is any difference between v00.02.02 and v00.02.04, except for the rewritten boot-scripts (that kills the hack)?
Looks like v00.02.02 was the feature/bugfix release, while v00.02.04 is just just closing the hack for now.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: klamath on April 19, 2020, 04:46:25 pm
Hello
I have dg811 delivered with firmware 01.09,
with evgbog guide (THANKS evgbog :-)) I have downgrade to 01.08 fw, hack to DG992 and rewrite SN to original state
now in rigol website I find 02.04 firmware but i want to upgrade to 02.02 firmware, where can I find it?

thanks a lot

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: stupiid on April 20, 2020, 03:53:43 am
Well, it seems that @evgbog is the only one has FW 02.02 currently. Will you share it please?  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: klamath on April 24, 2020, 08:36:03 pm
follow this how-to mini guide by evgbog https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3017342/#msg3017342 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3017342/#msg3017342)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on April 26, 2020, 02:22:58 pm
Well, it seems that @evgbog is the only one has FW 02.02 currently. Will you share it please?  :-+

You can download F/W 02.02 from Rigol's firmware download page (https://int.rigol.com/SUPPORTS/software-firmware-download_1.html). Use the DG2000 link which contains identical hardware as the DG800/900 series in a different enclosure. Also same "internal" designation: "Sardine"  ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 26, 2020, 05:33:36 pm
Link (https://beyondmeasure.rigoltech.com/acton/ct/1579/p-00ac/Bct/-/-/ct65_0/1?sid=TV2%3AQ2jKaGpUj).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thetechnick on April 26, 2020, 08:27:15 pm
Just wanted to add:
When you have unlocked your device successfully and then upgraded to v00.02.04 (and lost the unlock),
you can still install the linked v00.02.02 update and your device will be unlocked again.

Somehow nothing prevents downgrading from v00.02.04 to v00.02.02  :-+

Thanks for posting!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: stupiid on April 27, 2020, 03:35:58 pm
Thanks! Upgraded successfully. :clap:

Still waiting the hack to 02.04.  :popcorn:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on April 27, 2020, 03:40:29 pm
@tv84,

what did you mean by "Possible model types (as seen in the first 4 bytes of sd.xx configuration file)"
in the DG800 manual ?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 27, 2020, 03:50:11 pm
@tv84,

what did you mean by "Possible model types (as seen in the first 4 bytes of sd.xx configuration file)"
in the DG800 manual ?

This is a file inside the DG which also has those "model numbers". But I think it's only informative. You cannot change model by only changing the file.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on April 27, 2020, 03:56:55 pm
@tv84,

what did you mean by "Possible model types (as seen in the first 4 bytes of sd.xx configuration file)"
in the DG800 manual ?

This is a file inside the DG which also has those "model numbers". But I think it's only informative. You cannot change model by only changing the file.

In DG firmware? In which part ?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 27, 2020, 03:58:25 pm
In DG firmware? In which part ?

"Inside the DG" means in its file system.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on April 27, 2020, 04:03:50 pm
In DG firmware? In which part ?

"Inside the DG" means in its file system.

OK, do you need to make a file system dump?
If so, in what way ?

Or how can I browse this file system?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 27, 2020, 04:27:28 pm
You do a NAND backup with the script that I placed in this thread and then browse through the appropriate mtd.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on April 27, 2020, 04:33:59 pm
You do a NAND backup with the script that I placed in this thread and then browse through the appropriate mtd.

Everything is clear, thank you very much  :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Aztlanpz on April 27, 2020, 06:06:20 pm
can someone help me locate the firmware 1.08.01 for the DG800.  Thanks everyone I have located the file.


Thanks

Azltan
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on April 27, 2020, 06:20:25 pm
can someone help me locate the firmware 1.08.01 for the DG800



Thanks

Azltan

Last post on previous page, first point.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 27, 2020, 06:51:49 pm
Thanks! Upgraded successfully. :clap:

Still waiting the hack to 02.04.  :popcorn:

Can you try this:

You are in 2.02, right?  Upgrade to 2.04 and then send the SCPI command:

PROJ:SN <your_serial>

Reboot and report if there is any difference.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 27, 2020, 09:40:05 pm
I finally had a look at the v2.04 FW.

It seems all these models are possible:

00 - DG811
01 - DG821
02 - DG831
03 - DG812
04 - DG822
05 - DG832
06 - DG952
07 - DG972
08 - DG992
09 - DG2012
10 - DG2022
11 - DG2032
12 - DG2012-E
13 - DG2022-E
14 - DG2032-E
15 - DG2052
16 - DG2072
17 - DG2102


I think the 800/900 is USB0::0x1AB1::0x643  and 2000 is USB0::0x1AB1::0x644.

The licensing scheme is the same as in previous versions. One can use the PROJ:MODIF to change the model.


BTW, can someone explain me what's the difference between a DG992 and a DG2102?  (to see if we should upgrade to DG2102)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on April 27, 2020, 10:32:41 pm
BTW, can someone explain me what's the difference between a DG992 and a DG2102?  (to see if we should upgrade to DG2102)

In terms of datasheet:
- Built in HW LAN, as mentioned
- Burst characteristics -> carrier frequency: 2mHz to 30MHz vs 2mHz to 100MHz

Not sure if thats a typo or an actual limitation.

edit: can already set 100MHz sine in burst mode, so I don't believe there is a limitation.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ultranalog on April 27, 2020, 11:16:41 pm
You are in 2.02, right?  Upgrade to 2.04 and then send the SCPI command:

PROJ:SN <your_serial>

Reboot and report if there is any difference.

I tried this and did not work, with or without the magic disk. I could 'up'grade back to 2.02.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ultranalog on April 27, 2020, 11:19:39 pm
I found an old D-link USB network adapter DUB-E100 and it works with this series of function generators out of the box.

https://www.bhphotovideo.com/c/product/403655-REG/D_Link_DUB_E100_DUB_E100_USB_2_0_10_100Mb.html (https://www.bhphotovideo.com/c/product/403655-REG/D_Link_DUB_E100_DUB_E100_USB_2_0_10_100Mb.html)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ruediger on April 28, 2020, 06:02:49 am


BTW, can someone explain me what's the difference between a DG992 and a DG2102?  (to see if we should upgrade to DG2102)


Additional to the changes in burst there is also a lower disruptive discharge voltage (+- 5V) in DG2000 series
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 28, 2020, 08:43:52 am
Does anyone want to try a simple script to extract the app from the DG?

If so, report the FW version and CRC32 of the extracted file.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on April 29, 2020, 10:15:34 am
@tv84, how do you create a GEL file with sh scripts?
What tool does GEL file create?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 29, 2020, 11:42:41 am
@tv84, how do you create a GEL file with sh scripts?
What tool does GEL file create?

.GEL files are .tar files.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Orycho on April 29, 2020, 03:20:26 pm
Hi there,

I write some scripts to control my pumped Rigol DG812 (Thanks to tv84). I finally decide to write a user interface to edit the arbitrary waveform for the function generator.
Here are some images of the software. The software needs NI-VISA runtime to communicate with the Rigol device.
If you are interested, you can go to my website (https://dpzhu.me/deltaz) to download and play with the software. For further development, you can leave the comments here or on my website.

Derek Z.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on April 30, 2020, 09:45:52 am
@tv84, how do you create a GEL file with sh scripts?
What tool does GEL file create?

.GEL files are .tar files.

Thank you for confirmation.
I had a problem with tar implementation support under Windows.
It's OK now.  :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on May 18, 2020, 01:33:34 pm
Does anyone want to try a simple script to extract the app from the DG?

If so, report the FW version and CRC32 of the extracted file.

Hi,
I received DG811 today, with version FW 2.2.
NAND backup and NAND app. extract worked out correctly - thank you.
CRC32 for the extracted app is 5549a666.
Yours sincerely.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on May 18, 2020, 07:00:05 pm
DG800 / DG900 do not work with USB network cards on the AX88179 chipset:
https://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112 (https://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112)
  |O
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on May 20, 2020, 06:08:10 pm
DG800 / DG900 do not work with USB network cards on the AX88179 chipset:
https://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112 (https://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112)
  |O

... but the USB card on the AX88772B chipset works very well  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on May 21, 2020, 03:54:35 pm
Hi,

either I'm doing something wrong, or help mode doesn't work in FW 2.2.
I have modified FW 1.8.0.1 several times as described, and there is no downgrade.
The GEL file is loaded, the device does not restart and version 2.2 remains.

Can anyone help me?

P.S.
Can anyone write how to launch Help Mode?
I don't have three dots under the RIGOL logo, but there is a progress bar during booting.

 |O
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on May 22, 2020, 07:32:09 pm
Hi,

either I'm doing something wrong, or help mode doesn't work in FW 2.2.
I have modified FW 1.8.0.1 several times as described, and there is no downgrade.
The GEL file is loaded, the device does not restart and version 2.2 remains.

Can anyone help me?

P.S.
Can anyone write how to launch Help Mode?
I don't have three dots under the RIGOL logo, but there is a progress bar during booting.

 |O

OK, I found information about FW Help Mode in another thread.
Now everything works fine.
Thank you very much to everyone who shared their knowledge.
Greetings.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Gandalf_Sr on June 22, 2020, 10:02:25 pm
So my DG811 arrived and it's Firmware Vn 00.08.00.01 which means it should be OK for the magic USB upgrade right?

I have a 'magic' USB drive that worked on the DG1022Z and when I plug that in if the USB A port on the back, I see the USB symbol appear on the top right of the display but when I go into the store function it's not clear to me whether the drive is mounted as all I can see is C:

I installed Ultra Sigma on my PC and was able to connect to the DG811 by USB but the *IDN? command seems unreliable, I can send the command but often have to click read reply then send command and then read reply before I see the response "Rigol Technologies,DG811,DG8Axxxxxxxxx,00.01.08.00.01" - often it's an error message and, so far, my :PROJ:MODE DG992 commands haven't worked. I see the command echoed on the Ultra Sigma screen when I click on [Send] but I see nothing on the DG811 and power cycling always gets me back to DG811 - some questions:

1. Is the magic USB drive different for the DG800 series than the one I made that works on the DP832?
2. Am I supposed to see a different drive letter on my DG811 after I plug in the magic USB drive?

I will try a different USB drive tomorrow but I don't have an up to date Linux machine ready. Any ideas or suggestions?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on June 22, 2020, 10:09:02 pm
The DG800 USB disk has nothing to do with the DP800!!! (Where did you get that idea?)

Use my 1st upgrade post only as instructions.

And don't upgrade any FW BEFORE you get yourself a DG992 machine.



Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on June 22, 2020, 10:13:05 pm
Hint: Here's the post @tv84 is talking about. (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Gandalf_Sr on June 23, 2020, 12:53:36 am
It was a massive assumption but I assumed that the Rigol code was making the same check to the drive as the DP832.  Anyway, now I know that's not the case, I have a path forward.

Thanks.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: randphysguy on June 23, 2020, 08:14:47 am
Could someone reupload the 1.08.01 official firmware?
I think it is not available through the web archive of Rigol's webpage anymore.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Powernun on June 23, 2020, 09:04:56 am
Could someone reupload the 1.08.01 official firmware?
I think it is not available through the web archive of Rigol's webpage anymore.

It's still in the archive https://web.archive.org/web/20190820203337/https://www.rigolna.com/firmware/ (https://web.archive.org/web/20190820203337/https://www.rigolna.com/firmware/)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Gandalf_Sr on June 23, 2020, 12:43:04 pm
So I followed the steps in this post back on page 10 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2537358/#msg2537358) and was successful.  Everything was done on a Windows 10 64 bit PC.

The following slight variations might be useful to someone.  In the HxD editor, after getting to sector 2000000, I was unable to paste the sequence 0B 0A 3B 2E 5F 4C EC BE so I just typed it in then clicked on [Save].  The drive was an older 8 GByte drive that came from a trade show with a TI logo on it, I full-formatted it as FAT32 first using Windows Explorer.  I used Rigol's Ultra Sigma code to communicate via USB - Ultra Sigma was a 500 MByte download which could be a problem for some.

In the post I linked above, thm_w talks about using Ethernet at the end but, although I have an USB-Ethernet adapter that works with the DG811 and I can communicate with the DG811 using "Telnet xx.xx.xx.xx 5555", I don't see how you can issue the SCPI command to change MODEl using the Ethernet adapter as it only seems to work on the USB Type A port on the back and that leaves no place for the magic drive.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: randphysguy on June 23, 2020, 01:44:13 pm

It's still in the archive

My mistake. Thanks for pointing to it. :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on June 27, 2020, 03:26:02 am
Do we know if there is any difference between v00.02.02 and v00.02.04, except for the rewritten boot-scripts (that kills the hack)?
Looks like v00.02.02 was the feature/bugfix release, while v00.02.04 is just just closing the hack for now.
I checked that v00.02.02 still has the offset bug, where the output goes negative for a few msec when it is turned on with an offset.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Powernun on July 01, 2020, 05:33:16 pm
Received the Rigol DG811 with firmware 02.04 (latest) and I can confirm that the following works:


Thanks all for the instructions.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on July 01, 2020, 05:40:43 pm
Thanks all for the instructions.

Do you want to do a new experiment?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Powernun on July 01, 2020, 05:51:49 pm
Thanks all for the instructions.

Do you want to do a new experiment?

I am always up for experiments.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on July 01, 2020, 05:54:45 pm
Do we know if there is any difference between v00.02.02 and v00.02.04, except for the rewritten boot-scripts (that kills the hack)?
Looks like v00.02.02 was the feature/bugfix release, while v00.02.04 is just just closing the hack for now.
I checked that v00.02.02 still has the offset bug, where the output goes negative for a few msec when it is turned on with an offset.

You will have to wait for someone to share the solution for FW 02.04.
I am also currently on FW 02.02.
I tried to analyze the main app but found no solution.  :(
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on July 04, 2020, 10:36:45 am
I tried to analyze the main app but found no solution.  :(

As requested, here is an image of the MTD13 of a stock DG832_fw00.01.08.00.01.

Code: [Select]
sd.xx file format:
04 bytes - model type
14 bytes - S/N encoded (if num +0x4F ; if letter +0x48)
02 bytes - CRC16  = calc_CRC16(0x1021, 0xEBCC, 0, false, false, ref buffer, start, end)

The _pubkey.tet is the brainpoolP256t1 ECC public key. It's different for each DG.

The MTD13 of a stock DG8xx_fw00.01.09.00.00 has no files !   ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ultranalog on July 04, 2020, 03:04:22 pm
TV84 did it again!

The latest version of 1.08 downgrade (v5) keeps your "tweaks" to the model number when upgrading to 2.04:

Code: [Select]
* Connected to: TCPIP::192.168.1.75::INSTR
-> *IDN?
<- (Return Count:55)
Rigol Technologies,DG992,DG8A123456789,00.01.08.00.01

-> :PROJ:MODE DG992
-> *IDN?
<- (Return Count:55)
Rigol Technologies,DG992,DG8A123456789,00.01.08.00.01


------------- flash 2.04 and reboot -----------------


 * Connected to: TCPIP::192.168.1.75::INSTR
-> *IDN?
<- (Return Count:55)
Rigol Technologies,DG992,DG8A123456789,00.02.04.00.00

Just to be clear, my serial is not 123456789 and my model according to the store invoice is not a DG992.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on July 04, 2020, 03:23:02 pm
I was the enabler that helped but the true discoverer of this alternative method was bulba99.  :clap:

(when he told me the simple operation he had tried I was sure that he had solved it...)

I crafted this script so that all who were waiting this last step can finish the 2.04 upgrade.

This is a supplement to the rest of the upgrade process not a replacement!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ultranalog on July 04, 2020, 03:31:36 pm
The true discoverer of this alternative method was bulba99.  :clap:
Dziękuję serdecznie!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on July 04, 2020, 03:39:24 pm
The true discoverer of this alternative method was bulba99.  :clap:
Dziękuję serdecznie!

Proszę bardzo  ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Powernun on July 04, 2020, 04:12:12 pm
I can also confirm that it worked and I now have a DG811 "upgraded" to DG992 running firmware 2.04.

For me the process of downgrading with 1.08.00.01 v5 and then upgrading to 2.04 did not work and resulted in the device becoming a DG811 again. But after using the  Finish_Upgrade_2.04 script the device reverted back to being a DG992.

Thank you bulba99 and tv84!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: netdudeuk on July 04, 2020, 04:30:57 pm
I can also confirm that it worked and I now have a DG811 "upgraded" to DG992 running firmware 2.04.

For me the process of downgrading with 1.08.00.01 v5 and then upgrading to 2.04 did not work and resulted in the device becoming a DG811 again. But after using the  Finish_Upgrade_2.04 script the device reverted back to being a DG992.

Thank you bulba99 and tv84!

So a £215 instrument now works exactly like a £976 instrument ?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Powernun on July 04, 2020, 04:36:25 pm
I can also confirm that it worked and I now have a DG811 "upgraded" to DG992 running firmware 2.04.

For me the process of downgrading with 1.08.00.01 v5 and then upgrading to 2.04 did not work and resulted in the device becoming a DG811 again. But after using the  Finish_Upgrade_2.04 script the device reverted back to being a DG992.

Thank you bulba99 and tv84!

So a £215 instrument now works exactly like a £976 instrument ?

It's not exactly like that. The DG8XX instruments are calibrated up to 40MHz. Frequencies above that provide weird waveforms. I haven't personally tested that but there are a few posts discussing it in this thread. In theory, if we find out the calibration procedure/mechanism then it should be possible to calibrate DG8XX devices to the DG9XX standard.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Gandalf_Sr on July 04, 2020, 04:53:31 pm
So my DG811 came with fw vn 00.01.08.00.01 and I was able to upgrade to DG992 (and keep my serial number) with the magic USB drive but TV84's version of 01.08 was never installed on mine so what should I do to get to 02.04?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on July 04, 2020, 05:00:54 pm
so what should I do to get to 02.04?

If you already upgraded yours to DG992 you can flash 2.04 without problems.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on July 04, 2020, 05:04:46 pm
I can also confirm that it worked and I now have a DG811 "upgraded" to DG992 running firmware 2.04.

For me the process of downgrading with 1.08.00.01 v5 and then upgrading to 2.04 did not work and resulted in the device becoming a DG811 again. But after using the  Finish_Upgrade_2.04 script the device reverted back to being a DG992.

Thank you bulba99 and tv84!
Just to confirm, after installing version 2.04, you put the Finish_Upgrade.GEL file on memory stick and performed the firmware upgrade?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Powernun on July 04, 2020, 05:09:15 pm
I can also confirm that it worked and I now have a DG811 "upgraded" to DG992 running firmware 2.04.

For me the process of downgrading with 1.08.00.01 v5 and then upgrading to 2.04 did not work and resulted in the device becoming a DG811 again. But after using the  Finish_Upgrade_2.04 script the device reverted back to being a DG992.

Thank you bulba99 and tv84!
Just to confirm, after installing version 2.04, you put the Finish_Upgrade.GEL file on memory stick and performed the firmware upgrade?

Yes, I did the one with the device booted:

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on July 06, 2020, 06:33:10 pm
Damn!

DAVID, the forum needs a deep patch!   :palm:

My msg here (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264) has an attachment that has nothing to do with what I attached and that many people were able to download. Now it's become an attachment that I made in another thread!  :wtf:

Guys, I don't have access to my initial file at the moment. I'll (try to) correct it when I get back home.

DON'T FLASH IT.  (It should do no harm but...)  I've reported this to Dave.

Many of you know that some of my attachments execute some changes to the equipments. By chance the file  that replaced the initial one is inocuous (in a DG800/900) BUT what if it wasn't...   :-BROKE

EDIT: I re-attached a correct file. (The forum still has an attachments bug and I haven't heard from Dave about it...)
Title: LAN static IP problems
Post by: jhenderson0107 on July 06, 2020, 10:53:39 pm
Configuring the DG992 (firmware 00.01.08.00.01) for LAN communications using a known-available static IP, it reports 'lan connection successful' on the GUI after booting.  However, subsequent communications attempts are unsuccessful.  Pings fail and the device cannot be detected as an LXI device on the network using NI MAX.  Several different uncommitted static IP addresses were tried and also behave identically.  However, configuring the instrument to use a DHCP -assigned address allows it respond and be controlled as expected.  Has anyone else observed this behavior? 
Title: Re: LAN static IP problems
Post by: bulba99 on July 10, 2020, 03:51:48 pm
Has anyone else observed this behavior?

With firmware 02.04 it works fine.
DHCP=Off, AutoIP=Off, ManualIP=On
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jhenderson0107 on July 10, 2020, 04:40:45 pm
Thanks bulba99, I'll give it a try. 
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: klamath on July 12, 2020, 08:55:32 pm
b]EDIT: I re-attached a correct file. (The forum still has an attachments bug and I haven't heard from Dave about it...)[/b]

many tanks tv84, your patch works very well,

the ultimade upgrade how-to mini guide:

dgXXX with oem firmware = 01.08
in 01.08 firmware follow tv84 guide https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391, (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391,) then upgrade to the latest firmware.


dgXXX with oem firmware => 01.09
1) downgrade with 01.08 cwf (many thanks evgbog. https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3017342/#msg3017342 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3017342/#msg3017342))

2) change model type (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391))

3) apply tv84 ultimade patch (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264))

NB: I'have apply this patch in 02.02 firmware, but i don't knows if it work in any firmware, need more test.

4) upgrade to the latest firmware 02.04

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on July 13, 2020, 08:46:04 am
Damn!

DAVID, the forum needs a deep patch!   :palm:

EDIT: I re-attached a correct file. (The forum still has an attachments bug and I haven't heard from Dave about it...)

Probably Dave took some used hardware from his "Dumpster Findings"!  ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Vtech on July 23, 2020, 01:58:27 pm
Recently I've acquired DG812. While playing with it I've connected 0/10V square wave from its output to counter input not realizing that it is rated to only +-2.5V (wtf??? cannot even tolerate its own output? :palm:). Counter didn't work and I cannot get it to work. It shows something only at the exact moment of connecting cable to counter input and after that it shows 0. Have I fried counter input? Looking at teardown photos in this thread I see 49.9R series resistor and some limiting diodes on counter input. I think it should survive "slight" overvoltage or am I wrong?

Edit: After some fiddling with settings I've managed to get the counter working but only when coupling is set to DC. On ac coupling it doesn't work o matter what.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on July 24, 2020, 12:22:05 am
Recently I've acquired DG812. While playing with it I've connected 0/10V square wave from its output to counter input not realizing that it is rated to only +-2.5V (wtf??? cannot even tolerate its own output? :palm:). Counter didn't work and I cannot get it to work. It shows something only at the exact moment of connecting cable to counter input and after that it shows 0. Have I fried counter input? Looking at teardown photos in this thread I see 49.9R series resistor and some limiting diodes on counter input. I think it should survive "slight" overvoltage or am I wrong?

Edit: After some fiddling with settings I've managed to get the counter working but only when coupling is set to DC. On ac coupling it doesn't work o matter what.

2.5V is the trigger voltage, not the input range.
I don't think many people are using it as a counter.

[attachimg=1]
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Vtech on July 24, 2020, 11:35:06 am
2.5V is the trigger voltage, not the input range.
I don't think many people are using it as a counter.

Front panel label as well as User Manual dares to disagree.
[attachimg=1]
Wonder what "Disruptive Discharge Voltage" means :-DD It is also very nice that parameters in datasheet don't match user manual and label on the instrument :palm:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on July 24, 2020, 10:28:31 pm
Front panel label as well as User Manual dares to disagree.

Wonder what "Disruptive Discharge Voltage" means :-DD It is also very nice that parameters in datasheet don't match user manual and label on the instrument :palm:

Yeah you are right.

If we look at Toms great teardown photos: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2419776/#msg2419776 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2419776/#msg2419776)
Input goes through a 50R resistor, into a "JY" SOT23, then splits off into some R/C and B4U SOT23 and TL072.
JY appears to be BAV199.

So whatever +/- rails its clamping to should be the limit of the input.
Whether those are the main instrument rails, or only ~+/-8V as the manual implies, I'm not sure.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on July 24, 2020, 11:20:43 pm
Counter is completely shit on them and the DG1000Z units. I would just stick a cap on it and not use it.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ultranalog on July 25, 2020, 12:42:36 pm
It sounds to me that 'disruptive discharge' means they've tested it to withstand over voltage pulses to 7V.

Good thing I've only used it with a 10x probe so far...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bitseeker on July 25, 2020, 02:57:06 pm
Counter is completely shit on them and the DG1000Z units. I would just stick a cap on it and not use it.

Mine hasn't been uncapped since unboxing. :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Vtech 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
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Vtech 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 (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 (new link):
https://1drv.ms/u/s!Apl2P2E_LZQ_sYgtAQ4Tv2gbLjiujA (https://1drv.ms/u/s!Apl2P2E_LZQ_sYgtAQ4Tv2gbLjiujA)
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 (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 (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!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Luckygecko 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 (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/ (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)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Luckygecko 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. 
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: AZTLAN 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
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK 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 (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 (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 (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 (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?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Luckygecko 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.
....
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Luckygecko 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]
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK 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
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Vtech 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).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 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...  ;)



Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK 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. 
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 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 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK 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 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264).
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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 06, 2020, 07:30:14 pm
Execute the procedure as listed by Vtech and it should work.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK on August 06, 2020, 09:11:48 pm
You mean all the process described by Vtech from 0 to 5?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 06, 2020, 09:15:34 pm
You mean all the process described by Vtech from 0 to 5?

Yep.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Martian Tech 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?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: dave3533 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?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK 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
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 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?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK on August 14, 2020, 04:00:38 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?
Did you add a 50ohm termination to the scope input?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Martian Tech on August 14, 2020, 04:10:24 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?
What is the bandwidth of your oscilloscope?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 14, 2020, 04:30:41 pm
But the output voltage is very different. What is the reason?

Uncalibrated.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Martian Tech on August 14, 2020, 05:13:19 pm
Wait, back up - is the question why is the output not relatively flat across the frequency range, or why is it different than what was reported by timber23 in reply #199 of this thread (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2427906/#msg2427906 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2427906/#msg2427906))?

FWIW: I just checked mine (DG822 received w/firmware ver 1.08 -> Agilent DSO6034A 300MHz oscilloscope), and my results pretty closely match timber23's.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on August 14, 2020, 05:55:34 pm
But the output voltage is very different. What is the reason?

Uncalibrated.
How to calibrate?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on August 14, 2020, 05:57:11 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?
Did you add a 50ohm termination to the scope input?
High resistance,Not 50Ω
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on August 14, 2020, 05:59:56 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?
What is the bandwidth of your oscilloscope?
Oscilloscope bandwidth is 100MHz,DS1074Z ↑ DS1104Z
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 14, 2020, 06:33:17 pm
How to calibrate?

Not publicly known.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Martian Tech on August 14, 2020, 07:14:32 pm
Oscilloscope bandwidth is 100MHz

OK, that explains part of what you're seeing.  The bandwidth is the point at which the response drops to -3dB, so that is affecting your readings and giving more apparent falloff than is actually there.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK on August 14, 2020, 07:21:48 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?
What is the bandwidth of your oscilloscope?
Oscilloscope bandwidth is 100MHz,DS1074Z ↑ DS1104Z
I tested on my setup (DG811 -> DG992), GW Instek GDS1054B scope (50MHz -> 100MHz) and I get 1.2Vpp with HighZ, direct BNC to BNC connection
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on August 14, 2020, 07:49:25 pm
Also ignoring the high Z input, if that scope input is 18pf at 100Mhz that’s a reactance of 88 ohms approx so you’ve got a voltage divider against the 50 ohms source there as well as the 3dB bandwidth fall off to contend with.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on August 15, 2020, 03:37:10 am
Please advise, after upgrading to 992, will the sampling rate be 250MSa/s? Is the waveform length 16Mpts?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on August 15, 2020, 07:59:48 am
Yes and yes...  :) Read here (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420769/#msg2420769) and the few following contributions. Btw, 250MSa/s it always was, on all instruments throughout the range. There's been some inconsistency regarding this issue in Rigol's documentation/advertising.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Martian Tech on August 17, 2020, 01:03:47 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?

OK, I finally got around to acquiring a USB thumb drive that I could use to upgrade, so I can answer my own question.  Upgraded from 1.08 to 2.04 firmware, and the external reference works reliably now.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on August 17, 2020, 03:10:39 pm
Is the DG811 hackable on all firmware revisions at the moment?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK on August 17, 2020, 03:26:03 pm
Is the DG811 hackable on all firmware revisions at the moment?
you need to downgrade from 2.04
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on August 17, 2020, 03:26:38 pm
Thanks. That's good enough for me.  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on August 17, 2020, 03:32:41 pm
Latest firmware, not tested
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on August 17, 2020, 09:31:05 pm
You probably need a Chinese account - at least I could not login with my EU registration  :-// to get the download file... I always get a sad smilie!  :(

...nearly at the end of this site...

https://www.rigol.com/supports/software-firmware-download_2.html (https://www.rigol.com/supports/software-firmware-download_2.html)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on August 18, 2020, 08:28:18 am
I always get a sad smilie!  :(


Only a Chinese mobile number is accepted during registration.
An SMS with a verification code is sent to this number.
A colleague from China would have to help.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Vtech on August 18, 2020, 08:52:19 am
I always get a sad smilie!  :(


Only a Chinese mobile number is accepted during registration.
An SMS with a verification code is sent to this number.
A colleague from China would have to help.

Here you go: https://rigol.com/Public/Uploads/uploadfile/files/ftp/EMD/DG/SOFTWARE/firmware/SardineII(ARM)Update_00.02.05.00.00.rar

No need to register - download link is present in javascript source code of the web page :-DD

EDIT: Release Notes: v00.02.05.00.00   2020-05-30
     - Solve the problem that the machine model changes to DG811 when upgrading to 00.02.04.00.00

I think there is no point of installing this.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on August 18, 2020, 10:05:15 am

No need to register - download link is present in javascript source code of the web page :-DD


 :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 18, 2020, 01:42:39 pm
Release Notes: v00.02.05.00.00   2020-05-30
     - Solve the problem that the machine model changes to DG811 when upgrading to 00.02.04.00.00

 :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bulba99 on August 18, 2020, 01:55:36 pm
Release Notes: v00.02.05.00.00   2020-05-30
     - Solve the problem that the machine model changes to DG811 when upgrading to 00.02.04.00.00

 :-DD

This behavior probably applies to the DG2000 family and therefore there is only firmware 02.02 for this series on most websites.   :D

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK on August 18, 2020, 02:57:56 pm
Does anyone know the difference between DG992 and DG2102?  Can the DG811 be hacked to DG2102?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 18, 2020, 03:06:16 pm
DG2000 has LAN interface built-in.

Nobody has tried it. Disregarding the LAN difference it could be possible or...  Nonetheless, don't see any value in that.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on August 20, 2020, 01:37:56 pm
As far as I know, there are obvious individual differences in the DG800 series. Some 1Vpp can only reach 0.3 or 0.8. When you buy, it is best to filter if you have the conditions. I use a special method to make my DG811 reach the real DG992 standard. When 1Vpp, it shows 0.97Vpp. I will publish my test next time.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on August 23, 2020, 08:53:55 am
Using special methods and calibration, the output amplitude of DG811 in the high frequency range reaches the standard. DG811 truly becomes DG992!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 23, 2020, 12:38:27 pm
Using special methods and calibration, the output amplitude of DG811 in the high frequency range reaches the standard. DG811 truly becomes DG992!

 :-+ Now, it would be cool if you share your calib method.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Gandalf_Sr on August 24, 2020, 12:19:20 am
Using special methods and calibration, the output amplitude of DG811 in the high frequency range reaches the standard. DG811 truly becomes DG992!

 :-+ Now, it would be cool if you share your calib method.
What TV84 is asking is...

Please tell us how you did the calibration. What is your "special method"?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mnementh on August 25, 2020, 08:45:07 pm
Use a SDG6032X offscreen as "reference"...?  :-DD

mnem
 :bullshit:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 29, 2020, 07:47:18 pm
DG800/900/2000 Performance Verification Guides.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on August 30, 2020, 02:33:51 am
DG800/900/2000 Performance Verification Guides.

Is the performance verification guide for the various generators helpful in producing a correct calibration for a DG811 "upgraded" to a DG992?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 18, 2020, 01:57:18 am
So I have successfully applied the upgrade from DG811 to DG992, and installed the latest firmware.

I have the tools necessary to calibrate this unit, and there is a calibration guide for the DG2000 series floating around on the internet that I have in my possession.  In principle, because the DG800/DG900/DG2000 are extremely similar (if not the same in terms of hardware), I should be able to calibrate this upgraded DG992.

I have tried to access the calibration menu using various combinations of :CAL and other things via SCPI to access the cal menu with no success.  I have also tried pressing all the buttons (and some combinations) during boot up also with no success.  I did however discover that if you pres the "Trig" button repeatedly from the moment you turn the unit on, it takes you to a chinese menu that lets you test the buttons and test the touch screen (see attached photo).

Has anyone been able to successfully use the CAL scpi commands for the DG800/900 described here (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2462616/#msg2462616)?  If so, please share and I will happily calibrate this unit and provide the calibration parameters in this post, so that everyone can have a true DG992 with correct performance.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on September 18, 2020, 08:57:37 am
Are you sure the CAL guide is the proper one for the recent DG2000 series? There has been a "prehistoric" DG2000 (https://www.batronix.com/shop/waveform-generator/Rigol-DG2021A.html) about a decade ago for which I'm aware of calibration instructions, but not for the recent one.

Moreover, it may be necessary to insert the "magic USB key" while calibrating the generator. I'll also be highly interested in the corresponding instructions...  ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 18, 2020, 02:27:51 pm
Are you sure the CAL guide is the proper one for the recent DG2000 series? There has been a "prehistoric" DG2000 (https://www.batronix.com/shop/waveform-generator/Rigol-DG2021A.html) about a decade ago for which I'm aware of calibration instructions, but not for the recent one.

Moreover, it may be necessary to insert the "magic USB key" while calibrating the generator. I'll also be highly interested in the corresponding instructions...  ;)

I have attached a photo of the successful "upgrade" to the DG992 model at the end of this message, with the latest firmware and serial number restoration procedure installed.  It would appear that you are correct, my Cal guide is for the ancient DG2000 series and not the most recent DG2000 series.  This would explain why the cal menu does not exist.

I have tested out various "CAL" SCPI commands mentioned in the Rigol SCPI command list, but I cannot determine whether or not they actually do anything of note (all generate no response).  I am wondering if there is a bootup button sequence that will enable calibration mode.  It's clear that there are at least two independent sequences at bootup (firmware upgrade by hitting utility, screen test by hitting trigger).  However, both have a visible effect by just pressing the key without the insertion of a USB.  This leads me to believe that there is a button sequence that will enable calibration at startup, but that likely needs more than just one button press (maybe two in combination).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 18, 2020, 05:01:18 pm
I contacted Rigol to see if they would give me anything on how to calibrate this unit, and their response was that they do not have any way for customers to calibrate it, but that if I needed it to be calibrated that I should contact Transcat. So, it clearly can be calibrated (as if that were in doubt), but clearly it is not a procedure that is doable in any obvious way. Never the less I will soldier on in my quest.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 19, 2020, 08:50:31 pm
Alright so I poked around using the SCPI cal commands, and I have discovered the following.

Entering the Cal commands on SCPI with the "send&read" command using Rigol's Ultra Sigma software causes a timeout on the read part of the "send&read" command, and also causes the next SCPI command to throw a protocol error during the transfer of the next SCPI command.

However!  If you simply send the CAL command, and then send&receive the :SYST:ERR? command, it will tell you if the CAL command has returned an error.  I tried this with the :CAL:DATE command and it returns a "-220 parameter error" when :SYST:ERR? is invoked after the :CAL:DATE command is passed.  I then passed :CAL:DATE 09/09/2020 and then invoked :SYST:ERR? and it returned no error, so I think that means I successfully passed a cal date command but I have no idea how to verify that.

Its not much, but its something.  Maybe we can use this to figure out what the correct cal sequence is.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 19, 2020, 08:58:45 pm
I think Rigol usually uses the :SYST:ERR? after all commands to see if their commanding is going ok.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 19, 2020, 09:00:52 pm
I think Rigol usually uses the :SYST:ERR? after all commands to see if their commanding is going ok.

I think you are correct because I passed :CAL:DATE 09/09/2020 and then :SYST:ERR? and it returned no errors, so I believe that this cal command was successful (and probably set the cal date to september 9th 2020).  However, I have no idea how to verify this.  One thing that we may be able to check is the system log (which I have turned on via :SYST:LOG ON).  However, I'm not sure where I could find that.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 22, 2020, 02:26:42 pm
Alright so I spoke with Rigol's service department, and they told me pretty much what I expected: these instruments arent intended to be manually calibrated by customers, but the service tech didnt know what mechanism (if there is one) that is preventing this from happening.  They do the calibration in house, and there is no known procedure for circumventing this.  He also mentioned that they do not provide calibration certifications of any kind, so even if the unit was professionally calibrated by them there is no way to document that fact other than the performance verification guide.  He also said that if I wanted a professional calibration with documentation that I could reach out to Transcat, as Rigol contracts with them for calibration services and that they may have more information on the process.  I did contact Transcat and I am awaiting their response, but I am not optimistic given that their entire business is charging people to calibrate things and I'm asking them how they do the calibration for this unit.

So, that said, it looks like there is a software process that performs the calibration.  My best guess is that they use some sequence of SCPI commands to calibrate the unit.  However, unless we can figure out what that sequence of commands is (or come up with some other software solution), I dont think there is a way to calibrate this thing unless jscm2000 can provide us with his method.  Maybe its time to open the unit up and take a look to snoop around in the serial port next to the Spartan 6?

** EDIT **

What do ya'll think this ribbon connector attached to the main processor board is for?  Its not connected to the display, but it looks like a display connector (see attached image)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on September 22, 2020, 03:49:16 pm
It is the display connector. See the first photo on this page (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2419773/#msg2419773). It's a little bit hard to see since my photographing skills (and gear as well) can be improved on... It's the brown polyimide flex PCB that first sneaks up and then down in the right front-area cutout of the main metal chassis of the instrument.

I don't think that the FPGA's JTAG interface will be that helpful regarding the calibration issue. The ominous three-pin footprint labeled "J2" on the processor board looks like a much more promising candidate to me. Pins 1 and 2 are routed via a resistor each and then vanish in the direction of the CPU. Pin 3 is connected to ground. Could very well be an UART interface with 3.3V CMOS levels.

Edit:
Just had my DG800 apart and hooked up to J2 (first Scope, then UART interface): 1 - TxD, 2 - RxD, 3 - GND. 115200/n/8/1, no handshake. I recorded the bootlog without the front panel attached so I assume this causes the I²C errors:

Code: [Select]

U-Boot SPL 2015.07 (Jul 17 2018 - 16:15:46)
Jumping to U-Boot



U-Boot 2015.07 (Jul 17 2018 - 16:15:46 +0800)


       Watchdog enabled

I2C:   ready

DRAM:  256 MiB

NAND:  512 MiB

MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

Net:   MAC addr->F4:E1:1E:A1:E5:CC

get PHY for cpsw: addr 1

cpsw

Hit any key to stop autoboot:  1  0

Booting from nand ...


NAND read: device 0 offset 0x400000, size 0x9140

 37184 bytes read: OK


NAND read: device 0 offset 0x500000, size 0x409000

 4231168 bytes read: OK

crc_format = bootm 0x82000000 - 0x88000000.

## Booting kernel from Legacy Image at 82000000 ...

   Image Name:   Linux-3.14.26-rt25

   Created:      2018-07-19   9:09:58 UTC

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    4231104 Bytes = 4 MiB

   Load Address: 80008000

   Entry Point:  80008000

## Flattened Device Tree blob at 88000000

   Booting using the fdt blob at 0x88000000

   Loading Kernel Image ... OK

   Loading Device Tree to 8ef17000, end 8ef23132 ... OK


Starting kernel ...


[    0.527343] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.600253] cpu cpu0: cpu0 clock notifier not ready, retry
Starting logging: OK
mount user space...
Starting mdev...
modprobe: can't change directory to '3.14.26-rt25': No such file or directory
Initializing random number generator... [    4.243743] random: dd urandom read with 7 bits of entropy available
done.
Starting network: OK
Starting dropbear sshd: OK
Starting sshd: /var/empty must be owned by root and not group or world-writable.

OK
Starting app...
[    4.884799] sardine-adc TI-am335x-adc: initialized


Welcome to RIGOL DG800 system

rigol login: [    4.964771] fram 0-000a: initialized
[    5.022452] beep pwm:beeper,hwpwm:0,period:2000,polarity:0
[    5.032691] pwmdev-beeper beeper.7: initialized
[    5.085729] gpio-led led.8: initialized
[    5.783576] ts-ft6336U 2-0038: ts_ft_i2c_write i2c write error.
[    5.789953] ts-ft6336U 2-0038: ts_ft_i2c_write i2c write error.
[    5.796808] ts-ft6336U 2-0038: ts_ft_i2c_write i2c write error.
[    5.803105] read: i2c_transfer error!
[    5.807276] ts-ft6336U 2-0038: ts_ft_i2c_write i2c write error.
[    5.813561] read: i2c_transfer error!
[    5.817751] ts-ft6336U 2-0038: ts_ft_i2c_write i2c write error.
[    5.824049] read: i2c_transfer error!
[    5.829168] input: Rigol-FocalTech TS as /devices/ocp.3/4819c000.i2c/i2c-2/2-0038/input/input0
[    5.925523] input: rigol keyboard as /devices/ocp.3/48022000.serial/input/input1
[    5.954777] rigol-kbd 48022000.serial: initialized!
[    6.035074] usbcore: registered new interface driver usbtmc
[    6.114785] usbcore: registered new interface driver asix
[    6.164791] usbcore: registered new interface driver r8152
rmmod: can't unload module 'usbtmc_dev': No such file or directory
rmmod: can't unload module 'libcomposite': No such file or directory
[   22.312471] Rigol Device gadget: Usb device Gadget, version: 2016 July 26
[   22.319781] Rigol Device gadget: Rigol Device ready
[   22.420986] usbcore: deregistering interface driver usbtmc
[   22.534791] usbcore: registered new interface driver usbtmc
[   30.679919] random: nonblocking pool is initialized


I may install a wire to J2 and run it outside so I can use the instrument with an UART interface attached. Let's see where it takes us...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 22, 2020, 11:07:08 pm
I can't seem to pull up any serial output from J2 on the processor board. I have even checked the output on an oscilloscope and there is nothing. What firmware version are you running?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on September 22, 2020, 11:45:20 pm
Very strange. I'm running F/V 00.02.04 on my DG800 (which started life as a DG811 but believes it's a DG992...). Meanwhile, I installed the break-out cable and reassembled the instrument again. Using Putty, I'm able to "talk" to the instrument but haven't been able to log in yet (lacking the root password). I've been able to stop the boot process in U-Boot and messed around there a little.

IIRC, among other Rigol instruments, there have been some specimen that were missing the resistors that routed the UART lines to the corresponding port pins. You may want to pull the CPU module and check if R113 and R114 are installed. They should be in the ballpark of 330 ohms to 1k ohm.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 01:44:37 am
Thanks for the heads up, I ended up figuring it out.  What I thought was GND turned out to be TX, so flipping those two fixed it and now I can interact with it via serial over putty.

I have attached my full boot log in this message.  Gonna try some things, maybe we'll get lucky and get root shell access.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 04:17:45 am
So I logged the serial port output in the 4 different known boot configurations, and got some interesting results.

The first boot configuration is the standard one, no button presses at the start and just let it run through its normal boot process.

The second boot configuration involves repeatedly pressing the "Trig" key as I mentioned before, which puts the system into LCD/button test mode.

The third boot configuration involves pressing the "Help/Local" button repeatedly at startup, which puts the system into USB firmware upgrade mode.

The fourth boot configuration can only be accessed via serial port, and it involves pressing any key before the 1 second timer on the autoboot expires.  This immediately dumps you to a uboot login.

The differences here appear to occur when the device finishes autoboot.  The second boot configuration makes some cryptic references to "entering engineering model" and erasing redundant RAM and mentions a "New crc = 0x4cc6443" towards the end of the boot process. The third boot configuration will either upgrade the firmware from a USB (I didn't check the output for this part yet) or will fail to detect a valid USB and dump you to the uboot login prompt.  The fourth configuration dumps you straight to a uboot login.

All of this leads me to believe that "calibration mode" (if it exists) will likely be accessed by doing something before autoboot finishes, like the other modes.  More investigations tomorrow.  Maybe someone can try to upgrade the firmware while monitoring the serial port.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 23, 2020, 06:47:54 am
password: sardine_uboot
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on September 23, 2020, 07:06:08 am
Can't log in on the console with root / sardine_uboot . Maybe the password is to be used with a different login or not on the serial console? Entry into the uboot shell is possible without any access control.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 23, 2020, 07:21:10 am
Keep pressing Crtl-C when booting.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 11:23:32 am
Can't log in on the console with root / sardine_uboot . Maybe the password is to be used with a different login or not on the serial console? Entry into the uboot shell is possible without any access control.

How did you manage to get into uboot shell without a password? My unit requires a password for uboot (see above)

As for the console login, maybe we can binwalk the login name from the firmware. My bet is that it will use the same password as uboot login
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on September 23, 2020, 12:12:02 pm
Don't know..  :-//  My DG811 has a S/N from Q4 2018 so it's probably a rather early specimen. Maybe at that time, Rigol didn't lock Uboot shell with a password. I definitely can get into the shell by just pressing a key when Uboot prompts for it. No password required.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 12:39:45 pm
ok I can confirm that the password sardine_uboot works for logging into the uboot shell.  It does not work for logging into the main console with root login name after the boot process. We still don't know the user name for logging into the post-boot shell

For some reason TurboTom's system does not need a password to log into uboot.  I find this odd, given that I would expect the password requirement to be tied to the firmware version, but maybe its device specific.  Anyway, we are into the uboot shell.  Now for the main console!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 01:25:08 pm
I have attached a dump of various uboot info commands in this message.  This includes a comprehensive list of all commands that can be entered into the uboot shell.  There are some interesting nuggets in there, like RIGOL specific uboot commands and some info on various start up routines.  The only thing I cannot figure out is how to work the "ls" command.  It says it needs a directory to work on, but when I enter "ls /" which is supposedly the default, it spits out the same "this only works on a directory" message.  Does anyone know what the file system looks like so that I can begin poking around and seeing whats available?

Check out the dump and let me know what you think.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 23, 2020, 01:32:52 pm
Like this?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 01:34:43 pm
Additional dump with fdt command list
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 01:38:43 pm
Like this?

Is that the uboot file system or the linux file system?  I tried using ls -laR / in uboot shell but it keeps giving me a "** Bad device specification **" or ** No device specified **
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 23, 2020, 02:07:07 pm
Is that the uboot file system or the linux file system?

I think such thing doesn't exist. If it's a filesystem, it's beyond uboot.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 02:14:42 pm
Is that the uboot file system or the linux file system?

I think such thing doesn't exist. If it's a filesystem, it's beyond uboot.

I see. I wonder how the ls command is supposed to work in uboot shell. I have tried it and all I get is a message saying I haven't specified a device
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 02:36:46 pm
Like this?

Can you dump the contents of the two files that I pulled from your ls dump or attach them here (see attached image)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 06:09:54 pm
As an aside, it would appear from TV84's dump of the file system that the desired login name is "root".  No word on the root password yet, though I have been trying many fun combinations involving sardines.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 23, 2020, 08:29:31 pm
Attached dumps from the offical rigol firmware, mostly just the file structure.  There are three main firmware archives in UBIFS format: _app, _Sardine, and _rootfs, each with some interesting things in them.  I'm able to mount the rootfs archive and look around in it, but I cant get either _app or _Sardine open to look around in it yet.  I did however extract an interesting shell script using ubidump, which I have also attached.  Gives an idea of how the calibration might work, I think.

Still cant find the calibration data in the firmware files though.  Maybe its saved into the /root directory of rootfs after the unit is first calibrated?

*** EDIT ***

FInally opened the UBIFS archives and extracted the data.  No cal info, but an xml file in the Sardine UBIFS archive contained some interesting references to calibration procedure.  See attached xml
file called "msg_en"

Also I found the /etc/shadow file that contains the hashed root password. The encryption is probably unbreakable though
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 24, 2020, 06:26:12 am
Can someone post the /etc/shadow line for root. My GPU is sitting here doing nothing at the moment and needs some hashcat exercise  8)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 24, 2020, 09:04:46 am
Can someone post the /etc/shadow line for root. My GPU is sitting here doing nothing at the moment and needs some hashcat exercise  8)

I'll bet it is.  ;D  But, the problem is that the line doesn't have nothing of interest.  :-//

/etc/passwd
Code: [Select]
root:x:0:0:root:/root:/bin/sh
daemon:x:1:1:daemon:/usr/sbin:/bin/false
bin:x:2:2:bin:/bin:/bin/false
sys:x:3:3:sys:/dev:/bin/false
sync:x:4:100:sync:/bin:/bin/sync
mail:x:8:8:mail:/var/spool/mail:/bin/false
www-data:x:33:33:www-data:/var/www:/bin/false
operator:x:37:37:Operator:/var:/bin/false
nobody:x:99:99:nobody:/home:/bin/false
sshd:x:1000:1000:SSH drop priv user:/:/bin/false

/etc/shadow
Code: [Select]
root::10933:0:99999:7:::
daemon:*:10933:0:99999:7:::
bin:*:10933:0:99999:7:::
sys:*:10933:0:99999:7:::
sync:*:10933:0:99999:7:::
mail:*:10933:0:99999:7:::
www-data:*:10933:0:99999:7:::
operator:*:10933:0:99999:7:::
nobody:*:10933:0:99999:7:::
sshd:*:::::::

/etc/inittab
Quote
# /etc/inittab
#
# Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
#
# Note: BusyBox init doesn't support runlevels.  The runlevels field is
# completely ignored by BusyBox init. If you want runlevels, use
# sysvinit.
#
# Format for each entry: <id>:<runlevels>:<action>:<process>
#
# id        == tty to run on, or empty for /dev/console
# runlevels == ignored
# action    == one of sysinit, respawn, askfirst, wait, and once
# process   == program to run

# Startup the system
::sysinit:/bin/mount -t proc proc /proc
::sysinit:/bin/mount -o remount,rw /
::sysinit:/bin/mkdir -p /dev/pts
::sysinit:/bin/mkdir -p /dev/shm
::sysinit:/bin/mount -a
::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS

# Put a getty on the serial port
#ttyO0::respawn:/sbin/getty -L  ttyO0 115200 vt100 # GENERIC_SERIAL
ttyO0::respawn:/sbin/getty -n -l /sbin/autologin 115200 ttyO0

# Stuff to do for the 3-finger salute
#::ctrlaltdel:/sbin/reboot

# Stuff to do before rebooting
::shutdown:/etc/init.d/rcK
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r

I'm afraid CalibrationData.dat might have ID data, so cannot share because it's not mine.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 24, 2020, 09:22:50 am
Ok so root should have no password if the second field is ::
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 24, 2020, 01:25:12 pm
I can confirm that the root password is not an empty field.  It definitely requires a password.

/etc/shadow
Code: [Select]
root:<redacted>:10933:0:99999:7:::

daemon:*:10933:0:99999:7:::

bin:*:10933:0:99999:7:::

sys:*:10933:0:99999:7:::

sync:*:10933:0:99999:7:::

mail:*:10933:0:99999:7:::

www-data:*:10933:0:99999:7:::

operator:*:10933:0:99999:7:::

nobody:*:10933:0:99999:7:::

sshd:*:::::::

There is definitely a password hashed in there.

/etc/passwd:
Code: [Select]
root:x:0:0:root:/root:/bin/sh
daemon:x:1:1:daemon:/usr/sbin:/bin/false
bin:x:2:2:bin:/bin:/bin/false
sys:x:3:3:sys:/dev:/bin/false
sync:x:4:100:sync:/bin:/bin/sync
mail:x:8:8:mail:/var/spool/mail:/bin/false
www-data:x:33:33:www-data:/var/www:/bin/false
operator:x:37:37:Operator:/var:/bin/false
nobody:x:99:99:nobody:/home:/bin/false
sshd:x:1000:1000:SSH drop priv user:/:/bin/false

/etc/inittab
Code: [Select]
# /etc/inittab
#
# Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
#
# Note: BusyBox init doesn't support runlevels.  The runlevels field is
# completely ignored by BusyBox init. If you want runlevels, use
# sysvinit.
#
# Format for each entry: <id>:<runlevels>:<action>:<process>
#
# id        == tty to run on, or empty for /dev/console
# runlevels == ignored
# action    == one of sysinit, respawn, askfirst, wait, and once
# process   == program to run

# Startup the system
::sysinit:/bin/mount -t proc proc /proc
::sysinit:/bin/mount -o remount,rw /
::sysinit:/bin/mkdir -p /dev/pts
::sysinit:/bin/mkdir -p /dev/shm
::sysinit:/bin/mount -a
::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS

# Put a getty on the serial port
ttyO0::respawn:/sbin/getty -L  ttyO0 115200 vt100 # GENERIC_SERIAL
#ttyO0::respawn:/sbin/getty -n -l /sbin/autologin 115200 ttyO0

# Stuff to do for the 3-finger salute
#::ctrlaltdel:/sbin/reboot

# Stuff to do before rebooting
::shutdown:/etc/init.d/rcK
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 24, 2020, 02:38:12 pm
SHA512...   :-\  Only with a bit of luck.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 24, 2020, 03:31:26 pm
SHA512...   :-\  Only with a bit of luck.

While we are working on this, do you have the content of the files I mentioned in this message?

Like this?

Can you dump the contents of the two files that I pulled from your ls dump or attach them here (see attached image)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 24, 2020, 03:32:12 pm
Running hashcat on my standard password corpus now. 51gb of passwords :)

Brute forcing salted sha-512 is unproductive unless you're the NSA so it's probably better to see if you can patch the firmware with a known password before it gets to the device. Not sure if their firmware is signed or not.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 24, 2020, 03:59:10 pm
While we are working on this, do you have the content of the files I mentioned in this message?

My answer is in previous msg.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 24, 2020, 05:12:43 pm
While we are working on this, do you have the content of the files I mentioned in this message?

My answer is in previous msg.
Thanks! It's easy to miss those tiny little attachments at the end of a long post  :-//

Running hashcat on my standard password corpus now. 51gb of passwords :)

Brute forcing salted sha-512 is unproductive unless you're the NSA so it's probably better to see if you can patch the firmware with a known password before it gets to the device. Not sure if their firmware is signed or not.

Another alternative is to find a way to crash the boot process (if such a method exists) and hope it drops us into root shell
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 24, 2020, 07:15:18 pm
attached CalibrationInfo.dat in "human readable" format

Includes something with a date (October 2018) but thats probably just the calibration date (maybe could check to see if change when using SCPI :CAL:DATE command).  Not much else seems to be very useful here.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on September 24, 2020, 07:24:48 pm
No luck with hashcat. 3.3 billion passwords tried  :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 24, 2020, 07:26:24 pm
No luck here either

Looks like we will need a custom firmware or figure another way into root shell.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 26, 2020, 07:26:16 pm
Does anyone know what part number the FPGA on the main board is? *** EDIT *** Turns out I didnt need the exact part number, its a spartan 6 and my software doesn't care what kind.

I did a strings search for anything calibration related in the SardineMain executable program that seems to control basically every function of this unit when it is on, and found a lot of interesting information (dump attached in this message).  The first thing to say is that "/root/CalibrationData.dat" is referenced in the SardineMain program but does not exist in the firmware from Rigol's website.  This leads me to believe that as we suspected it is generated after the unit is turned on and the calibration routine has been run.  There is also a reference to a calibration routine (ServCalibration.cpp) in the dump that I have attached.  Does anyone think its possible to unpack this executable to get at these programs? (I have also attached this executable to the end of this message)

I'm going to try to read the contents of the winbond flash and hopefully extract the firmware so that I can get that CalibrationData.dat file from my unit and crack it open.

Also just as a fun note, I soldered in some leads and found that the JTAG connection is not disabled, so it is possible to reprogram the FPGA with the .bit files in the firmware (or any other bit file generated for this FPGA)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on September 26, 2020, 11:14:02 pm
Can anyone identify the FPGA on the main board?

I did a strings search for anything calibration related in the SardineMain executable program that seems to control basically every function of this unit when it is on, and found a lot of interesting information (dump attached in this message).  The first thing to say is that "/root/CalibrationData.dat" is referenced in the SardineMain program but does not exist in the firmware from Rigol's website.  This leads me to believe that as we suspected it is generated after the unit is turned on and the calibration routine has been run.  There is also a reference to a calibration routine (ServCalibration.cpp) in the dump that I have attached.  Does anyone think its possible to unpack this executable to get at these programs? (I have also attached this executable to the end of this message)

I'm going to try to read the contents of the winbond flash and hopefully extract the firmware so that I can get that CalibrationData.dat file from my unit and crack it open.

Also just as a fun note, I soldered in some leads and found that the JTAG connection is not disabled, so it is possible to reprogram the FPGA with the .bit files in the firmware (or any other bit file generated for this FPGA)


The FPGA is a Xilinx SPARTAN6 XC6SLX9-FTG256BIV. The package marking is quite difficult to decipher since the laser marking isn't very deep and moreover, Rigol arranged the assembly so there's silicone pad touching the top of the FPGA, spilling silicone oil all over it, affecting readability even more...

Anyway, application of some brake cleaner and dry tissue and placing the illumintaion at a shallow angle, revealed the imprint. So it's the second smallest FPGA in XILINX's Spartan6 range.

Yet, I don't think that's the limiting factor that precludes the contemporary use of CH2 and the frequency counter. It rather seems that the mysterious U603, of which I guess that it's a DAC (possibly 2 channel audio type) to generate the offset voltages, is used to output the trigger threshold for the freqency counter input comparator and thus is no longer available for the offset of channel 2. I may be completely wrong, though...  :-//

(rant on...) BTW, I consider it bad style to edit a post to completly change its meaning or to remove substantial parts of it. This puts consecutive posts out of order and may render considerable time and effort spent by other forum members futile. It's much better practice to just cross out the sections that one wants to remove from his / her post or to publish another post that explains the new motivation. In this case, I specifically added the citation of the original post that I was referring to... (rant off)

Cheers,
Thomas
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on September 26, 2020, 11:37:37 pm
On a slightly different topic, I found that if the generator is outputting an arbitrary waveform it cannot seem to lock to an external 10 MHz clock. I wonder of someone can confirm it.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on September 26, 2020, 11:39:00 pm
(rant on...) BTW, I consider it bad style to edit a post to completly change its meaning or to remove substantial parts of it. This puts consecutive posts out of order and may render considerable time and effort spent by other forum members futile. It's much better practice to just cross out the sections that one wants to remove from his / her post or to publish another post that explains the new motivation. In this case, I specifically added the citation of the original post that I was referring to... (rant off)

Cheers,
Thomas

My bad, sorry!  Thanks for getting me that information.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on September 27, 2020, 07:33:20 pm
On a slightly different topic, I found that if the generator is outputting an arbitrary waveform it cannot seem to lock to an external 10 MHz clock. I wonder of someone can confirm it.

I checked the behaviour of my "improved" DG811, F/W 00.02.04, with the built-in arbitraries and found that it very well locks onto an external reference frequency. You've got to tell the instrument in the "Utility" menu to use the external clock source, though, since by default, it uses the internal source and utilizes the "EXT Ref" port to output this frequency.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on September 27, 2020, 11:41:08 pm
I was using a custom uploaded waveform. I will check more, it was locking fine to external clock when outputting sine wave (after set to external) but would report a error when outputting a custom waveform.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on September 28, 2020, 06:36:33 am
That really surprises me. The "AWG engine" shouldn't even notice the difference whether the reference is supplied from its internal oscillator or via the external input. It's just a switch, controlled by the CPU module and (probably) a (divided) signal fed back via the FPGA to a counter so the CPU can verify that the external reference is in the right ballpark or present at all.

Maybe you used a dodgy BNC cable or adapter to supply the reference?

I'll set up a custom arbitrary and will experiment some further as well. Should this turn out to be truely a problem, this would be a vast negligence of Rigol...


Edit: Did some more testing and indeed, I found a very weird behavior when using custom arbitraries! The instrument drops out of external reference mode with an error if "interpolation" as filter mode is selected. When using "step" or "smooth" filter response, EXT Ref stays enabled and the instrument uses it. Must be a peculiar firmware bug! Rigol, you've got a job to do...  >:D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on September 28, 2020, 06:48:45 pm
Thanks for confirming it!  I was actually trying to do something with the FG (hard to believe :)) so didn't investigate further. But yes, there doesn't seem to be any fundamental reason for this problem.
Edit: Unless Rigol uses the clock reference PLL to generate some kind of variable clock for waveform output?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: joeyjoejoe on September 29, 2020, 08:30:26 pm
I am following steps a few pages back.

I have a DG821 with FW "00.01.08.00.01". Can anyone confirm if this IS or IS NOT considered "FW 1.08" and if I need to downgrade with Vtech's file?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 29, 2020, 08:49:05 pm
I am following steps a few pages back.

I have a DG821 with FW "00.01.08.00.01". Can anyone confirm if this IS or IS NOT considered "FW 1.08" and if I need to downgrade with Vtech's file?

IS.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: joeyjoejoe on September 29, 2020, 08:51:39 pm
Thanks :) The wording suggested it was not.

Skipping that step, just got my magic USB stick, finishing Ultra Sigma download now... wish there was an easier way with linux, I tried PyVISA but it didn't seem to respond to commands.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: joeyjoejoe on September 29, 2020, 09:00:57 pm
Update - thanks Luckygecko, tv84 and vtech. DG821->DG992 complete.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on October 02, 2020, 12:07:05 am
After @nctnico's review of the Tektronix AFG31022 (https://www.eevblog.com/forum/testgear/tektronix-afg31022-review/msg3256756/#msg3256756), I just had to have a more detailed observation of my "DG811+++'s" inter-channel phase accuracy behavior. So I hooked up both channels of the AWG to my 53310A modulation domain analyzer, configured as a high-speed timer. Channel 1 would start the measurement, Channel 2 would stop it.

Since I wanted to analyze a possible "phase drift" at whole-number multiples of frequencies between the two channels, I always configured channel 2 to output a whole number multiple frequency of channel 1. I experimented in "couple mode" with both frequency and phase coupling enabled or disabled with little observable effect.

The result was disappointing: depending on the frequency pairs, I can find a phase drift, regardless of the coupling parameter, at factors sometimes as low as ten between the frequencies. I didn't dial in ultra-odd combinations. 60kHz and 1.2MHz for example walks away at approx. 100ps per minute. Other combinations are drifting even faster.

Seems like Rigol didn't get the phase accumulator math exactly right. I'ld expect that the "phase coupling" has some real effect, even if the frequencies are not identical but whole number multiples. Otherwise, the "frequency copupling" should work accurately to multiples of at least 1000.

IMO, the DG811 "hacker's delight"  >:D is still a good AWG for its price, but never ever pay the price for a higher model in the range, especially not the DG900 or DG2000 series. For that kind of money, the performance will be disappointing, and there are better choices available.

I'm quite curious if we'll eventually see a firmware update that takes care of this... IMO it would be sufficient to reset (re-align) the phase automatically each time when the multiple of periods has passed. The additional phase noise in the faster channel should be neglible. It may not be necessary to modify the math routines that probably, due to rounding inaccuracies, cause the phase accumulators to drift.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: sequoia on October 04, 2020, 03:01:26 am
Anyone succeeded "downgrading" back to v1.08 firmware on unit that came with v2.05 firmware from factory?

I tested modified 1.08 firmware update and unit detects it and prompts for upgrade. However, if you choose "ok" it just spins in the waiting screen for a while and then the animation freezes and after a while whole upgrade window goes away (unit does not reboot). Then it will prompt again for upgrade....


UPDATE:

I was able to use the official 2.04 firmware to "downgrade" from 2.05 -> 2.04 firmware.  However, no change in behaviour if attempt to downgrade to 1.08 firmware....
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK on October 04, 2020, 04:41:39 am
Anyone succeeded "downgrading" back to v1.08 firmware on unit that came with v2.05 firmware from factory?

I tested modified 1.08 firmware update and unit detects it and prompts for upgrade. However, if you choose "ok" it just spins in the waiting screen for a while and then the animation freezes and after a while whole upgrade window goes away (unit does not reboot). Then it will prompt again for upgrade....


UPDATE:

I was able to use the official 2.04 firmware to "downgrade" from 2.05 -> 2.04 firmware.  However, no change in behaviour if attempt to downgrade to 1.08 firmware....
When you downgrade from 2.05 to 2.04, doesn't the model change to DG992?  What do you mean by "no change in behavior"?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: sequoia on October 04, 2020, 04:59:06 am
Anyone succeeded "downgrading" back to v1.08 firmware on unit that came with v2.05 firmware from factory?

I tested modified 1.08 firmware update and unit detects it and prompts for upgrade. However, if you choose "ok" it just spins in the waiting screen for a while and then the animation freezes and after a while whole upgrade window goes away (unit does not reboot). Then it will prompt again for upgrade....


UPDATE:

I was able to use the official 2.04 firmware to "downgrade" from 2.05 -> 2.04 firmware.  However, no change in behaviour if attempt to downgrade to 1.08 firmware....
When you downgrade from 2.05 to 2.04, doesn't the model change to DG992?  What do you mean by "no change in behavior"?

No, model stayed as DG811.  No change in behaviour when trying to upgrade (downgrade) to 1.08 firmware.  "Waiting" screen shows up after clicking "OK" and the animation spins for a while before freezing...


I was finally able to run the downgrade to 1.08 firmware. Starting upgrade when unit was already running (on 2.04/2.05 firmware) didn't work. But booting up unit and pressing "Help" key rapidly during power on, seemed to trigger some kind of "firmware recovery" mode that started the firmware upgrade automatically... This way downgrade to 1.08 firmware was successful.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 08, 2020, 09:52:28 pm
I verified today that the JTAG interface only works with the Xilinx Spartan6 FPGA, but I did notice something interesting on the under side of the "core board"

Does anyone have any idea what this set of 7 pads might be for (see red box in attached image)?  Maybe a JTAG interface for the TI AM335x CPU?  If so, maybe we can hook into that and download the contents of the NAND flash to get the CalibrationData.dat file specific to one of our units.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rea on October 11, 2020, 12:57:28 am
No luck here either

Looks like we will need a custom firmware or figure another way into root shell.

Another way: http://codelabs.ru/firmware/rigol/dg8xx-9xx/2.05.00-enable-ssh/ (http://codelabs.ru/firmware/rigol/dg8xx-9xx/2.05.00-enable-ssh/)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 11, 2020, 02:37:50 am
No luck here either

Looks like we will need a custom firmware or figure another way into root shell.

Another way: http://codelabs.ru/firmware/rigol/dg8xx-9xx/2.05.00-enable-ssh/ (http://codelabs.ru/firmware/rigol/dg8xx-9xx/2.05.00-enable-ssh/)

Ok this is intriguing!  The readme claims that this technique wont survive an update, but in our case that's not really a problem because all we are trying to do is get the calibration info/procedure.  My bet is that if we can update the calibration info with the correct values using this access procedure you have linked, I suspect that these calibration values will likely persist between updates back to stock firmware with the DG992 upgrade in tact.  At the very least I can try to get the contents of the firmware.

Now I just gotta figure out how to SSH into this thing via USB... do I need to get a USB->ethernet adapter for that?  If so, any recommendations?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rea on October 11, 2020, 08:03:09 am
G'day.

Quote
Do I need to get a USB->ethernet adapter for that?

Yes.

Quote
If so, any recommendations?

I am good with Realtek 8152-based adapter (it came with ASUS notebook).  The list of USB device identifiers can be consulted here: https://code.woboq.org/linux/linux/drivers/net/usb/r8152.c.html#rtl8152_table

ASIX-based adapters are also supported, here's the list: https://code.woboq.org/linux/linux/drivers/net/usb/asix_devices.c.html#ax8817x_info

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on October 11, 2020, 08:58:47 am
I think I posted this in the past...

This should allow a dump of some internal files, including the calib ones.

And dump the NAND...

No need to mess with root shell for these.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rea on October 11, 2020, 08:11:36 pm
No need to mess with root shell for these.

There are many ways to skin a (net)cat...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 11, 2020, 08:36:13 pm
I think I posted this in the past...

This should allow a dump of some internal files, including the calib ones.

And dump the NAND...

No need to mess with root shell for these.

Ok, how does the dump procedure work?  I assume since it doesn't require root shell access that there is some command that allows one to extract the desired files?  How does one input that command and collect the desired files?

G'day.

Quote
Do I need to get a USB->ethernet adapter for that?

Yes.

I am good with Realtek 8152-based adapter (it came with ASUS notebook).  The list of USB device identifiers can be consulted here: https://code.woboq.org/linux/linux/drivers/net/usb/r8152.c.html#rtl8152_table

ASIX-based adapters are also supported, here's the list: https://code.woboq.org/linux/linux/drivers/net/usb/asix_devices.c.html#ax8817x_info



I assume the adapter will need to plug into the USB host port with the type B connector, so I will find an adapter for my USB ethernet adapter.  :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on October 11, 2020, 08:43:02 pm
How does one input that command and collect the desired files?

Execute those update .GELs.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 11, 2020, 09:13:31 pm
Alright, tried the reboot with help/local pressed method when the USB was plugged in and it gave me a Error: Bad script message and wouldn't boot.  Took out the USB, booted it up, put the USB back in, and executed the update.  Its currently stuck on the waiting screen, I assume that its downloading somethign to the USB but I'm not sure.  I'll give it a few more minutes before I kill it and reboot it.

*** EDIT ***

Killed it, got the cal data now (all in chinese, so this will be interesting).  Thanks for the script!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rea on October 11, 2020, 09:33:19 pm
I assume the adapter will need to plug into the USB host port with the type B connector

No: it can go into Type-A slot, the same place as for the USB drive.  So if you have the adapter, just plug it in and see if the scope will turn on USB icon, show LXI icon and show dialogs about network configuration being initialized.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 11, 2020, 10:50:54 pm
I have attached my calibration data, I'm working on making some sense of it but I don't read chinese  very well.  I ran a "file" command on it and it tells me that its a dBase III DBT file.  So I downloaded dbview and tried to run it on the file, and it tells me that version 192 is not supported.  So it appears that its some sort of .dbf file, but I dont know how to work with it yet.  Maybe one of you will have better luck than me.

One interesting thing to note: When I entered the SCPI command :CAL:DATE 09/09/2020 as mentioned earlier in this thread, it actually updated the calibration date in the CalibrationInfo.dat file.  So, we know that at least some of those CAL SCPI commands actually do something.

Now if only I could actually decode what exactly was going on in these CalibrationInfo.dat/CalibrationData.dat files...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 16, 2020, 07:35:24 pm
I've tried identifying the contents of these files via few methods, some of which is somewhat illuminating, others contradictory.  I have attached the outputs in this reply.  If this looks familiar, let me know.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on October 17, 2020, 01:34:08 pm
Anybody succeeded with @rea's approach (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3271872/#msg3271872) to get access to the "running" dg800?

I ran the .gel script which apparently worked and then tried to log into the instrument with a USB-network adapter via a putty client. Trying on port 5555 stalls the client, port 22 seems to work half-way, which means I get a login prompt. But the supplied password won't get me in. Could it be possible that I didn't configure the encryption settings properly? If I try to access port 22 with telnet, I only get some unreadable garbage as return which indicates to me that the encryption via putty is probably working. But I'm just not too experienced with this networking stuff. Maybe I should add: Communicating with the DG800 over this connection with SCPI commands (ID, screenshots and the like) works beautifully so the link itself seems to be operational.

It's not that I really need this but peeking around a little in the instument may be fun  ;)

Cheers,
Thomas
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rea on October 17, 2020, 04:05:43 pm
Thomas, good day.

I ran the .gel script which apparently worked and then tried to log into the instrument with a USB-network adapter via a putty client. Trying on port 5555 stalls the client,
... which makes sense: port 5555 isn't running SSH.

Quote
port 22 seems to work half-way, which means I get a login prompt. But the supplied password won't get me in. Could it be possible that I didn't configure the encryption settings properly?

In order for SSH access to work, you should get the provided SSH key, http://codelabs.ru/firmware/rigol/dg8xx-9xx/2.05.00-enable-ssh/id_rsa-rigol-dg, (http://codelabs.ru/firmware/rigol/dg8xx-9xx/2.05.00-enable-ssh/id_rsa-rigol-dg,) and make your SSH client to use it for logging in (as user "root").  For Putty the import of the SSH key can be done like described here: https://devops.ionos.com/tutorials/use-ssh-keys-with-putty-on-windows/#use-existing-public-and-private-keys (https://devops.ionos.com/tutorials/use-ssh-keys-with-putty-on-windows/#use-existing-public-and-private-keys)

Quote
If I try to access port 22 with telnet, I only get some unreadable garbage as return which indicates to me that the encryption via putty is probably working.

This "garbage" isn't a complete junk.  The first line should read "SSH-2.0-dropbear_2016.74" and the second (that is much longer) should have something like "curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,kexguess2@matt.ucc.asn.au#ecdsa-sha2-nistp521,ssh-rsa,ssh-dssgaes128-ctr,aes256-ctr,aes128-cbc,aes256-cbc,twofish256-cbc,twofish-cbc,twofish128-cbc,3des-ctr,3des-cbcgaes128-ctr,aes256-ctr,aes128-cbc,aes256-cbc,twofish256-cbc,twofish-cbc,twofish128-cbc,3des-ctr,3des-cbc;hmac-sha1-96,hmac-sha1,hmac-sha2-256,hmac-sha2-512,hmac-md5;hmac-sha1-96,hmac-sha1,hmac-sha2-256,hmac-sha2-512,hmac-md5none" in it.  In fact, that's the beginning of a standard SSH server protocol exchange.

HTH.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 17, 2020, 05:21:46 pm
Anybody succeeded with @rea's approach (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3271872/#msg3271872) to get access to the "running" dg800?

I ran the .gel script which apparently worked and then tried to log into the instrument with a USB-network adapter via a putty client. Trying on port 5555 stalls the client, port 22 seems to work half-way, which means I get a login prompt. But the supplied password won't get me in. Could it be possible that I didn't configure the encryption settings properly? If I try to access port 22 with telnet, I only get some unreadable garbage as return which indicates to me that the encryption via putty is probably working. But I'm just not too experienced with this networking stuff. Maybe I should add: Communicating with the DG800 over this connection with SCPI commands (ID, screenshots and the like) works beautifully so the link itself seems to be operational.

It's not that I really need this but peeking around a little in the instument may be fun  ;)

I havent tried yet, it's next on my list of things to do.

On a different note, after trying and failing to make heads or tails of the CalibrationData.dat file I decided to hex dump the file and see if that helps anyone get an idea of what is going on with it.  Hex dump is attached.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on October 17, 2020, 05:51:05 pm
On a different note, after trying and failing to make heads or tails of the CalibrationData.dat file I decided to hex dump the file and see if that helps anyone get an idea of what is going on with it.  Hex dump is attached.

I think those files are unique to this instrument. They don't seem to follow any format.

The only way, besides reversing the whole thing, is trial and error. Unless someone sees any similarities with other instruments.

I think it would be important to study the impact of SCPI commands on their contents.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 17, 2020, 05:58:49 pm
On a different note, after trying and failing to make heads or tails of the CalibrationData.dat file I decided to hex dump the file and see if that helps anyone get an idea of what is going on with it.  Hex dump is attached.

I think those files are unique to this instrument. They don't seem to follow any format.

The only way, besides reversing the whole thing, is trial and error. Unless someone sees any similarities with other instruments.

I think it would be important to study the impact of SCPI commands on their contents.

I am beginning to think the same thing.  I was gonna start trying some of the SCPI commands I dug up in my earlier dumps and your script that spits out the cal files to see if I can induce any change.

Just so I feel better about this process, do you think it's possible to put together a script that would allow me to overwrite any changes to the CAL file with the original cal file I posted in this thread?  I would like to be able to restore any changes I might make in case I screw something up.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on October 17, 2020, 06:04:51 pm
I'll have a look.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 17, 2020, 06:19:09 pm
I'll have a look.

If not, I can probably just use the SSH script to telnet into the unit and directly replace the files via ssh.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: battlecoder on October 17, 2020, 09:48:00 pm
I've been meaning to purchase a 822 for a while now, and this thread is not helping me abandon the idea.  ;D
I like that they can be hacked to unlock more features, but I guess I wouldn't make it behave as a model that exceeds its calibration point if I don't have how to make it work correctly in the full range (So I guess I'd transform it into a DG952 at most).

Anyway, I'll be following this thread now because I have a problem and can't stop buying devices I don't really need.  :-DD

(Also, thanks to all the amazing people in this threat who has contributed to unearth the secrets of these devices, and unlock their capabilities)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 17, 2020, 10:22:35 pm
I've been meaning to purchase a 822 for a while now, and this thread is not helping me abandon the idea.  ;D
I like that they can be hacked to unlock more features, but I guess I wouldn't make it behave as a model that exceeds its calibration point if I don't have how to make it work correctly in the full range (So I guess I'd transform it into a DG952 at most).

Anyway, I'll be following this thread now because I have a problem and can't stop buying devices I don't really need.  :-DD

(Also, thanks to all the amazing people in this threat who has contributed to unearth the secrets of these devices, and unlock their capabilities)

Don't spend the extra on the 822, just get the 811.  The second channel is enabled through software described above.  No reason to pay extra when the 811 does what you need!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: battlecoder on October 17, 2020, 10:37:43 pm
Don't spend the extra on the 822, just get the 811.  The second channel is enabled through software described above.  No reason to pay extra when the 811 does what you need!
I would normally agree on that, but if -for whatever reason- I'm unable to perform the "upgrade" I would not like to be stuck with only 1 channel. I will ask the store if they have stock of the 811 if (when) I do the purchase. If the price difference is considerable then I'll definitely go for the 811, but considering how wildly different pricing is here, that may not be the case.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on October 17, 2020, 11:36:43 pm
@rea:

Thanks a lot for pointing me to the right direction. The instruction how to convert the supplied private key file to the format PuTTY is expecting, was what I had been missing... Now the login works a treat and I already transfered the complete file system to my PC using "psftp".

I went through most of the files and as it seems, there is no interactive calibration function available in these AWGs (DG800/900/2000). It appears that Rigol only made provisions for calibrating these units via SCPI commands. If we would be able to retrieve a set of cal files from a genuine DG992, we might be able to assemble a hybrid cal file by patching the resident cal files with the additional information (always assuming that the hardware won't differ too much -- tolerance-wise that is). I may be completely in error with this assumption, though. But it may anyway help us to understand how the cal files are structured. For comparison, I attached the cal files of my AWG that started life as a DG811.

@battlecoder: Don't worry and just get the DG811. The hardware of the latter and the DG900 is identical except for the casing colour (...). This can be officially verified since considerable time ago, a chinese language service manual for these instruments surfaced, stating exactly the same P/N for the main PCB for these two instruments. Moreover, AFAIK there even is/was an update option by Rigol to add the second channel to single-channel versions of the AWG.

Edit: both attached cal files had the extension *.dat, had to rename them to meet the forum attachment requirements
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 18, 2020, 12:57:26 am
@rea:

Thanks a lot for pointing me to the right direction. The instruction how to convert the supplied private key file to the format PuTTY is expecting, was what I had been missing... Now the login works a treat and I already transfered the complete file system to my PC using "psftp".

I went through most of the files and as it seems, there is no interactive calibration function available in these AWGs (DG800/900/2000). It appears that Rigol only made provisions for calibrating these units via SCPI commands. If we would be able to retrieve a set of cal files from a genuine DG992, we might be able to assemble a hybrid cal file by patching the resident cal files with the additional information (always assuming that the hardware won't differ too much). I may be completely in error with this assumption, though. But it may anyway help us to understand how the cal files are structured. For comparison, I attached the cal files of my AWG that started life as a DG811.

@battlecoder: Don't worry and just get the DG811. The hardware of the latter and the DG900 is identical except for the casing colour (...). This can be officially verified since considerable time ago, a chinese language service manual for these instruments surfaced, stating exactly the same P/N for the main PCB for these two instruments. Moreover, AFAIK there even is/was an update option by Rigol to add the second channel to single-channel versions of the AWG.

Edit: both attached cal files had the extension *.dat, had to rename them to meet the forum attachment requirements

Apparently the cal directory (under /root/cal) is mounted at some point.  See the bash script file I attached and look for the /root/cal section

Also, can you do a search of the file system for a file called ServCalibration.cpp?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on October 18, 2020, 09:03:05 am
If we would be able to retrieve a set of cal files from a genuine DG992, we might be able to assemble a hybrid cal file

That's an excellent, and probably the best, idea.

Also, can you do a search of the file system for a file called ServCalibration.cpp?

That is the source file in development (C++). You only get its compiled output.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on October 18, 2020, 10:22:38 am
Focusing on CalibrationData.dat, and trying to reduce our analysis area:

The file has 2 exact halves (maybe for backup). So we can split it in 2 and disregard the 2nd half (#2).

Just looking at 1st half (#1):

If we take into account that the first 2-bytes are CRC/checksum, we can further split the file in 2, assuming that there are 2 channels calib, at the 0x5824 mark.

If we compare these remaining 2 files (1a and 1b), we see lots of similarities. Maybe we can even swap both blocks and that would swap the calib of both channels...

Attached is a visual mapping (raw) of half #1 and the splittings that I talked about.

If anyone wants to try assembling something I may have a look at the CRC/checksum to see how that's done.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on October 18, 2020, 03:54:09 pm
The calibration files appear to consist of 32 bit signed integers. I removed a few bytes at the start to align the four-byte boundaries properly and converted them to decimal, keeping 16-byte groups so it's comparable with the typical hex editor arrangement. There are surprisingly many "round" numbers in the list, whatever that may mean. But have a look yourself...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on October 18, 2020, 04:22:13 pm
Focusing on CalibrationData.dat, and trying to reduce our analysis area:

The file has 2 exact halves (maybe for backup). So we can split it in 2 and disregard the 2nd half (#2).

Just looking at 1st half (#1):

If we take into account that the first 2-bytes are CRC/checksum, we can further split the file in 2, assuming that there are 2 channels calib, at the 0x5824 mark.

If we compare these remaining 2 files (1a and 1b), we see lots of similarities. Maybe we can even swap both blocks and that would swap the calib of both channels...

Attached is a visual mapping (raw) of half #1 and the splittings that I talked about.

If anyone wants to try assembling something I may have a look at the CRC/checksum to see how that's done.

If indeed one of the halves is a backup, I wonder if that backup is common to all models of with the same model number.  I have attached my CalibrationData.dat file to compare.  I tried doing a diff between the hexdumps of TurboTom's file and my own, and I saw some significant differences, as well as some areas that were common between both.  Not sure what to make of that just yet.

The calibration files appear to consist of 32 bit signed integers. I removed a few bytes at the start to align the four-byte boundaries properly and converted them to decimal, keeping 16-byte groups so it's comparable with the typical hex editor arrangement. There are surprisingly many "round" numbers in the list, whatever that may mean. But have a look yourself...

Its possible that these 32 bit signed integers actually represent decimal numbers, as it isn't possible to tell where the decimal is intended to go in a binary/hexadecimal number.  I wonder if that is what we are looking at.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: battlecoder on October 19, 2020, 09:17:14 pm
@battlecoder: Don't worry and just get the DG811. The hardware of the latter and the DG900 is identical except for the casing colour (...). This can be officially verified since considerable time ago, a chinese language service manual for these instruments surfaced, stating exactly the same P/N for the main PCB for these two instruments. Moreover, AFAIK there even is/was an update option by Rigol to add the second channel to single-channel versions of the AWG.
Unfortunately the *ONE* company importing that line of devices here does not have the DG811. The lower they go is the DG822, from what they told me today.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: u271D on October 31, 2020, 07:51:07 pm
bump  Looks like some progress was forthcoming on the calibration issue. Then the thread died.
Great work though!!

\Thanks/   
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Coder69 on November 01, 2020, 09:13:16 am
If there is a calibration file for a DG992 available it would be possible to compare ist with files for DG800.
One shot could be to use the DG992 file in a DG800 and check out the impact.
Thanks for your work, it is very interesting to read this thread  ;D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on November 01, 2020, 07:05:26 pm
bump  Looks like some progress was forthcoming on the calibration issue. Then the thread died.
Great work though!!

\Thanks/

It hasn't died, I have just been traveling for the past few days. But I'm back now and will be trying done SCPI commands for calibration purposes soon.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Coder69 on November 05, 2020, 06:22:08 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 (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 (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 (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 (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 have a DG811 with firmware v00.02.02.00.00 on the bench and I am not sure how to proceed. I tried to follow the instruction above, but unfortunately step 1 doesn't work. he USB stick is recogniized and  a message box pops up and I confirm the update procedure. Then I can see a "Wait" message and can hear the clicking if the internal relais. After then the message box pops up and asks again for the update.
I read almost the complete thread and also read that the downgrade is locked in 2.02/2.04. That means that the instruction above only valid for V1.09, doesn't it ?
I have also read that there is a procedere for 2.02. Can anybody help ? Thanks in advance :-)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on November 07, 2020, 09:44:48 am
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 (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 (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 (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 (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 have a DG811 with firmware v00.02.02.00.00 on the bench and I am not sure how to proceed. I tried to follow the instruction above, but unfortunately step 1 doesn't work. he USB stick is recogniized and  a message box pops up and I confirm the update procedure. Then I can see a "Wait" message and can hear the clicking if the internal relais. After then the message box pops up and asks again for the update.
I read almost the complete thread and also read that the downgrade is locked in 2.02/2.04. That means that the instruction above only valid for V1.09, doesn't it ?
I have also read that there is a procedere for 2.02. Can anybody help ? Thanks in advance :-)

After booting up, immediately press the help button to downgrade.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Coder69 on November 07, 2020, 07:07:31 pm
Thanks, jscm2000. It was possible to downgrade to firmware version 1.08.01
The device is now a DG992 with serial number 0. I tried out the next step to prepare the magic USB-stick, which didn't work. A new serial number is not accepted by DG. I tried three sticks (2GB, 8GB and 16GB). The 2GB stick wasn't recognised, but after connecting the 8GB and the 16GB a box opened with the message "Wait". I tried out to use HXD (Windows 10) and tried out the command line tv84 posted with the same negative result. At the moment I am done (worked 3h on this  |O)
I read that some guys had similar problems. Maybe one of you can give a broad hint  :D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on November 07, 2020, 09:56:16 pm
After booting up, immediately press the help button to downgrade.

Unrelated to your post, but are you willing to share your calibration procedure with us?  It would be most helpful  ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Noy on November 07, 2020, 11:47:45 pm
Anybody thought about replacing the opamp with THS3491 one? Will it improve the device even more?


And another question, im considering of buying a DG811 but i already have a FY6800 modded (THS3491, TCXO, FAN).
Is it a worth upgrade? FY6800 has VCO Function, 20Vpp below 10MHz. Ramp up to 10 MHz.

But DG811 has probably better Software + higher ARB Function, higher sinus...

Maybe it is with the DG811 a better combination with my MSO5000? Regarding arb Function recording/replay? Or should i stay with FY6800 + internal MSO5000? But recently a Juntek DP-2698 amplifier for the MSO5000 but still quite limited...

Is it worth to buy a GPSDO to use with DG811 as timebase?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Coder69 on November 08, 2020, 11:13:10 am
It is done. I could finish the hack. Let me sum up the single steps, which worked for me:
My device was delivered with firmware 2.02

1.
Install "Ultra Sigma"-Software from Rigol homepage

2.
Note your serial number (press the "Utility" key and touch "System Info")

3.
Prepare an USB-Stick (FAT32) with the downgrade file. You can find the link here:
https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600)
Copy only the GEL-file, not the complete ZIP-file !
Switch off your DG and insert the USB-stick.
Switch on the DG and press the "Help" key continously. The bootloader should now print a message if you want to program the firmware on the stick.
(In my case only this installation was possible. Plug in the stick during operation didn't work. The update was recognised but not processed)

4.
Prepare the magic USB-stick (> 1GB). This was the most difficult part. I tried it out with Windows 10 and HXD and it didn't work. Even writing the bytes with Linux didn't work. In the end I tried out to format the stick with Linux and write then the bytes. This worked !
You can find the binary file which contains the byte sequence to be programmed in the attachment (DG800_sardinha.zip). Unzip it to place which you can access to from your booted Linux. This could be another USB-Stick
Start a Linux installation, format the USB-stick and write the byte sequence.
I prepared an USB-Stick with Rufus
https://rufus.ie/en_IE.html (https://rufus.ie/en_IE.html)
and used a small linux ISO:
http://blog.puppylinux.com/fossapup64-release (http://blog.puppylinux.com/fossapup64-release)
(I had to disable the security boot in BIOS to be able to boot from the stick)

Format the USB-stick (check out that you choose the correct device !!! In my case it was sda1)
The Linux command is:
sudo mkfs.vfat /dev/sda1

Mount the drive on which you have copied the file with the byte sequence (DG800_sardinha.bin). I used an additional USB-stick which was device sda2.
The linux command to write the bytes was in my case:
sudo dd if=/mnt/sda2/DG800_sardinha.bin of=/dev/sda1 bs=512 seek=2000000

5.
Switch on your DG (without the magic stick). After booting plug in the stick. A message box pops up with the text "Wait". The box is visible for ca. 6s. The time was much longer with my other sticks which failed.
Start "Ultra Sigma" and connect the USB-cable with your PC. The DG should now be recognised and now you can send the SCPI command to reprogram your serial number you have noted in step 2 (Only press the SEND-button):
:PROJ:SN DGxxxxxxxxxxx
You can check if this worked with the command:
*IDN?
The result should now be your original serial number.
I also sent the command to write the model (again only SEND-button)
:PROJ:MODE DG992
This command failed and after that there were no further commands accepted. The DG is after the downgrade to v1.08 already a DG992 so I am not sure if this command is really necessary

6.
Restart your DG again and check out if the serial number and model are correct

7.
Prepare an USB stick with GEL-File which is in the attached file "Finish_Upgrade_2.04.zip"
Plug in the stick. A "Wait"-message box pops up and after that the update-fie is recognised you need to confirm the update with "OK"

8.
Prepare an USB stick with update 2.04. Here is the link:
https://int.rigol.com/Public/Uploads/uploadfile/files/ftp/DG/%E8%BD%AF%E5%9B%BA%E4%BB%B6/SardineII(ARM)Update-v00.02.04.00.00.rar (https://int.rigol.com/Public/Uploads/uploadfile/files/ftp/DG/%E8%BD%AF%E5%9B%BA%E4%BB%B6/SardineII(ARM)Update-v00.02.04.00.00.rar)
Plug in the stick. A "Wait"-message box pops up and after that the update-file is recognised you need to confirm the update with "OK"

9.
Check out the firmware version in your DG whether everything is OK


Thanks to tv84, Vtech and all others for this hack !

Now we are all looking forward to calibrating the DG up to 100MHz  8)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Noy on November 10, 2020, 08:29:10 am
So i ordered one DG811. And i will sell my modded FY6800 hopefully with not to much loss...

I like the fact that it is with a AM335 with Linux. Huge benefit. I know secure boot is not doable on an AM335 (only with a special automotiv version) so from this side we are safe :-D
And the LCD signals from AM335 are the boot pins. So we can easily change the bootsource to serial loader or something else.
It looks like even the ethernet phy is mounted on the som. so only a rj45 with integrated magnetics is missing.. :-) Nice little device.

Will there be a benefit to change the Opamps to THS3491 if they are really THS3091 ones? Regarding the loss over 70MHz?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: CeD on November 10, 2020, 11:13:33 am
I may hacve missed something in this long thread, but FYI
- I just got a DG812 shipped with fw 2.04
- I tried downgrading it to 2.02, which went fine.

But the model is kept, and the serial is kept. If this worked for TK, it clearly doesn't seem to work all the time  :D
So unless i'm missing something, downgrading from 2.04 to 2.02 does always not change the features of a DG812.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: CeD on November 10, 2020, 04:58:50 pm
As I have just successfully upgraded my DG812 to DG992 I would like to post yet another summary of the required steps.


First of all thanks for sharing this method and the time spent on this,

I've successfully updated my DG812 to DG922 with this method, altough i'd like to leave a few comments

- My DG812 was shipped with 2.04
- It accepts to downgrade to 2.02, but that doesn't make it a DG922 :) (my message above)

So from now on, I'll be talking about vtech's procedure :
It was mandatory for me to first downgrade from 2.04 to 2.02 before anything else, as version 2.04 completely refused to downgrade to 1.08, may it be from the booted device or by pressing "help" during boot.

- Contrary to what  it says above, from 2.02, update 1.08 does not start from a booted device. If you try, it makes a popup, you click update, then a bit of "waiting" popup, then a click and then... Nothing. It refuses to downgrade. It was mandatory for me to downgrade from 2.02 to 1.08 by hitting "help" while booting.

The rest of the procedure works. ( sigma, commands, etc)

- Final comment is the "post update" script spits an "error script" if you try to load it from a booted device. Again, I had to "help-help-help" while booting to get the "post-update" script to do something. NOt sure what it does, but well, it worked and flashed smth.

Then, update to official 2.04 (can be done from an already booted device) and indeed, it keeps 922 feature set + your serial.

Here are my comments :)  thanks again to everyone involved.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: DaveR on November 10, 2020, 06:29:56 pm
Will there be a benefit to change the Opamps to THS3491 if they are really THS3091 ones? Regarding the loss over 70MHz?

Well, when your DG811 arrives, perhaps you can swap the opamps with the THS3491s from your FY6800 and let us know what happens?  Until someone actually does it, any answers you get here will just be speculation.  Perhaps the 3491s will make a difference at >70MHz but they may also alter the calibration below that frequency as well.  If the existing opamps are 3091s, your FY6800 will be quite happy to use them in exchange for the 3491s  ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on November 10, 2020, 06:55:24 pm
I wouldn't touch the hardware of the DG800/900 unless something's broken or it's absolutely necessary for "scientific" purposes  ;).

Removing these exposed pad SO8 amplifiers from a multi-layer PCB, assembled in a lead-free process, isn't something for the faint of heart and easily results in collateral damage if there isn't a professional rework station available and someone who knows how to use it.

Moreover, even if you swap in a THS3491, you may end up having to calibrate the low frequency range as well and not just the upper 30MHz... And who tells that Rigol doesn't already use the THS3491 -- the markings are lasered off, and while it's possible to drive the output with a single THS3091, it actually appears to be a little on the weak side and may not be able to provide the observed low distortion. The DG800/900 isn't an FY6800, the amount of sophistication is a little higher IMO.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on November 10, 2020, 07:38:07 pm
I wouldn't touch the hardware of the DG800/900 unless something's broken or it's absolutely necessary for "scientific" purposes  ;).

Removing these exposed pad SO8 amplifiers from a multi-layer PCB, assembled in a lead-free process, isn't something for the faint of heart and easily results in collateral damage if there isn't a professional rework station available and someone who knows how to use it.

Moreover, even if you swap in a THS3491, you may end up having to calibrate the low frequency range as well and not just the upper 30MHz... And who tells that Rigol doesn't already use the THS3491 -- the markings are lasered off, and while it's possible to drive the output with a single THS3091, it actually appears to be a little on the weak side and may not be able to provide the observed low distortion. The DG800/900 isn't an FY6800, the amount of sophistication is a little higher IMO.

Seconded.  Its already hard enough to calibrate this instrument, and it is already pretty good quality with some good engineering knowhow put into it (unlike the FY6xxx).  The potential benefit is not worth the risk, in my opinion.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: CeD on November 10, 2020, 10:04:55 pm
I hope we're gonna get some info about calibration.

I wonder if we couldn't "simply" find a way to put a DG922's calibration file onto a DG812/811 ... It would already be much better than with "zero calibration above 30Mhz" which seems to be the case of hacked 8xx models currently (and mine included)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on November 10, 2020, 10:27:34 pm
I hope we're gonna get some info about calibration.

I wonder if we couldn't "simply" find a way to put a DG922's calibration file onto a DG812/811 ... It would already be much better than with "zero calibration above 30Mhz" which seems to be the case of hacked 8xx models currently (and mine included)

Sorry, you seem to confuse something here... Level accuracy is pretty much spot-on up to approx. 70MHz. Over the last 30MHz of the 992's frequency range, the "improved" 811/812/822 AWGs suffer a drop of approx. 2.5dB, give or take a little. Attached you find a sweep of 0~100MHz of a sine wave, levels set to 0dBm, -20dBm and -40dBm, respectively. Of course, the vertical scale of 10dB/div makes the level accuracy look better, but still I'ld say it's not too bad. Bad enough to know that it could still be better...  ;)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: CeD on November 10, 2020, 10:58:48 pm
Well I’ve not made my own observations so far as I just « improved » my dg812 ; but i’ve seen in the early pages of this thread some graphs that showed the voltage of a 2Vpp signal seriously going down around 30 and down to nearly divided by 5 around 60 MHz and up ?
Good news if the perf is better but I’ve seen graphs like this at two places  in this thread so I’m confused indeed :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: DaveR on November 10, 2020, 11:35:27 pm
And who tells that Rigol doesn't already use the THS3491 -- the markings are lasered off

I doubt whether they will be THS3491s, Tom - as I recall, they weren't generally available until late 2018 and the DG800/900 series was already in production by then, probably based on design work carried out in 2017.  If they are TI op amps they will be most likely 3091/3095s, (unless there has been a recent design change, with calibration changes to go with it).  Who knows?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on November 18, 2020, 03:35:51 pm
My upgraded DG811 suddenly froze when I was playing with touch screen and when I restarted it doesn't boot up any more. The progress bar goes to the end, but then nothing happens. I am not sure if it is just invalid configuration or a hardware problem. Does anyone know if there is a key combination that would reset it to default state on start-up?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: maxwell3e10 on November 18, 2020, 05:48:51 pm
It looks like pressing Align key at start-up resets the generator to default state and now it boots up fine.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: uinika on November 19, 2020, 04:04:28 pm
THX for ur share, I wanna buy a DG812, but I found the firmware is already upgrade to 00.02.05.00.00.
I am not sure ur progress will works fine in it... :-//
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on November 19, 2020, 10:24:09 pm
Works -- first, downgrade to F/W 2.02 pressing [Help / Local] repeatedly directly after turning on the instrument. Then use @Coder69's instructions just a little up the page. Finally, you can upgrade to 2.05 again: Attention, currently this firmware version is only available for the DG2000 series, but they share the same hardware with the DG800/900 series, so just install it.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: uinika on November 20, 2020, 02:32:05 am
RIGOL's official documentation says that downgrades are not supported in 00.02.05.00.00. and all of the recent machines come pre-loaded with 00.02.05.00.00.

So, has anyone ever degraded from 00.02.05.00.00 version?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rf-loop on November 20, 2020, 07:38:12 am
RIGOL's official documentation says that downgrades are not supported in 00.02.05.00.00. and all of the recent machines come pre-loaded with 00.02.05.00.00.

So, has anyone ever degraded from 00.02.05.00.00 version?

Yes.!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: uinika on November 20, 2020, 08:15:13 am
I think U r siglent Fans....
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rf-loop on November 20, 2020, 09:33:53 am
I think U r siglent Fans....

Over 60 year hobby and also part of this time working with electronics and electrics. Designed and made some things including  military and some industrial and done whole lot of things and projects in industrial automation systems designing, repairing, problems solving, evaluating and after then all these hobbies from astronomy to biology etc and main hobby electronics and specially radio things...

How can say I am any kind of fanboy for any single product brand. Oh well, in history I have been tiny bit Hewlett-Packard, Tektronix, R&S and Rockwell-Collins and Racal, Digital (DEC) fan"boy"  :-DD  Time ago I keep even some collections about these...

But yes, some times I have been more interested with some than some other and also due to fact.. if someone really want I can also sell. I can only sell things what I know. Im not "salesman" who can sell what ever he look may give profit. No, I sell things what I know, accept and can give technical support and even arrange some help if need. Many times after someone try buy example Siglent I can tell what is good place/shop for buy. And it is not question about money. I have all what I need for my rest life. Some times it is fun and some times also retired people need things what keep brain somehow in condition.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: uinika on November 20, 2020, 10:02:25 am
Thanks for your kindness, but I am only care about Rigol DG811 & related issues now.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rf-loop on November 20, 2020, 11:25:31 am
Thanks for your kindness, but I am only care about Rigol DG811 & related issues now.

It was -- you ;) "I think U r siglent Fans...."

With 02.05  first you need do is take cal and memory copy, just for cases something goes really bad. If you do not afraid this can jump over.
There is available method for this backup copy...

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

Just including .GEL file to USB root and insert USB to running DG and when it ask you want FW update then yes (aftere then it run this small script). It write this data to this USB flash. So you need many USB or take them out and save.

Note, NAND backup takes long time and after it is ready rolling image stops rolling but it do not finish... I wait 5 minutes after rolling image stop  and after then I shot DG off and take USB and read... all was there. I think it can also just pull out without power off.
This backup calib is much faster and after some time it stops and goes out. But  if you do not take USB out then after some time it ask again do you want update... just cancel this.
after this or if you have jumped over this backup...

next step is downgrade it to official 02.02 FW.


Previously in this thread you can find link for download this official FW2.02  (it is one @tv84 message what is this link and nothing more.)

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

This downgrade need do so that you insert this USB and after then power on with repeatedly pushing "Help/Local" button.
 It do not work if DG us running and you insert this USB. Soon it ask do you want update and if you answer Yes it start... but it do not help at all.

It need do with this boot up method.

After your DG811 is normal DG811 but FW 02.02 then you can continue with much more critical things... following this

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

note. After position 3 is finished. Your original Serial is still not shown in DG system info screen because it looks like it read it only when booting. Shut off and boot. Now it read serial and display it if all have gone ok.


Btw, I am not sure but previously I read from some Rigol official info that overall FW update USB flash need be 8Gb or less and also then here I have seen it need be least over 1G.
Always it need be in genuine native  FAT32 and  I think 4k cluster size.
For "magig" USB stic needed later I recommend Full format instead of quick format to FAT32, 4k cluster. I did it with windows 7 64 and no any single problem. Of course other things can work but I have done with these.


All these instructions here lack some small information and then you need bit guess what to do when you see things in real world happen. Of course  this is because who write help instructions he know things but can not fully think what some other people do not know. Full perfect comprehensive manual for this hard work so it need read and read some comments here and collect all needed info BEFORE start doing and then do after all needed is ready.

Also after you have done downgrade to 2.02 succesfully test that you have tools for give SCPI commands. Example using Rigol UltraSigma.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on November 20, 2020, 12:12:06 pm
Adding my 2 cents: I don't see any reason why there should be the mid step downgrade to 2.02. One can downgrade directly to 1.08.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on November 20, 2020, 12:18:46 pm
I've got a suggestion to make for the AWG engineers of all brands, concerning the way level specifications are processed in case of an amplitude modulated output signal:

It's obvious that in the RF world, output level is referenced to the carrier level which stays constant. This results in an increased total output level once the carrier gets modulated (due to the power provided in the sidebands). On the other hand, in the (analog) signal processing world, it's prefered to set a fixed maximum signal amplitude, i.e. an amplitude modulation will be subtractive from the carrier, so it's absolute amplitude may never exceed the preset value. The latter is the way most AWGs work while the former is to be found on most RF signal generators.

Since many current top-of-the-range AWGs more and more cross the (frequency) border to entry-level RF signal generators (or could at least be potentially used as such in the lower frequency bands), why not include both of these options in the AWGs?

This could be easily done by making the ways AM is processed dependent on the output amplitude/level unit selection: If output amplitude is specified in units of Vpp, Vp, Vrms or similar  voltage-referenced unit, use the subtractive AM and limit the absolute ampitude of the output signal, whereas, if the output termination is specified as "load" (i.e. 50 Ohms) and "signal strength" is specified in dBm, use the RF signal generator convention and keep the carrier level constant. IMO, this would make good sense and will make all parties happy and wouldn't require an additional manu item that could be again some cause of confusion.

Just my 2ct, maybe it's some food for thought for future firmware releases of this and other AWGs...if some of the manufacturer's engineers read these topics that is  ;).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rf-loop on November 20, 2020, 01:30:13 pm
I've got a suggestion to make for the AWG engineers of all brands, concerning the way level specifications are processed in case of an amplitude modulated output signal:

It's obvious that in the RF world, output level is referenced to the carrier level which stays constant. This results in an increased total output level once the carrier gets modulated (due to the power provided in the sidebands). On the other hand, in the (analog) signal processing world, it's prefered to set a fixed maximum signal amplitude, i.e. an amplitude modulation will be subtractive from the carrier, so it's absolute amplitude may never exceed the preset value. The latter is the way most AWGs work while the former is to be found on most RF signal generators.

Since many current top-of-the-range AWGs more and more cross the (frequency) border to entry-level RF signal generators (or could at least be potentially used as such in the lower frequency bands), why not include both of these options in the AWGs?

This could be easily done by making the ways AM is processed dependent on the output amplitude/level unit selection: If output amplitude is specified in units of Vpp, Vp, Vrms or similar  voltage-referenced unit, use the subtractive AM and limit the absolute ampitude of the output signal, whereas,
if the output termination is specified as "load" (i.e. 50 Ohms) and "signal strength" is specified in dBm, use the RF signal generator convention and keep the carrier level constant.
IMO, this would make good sense and will make all parties happy and wouldn't require an additional manu item that could be again some cause of confusion.

Just my 2ct, maybe it's some food for thought for future firmware releases of this and other AWGs...if some of the manufacturer's engineers read these topics that is  ;).

Fully agree this.  :clap:



Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Noy on November 25, 2020, 09:21:44 pm
Got my DG811 device today.

SW: 2.5
Will try to downgrade / hack tomorrow..

Bought this Adapter:
€ 3,03  31%OFF | USB Ethernet Adapter Netzwerk Karte USB Lan Mini Netzwerk Adapter USB zu RJ45 10/100 Mbps Lan USB RJ45 Karte für mac PC Laptop
https://a.aliexpress.com/_BSGXbL
But its not found. DG says no Adapter found. Thought this one should work?
Found it in this thread here..

Edit: OK found the old post where it is said that a cable has to be connected to be found.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Noy on November 26, 2020, 01:27:43 pm
Hack is working.. Thx to all "Big Brains" here!

Unfortunally the Ethernet Adapter is still not recognized. Even with cable inserted..?

Did i purchase the wrong adapter?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Jacon on November 26, 2020, 08:05:02 pm
...
Did i purchase the wrong adapter?
Does it work OK connected to USB port of ordinary computer?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Noy on November 26, 2020, 08:33:03 pm
I cracked it open and it was not a realtek nor asix chip. Then i saw (seller writes it) its RC8512 never heared of.
Will try it tomorrow with my PC. But ordered a New one from Aliexpress 10€ with Asix 88772 (ugreen 10/100)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Hobbit13 on November 30, 2020, 08:40:43 am
Just bought two DG2052 for my professional work, won't bother with hacking a cheap DG8** when the boss pays ;)  ( I expect this is exactly the reason Rigol doesn't protect the version hacks very well. )
I like them and now I'm thinking of buying a DG812 and hacking it for hobby work.

My question: is there any difference in factory calibration for a single and dual channel version. I can imagine they only calibrated the first channel for the single channel versions. The other one is not used, and can be faulty without a legit customer every noticing. Price difference between a DG811 and DG812 is only 25 Euro, is it worth the risk?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Noy on November 30, 2020, 09:04:57 am
They have to calibrate both channels. Because second channel is official Software Option (key purchase only)
And with DG811 you will get a beautiful BNC "optional" dustcap :-D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on November 30, 2020, 10:02:02 am
Just bought two DG2052 for my professional work, won't bother with hacking a cheap DG8** when the boss pays ;)  ( I expect this is exactly the reason Rigol doesn't protect the version hacks very well. )
I like them and now I'm thinking of buying a DG812 and hacking it for hobby work.

My question: is there any difference in factory calibration for a single and dual channel version. I can imagine they only calibrated the first channel for the single channel versions. The other one is not used, and can be faulty without a legit customer every noticing. Price difference between a DG811 and DG812 is only 25 Euro, is it worth the risk?

Noy is correct -- get the 811 and receive a free BNC protector cap...  ;)

Since you've got access to a genuine DG2000 series instrument, may I ask you to backup the cal file using tv84's script (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3272174/#msg3272174) and make it available to us?.

If we are lucky, the instruments that are "per se" available up to 100MHz may all be calibrated to this frequency and thus may help us figuring out the meaning of individual sections of the cal files, finally resulting in a "hybrid" cal file that may enable us to equalize the amplitude drop above 60...70MHz of the liberated DG800 series instruments. If you could provide this file, it would be a great favor to the community!

Thanks!
Thomas
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rf-loop on November 30, 2020, 10:13:21 am
Just bought two DG2052 for my professional work, won't bother with hacking a cheap DG8** when the boss pays ;)  ( I expect this is exactly the reason Rigol doesn't protect the version hacks very well. )
I like them and now I'm thinking of buying a DG812 and hacking it for hobby work.

My question: is there any difference in factory calibration for a single and dual channel version. I can imagine they only calibrated the first channel for the single channel versions. The other one is not used, and can be faulty without a legit customer every noticing. Price difference between a DG811 and DG812 is only 25 Euro, is it worth the risk?

Noy is correct -- get the 811 and receive a free BNC protector cap...  ;)


And this cap is nice. Inside well made cap there is also spring loaded rubber seal plate what enclose whole BNC.   ;)

Where I can buy more just these, (I mean these caps - with good price)?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Hobbit13 on November 30, 2020, 10:22:12 am
Hi Thomas,

After I did a successful hack on the DG811, I'll try to download the calibration files of the DG2052. I first want to have some confidence in mangling with this series, in order to minimize chances of bricking the device of my employee.

Please mind that the DG2052 is a 50MHz  - 250 MS/s unit, the 50 to 100 MHz range might still be missing from the calibration. ( I do not see a software unlock to increase this model to 100 MHz on the Rigol page )
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on November 30, 2020, 10:47:09 am
The DG800, 900 and 2000 sreies of AWGs share the same hardware (except for the factory-installed LAN socket -- but that's available on the DG800/900's main PCB as a foorprint as well). Moreover, the firmeware for these AWGs is identical -- you'll even find this information in Rigol's current DG2000 update package. It's a guess that the DG900 and the DG2000 series instruments may all be calibrated up to the full 100MHz, but it's worth a try anyway. If we're successful, we may all benefit from that.

Of course, take your time and get familiar with the instrument. Once comfortable with it, you may try the cal file backup.

Thanks and all the best,
Thomas
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Hobbit13 on December 07, 2020, 01:12:08 pm
The DG800, 900 and 2000 sreies of AWGs share the same hardware

For me there is quite a significant difference between the DG9** and DG20**: the DG20** has direct buttons for the different waveforms. I do like this above having to use the touchscreen to go from sine to square.
Another difference is the counter input: on the DG8/9** it is specced to +/- 2.5 Volt and for the DG20** it is specced to +/- 5 Volt.

I "upgraded" my DG811 to dual channel without any issues. Used HxD64 under Windows 10 to create the "magic" USB Stick. I did notice Windows was not able to fully format the "magic" flashdisk afterwards. A quick format works, but still it might run into trouble when it wants to write the magic sector again. I would advice to use a cheap USB stick and not use it after the hack for anything important anymore.

You can find the calibration files of the DG2052 via the following link:
https://hobbit13.stackstorage.com/s/PFm6GXUblfaGp4oK (https://hobbit13.stackstorage.com/s/PFm6GXUblfaGp4oK)

Hope they are of use.

I have access to another DG2052 from the same batch, but that one is still in the sealed box.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Hobbit13 on December 07, 2020, 03:29:07 pm
I have access to another DG2052 from the same batch, but that one is still in the sealed box.

Here it is:
https://hobbit13.stackstorage.com/s/rLOwnYmqYikRAqjV (https://hobbit13.stackstorage.com/s/rLOwnYmqYikRAqjV)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: CeD on December 07, 2020, 03:33:48 pm
really curious to see where this will lead, I wish I could help. let me know if I can test something which is the best i'd be able to do.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on December 07, 2020, 05:14:42 pm
I just uploaded Hobbit13's first set of CAL files onto my DG811+++, and indeed now get a pretty accurate amplitude up to 100MHz, yet with a DC offset of a few tens of millivolts.

So it appears that a hybrid CAL file might actually do the trick. I may try to replace the blocks of 0x00 that are present in my original cal file with the values from Hobbit13's cal files. Since these are located in many places, doing that manually isn't feasible and some kind of parser / filter would need to be set up to look for consequent blocks of at least four 0x00 in the original cal file and only replace those with the values from the DG2052 cal files.

One more peculiarity I found out about firmware 02.05: Rigol has changed the SSH encryption key vs. F/W 02.04, so in order to use @rea's login approach, it's necessary to downgrade the firmware to at least 02.04.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on December 07, 2020, 08:18:42 pm
I just uploaded Hobbit13's first set of CAL files onto my DG811+++, and indeed now get a pretty accurate amplitude up to 100MHz, yet with a DC offset of a few tens of millivolts.

So it appears that a hybrid CAL file might actually do the trick. I may try to replace the blocks of 0x00 that are present in my original cal file with the values from Hobbit13's cal files. Since these are located in many places, doing that manually isn't feasible and some kind of parser / filter would need to be set up to look for consequent blocks of at least four 0x00 in the original cal file and only replace those with the values from the DG2052 cal files.

One more peculiarity I found out about firmware 02.05: Rigol has changed the SSH encryption key vs. F/W 02.04, so in order to use @rea's login approach, it's necessary to downgrade the firmware to at least 02.04.

So the old (really old) version of the DG2000 (different from the current one) has an entire calibration routine for just the DC offset.  Thus, it would seem to me that there should be a specific entry in the calibration data for DC offset.  If all other parameters work ok with the exception of the offset then maybe we can replace the DC offset calibration data from the DG2052 cal file with the data from the DG811.  Attached is the calibration manual for the older model DG2000s describing the process for those units (this process does not work for the newer DG8xx/9xx/2xxx) demonstrating that the DC offset should occupy its own data entry in the calibration data.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on December 07, 2020, 08:29:51 pm
I compared the CAL files more thoroughly and as it seems, there's more to it than just copying some contents of the DG2052 cal file over the existing "zeros" of the DG800's. The structure is the same, as is the size, but it seems that some blocks contain identical byte sequences but placed at different offsets. So there may be "table descriptors" that are relocated which will make a blind copying of values futile.

I'm afraid, as it appears right now, the idea of generating a hybrid CAL file to solve our 100MHz dropoff problem appears to be more difficult to realize than anticipated.

At least, switching CAL files finally proves that the hardware of the DG800 series is absolutely capable of produceing a flat output up to 100MHz.

I guess we've got to continue trying to find a method to calibrate the instrument...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on December 07, 2020, 09:02:40 pm
Well, CalibrationInfo.dat is precisely the same file as in a DG811. Only changes the date.

The mac.dat has the difference of MAC address.

So differences are all in CalibrationData.dat. Nonetheless it is very similar. I'll do a visual map.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on December 07, 2020, 09:03:06 pm
I compared the CAL files more thoroughly and as it seems, there's more to it than just copying some contents of the DG2052 cal file over the existing "zeros" of the DG800's. The structure is the same, as is the size, but it seems that some blocks contain identical byte sequences but placed at different offsets. So there may be "table descriptors" that are relocated which will make a blind copying of values futile.

I'm afraid, as it appears right now, the idea of generating a hybrid CAL file to solve our 100MHz dropoff problem appears to be more difficult to realize than anticipated.

At least, switching CAL files finally proves that the hardware of the DG800 series is absolutely capable of produceing a flat output up to 100MHz.

I guess we've got to continue trying to find a method to calibrate the instrument...

Perhaps this is a naive question, but what is the significance of the offsets?

If it's only the offsets that are different, and the byte sequences are the same, how would this correspond to a different calibration value?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on December 07, 2020, 09:25:55 pm
I don't think the offsets are different. It has a little more things as one would expect.

See attachment.


Edit: added a 4x amplification. Each byte corresponds to a 4x4 pixels square.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on December 07, 2020, 11:32:21 pm
Superficially, it looks very similar.. But within the blocks, there seems to be some data inserted that shifts other part of the data to different locations. Have a look here, left column DG2000 and right column DG800 (the locations that contain different data are hilighted red):

(https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/?action=dlattach;attach=1125348)

DG800, address 0x46BF: 54 CE 09 23 01, to be found in DG2000 at address 0x46CF, 16 bytes of different data are inserted before. Then, the data blocks until "0x16" in the fourth column are identical, keeping the offset of 16 bytes. After that, additional data is present in the DG2000 file where the DG800 file contains "00". But if I'ld just blindly copy the the data for the DG2000 file to the places where the DG800 file contains all zeros, the proper sequency would be lost. So I'm pretty sure it won't work that way. This is just an example, there are many such instances in the cal file, too many to sort them manually without exactly knowing their meaning.

That's why I think it may be more rewarding to actually try to figure out how to properly calibrate the instrument. Even if we'll be able to generate a hybrid cal file that preserves (rearranges) the existing calibration and fills the "blank spaces" with donor data, it's still a makeshift solution that requires a lot of effort nevertheless. This effort may be better spent on figuring how to cal the instrument properly.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on December 08, 2020, 09:22:45 am
Superficially, it looks very similar.. But within the blocks, there seems to be some data inserted that shifts other part of the data to different locations.

Tom, we can perfectly see that in play if we look carefully at the bitmap map that I posted. Look carefully at the pixels colors and you see the extra info.

What I suggest, as a raw comparison, is to make a hex dump with 80 hex bytes linesize (as the picture that I've shown). That allows to have a better comparison of what values are inserted.

Also, a 1st approach would be to use a half from a file and the half from the other to see if the one channel gets calibrated and the other remains. (I think the CRC at the beginning would have to be corrected.)

Here is a dump in decimal (Uint64 in little endian), of the bytes shown by Tom:
Code: [Select]
000046AF - 000.390.625.000
000046B7 - 001.171.875.000
000046BF - 002.343.750.000
000046C7 - 003.515.625.000
000046CF - 004.882.812.500
000046D7 - 021.093.750.000
000046DF - 035.156.250.000
000046E7 - 048.828.125.000
000046EF - 068.359.375.000
000046F7 - 078.125.000.000
000046FF - 097.656.250.000
00004707 - 117.187.500.000
0000470F - 156.250.000.000
00004717 - 195.312.500.000
0000471F - 234.375.000.000
00004727 - 253.906.250.000
0000472F - 273.437.500.000
00004737 - 292.968.750.000
0000473F - 312.500.000.000
00004747 - 328.125.000.000
0000474F - 343.750.000.000
00004757 - 359.375.000.000
0000475F - 375.000.000.000
-------------------------
0000483F - 001.171.875.000
00004847 - 002.343.750.000
0000484F - 003.515.625.000
00004857 - 004.882.812.500
0000485F - 021.093.750.000
00004867 - 035.156.250.000
0000486F - 048.828.125.000
00004877 - 068.359.375.000
0000487F - 078.125.000.000
00004887 - 097.656.250.000
0000488F - 117.187.500.000
00004897 - 156.250.000.000
0000489F - 195.312.500.000
000048A7 - 234.375.000.000
000048AF - 253.906.250.000
000048B7 - 273.437.500.000
000048BF - 292.968.750.000
000048C7 - 312.500.000.000
000048CF - 328.125.000.000
000048D7 - 343.750.000.000
000048DF - 359.375.000.000
000048E7 - 375.000.000.000
000048EF - 390.625.000.000

Pretty clear the calib points. I would say that, if we divide these values by 4000, we get  the freq. points. Example: 390.625.000.000 / 4.000 = 97,656250 MHz

Similarly, the DG800's last point 0x1B48EB57E0 (117.187.500.000) / 4.000 = 29,296875 MHz

So the DG800 shown by Tom is only calibrated up to 30 MHz.

EDIT: interesting detail: 3,33333333 x (30 - 29,296875) = 100 - 97,65625 So the points are precisely at the same relative position regarding the max BW (30 and 100).

So, we have 23 calibration points. Looking at the initial rectangle blocks (visible in my maps) it, seems they have 46 pixels in height. Now, let us imagine that those are 2 lines per calib point. If this were true, we could assume that the rectangles already have the information for 23 calib points even in the DG800 file (let's disregard the rectangles width for now).

The only thing needed would be to add the freq points in the areas signaled by the yellow ellipse. This would tell the gen to consider 23 calib points from the rectangles above.  (I hope you understand my wild guessing...)

Another possible test is to replace the rectangles area in the DG2000 file (with the ones from the DG800) and see if the offset (observed by Tom) disappears.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on December 08, 2020, 02:21:28 pm
@tv84: That sounds plausible. Since basically the numbers contained in the DG800 calibration can also be found in the DG2k file, it makes sense that they may be the frequency calibration points. Just for fun, I ran my DG800 without any calibration files and as expected, all the amplitude as well as the frequency figures are off by some margin (instrument showing "Not Calibrated" in Utility->SystemInfo). I'm not too sure if the first two bytes of the cal file are a check sum -- they could just as well be the frequency calibration, which would make sense since they get repeated at the beginning of the second half (copy) of the file (0xB448, strangely not present in your bitmap visualization).

The DG800/900/2k has ten possible configurations of the output attenuator / amplifier, and there's some considerable tolerance between the seams, so I guess there will have to be a CAL point for each frequency and for each end point of the spans of each of the amplitude configurations, so there will be 20 amplitude cal points for each frequency. I'm not too sure if each of these amplitude configurations also requires a (zero) offset calibration (which of course needs to be kept when modifying the cal file). Since there probably are two possible output amplifier configurations, also only so many AC offset cal parameters may be required, and they would be independent of frequency.

Then we've got the separate offset voltage DAC that is utilized to actively position the output waveform at an arbitrary DC level. It's also used for DC output. This may require two or three cal parameters for each output amp configuration, so maybe six in total  (+1v / 0V / -1V and +10V / 0V / -10V). Maybe the zero calibration is identical with the aforementioned AC offset compensation.

My best guess is that the two (curretnly identical) halves of the cal files are there for a custom calibration and still keep the factory one so a "Reset to Factory Defaults" during a cal procedure would be possible.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on December 08, 2020, 03:27:40 pm
What I show in my images are just half of the original .dat files.

Because both half are the same.

And, each half has its CRC at the beginning (i think it's a crc).

BUT, as we see in the pics, each half has itself 2 similar halves which i suppose are the 2 different channel settings.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on December 08, 2020, 03:47:44 pm
The DG800/900/2k has ten possible configurations of the output attenuator / amplifier, and there's some considerable tolerance between the seams, so I guess there will have to be a CAL point for each frequency and for each end point of the spans of each of the amplitude configurations, so there will be 20 amplitude cal points for each frequency.

As I suggested based on the rectangles area sizes, each freq point should have 160 bytes (2 lines of 80 pixels).

I attach a pic of the mapping with 160 bytes per line. We now perfectly see the 23 calib freq lines (in that rectangles area),

So, there are 4 x 20 bytes for each freq with valid information. Or , as you say: 20 x 4 bytes (amplitude cal points).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on December 08, 2020, 03:50:16 pm
The "two possible output amplifier configurations" are probably the inverted L shape zones at the beginning of the map.

I didn't find any way to replicate the initial 2 bytes CRC. So, no proof that it is a CRC. I don't see that in the app code also.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on December 09, 2020, 10:37:15 am
I tried copying the calibration point list to my Cal file as suggested by tv84, I also added in some of the missing data of the following two blocks that appear to have very similar structure. The result was worse than with the unmodified file, with a very distinct amplitude jump (drop) at exactly 25MHz (i.e. when stepping from 25 MHz to 25.000 001 MHz. Moreover, the amplitude droop towards 100MHz was as pronounced as when I ran the generator without any calibration file, i.e. it dropped by half. With the original ("incomplete" -> 30MHz) cal file, it's much better and droops only by round about 2.5dB, while with the DG2000 cal file, it doesn't droop at all vs. frequency  but has other inaccuracies (DC offset, general amplitude and frequency figures).

Edit: The divisor for the cal frequency list appears to be 3906.25, resulting in cal points (among others) at exactly 30MHz and 25MHz, which my test described above suggests. Since by replacing the cal point list of my original DG800 file with the DG2000 file, the cal points got shifted down by 16 places, the 25MHz calibration will now point to a place that may not be specified (even though I filled in some data from the DG2000 file that I assumed to be cal parameters), resulting in the "jump". This means, there has to be a "hard" correlation of cal file locations regarding frequency / parameter allocation.

The "second" calibration frequency table, located at 0x438f, starts in the DG800 file at 500kHz and as the last two frequency points, holds 30MHz and 100MHz, whereas the DG2000's file starts at 300kHz and has the additional "Low End" cal points 600kHz and 900kHz. From 1.25MHz to 30MHz, the cal points match between the two while between 30MHz and 100MHz, the DG2000 cal file contains 11 more points. This quantity of cal points and also the presence of more low-end cal points on the DG2000 makes me assume that this instrument is calibrated to a higher accuracy vs. the DG800 / DG900(?) series, legitimating its "higher rank" in Rigol's AWG product range. Maybe the customers are paying for calibration accuracy rather than for hardware value. Just a wild guess, though...  :-//

The blocks following the Cal Points, starting in 0x451e and 0x45e6 appear to hold the calibration constants, consisting of little endian DWords. The number of entries matches the number of Cal Points and apparently, the value of the constants is continuously rising (which makes sense as when the frequency increases, the gain drops). The presence of two such cal blocks for each channel makes me assume that these two blocks calibrate the two output amp configurations. I've now got a pretty good idea of what's going on there and could possibly fit a curve on the DG2000 cal points to extrapolate the existing cal point ensemble of my DG800 in order to generate the missing ones between 30 and 100MHz. If I find some time, I'll give it a try...

Edit 2-3/8: I started analyzing the cal data and it appears more complex than anticipated. The first blocks of cal data don't appear to make much sense, neither in Integer32 nor in Float32 format. The second blocks may very well be cal factors in Float32 format. But maybe, the two cal blocks are meant to be used in combination, either to describe a starting value and a (linear) slope or the like, or maybe as a quotient or similar to improve resolution. I attached an oversize PDF and a zipped Excel file (converted form OpenOffice) of the lists. Maybe someone is interested in having a go at the puzzle...

Edit 3-1/4: Unfortunately, my recent experiments prove that only patching the cal file locations that I analyzed in my PDF, won't suffice to "smooth out" the upper frequency range. I copied the upper end cal data of the DG2000 that better matches my existing DG800 cal file, taking good care that there's no improper interval specification, and the result is worse than with the original cal files. The AWG will perform flawlessly up to 40MHz and show a sudden level drop there by about 10% (when crossing the 40MHz -> 40.000001MHz border), drooping further when frequency is increased. This droop is once again way worse than with the original cal file. The only explanation for this is that calibration information in other locations of the file is missing for a complete upper end calibration. With this information, it may be advisable to look again more closely at a proper SCPI calibration... Bummer!  :'(
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Hobbit13 on December 10, 2020, 04:08:57 pm
The "second" calibration frequency table, located at 0x438f, starts in the DG800 file at 500kHz and as the last two frequency points, holds 30MHz and 100MHz, whereas the DG2000's file starts at 300kHz and has the additional "Low End" cal points 600kHz and 900kHz. From 1.25MHz to 30MHz, the cal points match between the two while between 30MHz and 100MHz, the DG2000 cal file contains 11 more points. This quantity of cal points and also the presence of more low-end cal points on the DG2000 makes me assume that this instrument is calibrated to a higher accuracy vs. the DG800 / DG900(?) series, legitimating its "higher rank" in Rigol's AWG product range. Maybe the customers are paying for calibration accuracy rather than for hardware value. Just a wild guess, though...  :-//

If I'm bored I could make a accuracy comparison between the DG811 and DG2052 connected to exactly the same scope.

The datasheets of the DG900 and DG2000 list exactly the same accuracy specs, and up to 35MHz all specs are also identical for the DG800. I would not expect them to differ in output accuracy for the range below 25 MHz.  And between the DG900 and DG2000 I do not expect any difference. Pricing is almost the same, the DG2000 is just the direct successor of the DG1000 range (Same housing etc.) and the DG900 is a new range.
Due to this Rigol's range is now a bit weird, with a 16bit generator as low end, and 14 bit above that. Don't get why they are still promoting the DG1000 as an active product.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rf-loop on December 26, 2020, 01:29:41 pm
just for...



(https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/?action=dlattach;attach=1138892;image)

ETA: Forget info about signal. Cable between DG and SA 30cm RG316 so its effect to this curve is nonsense..
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on December 30, 2020, 03:38:58 pm
just for...



(https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/?action=dlattach;attach=1138892;image)

ETA: Forget info about signal. Cable between DG and SA 30cm RG316 so its effect to this curve is nonsense..

Is this a spectrum of the upgraded DG811?  Or is it a spectrum from another model?  If it's from a DG811, how did you successfully calibrate it?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on December 30, 2020, 05:49:08 pm
Is this a spectrum of the upgraded DG811?  Or is it a spectrum from another model?  If it's from a DG811, how did you successfully calibrate it?

 :-// This is just what you get when you analyze a factory-calibrated DG800 series intrument that's "liberated" to 100MHz. Mine doesn't perform much different. Slightly more than 2dB level drop at the top end... @rf-loop's specimen may perform slightly better than average.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rf-loop on January 04, 2021, 10:09:19 am
just for...



(https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/?action=dlattach;attach=1138892;image)

ETA: Forget info about signal. Cable between DG and SA 30cm RG316 so its effect to this curve is nonsense..

Is this a spectrum of the upgraded DG811?  Or is it a spectrum from another model?  If it's from a DG811, how did you successfully calibrate it?

DG811 what have dementia and do not remember she is DG811 and think name is DG992.
Any kind of "calibration"? No more than what is inside out from box new DG811.
If look Rigol specs for DG992 it is not far from its limits. Up to 80MHz inside limits.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: CeD on January 11, 2021, 12:46:51 pm
Small question

Is there a way to change the way numbers (and especially thousands) appear on the DG8XX DG 9xx series ?

It's extremely errorprone (for me) to see "90 Hz" written as 90.000,000 Hz
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: CeD on January 11, 2021, 12:58:23 pm
I'm answering myself,
that seems to be inside
 Utility  System Setting  Delimiter

I'll try that ! It seems it won't get rid of the useless zeroes, but it's a start.

By the way, my "upgraded" DG812 displays a very good sinusoid at 80Mhz, at 2Vpp, after that I have a small drop in amplitude but the signal remains a serious sinusoid up to 100Mhz.

Strangely enough, I've got a bit of an higher amplitude around 60Mhz (as other people have reported) so hitting 2,2Vpp. I guess this is the part that would benefit calibrating, but quite frankly, as a pure signal generator, the upgraded DG812 is usable at least up to 80Mhz.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rf-loop on January 11, 2021, 01:17:42 pm
Small question

Is there a way to change the way numbers (and especially thousands) appear on the DG8XX DG 9xx series ?

It's extremely errorprone (for me) to see "90 Hz" written as 90.000,000 Hz

Delimiter: point, comma, space, none
Decimal: point, comma

But there is one bug from long long buglist. If select decimal ,  it still display .
With decimal set , and delimiter none: 90.000000 Hz
With decimal set , and delimiter space: 90.000 000 Hz

So I can not set it for 90,000000 Hz what is perfectly right in my homeland.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: CeD on January 11, 2021, 01:28:14 pm
Yes, I tried and

DOT : displays 90Hz as 90.0000000 Hz : it's better than nothing ;( I don't get why they insist on displaying useless zeroes
COMMA : displays 90 as 90,0000000 but, but if you hit the keyboard, (like to enter a new frequency by hand) it reverts back to 90.000000 in the keyboard screen :) so yeah...

So I used "dot" with separator "none" ; as at least : it's the same everywhere.

I'm not complaining too much as this is entry level hardware, but it's a bit sad that such easy to fix bugs remain so long.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mandor on January 31, 2021, 01:23:16 pm
Excuse me for parachuting into this topic.
Are you telling me if I buy Rigol DG811 I can hack it into 100MHz/2 channel generator?
I'm looking for my first signal generator. Would this be a better option than UTG962 and FY6900?
I'm into amateur radio beside electronics so I thought it might be a good option to look for something that can do at least 50MHz.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: DaveR on January 31, 2021, 02:30:09 pm
Are you telling me if I buy Rigol DG811 I can hack it into 100MHz/2 channel generator?
I'm looking for my first signal generator. Would this be a better option than UTG962 and FY6900?

Yes and Yes.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on March 28, 2021, 01:38:06 pm
Are these still crackable i.e. if I grab one with the latest firmware, can I roll it back and crack it?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on March 28, 2021, 04:35:35 pm
I would say yes.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on March 30, 2021, 10:39:42 am
Ok I got a DG811 and it has unlisted firmware 00.02.05.00.00 on it. hold my beer  :-DD

Procedure so far:

1. Downgrading to 02.04.00 at the moment. Did this as the 02.05 firmware is unlisted and unknown ... tested OK
2. Installed GEL file from https://drive.google.com/file/d/16nC-uJ12MXilJElv4Eukvt1IW4RzGdb7/view?usp=sharing (https://drive.google.com/file/d/16nC-uJ12MXilJElv4Eukvt1IW4RzGdb7/view?usp=sharing) (reboot it and whack help) ... tested OK
3. now thinks it's a DG992 but with 01.08. ... party.
4. Install https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264) GEL file (finish upgrade 02.04) ... OK
5. doing 02.04 upgrade next... OK went straight in fine.

Ok so I have a DG992 with 02.04. Thanks again tv84 and everyone else who was involved in this  :-+

(https://imgur.com/7TWNDaJ.jpg)

(https://imgur.com/2Ct68Q3.jpg)

I would update the serial number but Ultra Sigma is still downloading and I've probably shot the warranty now anyway  :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on March 30, 2021, 12:01:50 pm
1. Downgrading to 02.04.00 at the moment. Did this as the 02.05 firmware is unlisted and unknown ... tested OK

v2.05 here (https://www.rigol.com/Public/Uploads/uploadfile/files/ftp/EMD/DG/SOFTWARE/firmware/SardineII(ARM)Update_00.02.05.00.00.rar).

I think you should have corrected the S/N earlier but I'm not sure.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on March 30, 2021, 12:14:56 pm
Ahha. Not really bothered TBH - works which is the important bit.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on March 30, 2021, 04:50:14 pm
Is there a change log for the 2.05 firmware? Does it provide anything useful?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on March 30, 2021, 05:01:29 pm
Code: [Select]
[Model Supported] DG811,DG821,DG831,DG812,DG822,DG832,DG952,DG972,DG992,DG2052,DG2072,DG2102
[Latest Revision Date] 2020-05-30


[Updated Contents]

v00.02.05.00.00 2020-05-30

     - Solve the problem that the machine model changes to DG811 when upgrading to 00.02.04.00.00
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 on March 30, 2021, 05:05:12 pm
Wasn't that problem already solved in this thread?  :-DD
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on March 30, 2021, 05:09:07 pm
Wasn't that problem already solved in this thread?  :-DD

:) It seems this has became official support.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on March 30, 2021, 05:33:25 pm
Wasn't that problem already solved in this thread?  :-DD

:) It seems this has became official support.

SO glad they fixed that major issue  ::)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bateau020 on April 04, 2021, 08:05:43 pm
Just to make it a bit nicer, if anyone has a Dymo label printer, this label is close enough. Just needs careful cutting out. Monochrome unfortunately, but better than staring at blatantly false information on the instrument's front.

Edit: Works on my LabelManager PnP printer, 12mm / 1/2 inch D1 cartridge, Dymo Label software on MacOS. Might not work on other types of labels and software/hardware.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wintel on April 27, 2021, 11:50:56 pm
This script replaces the previous one and also downloads the calibration files so that people can analyse them.
Hi tv84,

After backup the DG811 calibration files, if upgrade firmware broken the calibrate, how to restore the calibration files to the same DG811?

Thanks!


Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wintel on April 29, 2021, 06:14:00 pm
Thanks for your kindness, but I am only care about Rigol DG811 & related issues now.
With 02.05  first you need do is take cal and memory copy, just for cases something goes really bad. If you do not afraid this can jump over.
There is available method for this backup copy...

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

Just including .GEL file to USB root and insert USB to running DG and when it ask you want FW update then yes (aftere then it run this small script). It write this data to this USB flash. So you need many USB or take them out and save.

Note, NAND backup takes long time and after it is ready rolling image stops rolling but it do not finish... I wait 5 minutes after rolling image stop  and after then I shot DG off and take USB and read... all was there. I think it can also just pull out without power off.
This backup calib is much faster and after some time it stops and goes out. But  if you do not take USB out then after some time it ask again do you want update... just cancel this.
after this or if you have jumped over this backup...


Hi rf-loop,

After to do the full NAND backup, how can I restore the whole NAND backup file to DG811?

Best Regards,

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wintel on April 29, 2021, 06:21:59 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?
Hi jscm2000,

What is the Cal State: in System Info Menu of your DG811 after upgraded to 992?

Calibrated or Uncalibrated?

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on April 29, 2021, 07:18:38 pm
After backup the DG811 calibration files, if upgrade firmware broken the calibrate, how to restore the calibration files to the same DG811?

How did you broke the calib files? If you didn't mess with the files explicitly I don't think you can break them...

To restore a NAND dump you need to go into bootloader mode (open the device, get yourself a UART connection, etc, etc).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wintel on April 30, 2021, 01:05:41 pm
After backup the DG811 calibration files, if upgrade firmware broken the calibrate, how to restore the calibration files to the same DG811?

How did you broke the calib files? If you didn't mess with the files explicitly I don't think you can break them...

To restore a NAND dump you need to go into bootloader mode (open the device, get yourself a UART connection, etc, etc).
Ok, I will try and do a backup first.

Thank!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on May 01, 2021, 07:50:49 am
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?
Hi jscm2000,

What is the Cal State: in System Info Menu of your DG811 after upgraded to 992?

Calibrated or Uncalibrated?
Calibrated
Dual channel:Official
Memory Depth:Official
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on May 01, 2021, 12:18:08 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?
Hi jscm2000,

What is the Cal State: in System Info Menu of your DG811 after upgraded to 992?

Calibrated or Uncalibrated?
Calibrated
Dual channel:Official
Memory Depth:Official

Are you willing to share how you managed to calibrate your unit that you upgraded to a dg992? We have been beating our heads against a wall with no luck for half a year now.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Wintel on May 02, 2021, 11:21:51 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?
Hi jscm2000,

What is the Cal State: in System Info Menu of your DG811 after upgraded to 992?

Calibrated or Uncalibrated?
Calibrated
Dual channel:Official
Memory Depth:Official

Have you try to upgrade to firmware 2.05 after upgraded to 992?

 
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: vutt on May 10, 2021, 07:15:44 pm
Got my DG812 last week and have been playing around with it. In general I'm happy with it. Being new to AWG units my only previous experience is based on FY6900 so I guess it's easy to impress me.

Rigol is providing their PerformanceVerificationGuide.pdf on their web I decided to run few tests with my DS1102Z-E scope. I'm puzzled with AC Amplitude Accuracy Test results (attached pic, my measurements are in red)

How it is possible that Peak-to-Peak results are not in correlation with Vrms results. Also anything beyond 500mVpp are out of spec. I cross checked my scope Vrms values against HP34401a DMM and they are in the same ball-bark. So scope is functioning properly. btw RG316 cable is properly terminated with 50 ohm at scope end.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on May 10, 2021, 10:55:30 pm
How it is possible that Peak-to-Peak results are not in correlation with Vrms results. Also anything beyond 500mVpp are out of spec. I cross checked my scope Vrms values against HP34401a DMM and they are in the same ball-bark. So scope is functioning properly. btw RG316 cable is properly terminated with 50 ohm at scope end.

Probably some small spikes or noise confusing the Vpp results. Try turning on averaging, high resolution mode, etc.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: YetAnotherTechie on May 10, 2021, 11:03:43 pm
The "ballpark" for the meaurement you have on screen is 3% of full range for the osciloscope  (0.24v). To measure what you want accurately (2 decimal places) you need a measuring device with a .02% DC accuracy or better. Does the signal generator pass when measured agains the 34401? If so, there's no issue. Osciloscopes in general only give a rough reading on vertical, think about, most have 8 bit adc, some 10, that's not enough for what you're asking.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: vutt on May 11, 2021, 05:41:03 pm
So it's about scope vertical resolution then.
After turning "high res" ON 5Vpp measure shrunk down from 5.22V to 5.1V on DS1102z-e.
No major changes for Vrms 1.76 instead of 1.77. Btw 34401 is showing 1.788  (so technically its +0.0005V outside specified threshold). However my DMM is from mid 90-es and God knows when last calibration was done. Close enough for my use cases. Thanks guys for clearing that up for me.

edit: I just tested with other "low cost" 50 Ω terminators and it affects Vrms value. Figures above are with "average aliexpress" 50.9 Ω terminator. There you go another variable to count in, so lesions learned...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: gailulun on May 13, 2021, 07:36:13 pm
After upgrading dg811 to dg992, can we continue to upgrade the subsequent official version in the future? Does Rigo have the ability to detect the difference between the system and the hardware during the upgrade process, so as to refuse to upgrade or even lock the machine?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 14, 2021, 06:27:08 pm
After upgrading dg811 to dg992, can we continue to upgrade the subsequent official version in the future? Does Rigo have the ability to detect the difference between the system and the hardware during the upgrade process, so as to refuse to upgrade or even lock the machine?

Yes.

Yes, but very unlikely.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on May 15, 2021, 04:36:03 pm
Hello my fellows. :) Hope you are all doing good!

I was wondering: There are release notes for FW 2.06.01, but the download link delivers 2.05..

Code: [Select]
[Model Supported] DG811,DG821,DG831,DG812,DG822,DG832,DG952,DG972,DG992,DG2052,DG2072,DG2102
[Latest Revision Date] 2021-05-14


[Updated Contents]

v00.02.06.00.01 2021-05-14
      - Optimize UI interaction
      - The key functions of home and menu are exchanged
      - The positions of DC and ARB in fundamental wave are exchanged
      - Fixed the invalid trigger command of sour1: burs: trig when both channels are on
      - Modify advance > sine wave, another channel has no wave table
      - Abnormal duty cycle calculation caused by multiple frequency change
      - Fixed the failure of channel copy and external modulation for the first time
      - Solve the problem that the file menu is invalid because the boot interface is imported into the storage interface
      - Calculation of modified carrier amplitude
      - The English prompt message of ignoring the same phase has been modified
      - Change the four icons at the bottom to three, enlarge the icon and add the shortcut icon.
      - Solve the problem that remote command cannot be triggered when sweep trigger source is manual trigger
      - The function of importing waveform in ARB mode is added

v00.02.05.00.00 2020-05-30

      - Solve the problem that the machine model changes to DG811 when upgrading to 00.02.04.00.00

v00.02.04.00.00 2020-02-18

     - To prevent open source complaints, change the following:
     - Replace kernel and uboot with open source declaration
     - An open source statement has been added to help

v00.02.03.00.00 2019-12-31

     - Solve the problem about the version after 01.09 (inclusive) is changed to upgrade 01.08 (inclusive), the device model serial number will be restored to the default value
     - Solve the problem of address configuration of ultralab heartbeat server
     - After setting the offset, the problem of the output instantaneous voltage error of the relay is solved
     - Qt library is added to the file system to change the Qt library used by the application from static to dynamic

v00.02.02.00.00 2019-10-28

     - Modify the logic bug that when the pulse frequency is 1K and the edge is 100US, the edge automatically becomes 8NS
     - Modify the dual channel output sin waveform, frequency coupling is turned on, and the same phase is used once. After modifying the frequency, the output waveform phase is not synchronized
     - Modify the logic bug of pulse in burst mode, pulse waveform frequency 10K, burst configuration 2 cycles, the first point of idle level, rising edge overshoot exceeding 10% of the index
     - When the pulse frequency is changed from 50KHz to 200kHz, there will be a logic bug of edge overshoot for a period of time

v00.02.01.00.00 2019-7-30

     - The first sardine II official version
     - Compatible with dg800 / 900 software
     - DG2000 add LXI webpage, modify keyboard key function

Any insights on where to grab 2.06.01 FW package?

Thanks and have a nice weekend!


Edit #1
Nevermind, I managed to find it.

Steps:
Go to: https://tw.rigolna.com/firmware/
Copy the Link for DG800 / DG900 FW
Paste and edit link, change /ct61_0/ to /ct65_0/ and you should get a package named "DG2_FW.zip"

Edit #2
FW 2.06.01 installed fine without hick-ups, my device kept its "Rigloled" state.
First impressions: There have been a lot of UI changes. Can not decide if for the better or for worse. :D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 15, 2021, 05:56:22 pm
Upgrade done. All good until now.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on May 16, 2021, 03:10:14 am
Hello my fellows. :) Hope you are all doing good!

I was wondering: There are release notes for FW 2.06.01, but the download link delivers 2.05..

Code: [Select]
[Model Supported] DG811,DG821,DG831,DG812,DG822,DG832,DG952,DG972,DG992,DG2052,DG2072,DG2102
[Latest Revision Date] 2021-05-14


[Updated Contents]

v00.02.06.00.01 2021-05-14
      - Optimize UI interaction
      - The key functions of home and menu are exchanged
      - The positions of DC and ARB in fundamental wave are exchanged
      - Fixed the invalid trigger command of sour1: burs: trig when both channels are on
      - Modify advance > sine wave, another channel has no wave table
      - Abnormal duty cycle calculation caused by multiple frequency change
      - Fixed the failure of channel copy and external modulation for the first time
      - Solve the problem that the file menu is invalid because the boot interface is imported into the storage interface
      - Calculation of modified carrier amplitude
      - The English prompt message of ignoring the same phase has been modified
      - Change the four icons at the bottom to three, enlarge the icon and add the shortcut icon.
      - Solve the problem that remote command cannot be triggered when sweep trigger source is manual trigger
      - The function of importing waveform in ARB mode is added

v00.02.05.00.00 2020-05-30

      - Solve the problem that the machine model changes to DG811 when upgrading to 00.02.04.00.00

v00.02.04.00.00 2020-02-18

     - To prevent open source complaints, change the following:
     - Replace kernel and uboot with open source declaration
     - An open source statement has been added to help

v00.02.03.00.00 2019-12-31

     - Solve the problem about the version after 01.09 (inclusive) is changed to upgrade 01.08 (inclusive), the device model serial number will be restored to the default value
     - Solve the problem of address configuration of ultralab heartbeat server
     - After setting the offset, the problem of the output instantaneous voltage error of the relay is solved
     - Qt library is added to the file system to change the Qt library used by the application from static to dynamic

v00.02.02.00.00 2019-10-28

     - Modify the logic bug that when the pulse frequency is 1K and the edge is 100US, the edge automatically becomes 8NS
     - Modify the dual channel output sin waveform, frequency coupling is turned on, and the same phase is used once. After modifying the frequency, the output waveform phase is not synchronized
     - Modify the logic bug of pulse in burst mode, pulse waveform frequency 10K, burst configuration 2 cycles, the first point of idle level, rising edge overshoot exceeding 10% of the index
     - When the pulse frequency is changed from 50KHz to 200kHz, there will be a logic bug of edge overshoot for a period of time

v00.02.01.00.00 2019-7-30

     - The first sardine II official version
     - Compatible with dg800 / 900 software
     - DG2000 add LXI webpage, modify keyboard key function

Any insights on where to grab 2.06.01 FW package?

Thanks and have a nice weekend!


Edit #1
Nevermind, I managed to find it.

Steps:
Go to: https://tw.rigolna.com/firmware/ (https://tw.rigolna.com/firmware/)
Copy the Link for DG800 / DG900 FW
Paste and edit link, change /ct61_0/ to /ct65_0/ and you should get a package named "DG2_FW.zip"

Edit #2
FW 2.06.01 installed fine without hick-ups, my device kept its "Rigloled" state.
First impressions: There have been a lot of UI changes. Can not decide if for the better or for worse. :D

You can download the firmware 02.06 from the rigol Chinese website
https://www.rigol.com/Public/Uploads/uploadfile/files/ftp/EMD/DG/SOFTWARE/firmware/Sardine(ARM)Update(Normal).rar (https://www.rigol.com/Public/Uploads/uploadfile/files/ftp/EMD/DG/SOFTWARE/firmware/Sardine(ARM)Update(Normal).rar)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 16, 2021, 06:02:00 am
I guess that's an interesting change: "- Calculation of modified carrier amplitude"

I checked AM carrier behviour with the updated firmware and found the following, reasonable approach:
When enabling AM on a sine carrier, the carrier gets reduced by 6dB regardless of the selected modulation depth. This means, at a modulation depth of 100%, the entered signal level is valid for the overall, modulated output signal. Reduction of the modulation depth only reduces the level of the side bands, the carrier stays at a constant level. Though this means that the selected output level isn't correct for modulation depth less than 100%, I guess both "parties" can live with this approach -- the output amplitude won't exceed the dialed-in level / amplitude while the carrier stays constant when checking RF gear. I'ld say, "well done, Rigol".  :)

The other changes (especially to the UI) appear to have made the interface a little more consistent to use, but I've got to admit I didn't do much tinkering with it , a few details have been changed that the user has to get accomodated with, but I think these are no-brainers.

 :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rf-loop on May 16, 2021, 09:58:32 am
... amplitude while the carrier stays constant when checking RF gear. I'ld say, "well done, Rigol".  :)

Yep. carrier level must not change when change modulation depth.  When it is solved by this -6dB solution it meet this main principle. -6dB drop  is ok compromise so noobs do not burn they circuits with peak level if "accidentally" turn AM on with high mod depth.   
"well done, Rigol"
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: gailulun on May 16, 2021, 05:37:45 pm
Can we still crack the firmware after upgrading to version 2.06? Or can we go back from 2.06 to 2.04?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: stcoso on May 18, 2021, 04:00:14 pm
Just want to thank the many people involved in the hack  ^-^
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: idolclub on May 19, 2021, 10:46:57 pm
After upgrade to firmware 2.06.01, the Max. Output Amplitude also have changed from 10Vpp to 20Vpp.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Markus2801A on May 20, 2021, 07:17:52 am
I`ve read so many posts, but actually what ist the right procedure to now UPGRADE HACK a newly purchased (as of MAY 2021) DG811 to DG992?

PC Connection, Magick Stick, Linux to format it???, etc. isnt there an easier way?
Sorry if it has already mentioned but I just want to be sure before purchasing the DG811, that its possible to hack, btw. I have a Mac and PC running Windows 10 so no linux!

Thanks in advance!

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 20, 2021, 10:09:01 am
After upgrade to firmware 2.06.01, the Max. Output Amplitude also have changed from 10Vpp to 20Vpp.

Probably the output reference impedance had been changed from 50R to High-Z. The actualy output amplitude is hardware limited and won't be changed by firmware. +-10V is what the AWG is capable of High-Z.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bateau020 on May 20, 2021, 10:57:56 am
I have a Mac and PC running Windows 10 so no linux!

there is no need to install linux natively on any of your machines. But there is no escaping from linux tools unfortunately. (edit: Wrong. Yes there is a way to avoid linux tools, see next post)

You have 3 options there:

1) Use the listed puppy Linux ISO image to boot from. Your windows installation will remain intact (unless you tell it do install on your PC).

2) Cannot confirm completely, but I think that I did it through MacOS with brew. Formatted through normal Mac tools, and then did the dd command from MacOS command line.

3) Install linux in a VM on your Mac or PC (under VirtualBox, but better under VMWare). Ubuntu for example is really easy to use. And it will open up a whole lot of opportunities for other projects. You can then simply pass the USB disk on to the VM, and follow the procedure.

Just in case you might be tempted, do not use WSL for this: https://docs.microsoft.com/en-us/windows/wsl/ (https://docs.microsoft.com/en-us/windows/wsl/) (Stay on WSL, do not install WSL2, as the networking for that is broken). Although it is a fairly easy way to use linux command line tools without resorting to Virtual Machines, natively mounting USB drives is messy with that, and the commands used for the hack will very likely not work.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 20, 2021, 11:31:12 am
Just for creating the "magic thumbdrive", you don't need to have a Linux machine. I did all the patching without a PC running Linux at hand. Look here (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2423517/#msg2423517) how to create the thumbdrive on a windows machine (or maybe also on a MAC -- provided a disk editor is available).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on May 20, 2021, 11:47:32 am
There are raw disk access utils for every OS other than Linux. The risk is if the user knows how to use them and/or replicate the instructions given for Linux.

But this is a forum for engineers, right?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Markus2801A on May 20, 2021, 03:09:52 pm
Thanks for the hints and tips, maybe I will order one and try to unlock it :-)

So these steps should be the current ones???

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 (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 (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 (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 (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!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on May 29, 2021, 12:55:40 pm
Seen on ebay: RIGOL in blue? ...that must be a fake print or...?!

(https://i.postimg.cc/MGVBW6fx/Bildschirmfoto-vom-2021-05-29-14-54-00.png) (https://postimages.org/) (https://postimages.org/de/)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bateau020 on May 29, 2021, 01:04:00 pm
Seems to me that blue is the new color they use, or maybe only for some series, no idea. Mine also has a blue logo.
Was mentioned here: https://www.eevblog.com/forum/testgear/rigol-ds1202z-e-entry-level-scope-(200mhz-2-channel)/msg2737562/#msg2737562 (https://www.eevblog.com/forum/testgear/rigol-ds1202z-e-entry-level-scope-(200mhz-2-channel)/msg2737562/#msg2737562)

See also this for example: https://www.rigolna.com/images/products/MSO5000-E.jpg (https://www.rigolna.com/images/products/MSO5000-E.jpg), or https://www.rigolna.com/vna/ (https://www.rigolna.com/vna/) (the RSA3000N). Some are blue, some not.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: PushUp on May 29, 2021, 04:13:47 pm
Mmmhhh... - I don't get it?!

They change it from yellow to blue in printing, but keep it yellow in the display, which is much more easier to change - very strange policy...

But you are right: it seems to be the new standard.  :)

https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3536620/#msg3536620 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3536620/#msg3536620)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rea on June 09, 2021, 05:25:29 am
G'day.

One more peculiarity I found out about firmware 02.05: Rigol has changed the SSH encryption key vs. F/W 02.04, so in order to use @rea's login approach, it's necessary to downgrade the firmware to at least 02.04.

Not sure what is the SSH encryption key you mention: the contents of /root/.ssh/ aren't encrypted by anything.  And I had just checked that http://codelabs.ru/firmware/rigol/dg8xx-9xx/2.05.00-enable-ssh/ (http://codelabs.ru/firmware/rigol/dg8xx-9xx/2.05.00-enable-ssh/) works on 2.06.01.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Pfriemler on June 11, 2021, 03:15:48 pm
Thanks for the hints and tips, maybe I will order one and try to unlock it :-)

So these steps should be the current ones???

As I have just successfully upgraded my DG812 to DG992 I would like to post yet another summary of the required steps.
---
edits go to tv84, bulba99, evgbog and others who helped to create this hack![/b]

Did you succeed?
I am afraid of getting confused totally when going through this whole tread. Planned to buy an FY6900, found Uni-T's 692 suitable for me (but where to buy from Germany?), found the PSG9080 and put it on the wishlist until I read the manual and reviews for the DG811. THIS is it.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: banzas on June 11, 2021, 08:40:20 pm
Hi,
With or without termination?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: banzas on June 11, 2021, 08:44:30 pm
After upgrade to firmware 2.06.01, the Max. Output Amplitude also have changed from 10Vpp to 20Vpp.
With or without termination?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tatel on June 14, 2021, 08:05:34 pm
Got my DG811 past week.

It came with FW 2.05. Backup. Direct downgrade to FW 1.8. Magic disk done on Linux with mkfs.vfat and dd. SN and MODIF done with pyvisa-py and A-B USB cable. Applied finish_upgrade_2.04. Direct upgrade to 2.06. It shows DG992 and correct serial number in System info.

Thank you all guys  :-+ :clap:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tatel on June 17, 2021, 12:39:04 am
Got an UGREEN adapter, USB2.0, some €15 on amazon. Works fine after active ethernet cable is connected. Chipset ASIX AX88772

Amazon reference is B00MYT481C

I think it's more or less the same that this one from ali: https://es.aliexpress.com/item/32822792344.html

Ali price is about €10, so it isn't the cheapest. Hopefully there will be good isolation, etc

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: justme1968 on June 17, 2021, 05:22:15 pm
just got my dg811 with 00.02.05 (?) and followed https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600) successfully to get a dg992 with 00.02.04.

the only thing i had to change in the procedure: just inserting the usb stick and answering the prompt resulted in no change at all. i had to use the boot/help method every time i used a new .gel file.

i could not find a download for the 00.02.05 version that was installed before. there is a link to 00.02.06 on the rigol site but all links from rigolna.com give an error and rigol.eu only has 00.02.04. is there a working link to 00.02.06 somewhere and has anything relevant changed in this version?


also liberated my new mso5074.

thanks for everything :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on June 17, 2021, 05:50:12 pm
just got my dg811 with 00.02.05 (?) and followed https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600) successfully to get a dg992 with 00.02.04.

the only thing i had to change in the procedure: just inserting the usb stick and answering the prompt resulted in no change at all. i had to use the boot/help method every time i used a new .gel file.

i could not find a download for the 00.02.05 version that was installed before. there is a link to 00.02.06 on the rigol site but all links from rigolna.com give an error and rigol.eu only has 00.02.04. is there a working link to 00.02.06 somewhere and has anything relevant changed in this version?


also liberated my new mso5074.

thanks for everything :)

If you just look one page back, it's there (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3570442/#msg3570442)...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: justme1968 on June 17, 2021, 06:09:10 pm
thanks! so many links today. i just have missed that one.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: stcoso on June 19, 2021, 02:15:17 pm
A question about using two of these generators synced: let's say i want to use a unit as a "master" (sync out) and one a "slave" (sync in) and i want to generate 4 square waves with the same frequency and phase... can it be done? Is there another way to align the edges across two units? 
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Pfriemler on June 20, 2021, 04:23:01 pm
Just got my DG811 and played a while, checking my devices ...

When using my scope and the DG811 counter input together, I accidently found a strange behavior and ask you to check it if it's normal or not:

Putting the counter's input coupling to "AC" produces a DC output of  - 5.3 V on the BNC input (!).
Loaded with an 1k resistor it drops down to -0.013 V (= 13 mikroA if shortened with a DMM)
This only occurs if you switch the counter on once and remains active even if you switch the counter off.
After a power cycle, the input is 0.00 until you switch the counter on.
If the coupling is set to "DC", there's no DC, just 0.00 V. Set it back to "AC", and the voltage is on.

Did I get a bad device or ist this the normal behavior?

I just want to know this before I do any step to liberate it...

edit: firmware is stock, 2.05
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ewald1963 on June 20, 2021, 04:46:30 pm
Hi Pfriemler,

I can confirm that my unit behaves exactly the same as yours.

Upgraded it from DG811 00.02.04.00.00 to DG992 00.02.04.00.00 just a few minutes ago.
Thanks to all the great minds on this forum that found out these hacks!
It is with the upgraded version that I did the above checks.

About to upgrade further to 00.02.0.6.01.00 soon.

Regards

Ewald
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ewald1963 on June 20, 2021, 09:09:12 pm
Hi all,

I bought me a DG811 sometime last year, but hadn't had much time to explore the hacks described in this amazing blog.
Last week I finally catched up and today succesfully managed to upgrade my DG811 to a DG992!
A big thank you to those who found out how to perform this hack and made the procedure available to the rest of us. TV84 and VTech but also many others where very helpful in there postings!

After the hack I was playing around a little and seem to have some quirk which I do not remember having seen noticed in this blog.

My scenario is as follows:
1) Connect both outputs to my oscilloscope;
2) Set output 1 and 2 both to 10 MHz sine (Ampl=2Vpp, Offset=0, Phase=0);
3) Enable the counter, this turns of output 2;
4) Disable the counter;
5) Turn channel 2 on again;

Instead of my 10MHz sine, the scope now displays something like a 10 MHz ramp (0V to +1V)!
Note: some times I do get my sine back after step 5), but most of the time I don't!)
Turning off and on output 2 or turning the counter on and off again does not restore normal operation of output 2.

The only scenario i have found to get things back to normal goes as follows:

1) Set frequency of channel 2 to something other than 10MHz (I set it to 11 MHz)
2) Enable counter (this turns of channel 2)
3) Turn off counter
4) Select channel 2 and you'll see that channel 2 is now set to the same frequency as channel 1 (10MHz in this example)(!)
5) Turn on channel 2 and there is your sine again.

This seems like a bug to me.
Behaviour is not dependant on frequency, I tried 50 MHz and 60 MHz as well with similar results.
I wonder if others can replicate it.

Regards,

Ewald
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Pfriemler on June 21, 2021, 01:32:12 pm
Just did something for the freedom of my DG811  :-DD
Unlike for justme1968, the 2. (finish 2.04 update) and 3. (FW 2.06) .GEL file were prompted for update and ran successfull (self-boot including for 2.06). Stock FW was 2.05 = same.
I am curious if the ":PROG:MODE DG992" is really necessary? After the first .GEL (which I had to install in boot with pushing HELP) the device turned into a DG992 as decribed, the *IDN? after re-setting SN and after the :PROG:MODE returned exactly the same values, as I could see.
Nevertheless: It works as described, and here's another BIG THXs!!! to all who made this possible.

In thankful reply to Ewald1963, which helped me to verify the behavior of my DG811 (and justme1968, too):
1) Connect both outputs to my oscilloscope;
...
5) Turn channel 2 on again;

Instead of my 10MHz sine, the scope now displays something like a 10 MHz ramp (0V to +1V)!
Same here, I did it 4 times and got a sin (phased 180) or this ramp (rather a unsymmetrical saturated ramp).
Did it also @2kHz, with the same result.

Quote
1) Set frequency of channel 2 to something other than 10MHz (I set it to 11 MHz)
...
4) Select channel 2 and you'll see that channel 2 is now set to the same frequency as channel 1 (10MHz in this example)(!)
5) Turn on channel 2 and there is your sine again.
Similar. I got the same freq at CH2 and a sine. The "ramp" comes if both channels had the same freq before switching the counter on.

AND:
After updating to 2.06, the Home and Menu button are switched in function (as mentioned in the changelog) - but not when pressing HELP and Home/Menu ... :clap:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: stcoso on June 24, 2021, 08:28:09 am
I'm trying to remote control my unit via Rigol UltraSigma. I'm really new to the SCPI world, so my question is probably stupid but... how does BATCH work?
Can someone please post an example of an scpi batch file?



thanks
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: stcoso on June 25, 2021, 04:10:54 pm
I'm trying to remote control my unit via Rigol UltraSigma. I'm really new to the SCPI world, so my question is probably stupid but... how does BATCH work?
Can someone please post an example of an scpi batch file?



thanks


I've diverted to python (pyvisa).  ;D


And i might have discovered a strange bug while dicking around with remote controlling... When using the pulse wavefunction, if i set a duty cycle (whatever%) i can't go back to 50%. I can set everything but no 50%  :-\
I thought that could've been related to python ---> same results with UltraSigma


Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bateau020 on June 25, 2021, 04:25:50 pm
For those who want a more centralised tool:
Just added remote control for DG800/DG900 to TestController, see https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/msg3594054/#msg3594054 (https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/msg3594054/#msg3594054)
sigrok's support is extremely minimalist.
So I decided to add it to TC, as I use that for some other tools I have.
My addition to TC is also somewhat minimalist, but I can expand it easily if you want.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Ewald1963 on July 13, 2021, 06:18:38 pm
Hello,

I hope somebody can shed some light on this, in my eyes, curious behaviour of the Dualtone waveform option of my "upgraded" DG811.
I've set:
 * Freq1 = 10 MHz
 * Freq2 = 20 MHz
 * Ampl = -10 dBm
 * Offset = 0.0 Vdc

My spectrum analyzer (SSA3021X Plus) now shows this:
 * Signal at 10 MHz; Amplitude = -16,67 dBm
 * Signal at 20 MHz; Amplitude = -18,01 dBm
 * Signal at 105 MHz; Amplitude = -34,50 dBm

I expected only to see the 10 MHz and 20 MHz signals but not the 105 MHz signal. Also I don't understand why the amplitude of the 10 MHz and 20 MHz signals is so much lower than the set -10 dBm and why the 105 MHz signal has a relatively high amplitude (less than 20 dB below the highest of the other signals).

Tried similar settings with 5 MHz and 10 MHz and then there is an additional signal at 115 MHz.

If I use both channels of the DG811 and set them to 10 MHz and 20 MHz respectively I do not see these strange additional signals. Also, in that case the amplitudes of both signals are identical at -14,12 dBm.

Most likelyI am just overseeing something obvious, but then again, i don't see it yet.

Thanks,

Ewald



Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on July 13, 2021, 06:59:14 pm
@Ewald:

Thanks for this input, that's an interesting find. I could replicate this behavior with my DG811+ except for the level mismach. I find the two preset signals to be equal within 0.5dB. Maybe it's the result of your interconnection to the SA that may act like a low pass?

The "harmonic" is quite a peculiar thing: it's only dependent on the second frequency, so it's not a mixing product of the two generated frequencies. Its frequency appears to be fhrm = fsamp/2 - F2. Seems like Rigol got something wrong there, maybe not high enough sample count.

Edit:
Here's a funny scope screen shot: f1 = 1µHz; f2 = 20MHz -- not quite a sine shape. Even though the harmonic "walks through", averaging doesn't completely return the trace to a proper sine shape, albeit triggering may have an effect on this as well. I guess Rigol's got to address this issue...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Pfriemler on July 14, 2021, 09:36:14 am
That's weired. Got this on my DG, too. Have no SA, only the FFT in Scope.
Tried something else, for instance:
- Dualtone 5+10 MHz: two nearly equal peaks at 5 and 10 MHz and one at 115 MHz. You can see a very distorted wave.
- Dualtone 10+5 MHz( just swap the frequency 1 and 2 setting): two nearly equal peaks at 5 and 10 MHz and one at 120 MHz. May fit to TurboTom's equation.
But:
- Harmonics 5 MHz, only the second (give a mix of 5 and 10 MHz, too): fine signal, no peak >100 MHz. The waveform is clear of distortions.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SmartiesEmpire on July 16, 2021, 05:51:26 pm
Hi,

maybe you can help me. I got my DG811 also shipped with firmware 2.05. When I try to downgrade with the provided gel file it's just busy a little bit, and then shows the normal screen again. No downgrade. So I tried several USB sticks and holding the Help/Local Key while booting. No success tho :( What did i miss?

Thanks
Smartie

EDIT:
If you come from 2.05 you have to press the Help/Local Key rapidly as some users stated before :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TheBay on July 16, 2021, 10:16:56 pm
Finally got my hands on a DG812, was torn between this and the Siglent SDG1032X.
I actually like the case design and it's performance is perfect for my use.
Even more impressed that it's fanless, which is a blessing when I'm listening for a 1KHz tone on a receiver for SNR and Sinad.

Mine came with 2.05, so going to have a look through the posts and see what the process is for downgrading to do the "Hack"

I have a couple of questions, if I "liberated" it, would it function the same as a DG952? I don't want to go all the way up to the highest model as we can't (yet) calibrate it, but I'm thinking out of the box without calibration would it be identical to a DG952 or a lesser model?

Also can it easily be put back to it's standard model if it had to go in for a repair under warranty?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on July 16, 2021, 11:04:57 pm
It should work as a 952. Regarding a rollback to 811/2, it's the same procedure as an upgrading but it all depends on the reason why it needs to go for repair.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: simonth on July 26, 2021, 04:10:41 pm
Hi! This thread and the work of many of you made me order a DG811 that arrived today. Thanks!!

Link (https://beyondmeasure.rigoltech.com/acton/ct/1579/p-00ac/Bct/-/-/ct65_0/1?sid=TV2%3AQ2jKaGpUj).
This link now points to the latest version 02.06.00.01. Stupid me didn't check the file version before I applied the update to my new DG811 delivered with 02.05. So now I have a brand new device with the latest official FW, 'unliberated'!  |O
If anyone can provide a link for the 02.02 fw I will try if I can still downgrade.

EDIT:
Well... I tried Vtechs modified 01.08 from https://drive.google.com/file/d/16nC-uJ12MXilJElv4Eukvt1IW4RzGdb7/view?usp=sharing (https://drive.google.com/file/d/16nC-uJ12MXilJElv4Eukvt1IW4RzGdb7/view?usp=sharing) and that actually loaded without any issues. So downgrade from official 02.06.00.01 is still possible! I will try to follow the rest of the steps described in https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600) later tonight or tomorrow and report back.

EDIT2:
Success!
I now have a 'liberated' device running 02.06.00.01.
I did have to do a reboot between step 3 and step 4 for the device to see the USB stick but apart from that it all went smooth!
The device still reports "Calibrated" but I haven't looked at the output signals yet, will update this post when I get the chance.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SteveGT on July 27, 2021, 04:24:57 pm
Hello.
Can everyone tell me how to save an ARB file from my Oscilloscope ?

DS1054Z with latest Firmware.
DG822 with 02.06.01 (Upgrade to 922)
Both Devices connected via USB.

HOME -> Continuous  -> Arb -> Other -> From File -> DZ1104Z -> CH1 / Screen Data -> READ
Store -> C:  [name] it gives an [CH2 new].RSF file.
Stored under State File and C: not in the ARB Folder.

// Page 104 from DG900-UserGuide-EN.pdf
((
1. State File
Stores the instrument state in the internal or external memory in "*.RSF" format.
The state file stored includes the dual-channel selected waveform, frequency,
amplitude, offset, duty cycle, symmetry, phase, modulation, sweep, burst
parameters, frequency counter parameters, as well as utility function parameters
and system parameters under the Utility menu.
))

The Replay Signal  from CH2 on the DG looks on the DZ relative the same as the original Signal... so far so good.

Restart the DG, All Settings an Values in the Left Waveform Screen are restore from Values before Restart.
BUT the Output signal is 0V DC.
HOME -> Continuous  -> Arb -> Other -> From File -> C: -> [CH2 new].RSF -Read
....the Output signal is 0V DC.


On the other Side:
Read the Signal from Oszi, Touch the Edit Symbol an Screen and then Save give an CH1new.SEQ File.
It is visible only under C:. Not in ARB Folder...
Load this File gives a 0VDC Line.

PS:
The DG822 comes with Blue Logo and 02.05 Firmware.
Flash the Finish_Upgrade_2.04.zip File found in this Tread, enter via SCPI the correct Serial Number und flash the normal 02.06.01 Update.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: kikis on July 27, 2021, 08:34:38 pm
hi
have a DG812 with 2.06, follow the steps to downgrade to 1.08 successfully, info shows 992 and correct serial# but when try to apply Finish_Upgrade_2.04.zip i get ERROR: bad scrip!
any ideas?

thanks
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on July 28, 2021, 11:10:56 am
hi
have a DG812 with 2.06, follow the steps to downgrade to 1.08 successfully, info shows 992 and correct serial# but when try to apply Finish_Upgrade_2.04.zip i get ERROR: bad scrip!
any ideas?

thanks

If "info shows 992 and correct serial# " then there's no need for Finish_Upgrade_2.04.zip
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: kikis on July 28, 2021, 12:01:57 pm
thanks for the reply

the problem is that i can not update firmware higher than 1.08. for example i tried 2.04 & 2.06 and it went back to DG812
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on July 28, 2021, 12:06:43 pm
Are you running the Finish script in v1.08? Did you unzip the file?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: kikis 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 (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 (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 (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/ (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!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf 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?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf 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


Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: coy 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 :-)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: coy 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  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TinkeringSteve 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 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 (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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TinkeringSteve 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".
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 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 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3616221/#msg3616221)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: bd139 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TinkeringSteve 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?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 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?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TinkeringSteve 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 :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TinkeringSteve 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TinkeringSteve 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TinkeringSteve on September 04, 2021, 07:22:37 pm
Funny, here it is without login:

https://www.rigolna.com/firmware/ (https://www.rigolna.com/firmware/)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on September 07, 2021, 12:32:00 pm
to tv84:
Hi, I did a downgrade successfully  :) (see fig. 1) [attach=1]  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) [attach=2]
I've done a new downgrade, so I'm ready again for that last step, but I don't know what to do now.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TinkeringSteve 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat 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.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 08, 2021, 09:52:34 pm
Try going to 1.8, check that all is good (model and S/N) and then flash 2.04->2.05->2.06.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on September 08, 2021, 10:12:06 pm
Thanks  :)  I'll try it tomorrow!

Oh, I bought the generator recently, and when I wanted to download (just in case) the 2.05 firmware, it wasn't even available anymore. So I only have the last 2.06.
Maybe someone can help me, please ?!

Edit: I found version 2.05, thank you Bulba!
Edit: I found version 2.04, thank you vtech!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on September 09, 2021, 10:01:16 am
Hi guys,
I'm excited, my generator works as a model 992 with the latest firmware version 02.06. I followed the advice of tv84 and it worked. Thanks to everyone who contributed for an admirable work  :-+
[attach=1][attach=2][attach=3][attach=4]
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: kikis on September 09, 2021, 10:53:33 am
Hi Swat
did you apply Finish_Upgrade_2.04.zip?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on September 09, 2021, 11:23:23 am
Hi Swat
did you apply Finish_Upgrade_2.04.zip?
No, just the official 2.04 firmware.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 09, 2021, 11:34:11 am
Hi Swat
did you apply Finish_Upgrade_2.04.zip?

I've said it before: Finish_Upgrade should be used only by people that have a DG which came initially with v2.04. It doesn't do harm to others but it also doesn't do any good.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: pizzigri on September 22, 2021, 03:48:27 pm
These equipments have 2 Option licenses:

DG800-ARB8M - ARB  - Memory Depth Upgrade Option
DG800-DCH   - DCH  - Single-dual CH Upgrade Option

In the latest FW version (1.09.xx), Rigol implemented a 3rd "license" (called 'TYPE') to validate Model conversion.

Maybe in the future Rigol will start selling this option and officially support upgrading Models via that scheme.

I was wondering whether there is a possibility to activate the ARB8M as well... since the DCH option is automatically activated with the hack.
Asking this because I'm preparing to purchase a DG811 to play with soon.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 22, 2021, 04:35:29 pm
I was wondering whether there is a possibility to activate the ARB8M as well... since the DCH option is automatically activated with the hack.
Asking this because I'm preparing to purchase a DG811 to play with soon.

Both options are activated in DG900 series by default.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: pizzigri on September 22, 2021, 04:51:19 pm
Great! It wasn't clear, but now I got it.
Thank you!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mandor on September 29, 2021, 06:09:40 pm
I hope no one minds me summing up the steps one more time for clarity. It's other peoples hard work we have this, not mine.
I finally got DG811 and read through this thread again.
Just so people don't have to read through all the posts and worry if they missed something.
My DG811 came with version 02.05.

Make a note of your serial number.
(On my device it can be still found on the back on a sticker)

Using:
- Windows 10 laptop, latest version
- 4GB USB drive formatted FAT32 with 4096 sector size with windows formatting tool. No magic on the USB drive at all.

All rar, zip archives files contain SardineUpdate.GEL file and that needs to be extracted from the archive and placed into root of formatted USB drive.
You don't need anything else.

-----------------------------
OPTIONAL STEP - Backup calibration and internal memory

Extract SardineUpdate.GEL from https://mega.nz/file/i91yEJRa#rRocE7s31SXCFvfQgmwkFF45v3vF9R8A0yb8PmfM4Hc (https://mega.nz/file/i91yEJRa#rRocE7s31SXCFvfQgmwkFF45v3vF9R8A0yb8PmfM4Hc) on the root of USB drive.
Turn on Rigol device.
Plug in USB drive into rigol device.
Rigol detects update file and prompts for update.
Click yes.
Rigol displays Waiting and spinning wheel.
Rigol detects update file and prompts for update a second time.
Click cancel.
Unplug USB drive from rigol.
Plug USB Drive into computer to save dumped files.
adds two folders to USB drive:
- cal
- Internal Memory
-----------------------------

-----------------------------
OPTIONAL STEP - Backup NAND

Extract SardineUpdate.GEL from https://mega.nz/file/P0lSVTJI#lccrNrvA2JOcZUqgvpV5dOT0-CweNUH5GWuzty4WkFw (https://mega.nz/file/P0lSVTJI#lccrNrvA2JOcZUqgvpV5dOT0-CweNUH5GWuzty4WkFw) on the root of USB drive.
Turn on Rigol device.
Plug in USB drive into rigol device.
Rigol detects update file and prompts for update.
Click yes.
Rigol displays Waiting and spinning wheel.
Rigol detects update file and prompts for update a second time.
Click cancel.
Unplug USB drive from rigol.
Plug USB Drive into computer to save dumped files.

NAND Backup script adds 14 files mtd#_NANDxxxxxxx about 500MB in size
takes a short while longer than backup calibration
-----------------------------

-----------------------------
STEP - Downgrade to 01.08.01
 
Extract SardineUpdate.GEL from https://mega.nz/file/bxtkUJyA#hg0H1bxcOMeBNW6zbOwJvxEYqWtyL_UXmftwTMTBuWg (https://mega.nz/file/bxtkUJyA#hg0H1bxcOMeBNW6zbOwJvxEYqWtyL_UXmftwTMTBuWg) on the root of USB drive.
Turn off Rigol device
Plug in USB drive
Turn on Rigol device and repeatedly press help button until you notice it detected firmware
Rigol displays: Upgrade from usb disk, reading...
Rigol displays: Upgrading (x/x) flash images...
Rigol resets into DG992 model 1.08 firmware.
(don't worry about unplugging usb drive)
-----------------------------

-----------------------------
STEP - Upgrade to latest firmware version 02.06.01

Extract SardineUpdate.GEL from https://mega.nz/file/L51wBJrA#ZTDJ6_mi-U4N03YW7YrRVj-pgHYRTdB4z1yaSQmmD3I (https://mega.nz/file/L51wBJrA#ZTDJ6_mi-U4N03YW7YrRVj-pgHYRTdB4z1yaSQmmD3I) on the root of USB drive.
Turn on Rigol device
Plug in USB drive
Rigol prompts to upgrade
Click yes
Rigol displays Waiting and spinning wheel
Rigol restarts
Rigol displays: Upgrade from usb disk, reading...
Rigol displays: Upgrading (x/x) flash images...
Rigol resets into DG811 model 2.06 firmware.
(don't worry about unplugging usb drive)
-----------------------------

-----------------------------
STEP - Reconfuse Rigol into thinking DG992 way

Extract SardineUpdate.GEL from https://mega.nz/file/f01EkZRK#HCifK9T-fDxB5RNpAtYNkKdPE7Rrh_6XZcvMV_quLng (https://mega.nz/file/f01EkZRK#HCifK9T-fDxB5RNpAtYNkKdPE7Rrh_6XZcvMV_quLng) on the root of USB drive.
Turn on Rigol device
Plug in USB drive
Rigol prompts to upgrade
Click yes
Rigol displays Waiting and spinning wheel
Rigol restarts
Rigol displays: Upgrade from usb disk, reading...
Rigol displays: Upgrading (x/x) flash images...
Rigol resets into DG992 model 2.06 firmware.
(don't worry about unplugging usb drive)
-----------------------------

-----------------------------
OPTIONAL STEP - WRITE SERIAL NUMBER TO DEVICE

Download "Ultra Sigma (PC)Installer" 00.01.06.01 Rigol software from https://www.rigol.eu/En/Index/listView/catid/28/tp/5/wd/ultra%20sigma (https://www.rigol.eu/En/Index/listView/catid/28/tp/5/wd/ultra%20sigma) and install it.
(The software asks to disable fast boot in windows. I chose not to disable fast boot)
If the link does not work try https://www.rigol.eu/products/waveform-generators/dg900.html (https://www.rigol.eu/products/waveform-generators/dg900.html) -> Download -> software-firmware download -> software download -> search for "ultra sigma"
Software is about 500MB download and takes relatively long time to install and requires a computer restart.
I backed up the software here: https://mega.nz/file/HpU1hQKB#BMuIwve2RK0FiX3OOBGYyb4VcWkl4HSxBDJP0kXaHBw (https://mega.nz/file/HpU1hQKB#BMuIwve2RK0FiX3OOBGYyb4VcWkl4HSxBDJP0kXaHBw)

Power on RIGOL device.
Open Ultra Sigma software
Connect Rigol device to PC via USB-A to USB-B (printer) cable.
Rigol is recognized by Ultra Sigma as DG992
Right-click "DG992 (USB0: :0x1ABa: :0x0643: :DG80000000001: :INSTR)"  or something similar and select "SCPI panel control" (new window opens)
Write commands without quotes!
Check communication by issuing "*IDN?" command: Write "*IDN?" into the textbox, press "Send Command" than press "Read Command".
Rigol returns something like:
<- (Return Count:55)
Rigol Technologies,DG992,DG80000000001,00.02.06.00.01
Issue command with Send Command button ":PROJ:SN DG80000000001" with your correct serial number instead of DG80000000001, Click Send
Verify if it worked by sending another "*IDN?" command - it should report back with correct serial number
Disconnect the instrument from PC.
-----------------------------


All files are just reuploaded files found on this thread, archives untouched.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on September 29, 2021, 08:20:36 pm
I hope no one minds me summing up the steps one more time for clarity. It's other peoples hard work we have this, not mine.

It's misleading such a detailed procedure to end up without a valid S/N. You missed the steps to keep the S/N!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mandor on September 30, 2021, 11:24:36 am
Thank you for pointing that out. I didn't think that is an issue as I have a label with the serial number on the back of the machine anyway so it won't get lost.

The problem is I don't know how to do it. I wanted to add it now but I'm not sure what the "Ultra sigma bloatware" is. If I look at https://www.rigolna.com/download/ (https://www.rigolna.com/download/) I see "Ultra Sigma Instrument Connectivity Driver" listed as software among other files. I can't download it, it just fails. And not sure if that is the only file I need or do I need any other drivers from there.

And I am confused about do we need the magic USB drive, which specific GEL file should be on it, does it need to be hex edited, encrypted, does it need to be specific version of firmware... I just don't get it.
That is why I posted my summary, i thought it is simpler. Adding a disclaimer to the post for now.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: marcus h on October 02, 2021, 11:28:47 pm
The problem is I don't know how to do it. I wanted to add it now but I'm not sure what the "Ultra sigma bloatware" is. If I look at https://www.rigolna.com/download/ (https://www.rigolna.com/download/) I see "Ultra Sigma Instrument Connectivity Driver" listed as software among other files. I can't download it, it just fails. And not sure if that is the only file I need or do I need any other drivers from there.

And I am confused about do we need the magic USB drive, which specific GEL file should be on it, does it need to be hex edited, encrypted, does it need to be specific version of firmware... I just don't get it.
That is why I posted my summary, i thought it is simpler. Adding a disclaimer to the post for now.

Hi! Thank you for you summary. It helped me to make a backup of the settings of my DG811 before I liberated it yesterday.
To return the favor I try to answer your questions in a detailed way:

I can assure you that it isn't so difficult to reinstate the serial number to your device. It only takes a bit of time.
I simply followed the steps in this brilliant posting to the letter(*):
https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600)

(*) With one exception: To do a firmware upgrade I used the "press the Help key as often as possible during while the device is booting"-method.
Then it recognized the firmware on the stick and immediately installed it. No problems whatsoever.

After this procedure I had the DS811 identifying itself as a DS992 with firmware 2.04.
I the simply upgraded the device to firmware 2.06.

About the Ultra Sigma "bloatware":
The Ultra Sigma software clocks in at a massive 500+ megs (and is basically a specialized terminal emulation software) but it did work for me.
I downloaded the software, installed it, started it and got immediately access to the device after I connected it to my PC via USB.
I didn't need to install additional drivers and I wouldn't install any other software for this task.
Then I issued the commands described in the above post. As I wrote: take your time and follow the instructions to the *letter*!

You can get the software from various Rigol sites, for example the International site for the device:
https://www.rigol.eu/products/waveform-generators/dg900.html (https://www.rigol.eu/products/waveform-generators/dg900.html)

"SOFTWARE & FIRMWARE" tab:
Scroll down and download the "Ultra Sigma (PC)Installer 00.01.06.01" - and nothing else (except the 2.04 firmware if you haven't already, or the manuals under MANUAL).

About the "magic" USB stick:
The "magic" USB stick is basically a "key" that allows more access to the device (to allow for certain commands).
If you plug it into the device it recognizes the "magic" USB stick by simply looking at this sector and checks the contents.
So you have to put the "magic" number at a specific place (Sector 2.000.000 decimal as in "2 million"). The post above describes it in detail.
In other words: For the stick to perform as a "key" you DON'T put a GEL file on it. You just edit the sector with the hex editor.

My procedure was:
- I used a 8GB stick to downgrade the firmware to 1.08 -- and to convert it into a DG992.
- Then put it back in my PC and deleted the GEL on the stick to have it "clean".
- Then I used the hex editor software ("HxD") on it as is describes in the link above.
   Download HxD here: https://mh-nexus.de/de/hxd/ (https://mh-nexus.de/de/hxd/) -> use version "2.5.0.0 (11. Februar 2021)".
   It is easy to use but if you have never used a hex editor it can be a bit daunting. Just ask if you have a problem.
- Then I put it into the freshly booted DG and after it recognized it I performed the serial number command with Ultra Sigma.
- After that I disconnected the DG, removed the USB stick and rebooted it to see if the serial number is still present (it was).
- I put the USB stick in my PC and formatted it to make sure there are no problems (it is probably not necessary but I didn't want to experiment).
- Then I put the GEL from "Finish_Upgrade_2.04.zip" on it and used it on the DG.
- Then I put the GEL of the firmware update to 2.04 on it and installed it as described above.
- And finally I put the GEL of the firmware update to 2.06 on it to get the most recent firmware on the device.
No firmware update to 2.05 necessary with my DG811.

I think you have your DG already at 2.06.
I don't know if the serial number method described in the posting linked above works with that version but I would try anyway.
The worst that could happen is that you have to downgrade to 1.08 again and repeat the whole procedure but obviously this is your choice only.

Hope this helps!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mandor on October 03, 2021, 03:45:00 pm
I added another step. I managed to write my serial number to the device.
I found the software only 500 something MB, NOT GB in size.

I DID make the magic empty USB drive and have plugged it into Rigol and then connected the other USB to my laptop.
Then I thought let me try it without the drive.
I removed the cable and USB drive and restarted Rigol.
I then connected USB cable to computer and issued the SCPI command and Rigol updated.
Restarted Rigol several times and updated serial number several times without USB drive plugged in.
I think USB is not necessary but I did plug it in once so I'm not sure it didn't update something.

Thank you for helping and thanks to everyone else. You guys got me a 100MHz waveform generator.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: marcus h on October 03, 2021, 11:28:56 pm
I added another step. I managed to write my serial number to the device.
I found the software only 500 something MB, NOT GB in size.

I mistyped it, sorry. Of course its MB, not GB...  |O  ;D
I corrected my post above, thanks.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: joeyjoejoe on October 13, 2021, 12:53:18 pm
Was already on an DG821->DG922 1.08 mod.

Simply applied the latest FW from Rigol by copying it to a USB drive, and I'm at 2.06 DG922, still have my serial intact.

Too bad the frequency display is hot garbage still :) Takes a bit of getting used to.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Trader on October 20, 2021, 04:28:07 am
About the Rigol DG992 - Two Channel, 100 MHz Function/Arbitrary Waveform Generator

There is an interesting 1-star review at Amazon:

NOT AS ADVERTISED!

The actual sampling rate for arbitrary waveforms is 60 MHz. If you create a file of signed 16 bit integers and load it into the machine, the fastest that it will clock it out is at 60 Mhz. The picture is a fragment of a 16 MHz wave amplitude modulated at 270 kHz. Looks great sampled at 250 MHz but at 60 MHz there are not quite 4 samples per carrier cycle. I hoped that they would at least do some interpolation at the 250 MHz rate but nope...[attachimg=1]
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: marcus h on October 20, 2021, 04:33:24 pm
About the Rigol DG992 - Two Channel, 100 MHz Function/Arbitrary Waveform Generator

There is an interesting 1-star review at Amazon:

NOT AS ADVERTISED!

The actual sampling rate for arbitrary waveforms is 60 MHz. If you create a file of signed 16 bit integers and load it into the machine, the fastest that it will clock it out is at 60 Mhz. The picture is a fragment of a 16 MHz wave amplitude modulated at 270 kHz. Looks great sampled at 250 MHz but at 60 MHz there are not quite 4 samples per carrier cycle. I hoped that they would at least do some interpolation at the 250 MHz rate but nope... (Attachment Link)

Do you have a link?

When I visit amazon.com from here (Germany) I can't even see the DG992 (only the DG822 and 832 from that series).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Trader on October 20, 2021, 05:25:53 pm
About the Rigol DG992 - Two Channel, 100 MHz Function/Arbitrary Waveform Generator

There is an interesting 1-star review at Amazon:

NOT AS ADVERTISED!

The actual sampling rate for arbitrary waveforms is 60 MHz. If you create a file of signed 16 bit integers and load it into the machine, the fastest that it will clock it out is at 60 Mhz. The picture is a fragment of a 16 MHz wave amplitude modulated at 270 kHz. Looks great sampled at 250 MHz but at 60 MHz there are not quite 4 samples per carrier cycle. I hoped that they would at least do some interpolation at the 250 MHz rate but nope... (Attachment Link)

Do you have a link?

When I visit amazon.com from here (Germany) I can't even see the DG992 (only the DG822 and 832 from that series).

https://www.amazon.com/Rigol-DG992-Function-Arbitrary-Generator/dp/B07HYF5Q86 (https://www.amazon.com/Rigol-DG992-Function-Arbitrary-Generator/dp/B07HYF5Q86)

Yesterday was $999, today is $1,075.85 !!!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Trader on October 20, 2021, 05:31:58 pm
Do you have a link?

When I visit amazon.com from here (Germany) I can't even see the DG992 (only the DG822 and 832 from that series).

But, as you know, you can buy the DG 811 for $279 and "upgrade" it to the DG 992

https://www.amazon.com/Rigol-DG811-10-Function-Arbitrary-Generator/dp/B07H3Y132G/ (https://www.amazon.com/Rigol-DG811-10-Function-Arbitrary-Generator/dp/B07H3Y132G/)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Trader on October 20, 2021, 08:50:06 pm
Seems the Rigol DG2102 has the same specs from Rigol DG992, but it's cheaper.

https://www.amazon.com/Rigol-DG2102-Function-Arbitrary-Generator/dp/B082287SZ8 (https://www.amazon.com/Rigol-DG2102-Function-Arbitrary-Generator/dp/B082287SZ8)

I wonder why, is there some tech difference?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: marcus h on October 20, 2021, 10:24:52 pm

But, as you know, you can buy the DG 811 for $279 and "upgrade" it to the DG 992

https://www.amazon.com/Rigol-DG811-10-Function-Arbitrary-Generator/dp/B07H3Y132G/ (https://www.amazon.com/Rigol-DG811-10-Function-Arbitrary-Generator/dp/B07H3Y132G/)

I know and I did.  ;D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: blubillcanada on November 01, 2021, 02:08:00 pm
STEP - Downgrade to 01.08.01
 
Extract SardineUpdate.GEL from https://mega.nz/file/bxtkUJyA#hg0H1bxcOMeBNW6zbOwJvxEYqWtyL_UXmftwTMTBuWg (https://mega.nz/file/bxtkUJyA#hg0H1bxcOMeBNW6zbOwJvxEYqWtyL_UXmftwTMTBuWg) on the root of USB drive.
Turn off Rigol device
Plug in USB drive
Turn on Rigol device and repeatedly press help button until you notice it detected firmware
Rigol displays: Upgrade from usb disk, reading...
Rigol displays: Upgrading (x/x) flash images...
Rigol resets into DG992 model 1.08 firmware.

I've tried this step several times on a DG812 running 2.06.00.01 and although it appears to be updating (the spinny asterisk) but it never downgrades to 1.08
Do I have to modify this file as it's not a DG811?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on November 01, 2021, 04:00:12 pm
STEP - Downgrade to 01.08.01
 
Extract SardineUpdate.GEL from https://mega.nz/file/bxtkUJyA#hg0H1bxcOMeBNW6zbOwJvxEYqWtyL_UXmftwTMTBuWg (https://mega.nz/file/bxtkUJyA#hg0H1bxcOMeBNW6zbOwJvxEYqWtyL_UXmftwTMTBuWg) on the root of USB drive.
Turn off Rigol device
Plug in USB drive
Turn on Rigol device and repeatedly press help button until you notice it detected firmware
Rigol displays: Upgrade from usb disk, reading...
Rigol displays: Upgrading (x/x) flash images...
Rigol resets into DG992 model 1.08 firmware.

I've tried this step several times on a DG812 running 2.06.00.01 and although it appears to be updating (the spinny asterisk) but it never downgrades to 1.08
Do I have to modify this file as it's not a DG811?

Hi, to downgrade to 01.08 I used the following modified file from "tv84": https://drive.google.com/file/d/16nC-uJ12MXilJElv4Eukvt1IW4RzGdb7/view?usp=sharing
and everything worked out :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: blubillcanada on November 01, 2021, 05:17:49 pm
Hmm, I can't download from that Google drive. It's saying too many redirects.  :-//
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Trader on November 01, 2021, 05:23:10 pm
Hmm, I can't download from that Google drive. It's saying too many redirects.  :-//

Download is working.  Try this: https://www.pastefile.com/5knxs5 (https://www.pastefile.com/5knxs5)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: blubillcanada on November 01, 2021, 05:34:51 pm
Thanks, that downloaded.
I copied the extracted Sard... to the root of a FAT32 formatted USB drive. The Rigol DS812 sees it, does what appears to be an upgrade but after reboot is stubbornly on 02.06.00.01
 :(

Edit, I've managed to get it down to 2.05 based on older firmware found in this thread. Will try the downgrade again.

Update 1
2.05 success
1.08.00.01 success
But it shows DG812. Do I have to modify this before reflashing 2.06? Do I need a <4GB USB for the key?

Ahh needed the Finish Upgrade patch .GEL
.
Now it says DG922 and got more colourful.

Final update, 2.06.00.01 is installed and working. Seems the trick for me was the downgrade to 2.05 first, then everything worked out.

Thanks, Swat & Trader.

Bonus, my Nintendo Switch USB to Ethernet (UGREEN USB2 to GigE) worked like a charm.



Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TheBay on November 07, 2021, 11:08:10 pm
Finally got around to liberating my DG812, I opted to change mine to a DG952.
50MHz is more than I'll ever use, if I need higher frequencies I've got RF generators for that.

I may convert it to a DG992 later on if the calibration situation changes.

My DG812 arrived with 2.05 Firmware and physically has a Blue Rigol badge so I'm assuming it came from the factory with 2.05 installed.

Steps I took.

Backed up Calibration Data and NAND.

Downgraded to the 01.08 Firmware modified by tv84, booted up as a DG992.

Created a "Magic USB" in Windows 10 using HxD, then sent the SCPI command to change the serial number, checked that it had stuck and rebooted the DG812. Serial number still correct so using another SCPI command set the model to a DG952. Rebooted the DG812 and now showing as a DG952.

Installed Finish_Upgrade_2.04 Gel (Not sure if this is needed, but assumed it was looking back at those who's came with 2.04 or higher)

Then installed 02.06.01 and it's updated straight to 02.06.01 with the correct serial and still a DG952, so I'm not sure if it is necessary to install any firmwares in between the modified 01.08 and 02.06.01 other than the Finish_Upgrade_2.04 Gel, mine certainly didn't need it.

Cheers for all those who made this possible!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Trader on November 08, 2021, 01:24:31 am
I may convert it to a DG992 later on if the calibration situation changes.

Thank you for your report.

Why not convert it to 992, but not use more than 50MHz?

(I think the calibration issue is only if you use more than 50MHz.)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TheBay on November 08, 2021, 03:48:01 pm
I may convert it to a DG992 later on if the calibration situation changes.

Thank you for your report.

Why not convert it to 992, but not use more than 50MHz?

(I think the calibration issue is only if you use more than 50MHz.)

I wanted to see if it was possible to choose the model during this hack, it was out of curiosity more than anything else.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: blubillcanada on November 11, 2021, 06:10:04 pm
Any update on how to calibrate these units? Or even how to restore a calibration backup file?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JoeRoy on November 12, 2021, 12:44:02 pm
Hello all, I have a DG952 and I followed these steps: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032)

But still showing DG952 and not DG992, any idea? Thank you.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on November 12, 2021, 01:33:41 pm
Hi,
If I'm not mistaken, the wrong sequence of steps is still repeated in the procedure you have chosen. The correct procedure is (with the DEVICE OFF!) Plug in usb drive into Rigol device. Only then turn on the Rigol device and immediately start pressing the Help / Local button again and again. After a few presses, the modified firmware should start loading itself, without your confirmation - (no prompt for update!). I hope this helps.  :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JoeRoy on November 12, 2021, 06:41:25 pm
I did that, turn on, press help, and downgraded it from 2.06 to 1.08, but after install, still DG952, not DG992, that modified FW didn't work for me.

I wonder if the last FW 2.06 block this hack or what should I do. Thanks.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on November 12, 2021, 07:14:08 pm
The problem with many guides in this forum is that they get outdated and people tend to not read the rest of the thread... when many of the one-time guide authors already left the building...

Assuming that you did all the correct things while on 1.08, then you should upgrade this way: to 2.04->2.05->2.06.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JoeRoy on November 12, 2021, 08:06:44 pm
The problem with many guides in this forum is that they get outdated and people tend to not read the rest of the thread... when many of the one-time guide authors already left the building...

Assuming that you did all the correct things while on 1.08, then you should upgrade this way: to 2.04->2.05->2.06.

After install 1.08-> 2.04->2.05->2.06, still Not upgrading, let me explain my mess:

1) I found this thread:  https://www.eevblog.com/forum/testgear/rigol-giving-away-free-dg992s/ (https://www.eevblog.com/forum/testgear/rigol-giving-away-free-dg992s/)

I have the DG952 fw 1.08, follow that, and updated to 2.06, but still 952.

2) I found and follow these steps: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032)

Didn't upgrade.

3) after a while, I got how to downgrade it to 1.08 (reboot + push 'help')

4) installed 1.08 a couple of times, and never upgraded.

5) tried to apply the "Finish_Upgrade_2.04", after all versions (1.08, 2.04, 2.05, 2.06) and never worked.

SardineUpdate.GEL MD5 used:
1.08 - 29a15fcb1b5ec9fcd3626e70049b3267
2.04 - bd94a6cfb9ed348321c8af0ea52e971b
2.05 - 140f294f4f22b53274e1bec51a43e145
2.06 - 62f828ed747c8fe479a15065b5b7d227
Finish_Upgrade_2.04 - 2de08d63dacd89c3115eafca8706c6f7

I'm not sure if the first 2.06 installation created some hack-fix, but using these files isn't working.

Or, this hack was fitted for DG800 series and won't work on DG952.

Any help is welcomed. Thanks.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on November 12, 2021, 08:12:20 pm
Arghhh so many guides, so many confusion!!!!!!!!   |O |O |O

After downgrading to 1.08 follow this (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391).

Then do the sequential upgrade.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JoeRoy on November 12, 2021, 08:22:46 pm
Thank you tv84.

You file is this one: 6de41dffd6379504f7fec5aa4b889f89  DG800_sardinha.bin (8 bytes)

> DD command on a blank USB pen drive. - OK

> "With special USB disk inserted" - inserted in the AWG, right?

> "send the SCPI command" - using the "Ultra Sigma" ?

I use Linux and I guess I need to install the 'Ultra Sigma' in a windows-virtualbox, to be able to do this 'send the SCPI command', right?

Sorry about my question, but I never did this SCPI and I don't know how to "send it". Thanks.

* the version 1.08 is the original or the modified: 1.08 - 29a15fcb1b5ec9fcd3626e70049b3267 ?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on November 12, 2021, 08:51:47 pm
Only 1.08 modified let's you downgrade. The original, no.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TheBay on November 12, 2021, 09:16:12 pm
@JoeRoy,

I just replied to your PM.

Downgrade to 1.8 and check if it is showing as a DG992, if it is put the "Magic USB" in and send the SCPI command to set your serial number (If your serial number is not displayed)

Reply on here and let us know if yours is showing as a DG992 when you downgrade to 1.8, do not do any other steps yet till you have confirmed that.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JoeRoy on November 12, 2021, 09:23:14 pm
Thank you, I'm checking how to connect Linux to the AWG, which I think is using Telnet, I didn't find yet.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on November 12, 2021, 09:42:30 pm
Try telnet to the SCPI port.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: moore on November 15, 2021, 06:11:07 am
Seems the Rigol DG2102 has the same specs from Rigol DG992, but it's cheaper.

https://www.amazon.com/Rigol-DG2102-Function-Arbitrary-Generator/dp/B082287SZ8 (https://www.amazon.com/Rigol-DG2102-Function-Arbitrary-Generator/dp/B082287SZ8)

I wonder why, is there some tech difference?

I have the same question.  The DG2102 also has ethernet, and the bumpers which make it stackable.  What are we missing?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: THDplusN_bad on December 10, 2021, 09:16:23 pm
Good Day,

my fellow T&M enthusiasts - I am excited to get my DG811 that came with Firmware v00.02.06.00.01 "upgraded" soon. And I am very thankful for tv84's hard work and the tips other users have given earlier. Great job!

However, please may I ask you for your help as I cannot get the described method to work. I am clearly missing sth., but I am stuck at this point.

I have followed Vtech's summary, as confirmed by tv84: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600)

* Step 1 "downgrade to version 1.08 " completed w/o any problems. I have used the Firmware https://drive.google.com/file/d/16nC-uJ12MXilJElv4Eukvt1IW4RzGdb7/view?usp=sharing (https://drive.google.com/file/d/16nC-uJ12MXilJElv4Eukvt1IW4RzGdb7/view?usp=sharing) and I can confirm that the downgrade to FW version 1.0.8 works. I was happy to see that this has yielded to a DG992 with the default serial number. The unit identifies itself via USB as"Rigol Technologies,DG992,DG80000000001,00.01.08.00.01"
* Step 2 Prepare a "magic" USB stick. Completed. Triple checked that the magic byte code sequence is present at offset decimal 2 000 000 on a 2 GByte FAT32-formatted, empty USB stick. Tried another 1 GByte and a 16 GByte stick, with no change.
* Step 3 insert the magic stick into DG, change serial number and confirm DG model via remote control. This fails. I have tried this with the following Software. May I add that I am generally familiar with the remote controlling of instruments: NI MAX from National Instruments, Rigol's Ultra Sigma and Tektronix' Open Choice Talker Listener. The problem is that the ":PROJ:SN DG8A123456789" command simply fails.

Failure symptoms:

1) No reaction upon insertion of the USB stick. It gets detected and the USB symbol is present on the upper right corner of the display after a while.
2) After sending/writing the ":PROJ:SN DG8A123456789" command, the serial number did not change at all.  :-//
When I query "SYST:ERROR?", the DG responds with "-220,"Parameter error". I have confimed that the number of characters is correct "DG8A123456789".
I have tried all kind of syntax options including the omission of the ":", extra codes for the space character between the "SN" and the serial number and various termination characters - with the same error.
I have also tried to "*RST" and *CLS" the device after initial connection and confirmed that the ""SYST:ERROR?" respond was "No Error" before trying the ":PROJ:SN DG8A123456789". Again, all this was when running Firmware release version 00.01.08.00.01.

Did any other user succeeded with a DG811 with original Firmware v00.02.06.00.01 with this upgrade hack - or have Rigol managed to fix this with this FW?

My second question would be: tv84's "Finish_Upgrade_2.04.zip" file from this link: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/?action=dlattach;attach=1021788 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/?action=dlattach;attach=1021788) is only 2,084 bytes, i.e. 2 kBytes. Please can you confirm that this is actually correct?
I am asking this as there is no Pop Up message upon insertion of the flash drive on my DG.

Any pointers would be much appreciated.

Thank you and have a fine day.

THDplusN_bad
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on December 10, 2021, 09:57:33 pm
Hi,

To your second question about "Finish_Upgrade_2.04.zip":
A few pages earlier tv84 said: I've said it before: Finish_Upgrade should be used only by people that have a DG which came initially with v2.04. It doesn't do harm to others but it also doesn't do any good.
I hope this helps.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on December 10, 2021, 10:01:01 pm
 :-+

To the 1st question: I think it must be a USB drive thing. You must change USB and make sure the sector is as I explained. If the uSB disk sector is recognized the command must be accepted.

Once you lower to 1.08, the machine has no way of knowing that it came from 2.06 or else... In the 1.08 days none of those versions existed!

BTW, use the original method (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: THDplusN_bad on December 11, 2021, 07:57:22 pm
Good Day,

thank you for your prompt advice. Your tips are much appreciated.  :)

Ok, so let me roll back to FW release 1.08 and then try two new magic USB sticks I have purchased today. I shall let you know shortly...

Cheers,

THDplusN_bad
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: THDplusN_bad on December 11, 2021, 10:54:53 pm
Hello,

I am happy to let you know that my DG811 is now working as a DG922 with Firmware release version v00.02.06.00.01!  :)

Indeed, I had to go for another USB stick. This was the 4th one I have tried to provide the modified sector at offset dec 2 000 000, and the 1st that succeeded.
So, for anyone else who has similar problems as I had: Try a few USB sticks with the original modification as published by tv84. I have used an ubuntu system for the sector modification. I am never sure of hex editors on my Windows PCs, to be honest.

Needless to say that this feels great - thank you again, Swat and tv84!  :-+


Cheers,

THDplusN_bad
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on December 11, 2021, 11:51:51 pm
Welcome to the club, it's an amazing job of a few people!  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: trp806mo on December 16, 2021, 05:01:36 pm
For information, it's still working for my brand-new DG811 in version 02.05 which is now a DG992 in 02.06. Thanks to all, and even Rigol who let us do this kind of operation.  That's one of the reasons why I bought a DG811 instead of a second-hand 33120A from a friend. My first impression is that I made the right choice regarding my needs.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: pizzigri on January 05, 2022, 05:36:00 pm
Hello to everyone and especially TV84.
I got a 811 from Amazon. Had 2.05 in it. Downgraded with no problems to 1.8.....
and it upgraded itslef to a full 922!
I built a Key USB, that seemed to work -- I managed to write back the SN using Ultra Sigma and it worked OK.

What did NOT work was the Finish_Upgrade_2.04 passage.
I tried it after the 2.04 upgrade and got this message during the flash:
ERROR: bad script!

Then I thought that it had to be done after the first passage, following the SN change. Nope.
Well I tried just about everything including downloading the finish gel from different places in this topic - no joy... the DG811 reacts always in the same way. I'm basically stuck at a 1.8 DG922, or a up to 2.6.1 DG811...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on January 05, 2022, 05:53:44 pm
Well I tried just about everything including downloading the finish gel from different places in this topic - no joy... the DG811 reacts always in the same way. I'm basically stuck at a 1.8 DG922, or a up to 2.6.1 DG811...

Arghhhh....

Here (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3808535/#msg3808535).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: pizzigri on January 05, 2022, 10:49:42 pm
Hi TV84, and thank you for your help!
let me explain. The guide assumes I have a 1.8 while i have a 2.5 - so I downloaded the 1.8 "special" gel that automatically changes the 800 in a 900...
from here:

https://drive.google.com/file/d/16nC-uJ12MXilJElv4Eukvt1IW4RzGdb7/view?usp=sharing


so I have now a 922 with the original SN. <the first time I applied the 1.8, it reset the SN to a string of 0. I then changed the SN with the SCPI command. It stuck, and from that moment every time I "downgrade" it retains the SN.

Then, I connect the "special" disk, built with HXD (I do not have Linux unfortunately...)
at sector 2000000, it has this:
0B 0A 3B 2E 5F 4C EC BE FF FF FF FF FF FF FF FF

The device accepts the disk... with the big asterisk etc. I could change the SN from a string of 0000 the first time... I can modify it again... I can modify the type, i.e. making it a 972...

and it stays that way after the reboots, as a matter of fact I now changed the type to 972 for this reason so I assume the "special" USB works!

But what does NOT work is the "finish" passage...
I paste the 2KB GEL in a clean USB stick - the same that works doing all the firmware updates (including the downgrade) and it will still give me the
ERROR: bad script!
message. And that's where I'm stuck again.

Because if i then try to follow the upgrade path, say with the 1.08-> 2.04 it will not work reverting to DG811
testing 1.08-> 2.06, it will not work reverting to DG811 again
so the problem seems to be the finish upgrade gel somehow--- I am using a FAT32 usb, which is over 2 GB in size.

Blue logo DG811, fairly recent device, came with 2.05, SN is DG8A23190xxxx

BTW, wow it's really barebones, no cables no manual just the device and a couple of leaflets...it did come with the nice BNC cap tho
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on January 06, 2022, 10:22:47 am
Finish is only necessary if the original version was 2.04. Don't worry about that error. Don't run it! This info is all in the forum.

After downgrading to 1.08, upgrade gradually through all the versions as I said.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: pizzigri on January 06, 2022, 10:52:40 pm
Hi TV84...
Ok so nothing worked until I realized what I was doing wrong.
And no, I read thru all pages and it is not expressly mentioned.
Yes! the USB stick is the single most important thing, or rather choosing a stick that the DG accepts directly in the UI. It MUST be able to show the big asterisk and then show up in the upper right corner when inserted - and this is the best way to insure that both the "key" USB and the "install carrier" USB sticks will work as intended.
Do this before attempting any hex writing or update attempt.
I did this error because for the first downgrade to 1.08, it has to be done using the "press repeatedly the help button"method and this will work basically with any USB stick.... even one that would not be otherwise recognized by the fully booted DG811. That was my mistake, assuming that since it downgraded the 811 just fine, then it would work with all  other steps.
The USB key step went just fine, as I read about all the problems other forum friends had and chose accordingly the USB stick.

My problem was with the "finish" gel. Not seeing the USB stick in the UI, I assumed that I could use the same "press help at boot" method, and constantly got the error message.
So, the finish update file has to be installed thru the "update detected - want to install?" window dialog in the fully booted DG, after the SCPI commands with the USB "key". Again, it will fail with the mentioned error message if forced to install at boot. Once two usb sticks are found that the rigol likes (one for the key, one for the various upgrades) the hack works great.

In my case, a DG811 purchased in Italy thru Amazon with 2.05, TV84's finish gel update was critical, without it it would not update above 1.08 without losing the hack. Now, it works as a DG992 with 2.0601!
Once again, TV84, thank you so much for this great hack!!!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: gogo10 on January 14, 2022, 11:04:10 am
I'm sorry, but I would like to ask, how can the hack return to the original version of DG811?

Thanks.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on January 14, 2022, 01:33:57 pm
Try to use this failed attempt of mine (see Reply # 805). Everything looked promising, the model 992 and my SN were set up, but when I tried the STRAIGHT upgrade to the latest version, it returned me to the original model. So maybe it will work in your case as well. Maybe nothing can go wrong with that ...  :)

Edit: Of course you have to start again by setting version 00.01.08.00.01!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: pizzigri on January 14, 2022, 01:53:09 pm
I'm sorry, but I would like to ask, how can the hack return to the original version of DG811?

Thanks.
I believe you simply apply TV84’s downgrade firmware and then update the fw back to the latest release.
This removes any “hack”  and you return to the original configuration. That is what happened to me anyway multiple times until I discovered that the “finish” patch had to be started inside the bootstrapped UI....
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: gogo10 on January 14, 2022, 02:16:15 pm
Thank you for the info, but only the firmware version can be changed in these ways.
The model remains the same DG922, it does not change back to DG811.
Thank you.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on January 14, 2022, 03:52:22 pm
I would expect a engineer to come up with the solution...

If you want to rollback to 811, you just do the procedure and adapt the command to change the model to "DG811".
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: gogo10 on January 14, 2022, 04:53:09 pm
Sorry, I tried everything except the Linux solution. I'll try.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: gogo10 on January 15, 2022, 01:02:16 pm
So I tried the Linux procedure and it didn't work. I guess I'm doing something wrong.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on January 15, 2022, 03:53:06 pm
to gogo10: I sent you a personal message
Swat
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: gogo10 on January 15, 2022, 06:14:30 pm
to Swat: I sent you a personal message
gogo10
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on January 15, 2022, 06:34:58 pm
Thanks for the answer, it's a pity you still don't know what's wrong. Good luck!  :)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: quetzalcoatl on February 07, 2022, 09:01:24 am
Alright so I spoke with Rigol's service department, and they told me pretty much what I expected: these instruments arent intended to be manually calibrated by customers, but the service tech didnt know what mechanism (if there is one) that is preventing this from happening.  They do the calibration in house, and there is no known procedure for circumventing this.  He also mentioned that they do not provide calibration certifications of any kind, so even if the unit was professionally calibrated by them there is no way to document that fact other than the performance verification guide.  He also said that if I wanted a professional calibration with documentation that I could reach out to Transcat, as Rigol contracts with them for calibration services and that they may have more information on the process.  I did contact Transcat and I am awaiting their response, but I am not optimistic given that their entire business is charging people to calibrate things and I'm asking them how they do the calibration for this unit.

Regarding professional calibration.. That reminded me that I've got a certificate with my unit when I bought it. It surprised me a bit, because I think I didn't get any when I bought DS1052Z from them earlier, but well "oh how nice, I accidentally bought myself a certified unit with tracking" I thought and grinned and forgot about that totally. I was re-reading this thread and post reminded me about that and I dug it out, checked what exactly is written, and, ok, at very first glance it looks OK

Instruments used:
Agilent E4418B / Power Meter
Agilent 53131A / Universal Counter
Rigol DM3068 / Digital Multimeter
Agilent N8482A / Average Power Sensor
+ serial numbers + their calibration expiry date

I was somewhat surprised that there's no test device for checking signal shape, I'd think that a simple visual inspection of, say, sine and square, would be mandatory. And that the device used to dump and show the waveform should be calibrated as well, and as such listed in the table as well.. but then, that's a first such certificate I see, and the devices listed here seem very well fit for verifying signal levels, rms, and frequency.

You all got such certificate as well, right? That's not just some shady one-time marketing action? Does it look fine to you or is it a total garbage?

EDIT: I bought it 2021/08/06, calibrated 2021/04/07, well under those 180days, so that's unlikely that anyone ran any extra (re)calibrations on that one. I wonder what the resellers do when 180day passes.. send back to factory? get it re-calibrated and put second certificate into the box?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on February 07, 2022, 10:57:01 am
The linearity of the DAC can very well be verified with the multimeter, i.e. with a very low frequency ramp signal. If the amplitude flatness of the (sine) output signal meets the specs at higher frequencies (tested with the power meters), the waveform shape doesn't need to be checked since that's just a digital sequence of numbers, fed into the DAC. A fault here would have been detected during the test with the multimeter.

So I believe the instruments specified in Rigol's cal certificate will very well suffice for a complete calibration of the generator. ...If we only had the cal software...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: sarming on February 28, 2022, 12:44:45 pm
I just wanted to report that I successfully managed to enhance a new DG811 that came with FW 00.02.06.00.01 by following mandor's guide quoted below.
I did not need any intermediate upgrades or the magic USB stick.
I used a 10€ AX88772A USB-LAN adapter and (the Mac version of) Peter Dreisiebner's Rigol Bildschirmkopie (https://peter.dreisiebner.at/rigol-bildschirmkopie/) to issue the :PROJ:SN command without problems.
I hope that simplifies the situation for somebody in the future. Thanks to all for your great work!

OPTIONAL STEP - Backup calibration and internal memory
OPTIONAL STEP - Backup NAND
STEP - Downgrade to 01.08.01
STEP - Upgrade to latest firmware version 02.06.01
STEP - Reconfuse Rigol into thinking DG992 way  [aka Finish Upgrade 2.04]
OPTIONAL STEP - WRITE SERIAL NUMBER TO DEVICE
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: rigol992 on March 13, 2022, 01:40:06 pm
One more DG992!
Some learnings while starting with a 2.05 FW version.

Except the downgrade, all other upgrades MUST be done while in the regular UI and after the question pops up if you want to upgrade.
If you do not get this question do NOT run anything (upgrade or finish) directly after poweron and pressing the help button but try a different USB memory
Test with the magic USB sector if you can change the SN and model number, if not, try a different USB memory.
All down/upgrades where done using a 32GByte USB memory formatted under windows as FAT32 with default sector size, but with the hidden folder "System Volume information" removed!!!
Remove the hidden folder and Eject immediately so Windows can not create a new hidden folder.
Extremely important! After downgrade, repair SN and upgrade to 2.04 the unit reverted to DG8xx (your original HW), running Finish_upgrade_2.04 after getting the upgrade prompt the unit was back in DG992 mode. NEVER run the Finish_upgrade_2.04 directly after boot and pressing help as this will give a script error message and will not work.
Upgrading directly from 2.04 to 2.06 (I could not find the 2.05 FW) worked with without any problem.

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 17, 2022, 01:26:30 pm
Hi, I am the newbie in the forum. I have bought a brandnew DG812 (fw 2.06) and hacked  to DG992 and updated form official fw 2.04 directly to the fw 02.06.01 without any problem  thanks to tv84 and Vtech.
Yes, still hackable
Everthing is OK

But I couldn't find wave forms such as "arcsin, arccos, arctan...." in "Maths Menu", any idea?

Huge thanks for tv84,Vtech and the other contributors.

Note:
Path for "Maths" wave forms: Turn on, press "home", press "arb", left slide down to "Maths"
Fw link:https://www.rigolna.com/firmware/
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on March 17, 2022, 02:41:21 pm
Hi,
I don't have such signals there either. I wondered what it would be good for. Arcus is an inverse function, so for example the graph arcsin is a curve that oscillates around the y-axis, just like the graph sin around the x-axis. Do you have an idea to use it?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 17, 2022, 03:04:58 pm
I do not have an idea.
ARC type trigonometric waveforms are specified in the DG900 manual.
These ARC type waveform icons do not exist in the "Math" menu.
Please, can someone check this out on his 992?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: vutt on March 17, 2022, 07:53:10 pm
Another new satisfied DG992 owner here  :-+ thanks to this guide: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032)
Worked just fine with very ancient 4GB stick with standard Win11 FT32 FS format. I was bold enough to skip all optional steps. 

Just for the record I upgraded DG812 (v2.05). Looks like both channels are still working in "DG992" mode

-----------
Edit: I was wondering about Rigol pricing strategy...
...assuming they are selling DG811 with minimal profit margin does this mean that price delta between 811 and 9XX models is pure profit!!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 18, 2022, 09:18:45 pm
For Vutt's edited message: I don' t think so
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on March 18, 2022, 09:33:55 pm
Edit: I was wondering about Rigol pricing strategy...
...assuming they are selling DG811 with minimal profit margin does this mean that price delta between 811 and 9XX models is pure profit!!

Its pure profit in the sense that they make that much more money on the higher models.
But, they still need to cover R&D, NRE, advertising expenses, etc. So if they only sold DG811's, they'd likely lose money. They probably have an idea ahead of time what quantity of each tier they are going to sell, and what prices need to be.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on March 18, 2022, 11:04:14 pm
The 9xx model may undergo a lengthier calibration procedure -- the 8xx variey isn't calibrated all the way up to 100MHz and apparently also has fewer calibration points in the low frequency region. Nevertheless, the latter perform quite nicely up to ~70MHz and show some 1.5...2dB of level drop up to 100MHz which isn't a show stopper for most hobby applications.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 24, 2022, 05:47:34 pm
ARC type trigonometric waveforms are specified in the DG900 manual.
These ARC type waveform icons do not exist in the "Math" menu.
Please, can someone check this out on his hacked to 992?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on March 24, 2022, 11:38:13 pm
@eevin - you are correct. I just downgraded my DG811++ to F/W 02.02 and found way more arbitraries in the built-in folders, among them a whole lot of ARC-Trigonometric functions. Someone at Rigol must have had a big "Oopsie" assembling the latest firmware... I guess we should pester them for a fix -- well, maybe better those who bought a "real" DG9xx  ;D

Edit: Just checked with F/W 02.05: Here's the complete set of arbitraries still available, so only the 02.06.01 version appears to be troubled by this bug...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 25, 2022, 08:30:23 pm
Thank you TurboTom for info. BTW could you please give a link for fw 02.05?


Edit: I have also downgraded it from fw 02.06.01 to fw 02.04 and "ARC icons" appeared and
espacially push type rotary knob is functioning properly anymore, I think it is more stable according to fw 02.06.01 now.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on March 27, 2022, 12:27:06 pm
for you
Official website firmware
SardineII(ARM)Update00.02.05.00.00

https://pan.baidu.com/s/1QEBuXdNI1lWbGBG9zqRGeg?pwd=969r
Extraction code: 969r
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: gogo10 on March 27, 2022, 01:41:37 pm
To: jscm2000

Please, wouldn't it be sent somewhere to download? Thank you.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on March 27, 2022, 02:23:42 pm
Hi, you can download it here - but it's time limited.
out of order
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: gogo10 on March 27, 2022, 02:54:11 pm
Thank you.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on March 27, 2022, 03:40:53 pm
 :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 27, 2022, 07:08:42 pm
Thanks; "jscm2000" and "swat"   :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on March 28, 2022, 03:21:05 am
To: jscm2000

Please, wouldn't it be sent somewhere to download? Thank you.
Hi! The size of the attachment is too large and cannot be uploaded here. I don't have a better network disk. But I found that the firmware sent by Swat is different, the firmware I sent is from the official website.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 28, 2022, 10:53:36 am
Jscm2000 could you refresh the link? Because it is expired.

I have uploaded FW (02.05) given by Swat but observed minor mistakes such as  push sensing fault of rotary knob sometimes.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on March 28, 2022, 11:12:51 am
Hi guys,
I downloaded the firmware 02.05 from bulba99, a member of this forum, but I only used it for a partial upgrade and I immediately upgraded to version 02.06. So I didn't test 02.05 in any way. If that file isn't okay, I'm sorry, I didn't know it.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 28, 2022, 04:13:54 pm
Swat, it is not a problem, we are examining the device and learning. It is easy to downgrade or upgrade  :popcorn:

Could you check the "Math" menu for ARC trigonometric icons?
Because these icons disappread by the uploading of fw 02.06.01

Also please give a link for fw 02.06.00
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on March 28, 2022, 05:10:08 pm
Ok, here is a link to the "my" 02.06 firmware file:
out of order
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 28, 2022, 06:38:23 pm
Thank you Swat. Uploaded and again "icons" disappered in the math menu.
Then, I have noticed that the it is written in the relase notes for fw 02.06.00.01 sent by Swat

Jscm2000 could you refresh the link? Because it is expired. :-//
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 28, 2022, 08:15:47 pm
How can I activate the advanced properties of Rigol Ultra Station ? Thank you for any help from now
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on March 29, 2022, 03:28:19 am
Jscm2000 could you refresh the link? Because it is expired.

I have uploaded FW (02.05) given by Swat but observed minor mistakes such as  push sensing fault of rotary knob sometimes.

hi!
I upgraded from 02.04 to 02.06, and the situation is the same as you. Many arbitrary waves are missing from the menu, and it is normal to refresh back to 02.04.
Official website firmware SardineII(ARM)Update00.02.05.00.00 Download URL:
https://pan.baidu.com/s/1EN5SAPcvxLiBXp7Dpk2nTQ?pwd=r5mf
Extraction code:r5mf
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Swat on March 29, 2022, 06:45:21 am
After a few attempts, I downloaded the exe file from jscm2000, but it crashed when I tried to unzip it. When I tried again, only a warning came. Even the simplest Chinese seems to be too complicated for me  |O. Has anyone been successful in this matter? I just need some ordinary rar or zip!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 29, 2022, 12:35:01 pm
Me too, not downloaded.
If it is possible, please another link Jscm2000?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on March 30, 2022, 03:09:35 am
Please leave your email, I can send to your email
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 30, 2022, 08:48:19 am
ertanevin@gmail.com
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: jscm2000 on March 30, 2022, 11:59:27 am
ertanevin@gmail.com
Sent, please check your email.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on March 30, 2022, 12:05:13 pm
ertanevin@gmail.com
Sent, please check your email.

Thanks for the firmware file jscm2000!

While we are on the subject, would you be willing to share how you did your special calibration technique?  If you want to share it privately and have it stay private, my email is s.blakley86@gmail.com
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on March 30, 2022, 01:50:40 pm
...

Thanks for the firmware file jscm2000!

While we are on the subject, would you be willing to share how you did your special calibration technique?  If you want to share it privately and have it stay private, my email is s.blakley86@gmail.com

@jscm2000: I think many members here would be highly interested in this information... So please, share some knowledge!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 30, 2022, 01:52:22 pm
Me too, I'm looking forward to calibration info, Jscm2000
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 30, 2022, 02:47:21 pm
ertanevin@gmail.com
Sent, please check your email.

Thanks  :-+
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eevin on March 31, 2022, 06:21:21 pm
How can I activate the advanced properties of Rigol Ultra Station ? Thanks for any help from now
(Is there a solution on "https://www.gotroot.ca/rigol/"?)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: vutt on April 16, 2022, 02:12:50 pm
Getting started with LXI LAN wonderful world in my little home lab corner. My current Siglent DMM and Rigol scope have LXI support.
It looks that I can add USB-LAN adapter to my "upgraded" DG812 unit. Will it be LXI protocol compatible? Manual does not mention keyword LXI anywhere...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: nfb on April 16, 2022, 11:04:46 pm
Getting started with LXI LAN wonderful world in my little home lab corner. My current Siglent DMM and Rigol scope have LXI support.
It looks that I can add USB-LAN adapter to my "upgraded" DG812 unit. Will it be LXI protocol compatible? Manual does not mention keyword LXI anywhere...

Yes it is.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: kronos on April 23, 2022, 03:03:07 pm
Thanks to you, I have a DG811+, with FW 2.06. Great job by the people making this possible.

I have noticed errors in the FW:
1) As some noticed, most of math arb waveforms are missing. But also some engineering waveforms: all from TV (voice, surge, radar, etc).
2) It does not connect via USB to my DS1102Z-E, as it should, in order to transfer the waveform seen by the DSO to the SG. Both devices detect the USB connection, but the DSO does not get into slave mode and the corresponding menu in the SG does not appear.

Should I downgrade to 2.04, or does it have some issues?




Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SpacedCowboy on May 01, 2022, 02:48:41 am
So I bought a DG812 off Ebay last week, and it came with the v00.01.08.00.01 firmware (I guess I got lucky :) and following @tv84's instructions in post 146 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391) has turned it into a DG992.

I used Windows to format the flash drive to FAT32, but didn't tell it to do anything special, then ran dd on a linux box, then did the SCPI command using UltraSigma. Worked wonderfully, thank you tv84 :)

The only wrinkle was that I was trying to use a network cable connection for the SCPI, and the DDG812++ only has 1 USB host port, and it doesn't seem to like using a USB hub to plug in both the USB<->Ethernet and the USB flash drive at the same time. So I had to string a *very* long USB cable between the PC and the DDG.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on May 01, 2022, 08:20:54 am
The direct USB connection between the DG800++ and the PC may have an additional disadvantage: Both ports are ground-referenced. On the AWG, the ground is referenced to PE and on (stationary) PCs (usually) as well, so you may end up with a ground loop, especially if the wall outlets that the two devices are plugged in, are "electrically" remote from each other. This may or may not cause a problem with your measurement setup, but if you should encounter noise or hum issues, you should at least keep that in mind and try cutting the USB link to identify the problem.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SpacedCowboy on May 01, 2022, 02:32:12 pm
The direct USB connection between the DG800++ and the PC may have an additional disadvantage: Both ports are ground-referenced. On the AWG, the ground is referenced to PE and on (stationary) PCs (usually) as well, so you may end up with a ground loop, especially if the wall outlets that the two devices are plugged in, are "electrically" remote from each other. This may or may not cause a problem with your measurement setup, but if you should encounter noise or hum issues, you should at least keep that in mind and try cutting the USB link to identify the problem.

Now that it’s “upgraded”, I’m free to just use the network connection, and since I’d wired that in neatly, that’s the plan, but I’ll bear that in mind if it happens that I need to use the USB connection in future.

Both PC and DG800++ are ~10’ away from the sub-panel in the shed, but they’re on opposite sides of the shed. The PC isn’t very accessible (it sits 6’ up on a shelf with wiring coming down to a KVM, I’m generally using the Mac Studio) and the only USB cable I had that was longer than 6’ was a 30’ one that I’d previously used to hook up an SDR-based radio-telescope)…
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: at2 on June 12, 2022, 02:03:47 pm
Thanks to you, I have a DG811+, with FW 2.06. Great job by the people making this possible.

I have noticed errors in the FW:
1) As some noticed, most of math arb waveforms are missing. But also some engineering waveforms: all from TV (voice, surge, radar, etc).
2) It does not connect via USB to my DS1102Z-E, as it should, in order to transfer the waveform seen by the DSO to the SG. Both devices detect the USB connection, but the DSO does not get into slave mode and the corresponding menu in the SG does not appear.

Should I downgrade to 2.04, or does it have some issues?

1.)The same problem as mine.
Perhaps could the problem be solved by copying the original arb files from an DG811 and send them back to the patched system?
Perhaps someone could have these arb files in original and could post it?

Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: at2 on June 12, 2022, 07:54:18 pm
Thanks to you, I have a DG811+, with FW 2.06. Great job by the people making this possible.

I have noticed errors in the FW:
1) As some noticed, most of math arb waveforms are missing. But also some engineering waveforms: all from TV (voice, surge, radar, etc).
2) It does not connect via USB to my DS1102Z-E, as it should, in order to transfer the waveform seen by the DSO to the SG. Both devices detect the USB connection, but the DSO does not get into slave mode and the corresponding menu in the SG does not appear.

Should I downgrade to 2.04, or does it have some issues?

1.)
All arb waveforms are there, but without the pics. Only Push the knob down into the next free and empty Space and the next function appears with icon.
But why the pics aren‘t shown. I don‘t know.
There is somewhere  a bug. But where?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: at2 on June 13, 2022, 04:01:14 pm
I hope no one minds me summing up the steps one more time for clarity. It's other peoples hard work we have this, not mine.

It's misleading such a detailed procedure to end up without a valid S/N. You missed the steps to keep the S/N!

Hello TV84,

after doing the upgrade steps with success  there are some arb files missing in the DG992.
They are present but not shown as icon like it should.
Is this a known problem after this patch or not likely ?

 
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: wmattias on June 29, 2022, 01:35:16 pm
Just wanted to report that I recently purchased and "upgraded" a DG811 that came with Firmware 00.02.06.00.01.
The main selling point for me was Fanless design, otherwise I would likely have gone with the Siglent.
Overall I like the usability of the DG800, UI is fast, responsive and easy to use.

Upgrade Path

I followed Post #867 and Post #809.

USB Drive & Ethernet Dongle Compatibility

I had some issues with getting the DG811 to recognize my USB drive, but a tried a few different ones and one of them worked.

I also ordered a few USB Ethernet connectors, some didn't work but this one did:
"Rankie USB Network Adapter, USB 3.0 to RJ45 Gigabit, Black" (ASIN B010SEARPU)
https://www.amazon.se/-/en/dp/B010SEARPU/ref=sr_1_1?crid=1XHI89LOGVOCI&keywords=Rankie+USB+N%C3%A4tverksadapter%2C+USB+3%2C0+till+RJ45+Gigabit%2C+Svart&qid=1656509153&rnid=20693452031&s=electronics&sprefix=rankie+usb+network+adapter+usb+3.0+to+rj45+gigabit+black+%2Caps%2C89&sr=1-1 (https://www.amazon.se/-/en/dp/B010SEARPU/ref=sr_1_1?crid=1XHI89LOGVOCI&keywords=Rankie+USB+N%C3%A4tverksadapter%2C+USB+3%2C0+till+RJ45+Gigabit%2C+Svart&qid=1656509153&rnid=20693452031&s=electronics&sprefix=rankie+usb+network+adapter+usb+3.0+to+rj45+gigabit+black+%2Caps%2C89&sr=1-1)

Missing Waveforms

I can also confirm the some of Waveforms are missing. No icon shows up, but they are there. When i scroll no icon appears either, but after having pushed on a black area the waveform will be selected and subsequently visible in the "Arb/Common" shortcuts menu.

The following are missing (I didn't list all, just first and last):
Engineering: Voice, Surge, Radar, ..., PWM
Medical: ECG7, ..., Tens3
Math: ErfInv, ..., TukWin

Measurements

There's an amplitude drop when approaching 100 MHz.
Can't tell if it's my Oscilloscope, Test Setup, or the DG811.
Providing my testing results here (see attached image).
Tests done using DG811, SDS2104X Plus (upgraded to 500 MHz 2354X Plus), and a Caltest CT2417 50 cm BNC Cable.




Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tautech on June 29, 2022, 09:06:42 pm
..............
Measurements
There's an amplitude drop when approaching 100 MHz.
Can't tell if it's my Oscilloscope, Test Setup, or the DG811.
Providing my testing results here (see attached image).
Tests done using DG811, SDS2104X Plus (upgraded to 500 MHz 2354X Plus), and a Caltest CT2417 50 cm BNC Cable.
Yep, reported about on the previous page in this thread:
The 9xx model may undergo a lengthier calibration procedure -- the 8xx variey isn't calibrated all the way up to 100MHz and apparently also has fewer calibration points in the low frequency region. Nevertheless, the latter perform quite nicely up to ~70MHz and show some 1.5...2dB of level drop up to 100MHz which isn't a show stopper for most hobby applications.
This will certainly be a show stopper if you need accurate results from the Bode plot feature in your X-Plus DSO anywhere near its max capability of 120 MHz.

About that scope, straight from the factory the 100 MHz model has a -3dB BW point of ~185 MHz.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: mawyatt on June 29, 2022, 09:54:14 pm

Can't tell if it's my Oscilloscope, Test Setup, or the DG811.
Providing my testing results here (see attached image).
Tests done using DG811, SDS2104X Plus (upgraded to 500 MHz 2354X Plus), and a Caltest CT2417 50 cm BNC Cable.

Make sure you are not using the 10 bit mode with your SDS scope. We just did a quick test since everything was already setup with both SDS2000X+ scopes (2 and 4 channel), and used a quality cable. Our source was a SDG2042X AWG, and the reading was just ~0.05dBV down on 2 channel and 0dB at 120MHz on 4 channel. Then we used a SDG6022X AWG and 2 channel was down ~2.8dBV and 4 channel ~1dBV at 500MHz. Awhile back one of the scopes measured ~600MHz -3dBV using a RF source, probably 4 channel but can't remember.

Anyway, hope you get this sorted out.

Best,
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: wmattias on June 30, 2022, 07:45:28 am
@tautech : Yeah, agree it's extremely unlikely it's the scope. Like you said, 99.9% it's the DGxxx calibration that is needed (just like you mentioned other users reported). Love that scope btw.

@mawyatt : Ha ha, yeah initially I actually had the 10-bit mode on. Was a bit surprised by the (even sharper) falloff (measured 589 mVpp @ 100 MHz) - then I remembered the 10-bit mode has a cutoff @ 100 MHz. So yeah, scope and cable should be fine. The high frequency drop is similar to what other users who upgrade the DG8xx reported (i.e. calibration procedure needed).


Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: suspension on October 16, 2022, 05:20:47 pm
Hi everyone, I am also thinking of buying a DG8xx model and use this hack to upgrade to DG9xx model. Could I please know if this hack still works and latest tutorial/instructions on doing the same? Also great if I can know what the major limitations are in this approach.

Thanks
Sus
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: trampas on October 25, 2022, 04:41:31 pm
I have tried two different USB LAN adapters and neither has worked.  Does anyone have a link to one that does work?

Thanks
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on October 25, 2022, 10:11:40 pm
I have tried two different USB LAN adapters and neither has worked.  Does anyone have a link to one that does work?

Thanks

https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420487/#msg2420487 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420487/#msg2420487)
RLT8152
ASIX AX88772 (UGREEN adapter, USB2.0)

or you can click "Print" at the top and search this thread for links to what people bought.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: trampas on October 26, 2022, 04:20:37 pm
Thanks!
I got this one today and it worked:
https://smile.amazon.com/gp/product/B00484IEJS/ref=ppx_yo_dt_b_asin_title_o02_s02?ie=UTF8&psc=1
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: suicid on November 13, 2022, 10:42:24 am
Hi folks!

Anyone has a fix from Rigol for missing waveform icons in Engineering, Medical and Math menus in FW 02.06.00.01 ? The latter (Math) is most annoying :(
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: suspension on November 21, 2022, 06:02:42 pm
Just wanted to confirm that the upgrade process documented in the post #493 worked well with my DG811 without any issues. Device had firmware version 2.06 originally. After this process the device has 2.04 version firmware. The post #809 mentions that the device can be upgraded to 2.06 although I was not able to find such a firmware version for series 900 in Rigol's website.

Tested 100MHz sinewave (2v pp) and works well although full swing is around 620mv. See my pics.

Thanks everyone who have contributed to this.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TK on November 23, 2022, 04:26:32 am
Tested 100MHz sinewave (2v pp) and works well although full swing is around 620mv. See my pics.
What type of cable are you using to connect the signal generator to the scope?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: suspension on November 23, 2022, 05:38:05 am
 |O
I didn't have one so used the scope probe and completely forgot that I used a scope probe!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Sonicsx on November 27, 2022, 06:34:35 pm
HOW TO CHANGE RIGOL DG800/DG900 MODELS

1. Get a blank formatted USB disk (capacity >= 1GB)

2. Write signature in the disk with the following command (in linux):

        sudo dd if=DG800_sardinha.bin of=/dev/sda1 bs=512 seek=2000000

3. With special USB disk inserted, send the SCPI command (for example) to change model to DG992:

        :PROJ:MODE DG992

Possible model types (as seen in the first 4 bytes of sd.xx configuration file):
00 - DG811
01 - DG821
02 - DG831
03 - DG812
04 - DG822
05 - DG832
06 - DG952
07 - DG972
08 - DG992

ATTENTION: Use a blank disk and be sure it's mounted as /dev/sda1. Don't blame me if you do things wrong!!

(I included some pics kindly sent by a voluntary member)

Hi @tv84 and folks,

Nice job Sir!! But I think I've read this post too late. I have purchased the DG2052 and I'm wondering If this hack might also apply to this model since they share almost the same layout with DG800/DG900.

Thank you!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: ToThePub on December 02, 2022, 05:39:48 am
@Sonicsx Why don't you just try it and let us know. Just use :PROJ:MODE DG2102 instead. Let us know as I want to get the DG2000 (due to the format) if I can turn a DG2052 to a DG2102.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Candid on December 25, 2022, 09:24:08 am
I wrote an email to support about the missing waveforms with firmware 2.0.6 and got a quick response, that they could replicate the problem and that it has been reported to R&D department. So hopefully we will se a news firmware version soon. Didn't do this someone else before? As far as I could research no one did before?

Candid
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: frozenfrogz on December 30, 2022, 05:19:34 pm
Couple of days ago, the trigger output of my DG812 went tits up. :/
I am now seeing a constant +3.36V on the output. My guess would be a fried FET, though I have no idea how this happened.

Steps already taken:
-> Firmware downgrade to 1.08 and back to 2.06, to see if it could be a software issue.
-> took a look inside and checked for visible damage

Both turned up nothing so far.

Are there any schematics floating around the web?
Anyone having fixed a similar issue?

Edit:
Trigger output seems to consist of various ESD / clamp diodes, a HC4053M multiplexer for both channels and a TI buffer/line driver (HA125 is 74AHC125PWR?) per channel. Since both outputs show the same behavior, my guess would be the multiplexer - just a first guess though..
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: beddy on February 11, 2023, 07:31:41 am
I was the enabler that helped but the true discoverer of this alternative method was bulba99.  :clap:

(when he told me the simple operation he had tried I was sure that he had solved it...)

I crafted this script so that all who were waiting this last step can finish the 2.04 upgrade.

This is a supplement to the rest of the upgrade process not a replacement!

This file is work with my DG2052, changed to DG992. The problem is the keybord of the device is not same, some of them can't work anymore.
Could you tell the logic of the hack file, or change something help me to upgrade to DG2102? Thanks a lot.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf on February 11, 2023, 07:09:46 pm
@beddy Does your network card still work?

I got the DG2052 too and tried the step in 2021 already without luck. I ended up with a 992 looking device without ethernet.

At the moment i figure out the JTAG connectivity. It's a bit tricky. I got it to work with a CJMCU-232h and a TIAO tumpa adapter. My Olimex Tiny H and a Segger Jlink can't establish tap access.  I used a Jtagulator to find the JTAG pins. They are located on the 2x10 pin-holes. I removed the long pins below the board. They are not connected to any line. They only prevent access to the pin-holes.


Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: beddy on February 12, 2023, 02:20:30 am
The network can't work now. But a good news is if I update the fw to 2.2, the device will go back to DG2052, and update to fw 2.6 will change to DG992. Very strange.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on February 12, 2023, 07:02:31 am
Looks like you used not the original FW but a FW from this forum. Perhaps the latter incorporates some unix script, which was manufactured by tv84 specifically for those not able to type :proj:model. And 992 is "hardcoded" there. Nothing is strange. That's what I think. On the other hand, thanks for sharing this. DG8xx/9xx/2xxx all uses the same Sitara SoC that has Ethernet on-board. So it was not clear what will happen if to populate DG/8/9 with LAN socket manually. Now we know that it'll make no sense as LAN is disabled in FW.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on February 12, 2023, 09:01:17 am
You all must be aware that my DG800/900 investigations precede the release of the DG2000 model.

As such, it was never guaranteed to work with the new model even if using the same FW.

Rigol did introduce/correct some countermeasures in the FW to make harder the DG900 migration let alone a migration to DG2000.

As I remember there were some members who tried the DG2000 migration with some help from me and by lack of time, interest, etc., I wasn't able to solve their rollback.

Nonetheless, I'm completely sure that a solution can be found. One of these days I might step in to help some ongoing effort but, for now, I don't have time for this quest.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on February 12, 2023, 09:10:47 am
Could you tell the logic of the hack file, or change something help me to upgrade to DG2102? Thanks a lot.

Just a small hint from memory: the public procedure involved an old FW release that allowed the SCPI commands to change model. Those old FW releases (prior to the DG2000 rollout) didn't have the DG2000 models designations.

So, once you force an unknown model designation in the old FW (exclusive to DG800/900) the device gets into an unstable situation where it doesnt know how to properly behave for all the settings that are based on it model designation.

AFAIR, that is what you guys are dealing with. Of course there is always the direct access to the FRAM to change the model designation back.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf on February 12, 2023, 09:23:02 am
@Njk Seems the nic is disabled in FW yes. If i compare my UART log file with the content TurboTom posted here: https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3244488/?topicseen#msg3244488 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3244488/?topicseen#msg3244488)

MY DG2052 UART log:

Code: [Select]
Welcome to RIGOL DG800 system

rigol login: [    5.004776] sardine-adc TI-am335x-adc: initialized
[    5.085171] fram 0-000a: initialized
[    5.145170] beep pwm:beeper,hwpwm:0,period:2000,polarity:0
[    5.158296] pwmdev-beeper beeper.7: initialized
[    5.215597] gpio-led led.8: initialized
[    5.904847] ts-ft6336U 2-0038: ts_ft_i2c_write i2c write error.
[    5.911376] ts-ft6336U 2-0038: ts_ft_i2c_write i2c write error.
[    5.917707] ts-ft6336U 2-0038: ts_ft_i2c_write i2c write error.
[    5.924679] read: i2c_transfer error!
[    5.928601] ts-ft6336U 2-0038: ts_ft_i2c_write i2c write error.
[    5.935278] read: i2c_transfer error!
[    5.939202] ts-ft6336U 2-0038: ts_ft_i2c_write i2c write error.
[    5.945754] read: i2c_transfer error!
[    5.950566] input: Rigol-FocalTech TS as /devices/ocp.3/4819c000.i2c/i2c-2/2-0038/input/input0
[    6.042928] input: rigol keyboard as /devices/ocp.3/48022000.serial/input/input1
[    6.075187] rigol-kbd 48022000.serial: initialized!
[    6.160813] usbcore: registered new interface driver usbtmc
[    6.235207] usbcore: registered new interface driver asix
[    6.285194] usbcore: registered new interface driver r8152
rmmod: can't unload module 'usbtmc_dev': No such file or directory
rmmod: can't unload module 'libcomposite': No such file or directory
[   21.373285] Rigol Device gadget: Usb device Gadget, version: 2016 July 26
[   21.380595] Rigol Device gadget: Rigol Device ready
[   21.478966] usbcore: deregistering interface driver usbtmc
[   21.585188] usbcore: registered new interface driver usbtmc
[   21.618089] net eth0: initializing cpsw version 1.12 (0)
[   21.725121] net eth0: phy found : id is : 0x221561
[   24.094660] Boot process: boot process end!
[   24.601829] boot_process_stop: boot process stop = 1
[   31.360636] random: nonblocking pool is initialized
The "net eth0" lines are missing in TurboTom's log-output. Same chips, same  firmware.
@beddy Can you provide a UART boot log output from your fake DG992 status?
I'm curious if the net eth0 line  is present.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on February 12, 2023, 12:57:41 pm
The "net eth0" lines are missing in TurboTom's log-output. Same chips, same  firmware.
@beddy Can you provide a UART boot log output from your fake DG992 status?
I'm curious if the net eth0 line  is present.
That's an interesting questions indeed. According to the previous reports, someone was able to log in to u-boot console using known credentials. If eth0 is enabled there? If the device tree structure is the same for all the DGs? Is it possible to log in to system console to see all the config details?

Anyway AM3352 is a good chip. It's not from a copy-past Asian vendor, it's directly from TI. There is a mature literature department, so a first class documentation, a bare metal SDKs, a Linux SDKs, support forum, etc. And it's not a new chip, most errata are known. Also, the BeagleBone boards are based on almost similar chip. The design seems a good target. It's not clear why the calibration data are not yet investigated here
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf on February 12, 2023, 05:22:48 pm
This are the JTAG Pins. The test-pads on the bottom side are not regognized as JTAG by Jtagulator. They have Signals and are connected to the Pinheader as shown in the Picture.

The exposed JTAG pins on the Mainboard near the Spartan 6 have strong pullup resistors. The JTAG pins on the CPU-board have much higher resistance values and are less usable. Maybe thats why i have  reset problems in openocd. I'm a newbie in jtag stuff. TopJTAG Probe could find the AM3552 with my Olimex Tiny H. In openocd i had less problems with a CJMCU-232H or (the better choice) a TIAO tumpa board.

To get JTAG access with openocd, i had to stop the boot process in uboot. Another way is, preventing the system from reading the W25X40 SPI eeprom by shorting pin 2 (DO) to pin 4 (GND) (see picture).

In openocd i startet the server with "openocd -d3 -f interface/ftdi/tumpa.cfg -f target/am335x.cfg"
and connected with "telnet localhost 4444" to it.

In openocd it looks like:
Code: [Select]
> scan_chain
   TapName             Enabled  IdCode     Expected   IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
 0 am335x.tap             Y     0x00000000 0x4b6b902f     4 0x01  0x0f
 1 am335x.m3_tap          n     0x00000000 0x4b6b902f     4 0x01  0x0f
 2 am335x.jrc             Y     0x2b94402f 0x*b94402f     6 0x01  0x3f

> targets   
    TargetName         Type       Endian TapName            State       
--  ------------------ ---------- ------ ------------------ ------------
 0  am335x.m3          cortex_m   little am335x.m3_tap      tap-disabled
 1* am335x.cpu         cortex_a   little am335x.tap         running

> halt


Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf on February 12, 2023, 07:37:36 pm
Maybe the electrical characteristic of some pins might be of interest for someone.

I attach a LibreCalc table. Rename the file to .ods.
Btw. the JTAGulator doesn't found JTAG pins on the 2x5 pin-holes on the Frontboard (keyboard).
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on February 13, 2023, 04:49:07 pm
That's an interesting questions indeed. According to the previous reports, someone was able to log in to u-boot console using known credentials. If eth0 is enabled there? If the device tree structure is the same for all the DGs? Is it possible to log in to system console to see all the config details?

Anyway AM3352 is a good chip. It's not from a copy-past Asian vendor, it's directly from TI. There is a mature literature department, so a first class documentation, a bare metal SDKs, a Linux SDKs, support forum, etc. And it's not a new chip, most errata are known. Also, the BeagleBone boards are based on almost similar chip. The design seems a good target. It's not clear why the calibration data are not yet investigated here

The calibration data has been investigated (by me, TV84, etc), see this post (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3273236/#msg3273236)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on February 14, 2023, 12:11:13 am
The calibration data has been investigated (by me, TV84, etc), see this post (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3273236/#msg3273236)
Yes I've seen that. Actually, the information is distributed along the thread with low density. To figure out the status, let me to provide a quick summary here.

1. Calibration data. Currently, we have the data files for DG811 device. To my understanding, the promotion procedure does not alter the data, while the respective files for a true DG9xx device are still not available. Also, we have two sets of the cal files for the DG2052 model. That's all.

2. Key findings:
Quote
Well, CalibrationInfo.dat files from DG2052s are precisely the same file as in a DG811. The only difference is the date. The mac.dat shows the difference of MAC addresses. So all actual differences are in CalibrationData.dat. Nonetheless it is very similar.
Quote
I just uploaded Hobbit13's first set of CAL files onto my DG811+++, and indeed now get a pretty accurate amplitude up to 100MHz, yet with a DC offset of a few tens of millivolts.
Quote
At least, switching CAL files finally proves that the hardware of the DG800 series is absolutely capable of produceing a flat output up to 100MHz.
Quote
I compared the CAL files more thoroughly and as it seems, there's more to it than just copying some contents of the DG2052 cal file over the existing "zeros" of the DG800's. The structure is the same, as is the size, but it seems that some blocks contain identical byte sequences but placed at different offsets. So there may be "table descriptors" that are relocated which will make a blind copying of values futile.
Quote
What you're seeing in my pixelized images are just half of the original .dat files content, because the halfs are similar. And each the half has its CRC at the beginning (i think it's an crc). As we see in the pics, each the half, in turn, consists of 2 similar halves, which I suppose are the calibration data for 2 different channel.
Quote
According to the Chinese Service Guides, the Motherboard part numbers (2010004229) in the DG800 and DG900 are identical. The DG8xx models isn't calibrated all the way up to 100MHz and apparently also has fewer calibration points in the low frequency region. One would need to do a full calibration after upgrading. However, there is no comprehensive DIY calibration guide (yet).
The investigation got stuck at that stage because of the conclusion that the calibration data format can't be understood without disassembling and analyzing of the code that generates and uses that data (what a surprise). If i missed something?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf on February 14, 2023, 12:56:34 pm
I now think the 2x10 pin holes are a Compact TI JTAG pinout. I don't know how do deal with EMU0 and EMU1 pin. Maybe pullup pulldown resistor can help. I will try that later.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: SMB784 on February 14, 2023, 08:50:16 pm
The investigation got stuck at that stage because of the conclusion that the calibration data format can't be understood without disassembling and analyzing of the code that generates and uses that data (what a surprise). If i missed something?

Yes that appears to be the state of the investigation at the moment.  I am happy to learn that the cal files are the same between models, that solves one mystery that I did not realize had been solved.  So, it appears the only thing left to do is figure out the cal commands via SCPI.  I know you can change the calibration date using an SCPI command, and there's a list of SCPI commands floating around in the thread (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2462616/#msg2462616).  Maybe thats a good place to restart the investigation: track down the possible SCPI commands and see what they do to the calibration file.

Thoughts?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: kavehm on February 14, 2023, 10:45:01 pm
Does Rigel dc820 have a fixed and stable output up to two to three decimal places?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on February 15, 2023, 01:37:51 am
Yes that appears to be the state of the investigation at the moment.  I am happy to learn that the cal files are the same between models, that solves one mystery that I did not realize had been solved.  So, it appears the only thing left to do is figure out the cal commands via SCPI.  I know you can change the calibration date using an SCPI command, and there's a list of SCPI commands floating around in the thread (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2462616/#msg2462616).  Maybe thats a good place to restart the investigation: track down the possible SCPI commands and see what they do to the calibration file.
Indeed. On the one hand, all the SCPI commands are already extracted from the FW. And some interesting commands are identified
Quote
Calibration stuff (I can't read anything back, seems like its just write commands?)

:SOURce<n>:CALibration:RANGNUM
:SOURce<n>:CALibration:SETVALUE
:SOURce<n>:CALibration:MEASVALUE
:SOURce<n>:CALibration:STORE
:SOURce<n>:CALibration:RECALL
:SOURce<n>:CALibration:PRESet
:SOURce<n>:CALibration:DATE
:SOURce<n>:CALibration:HIGHest

On the other hand, according to another post, it's possible to log in using SSH via the debug UART port, and to grab whole file system (including the cal files) in that way. Use jtag for that purpose would be an overkill, imho.

So the next step would be obvious: to enter each CAL command and to check the effect from that action on the data in the calibration file.

BTW I don't have the device but from the debug console log that was provided here early, it seems the FW is based on the very first version of the TI Processor Linux SDK (3.14.26-rt25 kernel, that corresponds to the SDK version 01.00.00 of Apr 2015, the RT patch could be applied later). It's too old and I was not able to find it at TI. A link would be appreciated. Perhaps it'll make sense to explore that sdk as the platform baseline used by Rigol.


Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf on February 15, 2023, 09:02:35 pm
Connecting EMU0 and EMU1 on the Compact TI JTAG pin-holes to ground turns on 2 LED's (D2, D3) next to the golden Rigol logo.

I don't know how, but at some point the device booted with chinese text on the display. TurboTom wrote about 4 Boot Modes:

Quote
Boot Mode 2, pressing Trig repeadly while booting --> LCD/Button testmode

The DG2052 has the Trig key and also the  Help/Local key as 2nd function on Ramp and Arb key. Can anyone provide a picture of the LCD Test screen please?
Has anyone ever had Chinese characters on the display? They disappeared at the next boot.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on February 15, 2023, 10:54:18 pm

The DG2052 has the Trig key and also the  Help/Local key as 2nd function on Ramp and Arb key. Can anyone provide a picture of the LCD Test screen please?
Has anyone ever had Chinese characters on the display? They disappeared at the next boot.

Like this?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on February 17, 2023, 03:59:50 am
I now think the 2x10 pin holes are a Compact TI JTAG pinout.
It must be so, I guess. BTW, for conventional pin count, check Table 13 of SPRU655I "Emulation and Trace Headers" technical reference manual at TI


Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf on February 19, 2023, 04:04:01 pm
I played around with jtag port, openocd and some interfaces like:

i couldn't get openocd to work with the AM335x target. At the very moment U-Boot loads the kernel, i get errors and the connection is lost and can't get back working. Even reset won't work.

I then tried Segger JLinkCommander. It works like a charm.

Here's the log:

Quote

SEGGER J-Link Commander V7.20b (Compiled May 21 2021 17:06:40)
DLL version V7.20b, compiled May 21 2021 17:05:23

Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled May  7 2021 16:26:12
Hardware version: V9.60
S/N: 123456789
License(s): RDI, GDB, FlashDL, FlashBP, JFlash
VTref=3.319V


Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: AM3352
Type '?' for selection dialog
Device>
Please specify target interface:
  J) JTAG (Default)
  S) SWD
  T) cJTAG
TIF>
Device position in JTAG chain (IRPre,DRPre) <Default>: -1,-1 => Auto-detect
JTAGConf>
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>
Device "AM3352" selected.


Connecting to target via JTAG
InitTarget() start
TotalIRLen = 6, IRPrint = 0x01
TotalIRLen = 6, IRPrint = 0x01
JTAG chain detection found 1 devices:
 #0 Id: 0x2B94402F, IRLen: 06, TI ICEPick
AM335x reset: Core did not halt after reset. Halting core manually...
InitTarget() end
TotalIRLen = 10, IRPrint = 0x0011
JTAG chain detection found 2 devices:
 #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
 #1 Id: 0x2B94402F, IRLen: 06, TI ICEPick
DPv0 detected
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set)
AP[1]: APB-AP (IDR: Not set)
AP[2]: JTAG-AP (IDR: Not set)
Using preconfigured AP[1] as APB-AP
AP[1]: APB-AP found
Found Cortex-A8 r3p2
6 code breakpoints, 2 data breakpoints
Debug architecture ARMv7.0
Data endian: little
Main ID register: 0x413FC082
I-Cache L1: 32 KB, 128 Sets, 64 Bytes/Line, 4-Way
D-Cache L1: 32 KB, 128 Sets, 64 Bytes/Line, 4-Way
Unified-Cache L2: 256 KB, 512 Sets, 64 Bytes/Line, 8-Way
System control register:
  Instruction endian: little
  Level-1 instruction cache enabled
  Level-1 data cache disabled
  MMU disabled
  Branch prediction enabled
Memory zones:
  Zone: Default Description: Default access mode
  Zone: AHB-AP (AP0) Description: DMA like acc. in AP0 addr. space
  Zone: APB-AP (AP1) Description: DMA like acc. in AP1 addr. space
Cortex-A8 identified.
J-Link>
Unknown command. '?' for help.
J-Link>r
Reset delay: 0 ms
Reset type NORMAL: Toggle reset pin and halt CPU core.
ResetTarget() start
AM335x reset: Core did not halt after reset. Halting core manually...
ResetTarget() end
J-Link>h
PC: (R15) = 402F82C8, CPSR = 200001B3 (SVC mode, THUMB IRQ dis.)
Current:
     R0 =80A80000, R1 =00000000, R2 =01000000, R3 =00000000
     R4 =00EF3A40, R5 =80B8C5C4, R6 =00000002, R7 =4030CB7C
     R8 =4030CDCC, R9 =81FFFF28, R10=00029940, R11=00029940, R12=402F0400
     R13=81FFFF14, R14=402F149D, SPSR=0000000A
USR: R8 =4030CDCC, R9 =81FFFF28, R10=00029940, R11=00029940, R12=402F0400
     R13=00000000, R14=00000000
FIQ: R8 =DAF7797B, R9 =A8577F75, R10=55C1FFE0, R11=FB05DFFD, R12=E56D03BE
     R13=00000000, R14=00000000, SPSR=00000000
IRQ: R13=C082B5C0, R14=C05AFD00, SPSR=00000000
SVC: R13=81FFFF14, R14=402F149D, SPSR=00000000
ABT: R13=00000000, R14=00000000, SPSR=00000000
UND: R13=C082B5D8, R14=C05AFD60, SPSR=00000000
J-Link>savebin e:\dump.bin 0x80000000 0x10000000
Opening binary file for writing... [e:\dump.bin]
Reading 268435456 bytes from addr 0x80000000 into file...O.K.
J-Link>

--- Log Beginn ---
T1CE4 000:000.606 SEGGER J-Link V7.20b Log File
T1CE4 000:000.766 DLL Compiled: May 21 2021 17:05:23
T1CE4 000:000.775 Logging started @ 2023-02-19 15:09
T1CE4 000:000.981 JLINK_GetDLLVersion()
T1CE4 000:000.998 - 0.020ms returns 72002
T1CE4 000:001.014 JLINK_GetCompileDateTime()
T1CE4 000:001.022 - 0.011ms
T1CE4 000:001.260 JLINK_SetWarnOutHandler(...)
T1CE4 000:001.275 - 0.019ms
T1CE4 000:001.289 JLINK_OpenEx(...)
T1CE4 000:014.934   Firmware: J-Link V9 compiled May  7 2021 16:26:12
T1CE4 000:015.701   Firmware: J-Link V9 compiled May  7 2021 16:26:12
T1CE4 000:016.115   Decompressing FW timestamp took 346 us
T1CE4 000:024.119   Hardware: V9.60
T1CE4 000:024.154   S/N: 123456789
T1CE4 000:024.167   OEM: SEGGER
T1CE4 000:024.179   Feature(s): RDI, GDB, FlashDL, FlashBP, JFlash
T1CE4 000:026.041   TELNET listener socket opened on port 19021
T1CE4 000:026.261   WEBSRV Starting webserver
T1CE4 000:026.442   WEBSRV Webserver running on local port 19080
T1CE4 000:026.460 - 25.176ms returns "O.K."
T1CE4 000:026.690 JLINK_GetFirmwareString(...)
T1CE4 000:026.709 - 0.022ms
T1CE4 000:027.062 JLINK_GetHardwareVersion()
T1CE4 000:027.094 - 0.036ms returns 96000
T1CE4 000:027.253 JLINK_GetSN()
T1CE4 000:027.269 - 0.019ms returns 69640395
T1CE4 000:027.644 JLINK_GetOEMString(...)
T1CE4 000:027.665 JLINK_EMU_HasCapEx(0x00000026)
T1CE4 000:027.674 - 0.013ms returns 0
T1CE4 000:027.687 JLINK_EMU_GetProductId()
T1CE4 000:027.711 - 0.028ms
T1CE4 000:027.721 JLINK_GetHardwareVersion()
T1CE4 000:027.728 - 0.011ms returns 96000
T1CE4 000:027.738 JLINK_GetFirmwareString(...)
T1CE4 000:027.745 - 0.011ms
T1CE4 000:027.756 JLINK_GetEmuCaps()
T1CE4 000:027.763 - 0.011ms returns 0xB9FF7BBF
T1CE4 000:027.773 JLINK_GetEmuCaps()
T1CE4 000:027.781 - 0.011ms returns 0xB9FF7BBF
T1CE4 000:027.793 JLINK_GetHWStatus(...)
T1CE4 000:028.170 - 0.387ms returns 0
T1CE4 000:028.209 JLINK_EMU_HasCapEx(0x00000044)
T1CE4 000:028.218 - 0.012ms returns 1
T1CE4 000:028.230 JLINK_ReadEmuConfigMem(..., Off = 0x9A, NumBytes = 0x01)
T1CE4 000:028.238 - 0.012ms returns 0
T1CE4 005:329.380 JLINK_Api_MRU_GetList()
T1CE4 005:343.984 - 14.645ms returns 0
T1CE4 005:673.105 JLINK_DEVICE_GetIndex(sDeviceName = AM3352)
T1CE4 005:702.921   XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml
T1CE4 005:704.856   C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully.
T1CE4 005:765.143 - 92.058ms returns 7585
T1CE4 005:765.193 JLINK_DEVICE_GetInfo(DeviceIndex = 7585)
T1CE4 005:765.203 - 0.013ms returns 0
T1CE4 006:278.005 JLINK_ConfigJTAG(IRPre = -1, DRPre = -1)
T1CE4 006:278.087 - 0.097ms
T1CE4 006:421.718 JLINK_ExecCommand("device=AM3352", ...).
T1CE4 006:424.416   Device "AM3352" selected.
T1CE4 006:425.789 - 4.026ms returns 0x00
T1CE4 006:425.994 JLINK_EnableLog(...)
T1CE4 006:426.053 - 0.073ms
T1CE4 006:426.720 JLINK_GetEmuCaps()
T1CE4 006:426.779 - 0.074ms returns 0xB9FF7BBF
T1CE4 006:426.827 JLINK_TIF_GetAvailable(...)
T1CE4 006:427.708 - 0.936ms
T1CE4 006:427.846 JLINK_TIF_Select(JLINKARM_TIF_JTAG)
T1CE4 006:431.806 - 4.016ms returns 0x00
T1CE4 006:432.575 JLINK_IsConnected()
T1CE4 006:432.654 - 0.094ms returns FALSE
T1CE4 006:432.725 JLINK_SetSpeed(4000)
T1CE4 006:433.331 - 0.643ms
T1CE4 006:433.407 JLINK_Connect()
T1CE4 006:435.580   InitTarget() start
T1CE4 006:435.684    J-Link Script File: Executing InitTarget()
T1CE4 006:442.563   TotalIRLen = 6, IRPrint = 0x01
T1CE4 006:448.893   TotalIRLen = 6, IRPrint = 0x01
T1CE4 006:451.810   JTAG chain detection found 1 devices:
T1CE4 006:456.453    #0 Id: 0x2B94402F, IRLen: 06, TI ICEPick
T1CE4 006:679.814   AM335x reset: Core did not halt after reset. Halting core manually...
T1CE4 006:688.085   InitTarget() end
T1CE4 006:691.846   TotalIRLen = 10, IRPrint = 0x0011
T1CE4 006:697.466   JTAG chain detection found 2 devices:
T1CE4 006:700.702    #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
T1CE4 006:703.202    #1 Id: 0x2B94402F, IRLen: 06, TI ICEPick
T1CE4 006:712.026   DPv0 detected
T1CE4 006:713.696   AP map detection skipped. Manually configured AP map found.
T1CE4 006:715.166   AP[0]: AHB-AP (IDR: Not set)
T1CE4 006:716.213   AP[1]: APB-AP (IDR: Not set)
T1CE4 006:717.132   AP[2]: JTAG-AP (IDR: Not set)
T1CE4 006:718.262   Using preconfigured AP[1] as APB-AP
T1CE4 006:719.281   AP[1]: APB-AP found
T1CE4 006:727.296   Found Cortex-A8 r3p2
T1CE4 006:728.125   6 code breakpoints, 2 data breakpoints
T1CE4 006:728.775   Debug architecture ARMv7.0
T1CE4 006:752.993   Data endian: little
T1CE4 006:757.482   Main ID register: 0x413FC082
T1CE4 006:782.354   I-Cache L1: 32 KB, 128 Sets, 64 Bytes/Line, 4-Way
T1CE4 006:783.086   D-Cache L1: 32 KB, 128 Sets, 64 Bytes/Line, 4-Way
T1CE4 006:791.590   Unified-Cache L2: 256 KB, 512 Sets, 64 Bytes/Line, 8-Way
T1CE4 006:800.124   System control register:
T1CE4 006:800.847     Instruction endian: little
T1CE4 006:801.383     Level-1 instruction cache enabled
T1CE4 006:803.828     Level-1 data cache disabled
T1CE4 006:804.368     MMU disabled
T1CE4 006:805.123     Branch prediction enabled
T1CE4 006:819.360   -- Max. mem block: 0x00010AA0
T1CE4 006:819.675 - 386.284ms returns 0x00
T1CE4 006:819.718 JLINK_GetIdData(pIdData)
T1CE4 006:821.240   pIdData->ScanLen=10
T1CE4 006:821.264   
T1CE4 006:821.272   pIdData->NumDevices=2
T1CE4 006:821.283   
T1CE4 006:821.291   pIdData->aId[0]=0x3BA00477
T1CE4 006:821.301   
T1CE4 006:821.309   pIdData->aIrRead[0]=0
T1CE4 006:821.320   
T1CE4 006:821.327   pIdData->aScanLen[0]=4
T1CE4 006:821.338   
T1CE4 006:821.346   pIdData->aScanRead[0]=0
T1CE4 006:821.356   
T1CE4 006:821.364 - 1.650ms
T1CE4 006:821.399 JLINK_GetMemZones(...)
T1CE4 006:821.409 - 0.014ms returns 3
T1CE4 006:823.442 JLINK_HasError()
T1CE4 006:823.496 JLINK_CORE_GetFound()
T1CE4 006:823.510 - 0.020ms returns 0x80000FF
T1CE4 051:352.015 JLINK_GetResetTypeDesc
T1CE4 051:352.137 - 0.144ms
T1CE4 051:357.952 JLINK_SetResetDelay(0)
T1CE4 051:358.024 - 0.086ms
T1CE4 051:358.063 JLINK_Reset()
T1CE4 051:437.275   ResetTarget() start
T1CE4 051:437.313    J-Link Script File: Executing ResetTarget()
T1CE4 051:674.793   AM335x reset: Core did not halt after reset. Halting core manually...
T1CE4 051:682.551   ResetTarget() end
T1CE4 051:686.008 - 327.989ms
T1CE4 052:821.106 JLINK_Halt()
T1CE4 052:822.119 - 1.063ms returns 0x00
T1CE4 052:822.240 JLINK_GetDeviceFamily
T1CE4 052:822.270 - 0.044ms returns 8
T1CE4 052:822.307 JLINK_CORE_GetFound()
T1CE4 052:822.335 - 0.040ms returns 0x80000FF
T1CE4 052:822.395 JLINK_ReadRegs(NumRegs = 17, Indexes: 9, 8, 0, 1, 2, 3, 4, 5, 6, 7, 74, 75, 76, 77, 78, 79, 80)
T1CE4 052:826.319    -- R15 (PC)=0x402F82C8, CPSR=0x200001B3, R0=0x80A80000, R1=0x00, R2=0x1000000, R3=0x00, R4=0xEF3A40, R5=0x80B8C5C4, R6=0x02, R7=0x4030CB7C, R8=0x4030CDCC, R9=0x81FFFF28, R10=0x29940, R11=0x29940, R12=0x402F0400, R13=0x81FFFF14, R14=0x402F149D
T1CE4 052:826.460 - 4.079ms returns 0x00
T1CE4 052:826.508 JLINK_ReadRegs(NumRegs = 7, Indexes: 10, 11, 12, 13, 14, 15, 16)
T1CE4 052:826.562    -- R8_USR=0x4030CDCC, R9_USR=0x81FFFF28, R10_USR=0x29940, R11_USR=0x29940, R12_USR=0x402F0400, R13_USR=0x00, R14_USR=0x00
T1CE4 052:826.624 - 0.131ms returns 0x00
T1CE4 052:826.664 JLINK_ReadRegs(NumRegs = 8, Indexes: 18, 19, 20, 21, 22, 23, 24, 17)
T1CE4 052:828.794    -- R8_FIQ=0xDAF7797B, R9_FIQ=0xA8577F75, R10_FIQ=0x55C1FFE0, R11_FIQ=0xFB05DFFD, R12_FIQ=0xE56D03BE, R13_FIQ=0x00, R14_FIQ=0x00, SPSR_FIQ=0x00
T1CE4 052:828.890 - 2.245ms returns 0x00
T1CE4 052:828.943 JLINK_ReadRegs(NumRegs = 3, Indexes: 32, 33, 31)
T1CE4 052:830.465    -- R13_IRQ=0xC082B5C0, R14_IRQ=0xC05AFD00, SPSR_IRQ=0x00
T1CE4 052:830.612 - 1.685ms returns 0x00
T1CE4 052:830.659 JLINK_ReadRegs(NumRegs = 3, Indexes: 26, 27, 25)
T1CE4 052:830.703    -- R13_SVC=0x81FFFF14, R14_SVC=0x402F149D, SPSR_SVC=0x00
T1CE4 052:830.742 - 0.096ms returns 0x00
T1CE4 052:830.831 JLINK_ReadRegs(NumRegs = 3, Indexes: 29, 30, 28)
T1CE4 052:832.277    -- R13_ABT=0x00, R14_ABT=0x00, SPSR_ABT=0x00
T1CE4 052:832.344 - 1.528ms returns 0x00
T1CE4 052:832.389 JLINK_ReadRegs(NumRegs = 3, Indexes: 35, 36, 34)
T1CE4 052:834.090    -- R13_UND=0xC082B5D8, R14_UND=0xC05AFD60, SPSR_UND=0x00
T1CE4 052:834.200 - 1.825ms returns 0x00
T1CE4 055:519.332 JLINK_ReadMemEx(0x80000000, 0x10000000 Bytes, Flags = 0x00000000)
T1CE4 055:520.171   CPU_ReadMem(268435456 bytes @ 0x80000000)
T1CE4 1172:110.284   Data:  63 61 63 68 65 5F 73 65 74 3A 20 63 6F 75 6C 64 ...
T1CE4 1172:110.454 - 1116591.144ms returns 268435456 (0x10000000)
T0808 1415:640.472 JLINK_Close()
T0808 1415:683.188 - 42.770ms
T0808 1415:683.263   
T0808 1415:683.290   Closed
--- Log End ---



The dump.bin file has 268.435.456 bytes of data.
Binwalk shows the content that i expected:

Quote

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
656           0x290           Unix path: /var/run/nscd/socket
674217        0xA49A9         Certificate in DER format (x509 v3), header length: 4, sequence length: 4610
722893        0xB07CD         Certificate in DER format (x509 v3), header length: 4, sequence length: 1284
1836025       0x1C03F9        Certificate in DER format (x509 v3), header length: 4, sequence length: 4612
2797709       0x2AB08D        Certificate in DER format (x509 v3), header length: 4, sequence length: 4355
3487273       0x353629        Certificate in DER format (x509 v3), header length: 4, sequence length: 3
3487773       0x35381D        Certificate in DER format (x509 v3), header length: 4, sequence length: 3
3489889       0x354061        Certificate in DER format (x509 v3), header length: 4, sequence length: 3
3490121       0x354149        Certificate in DER format (x509 v3), header length: 4, sequence length: 3
3492077       0x3548ED        Certificate in DER format (x509 v3), header length: 4, sequence length: 3
5492153       0x53CDB9        Certificate in DER format (x509 v3), header length: 4, sequence length: 1332
5852517       0x594D65        Certificate in DER format (x509 v3), header length: 4, sequence length: 5376
5936605       0x5A95DD        Certificate in DER format (x509 v3), header length: 4, sequence length: 12291
5984352       0x5B5060        Linux kernel version 3.14.2
5997896       0x5B8548        gzip compressed data, maximum compression, from Unix, last modified: 1970-01-01 00:00:00 (null date)
6213216       0x5ECE60        DES SP2, little endian
6213984       0x5ED160        DES SP1, little endian
6420638       0x61F89E        Unix path: /var/run/rpcbind.sock
6422654       0x62007E        Unix path: /var/run/gssproxy.sock
6511538       0x635BB2        MPEG transport stream data
6512106       0x635DEA        MPEG transport stream data
6512530       0x635F92        MPEG transport stream data
6512554       0x635FAA        MPEG transport stream data
7364304       0x705ED0        Unix path: /home/s/yangao/Sardine/kernel/linux-3.14.26-g2489c02/init/main.c
...
...
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on February 19, 2023, 07:31:38 pm
The dump.bin file has 268.435.456 bytes of data.
What's the FW version that file is from?

BTW, could you to clarify a couple of more things:
1. There is 3-pin debug UART port on the Core board. What is the power voltage for this port, 1.8V or 3.3V?
2. As far as I understand, the device USB host does not support a USB hubs. So only one host port is available. Is that correct?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: JimKnopf on February 19, 2023, 08:02:45 pm
@Njk

I use Firmware 2.06 on my DG2052.

The UART has 3,3V. I led the three wires trough the side. For this I have designed a hole lining and printed with a 3D printer. It fits into the hole for the stand and ensures that the cables do not slip inside. So i can use UART when ever i want.

What i read, the Chip supports 2 USB Ports, but only one is exposed in Hostmode.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on February 20, 2023, 12:45:16 am
What i read, the Chip supports 2 USB Ports, but only one is exposed in Hostmode.
Anyway only one USB type A socket is available. With DG8xx/DG9xx devices, that creates the inconvenience as it's not possible to connect a USB-LAN adapter and a thumb drive (e.g. with the magic key for v.1.8 FW) to the device simultaneously. Usual way would be to use a USB hub for that purpose. But I can't find any mentioning of a USB hubs in the Rigol documentation. So this may or may not be actually supported.

In AM335x, AFAIK, whole USB stuff, including the drivers, is of Mentor Graphics IP. If there were a USB-related defects, only MG could fix them. Looks like they did it. With the latest AM335x Debian system SW for BeagleBone Black, USB hubs are supported with no apparent problems. Not sure about the old SDK version used by Rigol. That's why it would be interesting to find out if a USB hubs can be used with that DGs.

BTW, one issue with a hub can be in total current consumption (the hub plus 2 downstream devices). IIRC, according to USB2.0 spec of that time, a USB device is allowed to withdraw no more than 400mA steady current from one host port (so called high current device). On the hi-res images for the CoreBoard, the USB current switch TI TPS2553DBV (U5) is clearly visible. The current limiting resistor R115 of 52.3 kOhm is located nearby. According to the TPS2553 data sheet, that resistor value corresponds to USB Vbus min/max allowed current value of 453/557mA respectively. The min. value leaves little margin over 400mA. So it'll make sense to use a self-powered USB hub for experiments.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thijsdebont on February 22, 2023, 06:02:25 pm
Quick question regarding the DG800/900's amplitude. The spec sheet states a max amplitude into a 50 ohm load of 10 Vpp. Most generators in the same price range use this figure, but also deliver 20 Vpp into a high-Z load. Rigol states 10 Vpp for this as well. Seems odd. Can somebody confirm the actual max Vpp into a high-Z load?

I mainly ask, because I'm still on the fence deciding between a DG800 and Siglent SDG1032X :D
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on February 23, 2023, 05:55:39 am
Quick question regarding the DG800/900's amplitude. The spec sheet states a max amplitude into a 50 ohm load of 10 Vpp. Most generators in the same price range use this figure, but also deliver 20 Vpp into a high-Z load. Rigol states 10 Vpp for this as well. Seems odd. Can somebody confirm the actual max Vpp into a high-Z load?

I mainly ask, because I'm still on the fence deciding between a DG800 and Siglent SDG1032X :D

Yes 20Vp-p into high-z, there is no real other way to do it.

Quote
50R load
≤10 MHz: 1.0 mVpp to 10 Vpp
≤30 MHz: 1.0 mVpp to 5.0 Vpp
≤60 MHz: 1.0 mVpp to 2.5 Vpp
>60 MHz: 1.0 mVpp to 1 Vpp
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tatel on February 23, 2023, 11:31:12 pm
Yeah, exactly as thm_w said. See attachments.

For square wave, 20 Vpp @ 10 MHz and 10 Vpp @ 25 MHz. They look very ugly on my scope at 1x, I guess somewhere in Chine there are a couple of BNC adapters for my probes.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thijsdebont on February 25, 2023, 08:34:19 am
Thanks all for clearing this up. It's strange though. Some webshops state the 10Vpp regardless (without giving load impedance). Even go as far as advising e.g. the Siglent "if you need higher amplitudes"  :-//

Anyway, with the info given above, I got the DG812 (DG811 was out of stock). 'Liberated' it and must say I'm pleasantly surprised! It's a more compact and solid package than the design and productimages suggested to me. Plus, I was a bit hesitant because of the touchscreen, but it's more functional, responsive and intuitive than I imagined.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eeeee on March 03, 2023, 08:49:37 pm
Hello,
 I decided that it was my turn to venture into the fray of upgrading... 

I'm just trying to understand what I'm doing wrong.

1. Downgraded to 1.08.01 (Used a GEL that I hex edited and one that was posted by another member)
2. Meter showed DG922 (This seemed super odd to me since I thought that a SCPI command was required to change it)
3. Ran the GEL from Finish_Upgrade 2.04 (It's my understanding that this is required if your generator shipped with 2.04 or above; Mine shipped with 2.06)
4. Tried to upgrade to 2.04
I get:
Waiting...
Detects the upgrade file, upgrade? (OK)
Waiting...
[Reboots]
Upgrade from NAND
Found and loading image.
Bad script
upgrade failed!

I've redownloaded the 2.04 firmware, tried a couple drives. (Also tried upgrading during boot by pressing Help).

Am I doing something wrong?

(Note: I've not fixed the S/N yet... just because I don't have a USB cable nearby... that's next on my list)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on March 05, 2023, 12:25:06 pm
The generators are equipped with frequency counter. But its input looks mysteriously.

First, there is yellow marking on the front panel near the input connector, that warns about max. input voltage. For DG900, it's +/-2.5V, while for DG2000 it's +/-5V. Perhaps it's just a typo as the official FAQ states that both series has exactly similar performance. And the specifications are similar. According to the spec, disruptive discharge voltage for the counter's input is +/-7V.

No idea what is the meaning for "disruptive discharge voltage" in that context. Perhaps there is some kind of Zener diode and the intention was to mention its breakdown voltage. Indeed, it the specification, that is provided with the performance verification guide, this parameter is called "breakdown voltage".
Or this is a voltage at which a latch-up event can take place somewhere inside the device.

Fortunately, good images for the PCB are provided it the thread making it possible to re-construct a wiring diagram for the counter's input circuit.

It seems the protection is implemented as a couple of diodes that dumps the excessive voltage to 7V DC power rails through 50 Ohm resistor (see the image below). Actually, there can't be neither breakdown nor latch-up. The protection circuit can tolerate an input current of hundreds of mA. So I think it should be okay to measure a signal of an amplitude greater than 14V PP, but in that case, it's the user's responsibility to limit the current, to prevent the 7V power rails from rising up by the input signal.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Flare on March 15, 2023, 05:25:52 pm
Hello,
 I decided that it was my turn to venture into the fray of upgrading... 

I'm just trying to understand what I'm doing wrong.

1. Downgraded to 1.08.01 (Used a GEL that I hex edited and one that was posted by another member)
2. Meter showed DG922 (This seemed super odd to me since I thought that a SCPI command was required to change it)
3. Ran the GEL from Finish_Upgrade 2.04 (It's my understanding that this is required if your generator shipped with 2.04 or above; Mine shipped with 2.06)
4. Tried to upgrade to 2.04
I get:
Waiting...
Detects the upgrade file, upgrade? (OK)
Waiting...
[Reboots]
Upgrade from NAND
Found and loading image.
Bad script
upgrade failed!

I've redownloaded the 2.04 firmware, tried a couple drives. (Also tried upgrading during boot by pressing Help).

Am I doing something wrong?

(Note: I've not fixed the S/N yet... just because I don't have a USB cable nearby... that's next on my list)

I followed this post verbatim with no problems (I started off with 02.05).
https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032)
The only thing that post didn't make clear to me is that you have to press help during boot for the downgrade step but you already knew that.

Did you upgrade using:
https://mega.nz/file/L51wBJrA#ZTDJ6_mi-U4N03YW7YrRVj-pgHYRTdB4z1yaSQmmD3I (https://mega.nz/file/L51wBJrA#ZTDJ6_mi-U4N03YW7YrRVj-pgHYRTdB4z1yaSQmmD3I)
After downgrading?
I don't think I needed to use SCPI other than to change the serial no. back.

It would be really useful if there were sticky posts within threads for definitive posts like the one I linked.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: beltet on March 31, 2023, 09:18:18 am
I also have great troubles with upgrading my DG811.

I followed the instructions in post #809 by mandor:
https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032)

First the backup scripts does not work. Could not make a backup. I get an "Error: Bad Script!"

I can downgrade to the 01.08.01 firmware and get DG992 unlocked.

But then you update to 02.06 and it reverts to DG811.

If you try to apply the script in the last post(that who is supposed to convert to DG992) I get "Error: Bad Script!"

Seems like the scripts needs to be updated...

I tried to untar the GEL files, but the script files is just gibbersih in a text editor. Do you need to unencrypt them or something?

EDIT: Also, in every step, the generator did never prompt me to upgrade, I always needed to restart it and push the Help button.

EDIT2: Now it worked. What I needed to do is that I changed to another USB stick and formatted it with msdos partition table and FAT32. Then it could promt me with upgrades.
The scripts(those who is not full firmware files) can't be run when booting up.
When I changed the USB drive, everything went really smoothly.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on April 18, 2023, 04:04:22 pm
Edit: Did some more testing and indeed, I found a very weird behavior when using custom arbitraries! The instrument drops out of external reference mode with an error if "interpolation" as filter mode is selected. When using "step" or "smooth" filter response, EXT Ref stays enabled and the instrument uses it. Must be a peculiar firmware bug! Rigol, you've got a job to do...  >:D

An old post but the thing seems abandoned anyway.
From the spec analysis, it can be concluded that the filter setting makes great impact on the device operations, and this setting controls not only the low pass filtering. No matter what the rendering mode is (DDS or AWG), the RMS jitter in an output waveform can be of up to 200 ps. But with "step" and "smooth" settings it drops to 5 ps. It's quite small number for that price. How do they do it? Is it true? Any theories?




Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: nikitasius on April 28, 2023, 10:54:39 pm
Well folks, 1st of all i wanna say thanks to member from that forum.
2nd i wanna say thay USB STICK matters  |O

Well,
1) i backup my cals (but idk how to restore and idk if i need to restore :D ) like in this post https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032)
2) then i used a downgrade to 1.08 from this post https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600)
3) cause i had animation and nothing happened i turned-off the AWG, plugged my sandisk 32Gb into, turned on and spammed "help/local" button to run the update
4) i got DG992 with resetted SN on 1.08 firmware
5) i use linux, so plugged my Sandisk 32Gb into laptop, formatted into fat32 4b/sector `mkdosfs /dev/sdb1 -s 8 -F 32`, checked `dosfsck -v -n /dev/sdb1` and did a `dd` like in this post, but used by sdb1 name https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg2420391/#msg2420391) .
6) then i booted to win10, ran Ultra Sigma from there https://www.rigol.eu/En/Index/listView/catid/28/tp/5/wd/ultra%20sigma (https://www.rigol.eu/En/Index/listView/catid/28/tp/5/wd/ultra%20sigma) and did advices from this post https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3157600/#msg3157600) , setup SN, checked (using write, then read but NOT write&read), changed to DG992.
7) and here i faced sick issues, cause fix from that post did not wanted to run, just animation and nothing happened https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264)

If i forced i had "bad script" error. But thanks this post https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg4788428/#msg4788428 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg4788428/#msg4788428) and mention that changing USB STICK could help. So i found my old Sandisk 16Gb, formatted it into fat32/4kb `mkdosfs /dev/sdb1 -s 8 -F 32`, copied fix from https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264, (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3119264/#msg3119264,) plugged into AWG and.. got animation and request to install an update.
Well, i told okay, it's patched, rebooted.

8) i copied 2.06 firmware to that 16Gb stick, plugged, AWG asked for update, updated and now i have DG992 in the body of DG811.

So USB STICK is matters! Personally i will buy another 16G or 8Gb stick if thisone will die one day.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: nikitasius on April 30, 2023, 06:00:14 pm
Btw surprised that awg have a sensor screen lol!
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: hedehede81 on July 27, 2023, 08:19:38 am
I have attached my calibration data, I'm working on making some sense of it but I don't read chinese  very well.  I ran a "file" command on it and it tells me that its a dBase III DBT file.  So I downloaded dbview and tried to run it on the file, and it tells me that version 192 is not supported.  So it appears that its some sort of .dbf file, but I dont know how to work with it yet.  Maybe one of you will have better luck than me.

One interesting thing to note: When I entered the SCPI command :CAL:DATE 09/09/2020 as mentioned earlier in this thread, it actually updated the calibration date in the CalibrationInfo.dat file.  So, we know that at least some of those CAL SCPI commands actually do something.

Now if only I could actually decode what exactly was going on in these CalibrationInfo.dat/CalibrationData.dat files...

Would it be possible to compare these to DG992 calibration files, maybe they would help, do you happen to have those?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on August 09, 2023, 11:03:56 pm
The missing manual
https://www.dropbox.com/scl/fi/6okm6dry8q9akrfjk4iws/DG900_UG_2023.pdf?rlkey=rg03d9oglp32ert3bh48gjwn2&dl=0 (https://www.dropbox.com/scl/fi/6okm6dry8q9akrfjk4iws/DG900_UG_2023.pdf?rlkey=rg03d9oglp32ert3bh48gjwn2&dl=0)
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: TurboTom on August 10, 2023, 12:05:08 am

Regarding the "missing" built-in arbitrary waveforms with the latest F/W version, see page 52 of the aforementioned manual.

Notes:
...
— With the current firmware version, not all listed special types are available.


How embarrassing is this for Rigol? Instead of fixing the problem, make it a "feature"  :palm:
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: Njk on August 10, 2023, 01:00:41 am
How embarrassing is this for Rigol? Instead of fixing the problem, make it a "feature"
That's the most innocent problem, I think
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on August 10, 2023, 09:13:16 am
How embarrassing is this for Rigol? Instead of fixing the problem, make it a "feature"  :palm:

 :-DD

Tom, let's consider they didn't make it a feature, they just acknowledged it. Interesting, nonetheless.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: optotester on October 11, 2023, 12:00:30 pm
Hello,

I spent some time to try to understand the calibration process for that device and I made some progress. It appears that the device uses 16 different types of calibration, some containing factors for multiple frequencies (slot 14). It is possible not all of them are in use though.

The commands are:

:SOURce<n>:CAL:SETVALUE:[cal_slot]:[P2]:[P3]:[P4]

:SOURce<n>:CAL:MEASVALUE:[cal_slot]:[P2]:[P3]:[P4]


:SOURce<n>:CAL:STORE:[cal_slot/"FILE"]:[P2]
If a cal_slot is provided, P2="DEF"/"ALL"/"NO_ALL"/"SAVE"
If "FILE" is provided P2="CDV"/"CDF"

:SOURce<n>:CAL:RECALL:[P1]
P1="ALL"/"NO_CAL"/cal_slot
Note: NO_CAL option is equivalent to calling :SOURce<n>:CAL:STORE with NO_ALL option (which clears calibration data)

:SOURce<n>:CAL:HIGH:[P1]
P1 is optional and can be set to "HIFCHECK". This command does alter FRAM content.

:SOURce<n>:CAL:RANGNUM:[cal_slot]:[P2]:[P3]
I did not really check what this function does but it may display some message on the UI as it seems to call Qt libraries.

The probable sequence for calibration is to issue a SETVALUE, send a MEASVALUE with a reference measurement provided, and then a STORE.

Calibration slots are one of the following:

For SETVALUE:
[P2]
cal_slot=4,10,11 -> Open24DbAttenuation is set to 0 if P2=1 and set to 1 if P2=2
cal_slot=12 -> Not used

[P3]
cal_slot=5/6/7 -> If P3=1, AcAmplFirstPointCal = 1 is set
cal_slot=14 -> P3-1 corresponds to the InnerSlotID

[P4]
cal_slot=0 -> P4 corresponds to the PWM Width
others -> P4 is most likely the set/measured value

My advice is to backup your calibration info + calibration data before playing with this. I will not investigate further for the moment as I do not have the device.

Here are the inputs used in the calibration test function:
5:1:1:2010000
5:1:2:3500000
5:1:3:4500000
5:1:4:5900000
5:2:1:6100000
5:2:2:10000000
5:2:3:12500000
5:2:4:15000000
8:1:1:1000000
8:1:2:431000
8:1:3:331000
8:2:1:1000000
8:2:2:431000
8:2:3:331000
(maybe it can give some hints on which kind value to use)

Disclaimer: I am not responsible for any malfunction caused by the previous commands.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: optotester on October 12, 2023, 02:46:23 pm
Hi all, please note I did a major correction to my previous post, as I forgot to mention that 1 is substracted from P2/P3 before being passed to any function so it is 1 indexed and not 0 indexed.
I also added the setpoints used by the service calibration check function.

When we look at all DG2xxx calibration manual, we can see that there is 200+ points to calibrate. It would probably take a lot of time to get the full calibration process right.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tv84 on October 12, 2023, 02:55:19 pm
@optotester did you do any analysis of these (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3283628/#msg3283628) calib files, using that knowledge?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: optotester on October 12, 2023, 03:42:42 pm
I did check them a bit and the preliminary analysis in this topic was really interesting (some assumptions may not be 100% correct though as some factors are 4 bytes and not 8 ). But with the amount of calibration factors, the effort to get the offset of each parameter would be huge so I stopped.

Though I think that to try to have high frequency calibration you must start by putting this cal file on your device and then recalibrate it. This way, the inner points for slot 14 would be already defined.

It may be possible to add them with RANGNUM function, but someone would really need to play a bit to understand the process better.

I do not own this device so I will not perform any additional analysis.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: tuxfanx on November 21, 2023, 05:01:49 pm
I received my DG812 today (fw:2.06.00.01) and was able to upgrade it to a DG992 following mandors guide https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3719032/#msg3719032) without any problems.
I did not need any intermediate upgrades or the magic USB stick.
However, I had to skip the two optional backup steps because the respective .GEL files were not recognized by the DG812.
Thanks to everyone who made this possible.
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eloso on January 05, 2024, 01:01:19 am
Hi,

Just taken delivery of DG811 which is destined for better things. Before making any changes to it I have checked its performance against the oft quoted performance documentation. Up to 100khz using SDM3055 the amplitude is spot on. Above 100kHz I have the choice of using an SDS2000X+ scope or an SSA3021X+ SA.

Both of these instruments register a fail against the 5 and 10Mhz amplitude and they are more or less in agreement with one another.


Flatness is way off  - see db relative to 1Khz which is spot on at 1Vpp into 50ohms.


1Khz           0
10Khz   0
100khz   -0.21
1Mhz   0.15
5Mhz   0.54
10Mhz   0.72

At 10Mhz the amplitude is 0.72dB down measured on the spectrum analyser. and is a similar value measured on the scope.  This appears to be outside of the values expected in Rigols's own performance document.

Has anyone else had these results prior to upgrading ? I am holding off on the upgrade until I decide whether to return the instrument, a decision I will make over the weekend.  I also need to decide whether to go for replacement or money back.

I don't mind if the calibration is out on higher frequencies in the upgraded unit - that is to be expected, but I don't much like buying a unit that falls at the first hurdle.   I am only a hobbyist and it probably wouldn't matter, after all I can apply my own correction where its necessary but  that's not the point.

Any comments ?

Thanks

Eloso
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: thm_w on January 05, 2024, 02:04:44 am
Here are some measurements from mine 1Vrms: 1khz 1.003V, 100kHz 1.010V, 1MHz 1.002V, 5MHz 1.002V, 10MHz 1.006V, 50MHz 0.965V.
Its not clear what you wrote by flatness, was -0.21 high by 0.21dB? Or were they all down?
Title: Re: New Rigol 16-bit function generators DG800/900 series
Post by: eloso on January 05, 2024, 04:42:48 am
Thanks for that and yes, I expressed it  poorly.  Rigol specify flatness relating to level of a 1Vpp sine wave at 1Khz. So the table for my machine is:


                Vpp          Vrms         dBm       dB  relative to amplitude at 1kHz
1Khz         1.002       0.3544       4            0
10Khz       1.002       0.3544       4            0
100khz     1.0269      0.3634       4.21        0.21
1Mhz        0.9852      0.3483       3.85       -0.15
5Mhz        0.942        0.333        3.46        -0.54
10Mhz      0.9226      0.3262       3.28       -0.72

If I do the upgrade I am guessing that the higher frequencies will be even further out since the machine doesn't even start with a proper calibration.  The 10Mhz output should be within 0.2dB of the reference level (the 1kHz output level). It is actually 0.72dB down on the reference level.

regards

Eloso