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

0 Members and 6 Guests are viewing this topic.

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: Sniffing the Rigol's internal I2C bus
« Reply #1675 on: December 03, 2013, 04:50:42 pm »
Is there an webserver inside this scope? lot of htmlcode inside the gel file?

"RIGOL Web-Enable DS2000 Series"
 

Offline JDubU

  • Frequent Contributor
  • **
  • Posts: 441
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1676 on: December 03, 2013, 05:19:07 pm »
Is there an webserver inside this scope? lot of htmlcode inside the gel file?

"RIGOL Web-Enable DS2000 Series"

Yes. 
After setting up the LAN IP addressing on the scope, you can access it's internal webserver from the network via a web browser.
It doesn't do very much though.  Just shows things like model number, network addresses, VISA string, firmware revision, etc.
 

Offline Rigby

  • Super Contributor
  • ***
  • Posts: 1476
  • Country: us
  • Learning, very new at this. Righteous Asshole, too
Re: Sniffing the Rigol's internal I2C bus
« Reply #1677 on: December 03, 2013, 05:26:28 pm »
Also, it isn't a rar but a zip you've attached.
I'm surprised WinRAR doesn't complain, regardless if this file ends on .rar or .zip.
It just opens it as if it had the correct extension name, whether you name it .rar or .zip.

This is what happens when you write your software to avoid clues on how to do things that may be provided by the operating system.  You read the header of the actual file and determine what to do, rather than being told.
 

Offline jboard146

  • Contributor
  • Posts: 38
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1678 on: December 03, 2013, 05:55:15 pm »
Is there an webserver inside this scope? lot of htmlcode inside the gel file?

"RIGOL Web-Enable DS2000 Series"

Yes. 
After setting up the LAN IP addressing on the scope, you can access it's internal webserver from the network via a web browser.
It doesn't do very much though.  Just shows things like model number, network addresses, VISA string, firmware revision, etc.

Does anyone know what the login is? If you click on the Network settings it asks for a login and password.
It would be nice if you could do stuff via the web interface.
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1679 on: December 03, 2013, 06:06:00 pm »
Is there an webserver inside this scope? lot of htmlcode inside the gel file?

"RIGOL Web-Enable DS2000 Series"
You mean the LXI webpage? It's explained in the DS2000 User's Guide: http://www.rigol.com/download/Oversea/DS/User_guide/DS2000_UserGuide_EN.pdf
Quote
Load LXI webpage

As this oscilloscope conforms to LXI-C standards, you can load LXI webpage through Ultra Sigma (right-click the resource name and select LXI-Web; or directly input the IP address in the browser). Various important information about the oscilloscope (including the model number, manufacturer, serial number, description, MAC address and IP address) will be displayed on the webpage as shown in the figure below.
 

Offline Teneyes

  • Frequent Contributor
  • **
  • Posts: 498
  • Country: ca
Re: Sniffing the Rigol's internal I2C bus
« Reply #1680 on: December 03, 2013, 06:23:52 pm »
It would be nice if you could do stuff via the web interface.

  I use the USB connection , as Marmad tests show USB is Faster than LAN.
great for RUU, and Ultra sigma. 
1. Power on
2. Load Ultra Sigma
3. Right Click on Device, for SCPI
4. Paste command

see below for RUU display of a sweep in 3-D

IiIiIiIiIi  --  curiosity killed the cat but, satisfaction brought it back
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: Sniffing the Rigol's internal I2C bus
« Reply #1681 on: December 03, 2013, 06:30:03 pm »
cool :), that program looks interresting..

Lets hope the A series can be hacked, so it's easier to make a choice.. think I'm going for an ds2072a-s, but if it's not hackable I wonder if I should go for 100 or 200 (not that think I need it, but if I find that I need it and then need to buy another scope is not tempting, it doesnt seem like used scopes are selling here in this country.. atleast I cannot find anyone)
 

Offline marmad

  • Super Contributor
  • ***
  • Posts: 2979
  • Country: aq
    • DaysAlive
Re: Sniffing the Rigol's internal I2C bus
« Reply #1682 on: December 03, 2013, 06:35:39 pm »
...but if it's not hackable I wonder if I should go for 100 or 200

No difference (except front panel sticker and price tag) between DS2072 and DS2102. Both have >100MHz BW.
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: Sniffing the Rigol's internal I2C bus
« Reply #1683 on: December 03, 2013, 06:46:54 pm »
But nobody can confirm that for the A series yet?

but what about hw differences in 2102 and 2202? (and now the DS2302a?)
 

Offline marmad

  • Super Contributor
  • ***
  • Posts: 2979
  • Country: aq
    • DaysAlive
Re: Sniffing the Rigol's internal I2C bus
« Reply #1684 on: December 03, 2013, 07:04:05 pm »
But nobody can confirm that for the A series yet?

but what about hw differences in 2102 and 2202? (and now the DS2302a?)

No hardware differences - only software differences (which set BW parameters).
« Last Edit: December 03, 2013, 07:14:27 pm by marmad »
 

Offline JDubU

  • Frequent Contributor
  • **
  • Posts: 441
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1685 on: December 03, 2013, 07:23:57 pm »
But nobody can confirm that for the A series yet?

but what about hw differences in 2102 and 2202? (and now the DS2302a?)

No hardware differences - only software differences (which set BW parameters).

Here is something curious. 
Look at the full hardware versions listed for each of these DS2072A's:

Hardware Version: 1.0.2.0.0
https://www.eevblog.com/forum/testgear/sniffing-the-rigol's-internal-i2c-bus/msg316379/#msg316379

Hardware Version: 1.0.2.0.2
https://www.eevblog.com/forum/testgear/sniffing-the-rigol's-internal-i2c-bus/msg341494/#msg341494

Firmware and FPGA versions are the same for both though.


 

Offline marmad

  • Super Contributor
  • ***
  • Posts: 2979
  • Country: aq
    • DaysAlive
Re: Sniffing the Rigol's internal I2C bus
« Reply #1686 on: December 03, 2013, 07:35:53 pm »
Here is something curious. 
Look at the full hardware versions listed for each of these DS2072A's:

Yes, the hardware changes from time to time - but across the entire DS2000 line. Rigol is only manufacturing a single DS2K mainboard (or two - if they still continue to manufacture the non-A version) - then setting the model type via flash memory and front panel sticker.
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: Sniffing the Rigol's internal I2C bus
« Reply #1687 on: December 03, 2013, 08:12:13 pm »
But both of these are the A version?, changed hw already?
Or is the hw version changing if the fpga code is changed?
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1688 on: December 03, 2013, 10:30:32 pm »
Rigol is only manufacturing a single DS2K mainboard (or two - if they still continue to manufacture the non-A version)
I think Rigol has already stopped manufacturing the non-A versions.
Some weeks ago they already removed it from their Oscilloscope models overview here: http://www.rigol.com/prodserv/Digital%20Oscilloscopes/
And also revomed from drop-down menu at their frontpage under Products -> Oscilloscopes: http://www.rigol.com

Logistically it wouldn't make sense to manufacture and stock both models anyway, the only thing changed for the A model is 50 ohm input termination and a 300 MHz model. (But the non-A version can be hacked to 300 MHz too  :-+ ).
FW vise, they have also added a CAN decoding add-on option, but this can be purchased to the non-A model too according to this http://www.tequipment.net/RigolPricelist.html so this isn't anything A-model specific.
Quote
CAN-DS2000A   CAN trigger and decode for DS2000 and DS2000A

Even though Rigol.com don't link to the non-A model page anymore, you can still find it by going to the DS2000A site and removing the A at the end of the link, like this: http://www.rigol.com/prodserv/DS2000/

Rigol have also removed DS2000 non-A from both of these 2014 PDF brochures released a month ago: http://www.rigol.com/support/prodcatalog/more.html
Code: [Select]
Title                                                       Release Date
Electronic Measurement Instruments Catalog(2014)            2013-11-06
Electronic Measurement Instruments Selection Guide(2014)    2013-11-05

The good old DS1000E/D series scopes are still in the new 2014 brochures.
« Last Edit: December 03, 2013, 10:34:44 pm by AndersAnd »
 

Offline thetooth

  • Contributor
  • Posts: 22
Re: Sniffing the Rigol's internal I2C bus
« Reply #1689 on: December 04, 2013, 03:24:18 am »
alright, got a reply from rigol regarding the firmware:
Quote
...
Sorry it's not for DS2000A but for old model DS2000 ,we will release new
version for DS2000A this month can you wait for it ?

When I get it will send you soon .
...

@apelly Since you're prepared to do a dump i'll let you do it once you get your kit, i'm going to talk to supplier to see if they can confirm any crashing on A version that way i can rule out or replace a dud scope before opening it.

I'm also having issue with LXI, but i think thats just to do with using windows 8, USB works fine by all accounts.
 

Offline apelly

  • Supporter
  • ****
  • Posts: 1061
  • Country: nz
  • Probe
Re: Sniffing the Rigol's internal I2C bus
« Reply #1690 on: December 04, 2013, 09:41:14 am »
Quote
...
we will release new version for DS2000A this month can you wait for it ?
Interesting...
@apelly Since you're prepared to do a dump i'll let you do it once you get your kit, i'm going to talk to supplier to see if they can confirm any crashing on A version that way i can rule out or replace a dud scope before opening it.
Boring, but sensible call. That's what I'd do.
I'm also having issue with LXI, but i think thats just to do with using windows 8, USB works fine by all accounts.
Never used Win8. Probably never will. Works fine in Win7 for me. Haven't tried linux.
 

Offline ted572

  • Frequent Contributor
  • **
  • Posts: 399
  • Country: us
  • Radio Communications Equipment/System Design Engr.
Re: Sniffing the Rigol's internal I2C bus
« Reply #1691 on: December 04, 2013, 03:07:52 pm »
I'm looking into determining what is involved in calibrating the DG4000 to produce a constant (flat) sine wave output level up to 200 MHz.  Although my DG4000 is essentially flat up to about 120 MHz (-1 dB), I would like it ti be flat up through 200 MHz +/- 1 dB or better. And I'm sure others with the DG4000 would also, because currently there is a 4 to 6 dB drop off.

I have provided a listing of all of the Calibration Steps for the DG4000 in the attachment 'DG4000 Calibration Menu Items.doc' (preliminary version).  Hopefully the task can be accomplished primarily by making adjustments to the upper steps in Item 3, High Freq Flat/HFLATth.

For those of you who investigated the DG4000 internal I2C bus: Please, do you have any ides or information related to ANY of the items in my list of Calibration Steps that you may have found during your DG4000 firmware investigation?   It could be very helpful for developing a suitable complete (for all areas) Calibration Procedure for the DG4000.  Thank you for any assistance.
 

Offline Teneyes

  • Frequent Contributor
  • **
  • Posts: 498
  • Country: ca
Re: Sniffing the Rigol's internal I2C bus
« Reply #1692 on: December 04, 2013, 05:50:41 pm »
I'm looking into determining what is involved in calibrating the DG4000 to produce a constant (flat) sine wave output level up to 200 MHz.  ,,,,,,,,,,
Thank you for any assistance.

This sound good, As one goes though the steps , can you see the existing values.
Is it good to see the values that an Owner with a DG4162 ca help as a base line values?

Will the procedure  require accurate Test Equipment to varify the setting?
Maybe someone with quality equipment lab can do the base line up to 200Mhz

Does the High range frequency from an ARB function use the same parameters?
Some owner have generated high frequencies with ARB

IiIiIiIiIi  --  curiosity killed the cat but, satisfaction brought it back
 

Offline ted572

  • Frequent Contributor
  • **
  • Posts: 399
  • Country: us
  • Radio Communications Equipment/System Design Engr.
Re: Sniffing the Rigol's internal I2C bus
« Reply #1693 on: December 04, 2013, 06:27:45 pm »
I'm looking into determining what is involved in calibrating the DG4000 to produce a constant (flat) sine wave output level up to 200 MHz.  ,,,,,,,,,,
Thank you for any assistance.
This sound good, As one goes though the steps , can you see the existing values.
Is it good to see the values that an Owner with a DG4162 ca help as a base line values?

Will the procedure  require accurate Test Equipment to varify the setting?
Maybe someone with quality equipment lab can do the base line up to 200Mhz

Does the High range frequency from an ARB function use the same parameters?
Some owner have generated high frequencies with ARB
Yes you can pull up the existing values, and it could help to get data from an original factory supplied DG4162.
My hope is that - i.e. a DSA2202/2302 and/or DSA815 will be Ok to do a decent job, at least a big improvement for the above 60 MHz sine wave frequencies anyway.  Don't know yet about the extended frequency ARB functions yet, but my guess is it will be good enough as is.  As you can see from the list it could end up being a daunting job, although I'm hopeful that it will be manageable, but it will be tedious, and easy to make a 'start over' mistake (with each start over being easier, but very time consuming).
« Last Edit: December 04, 2013, 08:03:15 pm by ted572 »
 

Offline bandgap

  • Contributor
  • Posts: 47
  • Country: us
  • .: no electrons here :.
    • Bandgap.net
Re: Sniffing the Rigol's internal I2C bus
« Reply #1694 on: December 04, 2013, 07:17:27 pm »
I'm looking into determining what is involved in calibrating the DG4000 to produce a constant (flat) sine wave output level up to 200 MHz.  Although my DG4000 is essentially flat up to about 120 MHz (-1 dB), I would like it ti be flat up through 200 MHz +/- 1 dB or better. And I'm sure others with the DG4000 would also, because currently there is a 4 to 6 dB drop off.

What do you want to know? I hacked my DG4102 to a DG4202 and recalibrated reasonably well after that so that it is reasonably flat up to 200 MHz. I only did cal items 1, 2, and 3 for each channel. I didn't bother with the rest. I used a DM3068 to read all voltages except for when frequencies increased beyond 1 MHz (where my DM3068 started to have noticeable falloff). Above 1 MHz, I used my hacked DS2202 ("DS2302") to get a rough voltage value. (You'll want to have your scope connected the whole time you're doing this so that you can be sure of what frequency it is using for each step.) For the high freq flat (item 3), you'll want to use a 50 Ohm through terminator, and calculate dBm for a 50 Ohm termination. (The DM3068 can be setup to show this directly.) I'll check later and see if I still have my before/after spreadsheet. I improved flatness a LOT, though. (Within +/- 1 dB all the way to 200 MHz if I remember correctly.)

I can post more later if needed, but I am late now for an appointment!

-Clayton
 

Offline ted572

  • Frequent Contributor
  • **
  • Posts: 399
  • Country: us
  • Radio Communications Equipment/System Design Engr.
Re: Sniffing the Rigol's internal I2C bus
« Reply #1695 on: December 04, 2013, 08:26:34 pm »
I'm looking into determining what is involved in calibrating the DG4000 to produce a constant (flat) sine wave output level up to 200 MHz.  Although my DG4000 is essentially flat up to about 120 MHz (-1 dB), I would like it ti be flat up through 200 MHz +/- 1 dB or better. And I'm sure others with the DG4000 would also, because currently there is a 4 to 6 dB drop off.

What do you want to know? I hacked my DG4102 to a DG4202 and recalibrated reasonably well after that so that it is reasonably flat up to 200 MHz. I only did cal items 1, 2, and 3 for each channel. I didn't bother with the rest. I used a DM3068 to read all voltages except for when frequencies increased beyond 1 MHz (where my DM3068 started to have noticeable falloff). Above 1 MHz, I used my hacked DS2202 ("DS2302") to get a rough voltage value. (You'll want to have your scope connected the whole time you're doing this so that you can be sure of what frequency it is using for each step.) For the high freq flat (item 3), you'll want to use a 50 Ohm through terminator, and calculate dBm for a 50 Ohm termination. (The DM3068 can be setup to show this directly.) I'll check later and see if I still have my before/after spreadsheet. I improved flatness a LOT, though. (Within +/- 1 dB all the way to 200 MHz if I remember correctly.)

I can post more later if needed, but I am late now for an appointment!

-Clayton
Well that is great news, congratulations.  I will be going ahead also of course, but I have to wait a few days due to a family medical issue.  In the meantime it would be nice to see your before/after spreadsheet data.  It is encouraging to hear that you were able to successfully complete the process.  Thank you for describing your method and offering to share your data with us.
« Last Edit: December 04, 2013, 08:40:23 pm by ted572 »
 

Offline nazar404

  • Contributor
  • Posts: 14
Re: Sniffing the Rigol's internal I2C bus
« Reply #1696 on: December 05, 2013, 01:09:31 am »
Hello .. Can anybody help me  with the keygen program as I own the Rigol Ds2072 don't understand the keygen  program..  and don't want to screw up. 

which is the working Keygen Program and does it work with Firmware 01.01.02?
 

Offline ted572

  • Frequent Contributor
  • **
  • Posts: 399
  • Country: us
  • Radio Communications Equipment/System Design Engr.
Re: Sniffing the Rigol's internal I2C bus
« Reply #1697 on: December 05, 2013, 01:52:46 am »
Hello .. Can anybody help me  with the keygen program as I own the Rigol Ds2072 don't understand the keygen  program..  and don't want to screw up. 

which is the working Keygen Program and does it work with Firmware 01.01.02?
Read my attachment to see if this covers your questions. These are Step-By-Step Instructions that I put together. If questions please feel free to ask me.

BTW: The DS2302 is for ~ 300 MHz.
« Last Edit: December 05, 2013, 02:36:05 am by ted572 »
 

Offline nazar404

  • Contributor
  • Posts: 14
Re: Sniffing the Rigol's internal I2C bus
« Reply #1698 on: December 05, 2013, 02:29:00 am »
Thank you... for the quick reply...  I will let you know if I can get it to work
 

Offline nazar404

  • Contributor
  • Posts: 14
Re: Sniffing the Rigol's internal I2C bus
« Reply #1699 on: December 05, 2013, 03:08:37 am »
Mr Ted572, Thank you for your great great fix ...  And Thanks to all the people who worked on this project.
I am sure it took many hard hours of work!!! :-+
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf