Products > Test Equipment
Sniffing the Rigol's internal I2C bus
<< < (519/899) > >>
Mark_O:

--- Quote from: Rigol-Friend on January 17, 2014, 02:46:27 am ---a question about the Rigol DS2000:
With the left menu-key I can display a lot of selected informations at the bottom of the screen. I meen that what I marked in the attachment with big white points  :D

But I don't find any information how to remove this entries.   :--
My week english don't allow to understand the english manual completly   :-[

Does anybody has a hint for me for removing?

--- End quote ---

How about:  Measure -> Clear -> Item N  ?
Rigol-Friend:
@Mark_O:

Phantastic, sometimes I think I'm blind.  :-X

Thank you so much,
Rigol-Friend
stuartk:
Hi all,

I have, I hope a not too distracting question from a newbie. I've purchased a DS2102 some time ago and upgraded using the Keygen on the forum.

Unfortunately, I selected the DS2102 option by mistake. I then re-entered the code using the DS2202 and I have the following installed screen which is somewhat ambiguous as to what the scope bandwidth actually is.

At home I only have a POS AWG that can put out a maximum 25Mhz sine wave. Using a 2v p-p signal, my p-p voltage at 25mhz was 1.92v down from 2.24v. That works out to 1.3 dB loss (I think), which doesn't make sense if the scope were at 200Mhz.

Does anyone have a quick and easy method to ballpark the actual bandwidth with spit and chewing gum? :-[

Should I reset the options by putting the code for the trial options for the DS2102 back in and redo it?

Kudo's to all the very large brains on the forum that made this all possible.  :clap:

Thanks, S.

MrKrabs:

--- Quote from: MrKrabs on January 16, 2014, 10:24:17 am ---Hey cybernet,

I was reverse engineering your reverse engineering :), trying to port your DS4000 firmware hack which is version 00.02.00.00.04 to the latest version 00.02.01.00.03.

I was able to find the 2 magic bytes to modify (0x4899 into 0x2060) in the new firmware and then recalculated the CRC for section 00.

Then I updated the firmware on my DS4014 with my patched firmware. The update worked fine (I know because I had a 00.01.xx firmware), BUT it didn't enable the BW options neither gave me 1ns TB option.

I then went back to your 00.02.00.00.04 firmware and confirmed it enabled the BW options & 1ns TB, so I know it works on my DS4K.

Do you have any idea what the deal is with the latest DS4K firmware? I found the 0x4899 byte at 0x128a3c. It at least matched the nearby bytes almost perfectly when comparing with your firmware.

There's a big chance, of course, I was just changing the wrong bytes :)

Here's a diff of the hexdumps:


--- Code: ---$ diff DS4000Update.00.02.01.00.03.orig.GEL.hex DS4000Update.00.02.01.00.03.modified.GEL.hex
4c4
< 00000030  32 62 77 f0 00 00 00 00  00 00 04 20 01 00 00 00  |2bw........ ....|
---
> 00000030  5d 10 2a 87 00 00 00 00  00 00 04 20 01 00 00 00  |].*........ ....|
75940c75940
< 00128a30  00 e8 00 00 09 e1 2d 0d  49 e1 e7 00 48 99 01 e8  |......-.I...H...|
---
> 00128a30  00 e8 00 00 09 e1 2d 0d  49 e1 e7 00 20 60 01 e8  |......-.I... `..|

--- End code ---

Cheers!

--- End quote ---

Aha! I've got it working now.

 I found the right place to patch it. Here's the diff, for the curious:


--- Code: ---$ diff DS4000Update.00.02.01.00.03.GEL.hex DS4000Update.00.02.01.00.03.MrKrabs.GEL.hex
4c4
< 00000030  32 62 77 f0 00 00 00 00  00 00 04 20 01 00 00 00  |2bw........ ....|
---
> 00000030  54 8b 5e f6 00 00 00 00  00 00 04 20 01 00 00 00  |T.^........ ....|
79428c79428
< 00136430  48 99 01 e8 00 00 10 00  00 e8 00 00 09 e1 2b 1d  |H.............+.|
---
> 00136430  20 60 01 e8 00 00 10 00  00 e8 00 00 09 e1 2b 1d  | `............+.|

--- End code ---

I've successfully tested it on my DS4014. Got the 200MHz, 100MHz and 20MHz BW limit options and 1ns timebase.  :D

Model number remained DS4014. Riglol keys continued to work.

I've uploaded the file here: http://wikisend.com/download/164218/DS4000Update.00.02.01.00.03.MrKrabs.GEL.zip
MrKrabs:

--- Quote from: granz on January 16, 2014, 07:25:50 pm ---
--- 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 ---

--- End quote ---

Thanks a lot, granz! Your tool made it much easier to recalculate the CRC and get the segment lengths & locations!
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