Products > Test Equipment
DG4000 - a firmware investigation
tv84:
I 've finally reversed the new format (since v1.09) of .GEL files for the DG4000. (This has never been done before and gives hope to those who can't downgrade their FW due to the bootloader v06.xx...)
As a teaser, I show here the parsing of the v00.01.14.00.01 GEL:
--- Code: ---00000000 - File Type: RIGOL:DG4:UPDATE FILE ALL
Deobfuscating...
Header_LDR_block / CRC2 Validation OK
Header_LDR_block / CRC3 Validation OK
FW Signature: 0x51 OK
Offset Flags CRC1 CRC2 CRC3 LoadAdd Size LED1 LED2
00000040 - 01001000(48) 59D8 322E 241A 20040000 0026210C 0004 000004 [00000054-0026215F] 256 Bytes + .LDR block CRC3 OK CRC2 OK CRC1 OK
00262160 - 01000000(40) 790A 5373 0000 20300000 000C3DF6 0008 000008 [00262174-00325F69] FPGA bitstream CRC2 OK CRC1 OK
00325F6A - 01000000(40) 8C44 3FF2 0000 20400000 00001661 0008 000008 [00325F7E-003275DE] Definitions (???) CRC2 OK CRC1 OK
003275DF - 01000000(40) 34ED 168D 0000 20440000 0000027E 0010 000010 [003275F3-00327870] Strings Indexes CRC2 OK CRC1 OK
00327871 - 01000000(40) CA34 4303 0000 20440400 00002C18 0010 000010 [00327885-0032A49C] Strings CRC2 OK CRC1 OK
0032A49D - 01000000(40) 632B 5C22 0000 20443400 0000027E 0010 000010 [0032A4B1-0032A72E] Strings Indexes CRC2 OK CRC1 OK
0032A72F - 01000000(40) 51F6 6093 0000 20443800 00001C36 0010 000010 [0032A743-0032C378] Strings CRC2 OK CRC1 OK
0032C379 - 01000000(40) A7BA 33FC 0000 20460000 00000232 0010 000010 [0032C38D-0032C5BE] Strings Indexes CRC2 OK CRC1 OK
0032C5BF - 01000000(40) D041 F062 0000 20460400 0000FFCF 0010 000010 [0032C5D3-0033C5A1] Strings CRC2 OK CRC1 OK
0033C5A2 - 01000000(40) C82A 3A1C 0000 20470400 00000232 0010 000010 [0033C5B6-0033C7E7] Strings Indexes CRC2 OK CRC1 OK
0033C7E8 - 01000000(40) 83E8 4CD7 0000 20470800 00009C1C 0010 000010 [0033C7FC-00346417] Strings CRC2 OK CRC1 OK
00346418 - 01000000(40) 219D 17FA 0000 205B0000 00169DE8 0020 000020 [0034642C-004B0213] Graphics, Images CRC2 OK CRC1 OK
004B0214 - 01000000(40) A299 B63B 0000 207B0000 0003D6C4 0040 000040 [004B0228-004ED8EB] Data (0x00) CRC2 OK CRC1 OK
004ED8EC - 01000000(40) FBF1 3E18 0000 20830000 0004BBEC 0040 000040 [004ED900-005394EB] Data (0x00) CRC2 OK CRC1 OK
005394EC - 00000000(00) 0000 0000 0000 208B0000 000126F4 0040 000040 [00539500-0054BBF3] Data (0x48) CRC: 7E9A
0054BBF4 - 00000000(00) 0000 0000 0000 208F0000 00008F2C 0040 000040 [0054BC08-00554B33] Data (0x48) CRC: F392
00554B34 - 10000000(80) 0000 0000 0000 209B0000 00480000 0080 000080 [00554B48-009D4B47] CPLD (???) CRC: BD1E
│││││
││││└─ 256-bytes header block (before app)
│││└── 64-bytes footer block (after bootloader)
││└─── FRAM(?) write select (default: 0 -> FLASH write select)
│└──── CRC validation required
└───── Last block
--- End code ---
In the coming days I'll do some tests to (re)create some "custom" GELs. Let's see where this will end... ;)
TurboTom:
F/W 01.14 was available for download from Rigol's chinese firmware archive -- before they "updated" their web site. Now, unfortunately a log-in is required to acces the files but with an on-line translator and a lot of patience, it's still possible to access the files, even for individuals not capable of reading mandarin (though I'm not sure if really everything's still available that was before).
It's really a shame that Rigol isn't keeping all their web sites' (international ones and also distributor's) download sections consistent, so regardless where their customers are located and whatever language they speak, they have access to the same soft- and firmware pool.
The way they handle this situation currently is really everything but professional. :--
RoGeorge:
--- Quote from: ted572 on December 11, 2019, 10:28:57 pm ---Where did you find FW 00.01.14.00.01 (GEL File) for the DS4000...
--- End quote ---
Rename it from .tar to .rar before unpacking. Version v00.01.14.00.01 2017-12-23 downloaded from rigol.com in 2018.
--- Code: ---[Model Supported] DG4062,DG4102,DG4162,DG4202
[Latest Revision Date] 2017-12-23
[Updated Contents]
v00.01.14.00.01 2017-12-23
- Solve the abnormal output of part of the machine CH1 at normal temperature or low temperature
- Solve the keyboard board encoder causing crashes.
[Previous Versions and Updated Contents]
v00.01.13.00.00 2015-11-05
- Added Traditional Chinese in the Menu.
- The EdgeTime is too slow when the 5MHz square wave is modified to sweep frequency,
- Output can not be changed in real time when editing any wave point.
--- End code ---
Why do you need it?
tv84:
Hi all,
A few years ago, when Rigol introduced DG4000 FW v1.09 supported on bootloader v06.xx some of the guys (that had experimented the 200MHz BW) lost their BW settings, downgrading to 60 MHz BW.
For those ones that lost their official 100MHz/160MHz BWs, please find attached a handcrafted FW v1.08 GEL file that can be flashed with bootloaders v06.xx.
And, to finish up what member cybernet (kudos to him) started a few years ago, I attach here an "updated and cleaned" compiled version of his famous license generator "cengen", for Windows machines. I called it v0.2 because it has some corrections/optimizations.
For those interested, I think you know what steps you need to do next. :popcorn:
PS: As always, flashing involves a certain risk. So, although this has already been tested by a knowledgeable forum member, it's your responsibility.
TurboTom:
My DG4102 from Q4/2015 that was supplied with F/W 1.09 (and somehow lost its 200MHz capabilities... 8)) didn't even require a recalibration (obviously) -- a sweep of +3dBm level from 1MHz to 200MHz is accurate within +-0.5dB despite an 80cm RG178 DIY interconnection cable.
A big thanks to @tv84 :-+
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version