Products > Test Equipment
Rigol DSXXXX .GEL firmware file format
<< < (3/38) > >>
RhymeMess:
I had a quick look into some files from here and they are all different from the DS1000Z. I looked into DS2000, DS4000, DS405X and DSA800 (which even doesn't contain a .GEL file).

DS2000 and DS4000 seem to have the same file structure...

*edit* Some more cleanups and the bytes 32-36 are 0x00070000 for every firmware, except for the boot update, where it is 0x000f0000. So I changed the default folder to $Device-$Version-$UpdateType...

*edit2* Probably last coffe break before the weekend; If you have PIL (or Pillow) installed, it will create a png like smithnerd did from the last file. Also did a few more sanity & crc checks, SparrowBootloader.sb should be written correctly now...
Also it always automaticall sets the output directory to $Device-$Firmware-$Type and now allows for multiple GEL Files. So "./unpack.py *.GEL" works properly now.
janekivi:

--- Quote from: RhymeMess on July 15, 2016, 06:36:59 am ---
--- Quote from: janekivi on July 14, 2016, 04:13:21 pm ---- When You strip 24 bytes header, do not cut 24 bytes from file end too.

--- End quote ---
The length is from the GEL Header, that includes those 24 bytes. I'm pretty certain those 24 bytes have to go as well.
Its not "cut from the end" but "don't extend beyond the end".

--- End quote ---
I was looking the output and there was length difference 24+24 bytes. From Siglent experiment I think the file is
having the header in eeprom but for us to study the file we can strip it.

But latest scripts don't unpack my DS1000Z-00.04.03.02.03. I see only 6 files.
RhymeMess:
No Error? Can you post a log of the script?
janekivi:
There is CRC errors with V7. If I skip crc check, the file is extracted correctly and crc is the same as in the header.
I have Python 3.4.4
Userli:
I was able to replace the start screen image (logo.hex) by the one attached.
To do so I wrote a small Windows application.
It replaces the RGB565 data and updates the CRCs.
The device accepted to load the same FW version including the new image.
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod