Author Topic: DG4000 - a firmware investigation  (Read 209211 times)

0 Members and 1 Guest are viewing this topic.

Offline KedasProbe

  • Frequent Contributor
  • **
  • Posts: 646
  • Country: be
Re: DG4000 - a firmware investigation
« Reply #450 on: November 04, 2023, 05:35:26 pm »
I just got an accurate 10MHz source (Leo Bodnar, Mini) and I thought about calibrating the freq of my DG4102  (not hacked, yet, FW1.07 HW1.01)

In the manual they mention:
Quote
Warm DG4000 up for at least 30 minutes. Press Utility Test/Cal
Secure Code, use the knob and direction keys to enter the correct password, press
Secure and the calibration safety protection turns off.

Do we know what this secure code is? (I didn't find it in this thread?)

The internal frequency is only off  by 1.2Hz too low though.
« Last Edit: November 04, 2023, 05:42:09 pm by KedasProbe »
Not everything that counts can be measured. Not everything that can be measured counts.
[W. Bruce Cameron]
 

Offline Orange

  • Frequent Contributor
  • **
  • Posts: 348
  • Country: nl
Re: DG4000 - a firmware investigation
« Reply #451 on: November 04, 2023, 05:56:57 pm »
I just got an accurate 10MHz source (Leo Bodnar, Mini) and I thought about calibrating the freq of my DG4102  (not hacked, yet, FW1.07 HW1.01)

In the manual they mention:
Quote
Warm DG4000 up for at least 30 minutes. Press Utility Test/Cal
Secure Code, use the knob and direction keys to enter the correct password, press
Secure and the calibration safety protection turns off.

Do we know what this secure code is? (I didn't find it in this thread?)

The internal frequency is only off  by 1.2Hz too low though.

Secure code is 2010 - this will enable the Test/Cal Submenu on the DG4062/FW 00.01.04
 
The following users thanked this post: KedasProbe, RoGeorge

Offline KedasProbe

  • Frequent Contributor
  • **
  • Posts: 646
  • Country: be
Re: DG4000 - a firmware investigation
« Reply #452 on: November 05, 2023, 12:55:25 pm »
I got access to the calibration menu and tried to update the frequency but something isn't right.
When I press the up or down button it adds a lot of jitter so I didn't press save.
Pressing the other button doesn't restore it to what is was. (1 up + 1 down should have changed nothing)

It stayed in this bad situation until I power cycled,  I didn't press save.

I'm just going to keep my 10Mhz attached to it.
I only find it annoying that it changes the 10Mhz ref input to output without asking my OK, if it doesn't see a signal.
It would be ok if it also switch back to external when it sees a signal. (power on delay)
So it's very easy to end up with two signal outputs connected and not be aware of it. (not good for my reference output)
(I used my DHO914S Gen to see what it did since I didn't want to risk my 10Mhz ref)

Yellow is my stable reference, triggered on blue = Out CH1 of DG4102
Not everything that counts can be measured. Not everything that can be measured counts.
[W. Bruce Cameron]
 

Offline KedasProbe

  • Frequent Contributor
  • **
  • Posts: 646
  • Country: be
Re: DG4000 - a firmware investigation
« Reply #453 on: November 11, 2023, 06:39:34 pm »
Anyone know where I can find the odler firmwares for the DG4000?

I need an older one to be able to upgrade starting from 1.07
On the Rigol website they say contact Rigol in case of an older firmware but they just ignore my email.

I understand that I need to upgrade the bootloader first before I can update to the latest versions.
Not everything that counts can be measured. Not everything that can be measured counts.
[W. Bruce Cameron]
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6203
  • Country: ro
Re: DG4000 - a firmware investigation
« Reply #454 on: November 11, 2023, 06:56:36 pm »

Offline Darkover

  • Contributor
  • Posts: 29
  • Country: de
Re: DG4000 - a firmware investigation
« Reply #455 on: November 12, 2023, 05:35:35 am »

I have V1.04, V1.06, V1.07, V1.08, V1.09, V1.10, V1.12.
Give me your mail and I can send it to you.

Olaf
 
The following users thanked this post: KedasProbe

Offline KedasProbe

  • Frequent Contributor
  • **
  • Posts: 646
  • Country: be
Re: DG4000 - a firmware investigation
« Reply #456 on: November 12, 2023, 10:48:37 am »
I didn't try the hacked version, I prefer to stay official for now, I see I can always do it later if needed.

It has the advantage if something is wrong I can blame Rigol instead of myself ;D
« Last Edit: November 12, 2023, 12:11:25 pm by KedasProbe »
Not everything that counts can be measured. Not everything that can be measured counts.
[W. Bruce Cameron]
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6203
  • Country: ro
Re: DG4000 - a firmware investigation
« Reply #457 on: November 12, 2023, 11:40:37 am »
AFAIK, firmware downgrades are not possible when using original Rigol firmware.

You must use the hacked .GEL attached by TV84 in order to downgrade from your current version, then run the 'cengen' on a Windows machine.  Once the instrument is unlocked (the *IDN? name and the model reported by your AWG will become DG4202), the instrument will remain as DG4202 for any further firmware updates.  Then, update the instrument to the latest firmware from Rigol.

Read a few posts before and after the TV84 post linked above, for the exact instructions.  The hacked .GEL is inside that 'DG4000 ... .zip' file attached by TV84 at the end in that post.
« Last Edit: November 12, 2023, 11:44:51 am by RoGeorge »
 

Offline KedasProbe

  • Frequent Contributor
  • **
  • Posts: 646
  • Country: be
Re: DG4000 - a firmware investigation
« Reply #458 on: November 12, 2023, 12:12:04 pm »
But I need boot loader version 6 first anyway, not included in the zip file. (currently I have v4, firmware 1.07)
Not everything that counts can be measured. Not everything that can be measured counts.
[W. Bruce Cameron]
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6203
  • Country: ro
Re: DG4000 - a firmware investigation
« Reply #459 on: November 12, 2023, 12:22:29 pm »
1. Did you run 'cengen' on yor computer already?  Did you manually input the generated licenses in your instrument (input the generated numbers only, no hack on the instrument is needed for now)?  What message do you get?

2.  What versions do you have now inside the instrument?


-To see FW version press 'Utility' -> 'System' -> 'System Info'
-To see detailed version press 'Utility' -> 'System' -> 'System Info' -> 'G1' ->'G3' -> 'G5'
       where G1...G5 are the grey buttons on the right of the screen

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: DG4000 - a firmware investigation
« Reply #460 on: November 12, 2023, 01:17:20 pm »
Bootloader 00.06.02 attached.
 
The following users thanked this post: KedasProbe

Offline KedasProbe

  • Frequent Contributor
  • **
  • Posts: 646
  • Country: be
Re: DG4000 - a firmware investigation
« Reply #461 on: November 14, 2023, 06:53:47 pm »
I haven't updated it yet, I got this answer from Rigol:
Quote
Generally speaking, we do not recommend the upgrade of the DG4000 firmware with series before 00.01.08.002 or the keyboard version before 05.01.
After upgrading the DG4000 using the bootloader program, the calibration data will be cleared, and the unit needs to be recalibrated. This cannot be completed on the customer side, as bootloaders are usually not directly developed for the customer's use.

However, if customers emphasize on upgrading the firmware, the unit will have to be returned for replacing the DG4000 mainboard. This will imply a charge of the service.

So I would lose calibration data when I load the bootloader, but not sure why the mainboard would need replacing.
Not everything that counts can be measured. Not everything that can be measured counts.
[W. Bruce Cameron]
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: DG4000 - a firmware investigation
« Reply #462 on: November 14, 2023, 07:18:32 pm »
 :wtf: I find that totally BS. Did you talk with their house cleaner?

Why is it that all guys that bought the device in the days of the old versions, today are running the latest version??

But they are the manufacturer of your device. So, your call.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf