Author Topic: Sniffing the Rigol's internal I2C bus  (Read 1869958 times)

0 Members and 19 Guests are viewing this topic.

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1500 on: November 26, 2013, 01:52:22 pm »
  - Real oscilloscope BW ~ 900ps.
What do you mean by this? Is 900 ps the real rise time of the DS2000 series HW? Where did you get that number from?
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1501 on: November 26, 2013, 01:53:55 pm »
Yes. Oscilloscope Real BW is ~ 900ps.

Using my home made1K probe: (correct amplitude x2)
tr varies between 940 and 920ps.

« Last Edit: November 26, 2013, 01:56:31 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1502 on: November 26, 2013, 01:58:51 pm »
« Last Edit: November 26, 2013, 02:09:18 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline ted572

  • Frequent Contributor
  • **
  • Posts: 399
  • Country: us
  • Radio Communications Equipment/System Design Engr.
Re: Sniffing the Rigol's internal I2C bus
« Reply #1503 on: November 26, 2013, 02:04:24 pm »
Other test:
So, oscilloscope real BW is ~ 388MHz -> 350MHz.
Is channel 2 the same or similar (also 350 MHz BW) ?
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2188
Re: Sniffing the Rigol's internal I2C bus
« Reply #1504 on: November 26, 2013, 02:06:05 pm »
Wow!

Carrington:  Why not go to 1ns for those screenshots!  Is this from the CHG3 GEL?
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1505 on: November 26, 2013, 02:08:43 pm »
Other test:
So, oscilloscope real BW is ~ 388MHz -> 350MHz.
Is channel 2 the same or similar (also 350 MHz BW) ?
In theory, yes.
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1506 on: November 26, 2013, 02:12:43 pm »
Wow!

Carrington:  Why not go to 1ns for those screenshots!  Is this from the CHG3 GEL?
Because at 2ns there are more portion of the waveform in the display (especially after the transition) and then the tr estimation is more correct.

« Last Edit: November 26, 2013, 02:15:38 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1507 on: November 26, 2013, 02:17:49 pm »
Jim Williams Pulse Generator:

My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline seronday

  • Regular Contributor
  • *
  • Posts: 93
  • Country: au
Re: Sniffing the Rigol's internal I2C bus
« Reply #1508 on: November 26, 2013, 02:31:33 pm »

A quick check with an RF signal generator shows 3dB down between 290Mhz and 300Mhz.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1509 on: November 26, 2013, 02:35:27 pm »

A quick check with an RF signal generator shows 3dB down between 290Mhz and 300Mhz.
No doubt, but I don't have a RF generator.   :-//


My homemade 1k probe:
« Last Edit: November 26, 2013, 03:06:53 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1510 on: November 26, 2013, 03:14:14 pm »
A quick check with an RF signal generator shows 3dB down between 290Mhz and 300Mhz.
What does the same test show with 200 MHz BW limit activated?
 

Offline Avotronics

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
    • Rigol Hacks
Re: Sniffing the Rigol's internal I2C bus
« Reply #1511 on: November 26, 2013, 05:56:14 pm »
Can I get clarification; Are these all the models that these instructions cover?


DP832
DS1000z
DS2000
DS4000
DSA815

Read this topic, you will probably learn a lot and avoid some mistakes in the updating process. And maybe even be able to help other members out with questions or further hacking. Lazy people will skip this step.
Make sure your have updated your Rigol to the latest firmware version before entering any keys. Except for DP832 where Rigol has changed the keys in 01.08.00, so install firmware 01.06.00 before entering any keys. Then you can upgrade the firmware to 01.08.00 afterwards. Read here.
Go to studio25's RigLOL website: http://riglol.3owl.com or Avotronics's mirror site: http://rigol.avotronics.co.uk/riglol
Enter the Rigol serial number in the "Serial:" box.
Find the correct 4 letter code for your desired option in the tables at the above website (e.g. DSAZ to enable all options on DS2000 series scopes).
Enter this 4 letter code in the "Options:" box.
Don't enter anything into the "Privatekey:" box, but just hit generate and it will fill out the box automatically and then generate a valid license key in a pop-up window.
Enter this license key in the right menu on your Rigol (check your manual) and hit Apply.
Reboot, verify options installed and enjoy!
« Last Edit: November 26, 2013, 05:58:04 pm by Avotronics »
Why would you buy something ready made when you can make it yourself with half the features for twice the money!
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1512 on: November 26, 2013, 05:58:27 pm »
Can I get clarification; What models do these instructions cover?
It covers all the models mentioned at http://riglol.3owl.com
DP832; DS1000z; DS2000; DS4000 and DSA815.

DS2000A is not supported (yet).
« Last Edit: November 26, 2013, 06:00:02 pm by AndersAnd »
 

Offline engr_rf

  • Newbie
  • Posts: 4
  • Country: 00
Re: Sniffing the Rigol's internal I2C bus
« Reply #1513 on: November 26, 2013, 06:11:57 pm »
An excellent ultra-fast rise time (50ps) pulse generator that uses a readily available ADCMP580 evaluation board is described at http://www.starlino.com/build-a-really-fast-pulse-generator-50ps-rise-time-using-an-ultra-fast-sige-comparator.html.
 

Offline Co6aka

  • Supporter
  • ****
  • Posts: 303
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1514 on: November 26, 2013, 09:09:00 pm »
An excellent ultra-fast rise time (50ps) pulse generator...

Seems to me it's actually an edge-generator, which is what's really needed; a FAST and clean step from one voltage to another.

While not as fast, you can use something like the SN74LVC1G17DBVR to speed up the edges of "slow" logic:

http://www.ti.com/lit/ds/symlink/sn74lvc1g17.pdf

Got an old-n-slow pulse gen? Splice of of those in there.
Co6aka says, "BARK! and you have no idea how humans will respond."
 

Offline jboard146

  • Contributor
  • Posts: 38
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1515 on: November 26, 2013, 09:19:01 pm »
Great job cybernet.

Is there a possibility of getting cybernet's BW GEL hack on the DS4014?

What do i need to do to help out to make this happen? I really want to see 500Mhz BW on my DS4014.

 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1516 on: November 26, 2013, 09:24:16 pm »
yes i would say possible, i can also modify DS4k firmware now - but i dont have one to play with - so much more trial and error would be needed.
as the firmwares are "cousins" i'd rather figure it out for the DS2k first, and then attempt the DS4k - probably the same routines then that need to be "patched" ;)
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1517 on: November 26, 2013, 09:27:36 pm »
and if somebody wants to play with it - thats CHG4_RILOL - the 500Mhz attempt - gives 500ps TB - but i noticed odd behaviour (trigger is offset, and no real difference to 1ns)
i didnt do a cal btw (had no time) maybe that improves at least the trigger offset ..

http://www.filedropper.com/chg4rilol
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 

Offline jboard146

  • Contributor
  • Posts: 38
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1518 on: November 26, 2013, 09:27:52 pm »
cybernet you rock.

We can test on my DS4014 once you finish figuring out the DS2k.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2188
Re: Sniffing the Rigol's internal I2C bus
« Reply #1519 on: November 26, 2013, 10:28:43 pm »
DS1000Z

edit - forget what I said about the 500uV not working here - more to test first.

I also don't think there is a bandwidth difference between the 70MHz and 100Mhz models - my rise test test shows >200MHz.  See post #32 here:

https://www.eevblog.com/forum/testgear/rigol-ds1074z-inside-picture/msg337494/#msg337494
« Last Edit: November 27, 2013, 01:50:52 am by alank2 »
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1520 on: November 26, 2013, 10:59:58 pm »
1ns TB, 200M BW Limit, and correct DS2302 Model type *yeah* ;-)

Orange noticed that the trigger is off by 3divs (lags behind) if u enable the 2nd channel - same happening, but only in 1ns mode.
maybe that is the reason why there is no official DS2302 version - anyhow i can live with that small limitation as it vanishes above 1ns TB

here is the version that will take care of model type string

http://www.filedropper.com/ds2302rilol

the "recalc" of the string is triggered by option un/install - so flush keys, and reapply them and it will become active.

did a selfcal on top of that - everything good.

« Last Edit: November 26, 2013, 11:14:15 pm by cybernet »
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1521 on: November 26, 2013, 11:14:43 pm »
cybernet you rock.

We can test on my DS4014 once you finish figuring out the DS2k.

post me a link pls to the latest DS4k firmware, and i will try to repeat bel^h^h^h above stuff for the DS4k
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3233
  • Country: au
Re: Sniffing the Rigol's internal I2C bus
« Reply #1522 on: November 26, 2013, 11:47:52 pm »
Missing the glaringly obvious here!
When you bring up the System Info screen it now ought to show "RIGLOL TECHNOLOGIES"  ^-^
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1523 on: November 26, 2013, 11:49:15 pm »
Latest DS4k firmware is still 00.02.00 (00.02.00.00.04) according to Rigol:
http://beyondmeasure.rigoltech.com/acton/form/1579/0012:d-0001/1/index.htm

DS4k firmware changelog: https://www.eevblog.com/forum/testgear/rigol-ds4000-firmware-version/msg281248/#msg281248

Don't know if anyone has uploaded it here before, but "H.O" who has posted in this topic earlier, mentioned upgrading to it in this topic: https://www.eevblog.com/forum/testgear/rigol-ds4000-firmware-version/msg281308/#msg281308
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1524 on: November 26, 2013, 11:54:12 pm »
Missing the glaringly obvious here!
When you bring up the System Info screen it now ought to show "RIGLOL TECHNOLOGIES"  ^-^

guess what was my first attempt in modifying a gel file ;-) - but it really seems to come from the FPGA or something - i replaced every single RIGOL string ... didnt work out.
i rather dig into booting something of my own next - dumping FRAM/FLASH etc .. whatever could be interesting - and last but not least, running a uclinux kernel would be sweet ...
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf