Products > Test Equipment
Sniffing the Rigol's internal I2C bus
granz:
--- Quote from: MrKrabs on January 16, 2014, 04:57:18 pm ---
--- Quote from: neslekkim on January 16, 2014, 02:20:48 pm ---
There the geltool is mentioned again, where do one find that?
--- End quote ---
cybernet hasn't released it (yet?). I modified the firmware by hand :(
--- End quote ---
Based on my own dissection of the .GEL files I wrote a small "de-GEL-ing" program for my own use (this is unrelated to cybernet's geltool). I haven't determined what all of the fields are, but the overall structure is correct and it will do CRC-ing for you on the .GEL file. It's not very sophisticated, as I didn't originally intend to post it. I've tested on DS2000 and DS4000 .GEL files but nothing else. After you have the individual sections you can use bfin-objdump to disassemble (see note at top of .c file).
https://mega.co.nz/#!Nx10QALC!ZZ1-0mPUxjAxB0gvgI0YdSzZ-7hJBBUtQPqBR7OYw-s
Here's an example run:
--- Code: ---
$ ./degel DS2000Update_00.02.01.00.03.GEL
Model Name: DS2202
Software Version: 00.02.01.00.03
Number of Sections: 19
Sec 00: GEL Offset: 0x0000023c ( 572) Len: 0x00326e00 ( 3304960) Addr: 0x20040000 [CHECK PASSED]
Sec 01: GEL Offset: 0x0032703c ( 3305532) Len: 0x0017be32 ( 1556018) Addr: 0x20000000 [CHECK PASSED]
Sec 02: GEL Offset: 0x004a2e6e ( 4861550) Len: 0x00010f60 ( 69472) Addr: 0x20000000 [CHECK PASSED]
Sec 03: GEL Offset: 0x004b3dce ( 4931022) Len: 0x00035438 ( 218168) Addr: 0x20123000 [CHECK PASSED]
Sec 04: GEL Offset: 0x004e9206 ( 5149190) Len: 0x0000245a ( 9306) Addr: 0x20173000 [CHECK PASSED]
Sec 05: GEL Offset: 0x004eb660 ( 5158496) Len: 0x000c6c14 ( 814100) Addr: 0x20020000 [CHECK PASSED]
Sec 06: GEL Offset: 0x005b2274 ( 5972596) Len: 0x00014d04 ( 85252) Addr: 0x200c8000 [CHECK PASSED]
Sec 07: GEL Offset: 0x005c6f78 ( 6057848) Len: 0x000663f4 ( 418804) Addr: 0x200f0000 [CHECK PASSED]
Sec 08: GEL Offset: 0x0062d36c ( 6476652) Len: 0x00001d54 ( 7508) Addr: 0x20120000 [CHECK PASSED]
Sec 09: GEL Offset: 0x0062f0c0 ( 6484160) Len: 0x0006a30a ( 434954) Addr: 0x20000000 [CHECK PASSED]
Sec 10: GEL Offset: 0x006993ca ( 6919114) Len: 0x000032d8 ( 13016) Addr: 0x20040000 [CHECK PASSED]
Sec 11: GEL Offset: 0x0069c6a2 ( 6932130) Len: 0x00000b64 ( 2916) Addr: 0x20000000 [CHECK PASSED]
Sec 12: GEL Offset: 0x0069d206 ( 6935046) Len: 0x0003c598 ( 247192) Addr: 0x20000c00 [CHECK PASSED]
Sec 13: GEL Offset: 0x006d979e ( 7182238) Len: 0x00000118 ( 280) Addr: 0x201e4c00 [CHECK PASSED]
Sec 14: GEL Offset: 0x006d98b6 ( 7182518) Len: 0x00009010 ( 36880) Addr: 0x2003d400 [CHECK PASSED]
Sec 15: GEL Offset: 0x006e28c6 ( 7219398) Len: 0x00001661 ( 5729) Addr: 0x201fd800 [CHECK PASSED]
Sec 16: GEL Offset: 0x006e3f27 ( 7225127) Len: 0x000bb808 ( 768008) Addr: 0x20045000 [CHECK PASSED]
Sec 17: GEL Offset: 0x0079f72f ( 7993135) Len: 0x00046ef0 ( 290544) Addr: 0x20100000 [CHECK PASSED]
Sec 18: GEL Offset: 0x007e661f ( 8283679) Len: 0x00000040 ( 64) Addr: 0x20122800 [CHECK PASSED]
Splitting to 'sec.bin' files...
$
--- End code ---
granz:
--- Quote from: zombie28 on January 16, 2014, 07:01:19 pm ---
--- Quote from: AndersAnd on January 16, 2014, 06:50:51 pm ---
--- Quote from: zombie28 on January 16, 2014, 06:45:59 pm ---One of the forum members tested my DS2k 00.02.01.00.03 firmware patch and reported that it works fine, ie. allows to use the old keygen with A scopes without any problems.
--- End quote ---
Nice. And the 50 ohm input option still works?
--- End quote ---
Here is quote from his mail:
--- Quote ---I did this to verify your patched firmware:
-- Used SYSTEM:UNINSTALL to remove all my current options that I got using tirulerbach's rigup keygen (verified back to trial versions etc.)
-- Flashed your patched GEL
-- Installed DSHH key from riglol 1.03c
50 Ohm option + serial etc. are all intact. I have 2ns
--- End quote ---
--- End quote ---
Also 1ns TB, but I guess I left that off by mistake...
chebeba:
I can confirm that zombie's patched f/w works just fine on my (ex) DS2072A. Hats off. :-+
Altemir:
zombie28 and cybernet
Do You have the opportunity to patch last DS4k firmware 00.02.01.00.03 for MSO4024 to 350 and (or) 500MHz? Thank You in advance.
Mark_O:
--- Quote from: zombie28 on January 16, 2014, 06:45:59 pm ---So, enjoy ;)
https://mega.co.nz/#!FFk10SCY!UuWPXyqZwmca00pa2clOth1ryh1Z-AAgJg2yibfoUw0
--- End quote ---
"Your browser seems a bit outdated." :wtf:
Is there some reason I'm unaware of that a downloader site would force you to have a recent version of a browser? So my browser is "outdated". So what? It happens to be the last version of Firefox that will run on my older XP system.
I don't get the attitude. Oh, and it might be worthwhile for the Browser Police at Mega to learn how to spell "Recommended", so they don't look like morons (misspelled it twice, on the same page).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version