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

0 Members and 3 Guests are viewing this topic.

Offline Avotronics

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
    • Rigol Hacks
Sniffing the Rigol's internal I2C bus
« Reply #1525 on: November 26, 2013, 11:55:49 pm »
I'm going to run something to... away!
This is over my head by a DS2072
Why would you buy something ready made when you can make it yourself with half the features for twice the money!
 

Offline eV1Te

  • Regular Contributor
  • *
  • Posts: 186
  • Country: se
  • Your trusted friend in science!
    • richardandersson.net
Re: Sniffing the Rigol's internal I2C bus
« Reply #1526 on: November 27, 2013, 12:01:12 am »
DS1000Z - remove the 500uV option - it does NOT work.  It will let you go to 500uV but will push the signal low off the screen.  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

I have not had time to test every feature, just got my DS1084Z-S today. Have you done the Self-Calibration after enabling 500 uV option? My unit had significant DC offset from factory, that disappeared after Self-Calibration.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1527 on: November 27, 2013, 12:19:00 am »
@ cybernet

CHG4_RILOL seem not work appropriately. If I set 500ps then I press RUN/STOP -> Time base selector can't set 500ps anymore until I return to press RUN/STOP.
And in dots mode, and a base time of 500ps I see two dots per div. with sample at 2Gsa/s (only one chnnel).

1K probe for both:





In my humble opinion for the DS2072 -> 350MHz of BW is more thant enough.

« Last Edit: November 27, 2013, 12:40:24 am by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: Sniffing the Rigol's internal I2C bus
« Reply #1528 on: November 27, 2013, 12:23:02 am »
My unit always says DS2202 even with your latest file cybernet.  I tried installing a key with no 100M or 200M, then 200M, then both, all 3 = DS2202.  1ns timebase and BW Limit is Off/20m/100m/200m still though!

Nevermind a key uninstall did move it to DS2302, reinstalled and it stayed.
« Last Edit: November 27, 2013, 04:43:41 pm by alank2 »
 

Offline jboard146

  • Contributor
  • Posts: 38
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1529 on: November 27, 2013, 12:26:48 am »
I tried requesting a copy of the firmware from the vendor who I bought my DS4014 from.

I didn't hear back to them today, but I'll call them tomorrow. Hopefully with the holiday in the US on Thursday they will just give it to me to get me off the phone so they can go home early tomorrow.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1530 on: November 27, 2013, 12:30:36 am »
I'll try the version 2302 now.  :D
It works exactly the same that CHG3_RILOL.GEL . Not a problem for me.

@ cybernet: Thank you very much for your hard work. I envy you, but in a healthy way.  :)
« Last Edit: November 27, 2013, 12:43:20 am by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline Mark_O

  • Frequent Contributor
  • **
  • Posts: 939
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1531 on: November 27, 2013, 01:19:58 am »
DS1000Z - remove the 500uV option - it does NOT work.  It will let you go to 500uV but will push the signal low off the screen.

Alan, did you perform a SelfCal, and that didn't correct the shift?
 

Offline stormbr

  • Regular Contributor
  • *
  • Posts: 50
  • Country: br
Re: Sniffing the Rigol's internal I2C bus
« Reply #1532 on: November 27, 2013, 01:21:44 am »
My ds2072 hw2.0 not recognize pendrive@fat32 and the option on menu utility/io settings/usb device/ "auto detect" is unavailable.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: Sniffing the Rigol's internal I2C bus
« Reply #1533 on: November 27, 2013, 01:26:37 am »
Alan, did you perform a SelfCal, and that didn't correct the shift?

That is true, you have a good point, let me try that!
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: Sniffing the Rigol's internal I2C bus
« Reply #1534 on: November 27, 2013, 03:09:08 am »
Alan, did you perform a SelfCal, and that didn't correct the shift?

That is true, you have a good point, let me try that!

Nope, still doesn't work after a self cal.
 

Offline seronday

  • Regular Contributor
  • *
  • Posts: 93
  • Country: au
Re: Sniffing the Rigol's internal I2C bus
« Reply #1535 on: November 27, 2013, 04:13:17 am »
Frequency Response Plots for DS2000 series 300Mhz firmware.

The measurements were made using a 50 ohm signal source to a "T" piece with a 50 ohm termination on the DSO.
This means that the high frequency response (~150Mhz +) will actually be slightly better than shown in the plot, due to the loading effect of the DSO channel input capacitance.

Unfortunately I do not have access to a measuring head at present, to allow me to compensate for this loading effect.

While doing these measurements I found that with Ch1 and Ch2 turned on, the displayed waveform does not change when switching between 1nS and 2nS/div. It is displayed as 2nS/div. The time/div readout changes but the only change to the displayed wave form is the trigger point.
If there is a frequency measurement active on the screen, it will read double the correct value when on the 1nS/div range.
The hardware freq counter reading remains correct .
With only one Channel turned on, all is well.

Also had a quick look at the 500Mhz firmware ver.
The frequency response is still like a DS2202. (3dB down at ~240Mhz).
The 500pS and 1nS/div behave in the same way as described above for the 300Mhz ver except it now happens with only one channel on.

Thanks for sharing the fruits of your long, busy, sleepless nights cybernet.
 

Offline marmad

  • Super Contributor
  • ***
  • Posts: 2979
  • Country: aq
    • DaysAlive
Re: Sniffing the Rigol's internal I2C bus
« Reply #1536 on: November 27, 2013, 04:41:01 am »
Frequency Response Plots for DS2000 series 300Mhz firmware.
Thanks for supplying those. You can also compare yours to plots made by Wim13 last June of DS2072 vs DS2202:

 

Offline bandgap

  • Contributor
  • Posts: 47
  • Country: us
  • .: no electrons here :.
    • Bandgap.net
Re: Sniffing the Rigol's internal I2C bus
« Reply #1537 on: November 27, 2013, 05:03:49 am »
While doing these measurements I found that with Ch1 and Ch2 turned on, the displayed waveform does not change when switching between 1nS and 2nS/div. It is displayed as 2nS/div. The time/div readout changes but the only change to the displayed wave form is the trigger point.
If there is a frequency measurement active on the screen, it will read double the correct value when on the 1nS/div range.
The hardware freq counter reading remains correct .
With only one Channel turned on, all is well.

I can confirm that my unit with the official firmware but accidentally upgraded to DS2302 with keys has this same behavior.

-Clayton
 

Offline Teneyes

  • Frequent Contributor
  • **
  • Posts: 498
  • Country: ca
Re: Sniffing the Rigol's internal I2C bus
« Reply #1538 on: November 27, 2013, 06:16:14 am »
@Cybernet     Great Work, 2 cases of Radler for you!   :-+   :-+

Could the CAN decoding feature be in the GEL also??
IiIiIiIiIi  --  curiosity killed the cat but, satisfaction brought it back
 

Offline maelli

  • Contributor
  • Posts: 35
Re: Sniffing the Rigol's internal I2C bus
« Reply #1539 on: November 27, 2013, 10:19:30 am »
DS7072  HW version 2 (left the factory 2013-09-23)

Rigol RP3300A probe, Jim Williams style pulse generator

So I have a decent scope for less than a thousand....     :)

thanks to everybody who contributed!
 

Offline flolic

  • Frequent Contributor
  • **
  • Posts: 386
  • Country: hr
    • http://filiplolic.com/
Re: Sniffing the Rigol's internal I2C bus
« Reply #1540 on: November 27, 2013, 10:58:05 am »

Rigol RP3300A probe, Jim Williams style pulse generator

You really should connect pulse generator directly to scope input, via 50 ohm pass through terminator  ;)
 

Offline stormbr

  • Regular Contributor
  • *
  • Posts: 50
  • Country: br
Re: Sniffing the Rigol's internal I2C bus
« Reply #1541 on: November 27, 2013, 04:40:08 pm »
My ds2072 (hacked to 200mhz) not update to ds2302 (300mhz), i bought other pendrive that was detected, but i haven't success again.

Can anybody help me ?

Thanks
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1542 on: November 27, 2013, 04:41:22 pm »
My ds2072 (hacked to 200mhz) not update to ds2302 (300mhz), i bought other pendrive that was detected, but i haven't success again.

Can anybody help me ?

Thanks

uninstalled/reinstalled key ?
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 

Offline stormbr

  • Regular Contributor
  • *
  • Posts: 50
  • Country: br
Re: Sniffing the Rigol's internal I2C bus
« Reply #1543 on: November 27, 2013, 04:46:04 pm »
Ok, I'll try uninstall the keys, but i dont know to do this.

I'll research the procedure to uninstall too.

Thanks Cybernet for your help, great work.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: Sniffing the Rigol's internal I2C bus
« Reply #1544 on: November 27, 2013, 04:53:16 pm »
I have not had time to test every feature, just got my DS1084Z-S today. Have you done the Self-Calibration after enabling 500 uV option? My unit had significant DC offset from factory, that disappeared after Self-Calibration.

Interesting.  Even after a self cal switching to 500uV for me pushed the signal off the screen...  Maybe you have hardware that supports it and mine does not...
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1545 on: November 27, 2013, 05:01:46 pm »
Ok, I'll try uninstall the keys, but i dont know to do this.

I'll research the procedure to uninstall too.

Thanks Cybernet for your help, great work.
Use the SCPI command :SYSTem:OPTion:UNINSTall to uninstall keys.

If you're not familiar with SCPI commands, read your scope's user's manual + programming guide, both documents has info about SCPI commands.

You can search this topic for :SYSTem:OPTion:UNINSTall for more info.

SCPI = Standard Commands for Programmable Instruments https://en.wikipedia.org/wiki/Standard_Commands_for_Programmable_Instruments
« Last Edit: January 17, 2014, 09:46:34 am by AndersAnd »
 

Offline sync

  • Frequent Contributor
  • **
  • Posts: 799
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #1546 on: November 27, 2013, 05:11:28 pm »
I have not had time to test every feature, just got my DS1084Z-S today. Have you done the Self-Calibration after enabling 500 uV option? My unit had significant DC offset from factory, that disappeared after Self-Calibration.

Interesting.  Even after a self cal switching to 500uV for me pushed the signal off the screen...  Maybe you have hardware that supports it and mine does not...
On my DS1074Z the self calibration doesn't correct the DC offset too. Firmware version 00.02.00.SP1.
 

Offline eV1Te

  • Regular Contributor
  • *
  • Posts: 186
  • Country: se
  • Your trusted friend in science!
    • richardandersson.net
Re: Sniffing the Rigol's internal I2C bus
« Reply #1547 on: November 27, 2013, 05:20:49 pm »
I have not had time to test every feature, just got my DS1084Z-S today. Have you done the Self-Calibration after enabling 500 uV option? My unit had significant DC offset from factory, that disappeared after Self-Calibration.

Interesting.  Even after a self cal switching to 500uV for me pushed the signal off the screen...  Maybe you have hardware that supports it and mine does not...
On my DS1074Z the self calibration doesn't correct the DC offset too. Firmware version 00.02.00.SP1.

Just to clarify, I have not enabled 500 uV/div resolution on my scope. But I had ca. 0.5 div offset on 1 mV/div from factory, and that corrected it self quite well after self cal.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: Sniffing the Rigol's internal I2C bus
« Reply #1548 on: November 27, 2013, 06:00:48 pm »
Just to clarify, I have not enabled 500 uV/div resolution on my scope. But I had ca. 0.5 div offset on 1 mV/div from factory, and that corrected it self quite well after self cal.

I'm with you now.  Given that, I'd say the 500uV option is probably a no go unless someone has it working for them.
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1549 on: November 27, 2013, 07:30:33 pm »

any DS4k volunteers ?
this sets model type 0x4 = 500mhz
(whatever channel#, whatever MSO y/n it leaves that intact)

the approach should be the same as with DS2k - you need to trigger option un/install to make it effective.
it could be that the actual model type string is not updated, but TB upgrade should work.
anyhow no guarantees for anything like always  ...  8)

download, rename to DS4000Update.GEL -> http://www.filedropper.com/ds405xupdate

Code: [Select]
[cn@warpnas01 CUSTOM]$ ../../../DS2000_New/gelfile/geltool -f DS405XUpdate.GEL -c

model: DS4064
version: 00.02.00.00.04
bitmask: 0x7
num_of_sections: 0x10

section: #00: CRC:09081ED3 ADDR:20040000 LEN:3511236 OFS:488 [VALID CRC]
section: #01: CRC:D8B156BB ADDR:20000000 LEN:2574652 OFS:3511724 [VALID CRC]
section: #02: CRC:52C1A46B ADDR:20000000 LEN:69472 OFS:6830282 [VALID CRC]
section: #03: CRC:5B8BE417 ADDR:20020000 LEN:216136 OFS:6899754 [VALID CRC]
section: #04: CRC:35E14CB3 ADDR:200D6000 LEN:9434 OFS:7115890 [VALID CRC]
section: #05: CRC:D40982DF ADDR:200C8000 LEN:30964 OFS:7125324 [VALID CRC]
section: #06: CRC:C7AC2358 ADDR:200FA000 LEN:379408 OFS:7156288 [VALID CRC]
section: #07: CRC:694D10C1 ADDR:20120000 LEN:7508 OFS:7535696 [VALID CRC]
section: #08: CRC:E8B07094 ADDR:20000000 LEN:422268 OFS:7543204 [VALID CRC]
section: #09: CRC:3B9049C9 ADDR:20040000 LEN:12364 OFS:7965472 [VALID CRC]
section: #10: CRC:D2B695F5 ADDR:20000000 LEN:2916 OFS:7977836 [VALID CRC]
section: #11: CRC:3F1C1BCC ADDR:20000C00 LEN:247192 OFS:7980752 [VALID CRC]
section: #12: CRC:63503009 ADDR:201E4C00 LEN:10876 OFS:8227944 [VALID CRC]
section: #13: CRC:0A983326 ADDR:2003D400 LEN:37204 OFS:8238820 [VALID CRC]
section: #14: CRC:4B530B40 ADDR:20045000 LEN:768008 OFS:8276024 [VALID CRC]
section: #15: CRC:00000000 ADDR:20122800 LEN:0 OFS:9044032 [VALID CRC]


[cn@warpnas01 CUSTOM]$ ls -l *.GEL
-rwxr-xr-x 1 cn smbusers 9044032 Nov 27 18:15 DS4000Update.GEL
-rw-r--r-- 1 cn smbusers 9044032 Nov 27 18:24 DS405XUpdate.GEL
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf