Products > Test Equipment

Rigol DSXXXX .GEL firmware file format

<< < (28/38) > >>

tv84:

--- Quote from: frozenfrogz on January 09, 2018, 12:18:54 pm ---It throws a CRC mismatch every time that I did not notice before. I downloaded the firmware zip archives from both rigol sources again, but the CRC mismatch won’t resolve.
--- End quote ---

The reason it throws a CRC mismatch is because the "footer" (last "file" listed) has a CRC of 0x00000000 in every Rigol DS1000Z FW release. It's a feature, not a bug.

Curious fact: The CRC will be shown correct if you extract the FW package from a memory dump.

tv84:
A bit of OT but, for the record, may be useful to others who want to verify Rigol CRC's:

The CRC-16 that Rigol uses in the DG5000 is a "customized" CRC-16 with the following parameters:

width=16 poly=0xA011 init=0x1008 refin=false refout=false xorout=0x0000 check=0xAC1A residue=0x0000 name="CRC-16/RIGOL 1"

The CRC-16 that Rigol uses in the DG4000 is a "customized" CRC-16 with the following parameters:

width=16 poly=0xA011 init=0x0528 refin=false refout=false xorout=0x0000 check=0x147D residue=0x0000 name="CRC-16/RIGOL 3"

The CRC-16 that Rigol uses in the DG1000 is a "customized" CRC-16 with the following parameters:

width=16 poly=0xA011 init=0xFFFF refin=false refout=false xorout=0x0000 check=0x5CC1 residue=0x0000 name="CRC-16/RIGOL 4"

Many Rigol equipments use this variation:

width=16 poly=0x1021 init=0xEBCC refin=false refout=false xorout=0x0000 check=0x6809 residue=0x0000 name="CRC-16/RIGOL 2"

And, other Rigol equipments (that include a CRC-16), use the more common:

width=16 poly=0x1021 init=0xFFFF refin=false refout=false xorout=0x0000 check=0x29b1 residue=0x0000 name="CRC-16/CCITT-FALSE"


Edit1: Included a parsing of many Rigol file types (showing the CRCs).
Edit2: Added Rigol 2 CRC16 type.
Edit3: Added Rigol 3 and 4 CRC16 types.

janekivi:
Inside DS1054Z was at one address

--- Code: ---Copyright(C) Freescale Semiconductor, Inc. 2009. All rights reserved.
The somewhat disturbed crew - JC, TT, PZ, MJ, CR, CS, DM
No pygmies were harmed during testing..really...
N T L F J C M
--- End code ---

janekivi:
Another interesting thing happened to me...
In GEL header is update version like this:
DS1000Z         00.04.04.00.07
I changed this by one number to:
DS1000Z         00.04.04.00.08
Scope found a newer software version than my 00.04.04.00.07 and updated it successfully to... 00.04.04.00.07


(I have 00.04.04.00.07 with modified logo in my scope for all kind of hacks right now)

janekivi:
So all the info for update messagebox is read from the header.
This info is not critical and you can write there what you like...
To get this "found update file file" box you actually don't need anything.
Empty file is good enough.
0 byte DS1000ZUpdate.GEL file is showing of course no info

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod