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

0 Members and 2 Guests are viewing this topic.

Offline thlee

  • Contributor
  • Posts: 10
  • Country: hk
Re: DG4000 - a firmware investigation
« Reply #375 on: December 21, 2019, 09:32:33 am »
Hi tv48, thank you for your information, I have upgraded my DG4062 to DG4202. It is  great work  :-+.
 

Offline Vahoo

  • Newbie
  • Posts: 8
  • Country: am
Re: DG4000 - a firmware investigation
« Reply #376 on: December 28, 2019, 06:32:45 pm »
Hi dear tv84. i have DG4062, I want to change the firmware for DG4202, but I can’t,
after update license.gen, the name does not change in the generator.
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6146
  • Country: ro
Re: DG4000 - a firmware investigation
« Reply #377 on: December 28, 2019, 08:17:51 pm »
When you generated the license.GEN, what command line did you use on the PC?

Online mahi

  • Regular Contributor
  • *
  • Posts: 85
  • Country: 00
Re: DG4000 - a firmware investigation
« Reply #378 on: December 29, 2019, 01:31:04 pm »
Thank you tv84! Another DG4062 upgraded to 200 MHz :)

Offline Vahoo

  • Newbie
  • Posts: 8
  • Country: am
Re: DG4000 - a firmware investigation
« Reply #379 on: December 29, 2019, 04:40:03 pm »
Hi dear RoGeorge!

My PC software is winXP, command line is MS-dos, run CMD ..., c:\>cengen.exe

I correctly do?
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6146
  • Country: ro
Re: DG4000 - a firmware investigation
« Reply #380 on: December 29, 2019, 04:59:55 pm »
No.  It should be

Code: [Select]
cengen.exe DG4062 DG4202 DG4Exxxxxxxxxx

where you replace 'DG4Exxxxxxxxxx' with the the serial of your generator, the one deleted with red in the attached photo above.  Then, copy on the pen drive the generated license.CEN (check the date and time to see it's the one just created) and read the file with the DG4000 generator.
 
The following users thanked this post: EV

Offline Vahoo

  • Newbie
  • Posts: 8
  • Country: am
Re: DG4000 - a firmware investigation
« Reply #381 on: December 29, 2019, 05:18:49 pm »
I and do, I should change the regional languagе?
 

Offline Vahoo

  • Newbie
  • Posts: 8
  • Country: am
Re: DG4000 - a firmware investigation
« Reply #382 on: December 29, 2019, 05:49:54 pm »
Dear RoGeorge ,  "read the file with the DG4000 generator" or update generator? (press HELP and torn ON generator,
to insert USB storage ... ) , thanks!
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6146
  • Country: ro
Re: DG4000 - a firmware investigation
« Reply #383 on: December 29, 2019, 06:00:04 pm »
No.  Open DG4000 normally.  Do not press Help.  Insert USB with file license.CEN into DG4000.  Read file "license.CEN" (upgrade generator).  Get DG4202.

If you see DG4202, finally upgrade firmware to 1.14.

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5121
  • Country: nl
Re: DG4000 - a firmware investigation
« Reply #384 on: December 29, 2019, 06:12:38 pm »
Read file "license.CEN" (upgrade generator).

To clarify "Read file":

 - Press the Store button
 - If the USB drive was recognized you will see C: and D: under Disk
 - Turn the Knob to select D:
 - Press the "File Type" soft button
 - Press the "All File" soft button
 - Press the "Browser" soft button
 - Turn the Knob to select the licence file (only necessary if there are more files on the USB drive)
 - Press the "Read" soft button
 - Enjoy

Keyboard error: Press F1 to continue.
 
The following users thanked this post: EV, Mark Krass

Offline Vahoo

  • Newbie
  • Posts: 8
  • Country: am
Re: DG4000 - a firmware investigation
« Reply #385 on: December 29, 2019, 06:13:22 pm »
Thank you very much, I got everything.  :-+  :-+  :-+
 

Offline zitt

  • Regular Contributor
  • *
  • Posts: 113
  • Country: us
    • Pinball-Mods.com
Re: DG4000 - a firmware investigation
« Reply #386 on: January 01, 2020, 01:22:48 am »
zitt -
did you check the level accuracy of your DG4000 after the "liberation"? I found mine to be spot on up to 200MHz (DS4102 from Q4/2015). Maybe yours also doesn't need to be calibrated at all.

No. I haven't done anything more than view the output with my Scope.
IIRC; mine had some signal attenuation above the 60MHz limit; but, I haven't done anything specific to verify. Again; quick check using aglent scope.

P.s. If you haven't got a spectrum analyzer or a calibrated level meter, you may DIY a detector type level tester with a 50R terminator resistor (preferably 2*100R 1% 805 in parallel), a small signal, low capacitance schottky diode, a 10n smoothing capacitor and maybe a 10k load resistor, coupled to a multimeter. All this has to be assembled just a the back of a BNC connector to keep the impedance low. This "bodge" should give you a good idea of your generator's level accuracy.

I do have a Spectrum Analyzer (CMU200); but was a fleabay purchase so it's calibration isn't assured. The document I have:
"CalibrationProcedure.pdf"
doesn't appear to discuss calibration or measurement by Spectrum Analyzer.

Do you have a link to this "bodge" schematic and/or wiki?
« Last Edit: January 01, 2020, 01:24:24 am by zitt »
 

Offline EV

  • Frequent Contributor
  • **
  • Posts: 525
  • Country: fi
  • Aficionado
Re: DG4000 - a firmware investigation
« Reply #387 on: January 01, 2020, 05:41:15 pm »
I read this license.gen to my DG4162. It looks to work as earlier but the signal is about 1.4 dBm low at 200 MHz. Between 1 - 160 MHz signal is ok.

Is it possible to correct this by calibration?
 

Offline stuartmp

  • Contributor
  • Posts: 27
  • Country: au
Re: DG4000 - a firmware investigation
« Reply #388 on: February 13, 2020, 01:12:07 am »
Hi All,

I would like to update my Bootloader & Firmware, Attached is my current system
information for my DG4062.

I managed to find the necessary files to update it as the
current version is 00.01.07 and it says online that I need minimum
00.01.08 to run the current file but I can't find the instructions to Flash the bootloader or Firmware.

I'm not interested in Hacking my machine I just want to up date it to the latest version.

Could someone please send through some instruction on how to  Flash the bootloader and Firmware.

I have also attached an image of my current system information.


Kind Regards

Stuart
 

Offline stuartmp

  • Contributor
  • Posts: 27
  • Country: au
Re: DG4000 - a firmware investigation
« Reply #389 on: February 13, 2020, 07:26:06 am »
Here is my firmware collection. The instructions for updating are included.
Code: [Select]
http://peter.dreisiebner.at/tmp/rigol_dg4000_firmware.7z
Peter

Thanks Peter, Just what I was looking for
 

Offline stuartmp

  • Contributor
  • Posts: 27
  • Country: au
Re: DG4000 - a firmware investigation
« Reply #390 on: February 13, 2020, 09:40:57 am »
Hi Peter,

Thanks again for the files.
I have formatted a 2GB usb stick Fat32 and copied the 00.01.08.00.02 update file (DG4000Update.GEL) into the root directory

I have followed the instructions as per the attached pdf but it stops at point 8.
Am I using the correct file or is there a problem with my usb stick?

The utility light does flash a few times but then stops and none of the waveform lights start to flash.
What is my current firmware version it looks like 00.01.07 as per the attached image. Is that correct?
What is FPGA?


 

Offline Gandalf_Sr

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: us
Re: DG4000 - a firmware investigation
« Reply #391 on: February 13, 2020, 09:43:43 am »
I recall that you have to wait quite a while before the new firmware is applied, I was making the mistake of assuming it wasn't working.
If at first you don't succeed, get a bigger hammer
 

Offline stuartmp

  • Contributor
  • Posts: 27
  • Country: au
Re: DG4000 - a firmware investigation
« Reply #392 on: February 13, 2020, 10:03:23 am »
I waited 7 minutes and not one of the waveform lights had come on.
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3212
  • Country: pt
Re: DG4000 - a firmware investigation
« Reply #393 on: February 13, 2020, 10:15:27 am »
I waited 7 minutes and not one of the waveform lights had come on.

Make sure the .GEL file you have in the pen has CRC32: D36150FB

I don't know if most of the LEDs blinking is more intensive in the post-v08 era...

Try formatting the USB disk again and/or use another.
 

Offline scalargr

  • Newbie
  • Posts: 3
Re: DG4000 - a firmware investigation
« Reply #394 on: March 30, 2020, 07:47:26 pm »
Hello folks. I think the upd file is corrupted (00.08.).I downloaded too, and no respond.  You need a clean update, ask some one here on the forum, someone have it, if you need it. I have a soft ver. 00.01.06 thats worked for me.

Important note is the handling of the boot procedures in some  DGs, IT matters how you power up your fg to read the stick!!!
Some tell to <let fg work normal, put usb stick in, let him recognize it, power down, press HELP button and power up,If went ok, you see the ramp button
flashing and after a while its stops and stay lit, and the flash go to other buttons (Waveform) and make the same procedure , and stop at USER button in the same way.>     Thats the normal way. (sandisk cruser mikcro 2.0 gb formated full FAT32).It worked for me.

Next step:Download cengen.exe, put it on root directory (c:\cengen.exe) and let it there.
 Open cmd.exe and type in c:\cengen.exe XXXXXX XXXXXX serial number  and press enter. (Modify it accordingly)
You get a message: SUCCSESS: licence file saved to:licence.CEN, Next, make a search on your computer, you find it as the nearest in time or date,
that's your file.
 Next step, make a copy of it and put it in a folder marking it as valid licence.CEN file. Copy it to your USB stick as licence.CEN.
Put it on your DG in and let it recognize it, Press Store button and select it at D, press Read, and it's popping up a message: invalid licence file.Too many errors.
Press again Store button and you got:Valid licence file or so. Go then to Utility to validate/verify the changes. 8) 8) 8)

Hope it helps ...Thank's to the forum!!! :)

« Last Edit: March 31, 2020, 07:55:05 am by scalargr »
 
The following users thanked this post: MiataMuc

Offline bartver

  • Contributor
  • Posts: 24
  • Country: nl
Re: DG4000 - a firmware investigation
« Reply #395 on: April 15, 2020, 05:56:42 pm »
tnx... got mine with 1.09 and had to wait for it..
Thank you TV84 !!
Bart
 

Offline sbvr4

  • Contributor
  • Posts: 28
  • Country: us
Re: DG4000 - a firmware investigation
« Reply #396 on: April 26, 2020, 09:16:02 pm »
Hi All,
Does anyone know if the secure calibration passsword has been found? If so, would anyone mind sharing? I looked through the thread and didn't see anything.

Thank you
 

Online TurboTom

  • Super Contributor
  • ***
  • Posts: 1388
  • Country: de
Re: DG4000 - a firmware investigation
« Reply #397 on: April 26, 2020, 10:57:27 pm »
Hi All,
Does anyone know if the secure calibration passsword has been found? If so, would anyone mind sharing? I looked through the thread and didn't see anything.

Thank you

As per the calibration manual (see attachment) it should be "2010". Not sure if that's still valid for the current F/W Rev.
 
The following users thanked this post: sbvr4

Offline sbvr4

  • Contributor
  • Posts: 28
  • Country: us
Re: DG4000 - a firmware investigation
« Reply #398 on: April 27, 2020, 12:46:23 pm »
@TurboTom
Thank you sir. Ugh. :palm: It was right in front of my face. I looked further back in the cal manual and didn't any specific reference other than referencing the "Secure Code." I assumed it wasn't public at that point. 

Thanks again
 

Offline Gandalf_Sr

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: us
Re: DG4000 - a firmware investigation
« Reply #399 on: June 10, 2020, 06:07:21 pm »
I have a DG4062 that I 'upgraded' to a DG4202 back in Aug 2014 and made no changes since, it reports the following under system info...

Device Model: DG4202
Serial Number: DG4Exxxxxxxxxx
Software Vn: 00.01.07
FPGA Vn: 00.01.08
Hard Vn: 01.03
KeyBrd Vn: 05.01

Anyway, I tried to use the frequency counter (32,768 Hz signal) yesterday and it was useless, locked up even. That made me revisit this thread. 

I thought I'd try to downgrade from DG4202 to DG4162 and then apply a software version upgrade. I was able to run the cengen code in the MinGW environment (I couldn't figure out the online generator) and generate a new .GEL file but when I tried to apply that .GEL file to my DG4000, it seemed to make no difference and still reported the above data including DG4202.

Today I bricked it  :-BROKE here's what I did...
- Applied the Rigol bootloader update, it took maybe a minute and rebooted to the standard screen but I did not check system info that it was actually at bootloadler vn06.
- Tried to load official vn 1.12, it didn't take (no LEDs lit under Waveform section) and now it won't boot at all - I get a blank screen
- Tried to reload the 06 bootloader but I'm told that may have been a mistake
- Tried to load the 08 firmware (in case the bootloader was still at 05), nothing

Just to check, when I power up, as soon as the lights flash I press [Help] and then insert the USB drive, the [Utility] LED flashes and so does the USB access LED (on the drive itself) - then it just sits there with [Mod],[Utility], and [Store] LEDs lit.  Am I doing something wrong? I have tried 2 different USB drives and I'm almost certain they are good with the Rigols.

Any ideas?
[EDIT] It's fixed, I used a different (older) USB drive, that is the problem 99.9999999999999999999% of the time with these updates in my experience.  So the original drives must have allowed the bootloader to update but then, the same drive, wouldn't do the firmware update!  It kept the Model at DG4202...

Device Model: DG4202
Serial Number: DG4Exxxxxxxxxx
Software Vn: 00.01.12
FPGA Vn: 00.01.11
Hard Vn: 01.03
KeyBrd Vn: 06.01

Bold stuff is what's changed.
« Last Edit: June 10, 2020, 06:43:36 pm by Gandalf_Sr »
If at first you don't succeed, get a bigger hammer
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf