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

0 Members and 6 Guests are viewing this topic.

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1800 on: December 09, 2013, 10:50:31 pm »
So are you loading these codes with 00.01.01.00.02 and then upgrading to 00.02.01.00.03 to utilize them?

no, i just upgraded to the new fw, and applied them.
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2196
Re: Sniffing the Rigol's internal I2C bus
« Reply #1801 on: December 09, 2013, 10:52:09 pm »
no, i just upgraded to the new fw, and applied them.

With a diagnostic key or generated key?  Did you find the new point and crack the new algo?  Does the 00.02.01.00.03 firmware detect a Non-A model and accept normal keys?
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1802 on: December 09, 2013, 10:54:11 pm »
for FW 00.02.01.00.03 - on a DS2000 (NON A version only !)

Code: [Select]
0x1C080    - DSEA - PROTOCOL ANALYSIS - CAN
0x1C040    - DSCA - BANDWIDTH - 300M Bandwidth (takes a reboot to show up in System Info)
0x1C020    - DSBA - (installs option, but i dont see it ?)
0x1C010    - DSAS - BANDWIDTH - 200M Bandwidth
<known codes still work - see elsewhere>

enable 0x1C0E7 -> all but 100/200M bandwidth-> DSHH
Awesome :-+ DSAS also works with older SW versions according to http://riglol.3owl.com
Quote
DS2000 device options:
first character: D = official, V = trial
DSAB - Advanced Triggers
DSAC - Decoders
DSAE - 56M Memory
DSAJ - 100MHz
DSAS - 200MHz
DSAZ - all options

i wonder if 0x1C020 is the 50Ohm option, which my hw probably doesnt support.
Can't you tell a difference in the menu if the 50 Ohm option is enabled by a key or not, even if th HW doesn't support it in HW 1 doesn't support it?
« Last Edit: December 10, 2013, 12:36:39 am by AndersAnd »
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1803 on: December 09, 2013, 10:58:47 pm »
no, i just upgraded to the new fw, and applied them.
With a diagnostic key or generated key?  Did you find the new point and crack the new algo?  Does the 00.02.01.00.03 firmware detect a Non-A model and accept normal keys?
I beleive you can still use this keygen http://riglol.3owl.com and then just type DSAR DSHH instead of the usual DSAZ to enable all options on the new FW 00.02.01.00.03 for non-A DS2000, including CAN protocol analysis, 300 MHz BW (and maybe 50 ohm input option?).
« Last Edit: December 10, 2013, 12:39:12 am by AndersAnd »
 

Offline iNoxxam

  • Contributor
  • Posts: 11
Re: Sniffing the Rigol's internal I2C bus
« Reply #1804 on: December 10, 2013, 12:02:14 am »
Hello,
I have a DS2072 hardware 1 and can't do the update to http://www.filedropper.com/ds2302rilol and therefore no CAN.
The update procedures seems to run like it should, and then, when the scope reboots, everything is just like before. The software version did not move from 01.01.00.00.02.
I have a DS2A0000000001 serial, could that be an issue?
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2196
Re: Sniffing the Rigol's internal I2C bus
« Reply #1805 on: December 10, 2013, 12:07:46 am »
Keeping trying to update.  I had it not work, blink for just a few seconds then go solid on, but stay on the old version.  I kept at it and finally it blinked for 3-4 minutes or so and worked.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2196
Re: Sniffing the Rigol's internal I2C bus
« Reply #1806 on: December 10, 2013, 12:22:16 am »
cybernet do you still have the CH1 200M bandwidth limit?  I can get to the 1ns timebase, but no 200M...

The bit in DSBA was accepted by the older firmware too, it would be nice to figure out what it does.  I find it interesting that they stepped around this bit, so there must be some significance to it.
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1807 on: December 10, 2013, 12:26:30 am »
Hello,
I have a DS2072 hardware 1 and can't do the update to http://www.filedropper.com/ds2302rilol and therefore no CAN.
The update procedures seems to run like it should, and then, when the scope reboots, everything is just like before. The software version did not move from 01.01.00.00.02.
I have a DS2A0000000001 serial, could that be an issue?
Did you rename the DS2302_RILOL.GEL file to DS2000Update.GEL first? That's the only way you can load it.

But there seems to be no reason to install this custom firmware anymore after Cybernet's latest posts here with new key options for 300 MHz, CAN etc..
Just download the official firmware 00.02.01.00.03 uploaded here instead.
Then un-rar DS2000Update.GEL and load it.
After updating apply a key generated with DSAR DSHH to enable all options.
« Last Edit: December 10, 2013, 12:39:29 am by AndersAnd »
 

Offline iNoxxam

  • Contributor
  • Posts: 11
Re: Sniffing the Rigol's internal I2C bus
« Reply #1808 on: December 10, 2013, 12:44:22 am »
Thanks,
I finally managed to get all the options by:
- Updating to 02.01 with the official .GEL (several times, to get it working)
- Installing the key generated with DSAR
- Installing the key generated with DSEA (for CAN)
- Installing the key generated with DSCA (for 300MHz)

My S/N is still DS2A0000000001 though. If someone finds out how to fix it I'll be interested into that.

It is now full option thanks to you... Thanks a lot!
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1809 on: December 10, 2013, 12:45:01 am »
for FW 00.02.01.00.03 - on a DS2000 (NON A version only !)

Code: [Select]
0x1C080    - DSEA - PROTOCOL ANALYSIS - CAN
0x1C040    - DSCA - BANDWIDTH - 300M Bandwidth (takes a reboot to show up in System Info)
0x1C020    - DSBA - (installs option, but i dont see it ?)
0x1C010    - DSAS - BANDWIDTH - 200M Bandwidth
<known codes still work - see elsewhere>

enable 0x1C0E7 -> all but 100/200M bandwidth-> DSHH

i wonder if 0x1C020 is the 50Ohm option, which my hw probably doesnt support.

UPDATE: despite being DS2302 model, bw limit option is only NONE,20M,100M - somebody better confirm that NONE = 300M ;-)
Are LIN and USB protocol analyzers enabled too like mentioned below? Or maybe they aren't actully implemented in the firmware yet, but they have just reserved key options for it?.
Well, the firmware also shows these strings:
CAN
LIN
USB

So, how can somebody enable CAN / LIN / USB protocol analyzer at a DS2072??
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1810 on: December 10, 2013, 12:49:18 am »
Thanks,
I finally managed to get all the options by:
- Updating to 02.01 with the official .GEL (several times, to get it working)
- Installing the key generated with DSAR
- Installing the key generated with DSEA (for CAN)
- Installing the key generated with DSCA (for 300MHz)

My S/N is still DS2A0000000001 though. If someone finds out how to fix it I'll be interested into that.

It is now full option thanks to you... Thanks a lot!
cybernet has changed the enable all option from DSAR to DSHH in his post above.
But did you have to apply DSEA and DSCA afterwards too? This shouldn't be necessary if DSAR / DSHH has already enabled all options including 300 MHz and CAN.
 

Offline iNoxxam

  • Contributor
  • Posts: 11
Re: Sniffing the Rigol's internal I2C bus
« Reply #1811 on: December 10, 2013, 12:51:03 am »
cybernet has changed the enable all option from DSAR to DSHH in his post above.
But did you have to apply DSEA and DSCA afterwards too? This shouldn't be necessary if DSAR / DSHH has already enabled all options including 300 MHz and CAN.

Yup I had to. Else I would "only" have unlocked a 200MHz BW and no CAN analyzer.
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1812 on: December 10, 2013, 12:55:50 am »
cybernet has changed the enable all option from DSAR to DSHH in his post above.
But did you have to apply DSEA and DSCA afterwards too? This shouldn't be necessary if DSAR / DSHH has already enabled all options including 300 MHz and CAN.

Yup I had to. Else I would "only" have unlocked a 200MHz BW and no CAN analyzer.
Did you check that before installing the last two keys?
That's not what cybernet wrote. So you're saying DSAR to DSHH doesn't install all options anyway, but only does the same as the already known DSAZ?

Btw. have you tested this:
UPDATE: despite being DS2302 model, bw limit option is only NONE,20M,100M - somebody better confirm that NONE = 300M ;-)
 

Offline iNoxxam

  • Contributor
  • Posts: 11
Re: Sniffing the Rigol's internal I2C bus
« Reply #1813 on: December 10, 2013, 01:09:15 am »
cybernet has changed the enable all option from DSAR to DSHH in his post above.
But did you have to apply DSEA and DSCA afterwards too? This shouldn't be necessary if DSAR / DSHH has already enabled all options including 300 MHz and CAN.

Yup I had to. Else I would "only" have unlocked a 200MHz BW and no CAN analyzer.
Did you check that before installing the last two keys?
That's not what cybernet wrote. So you're saying DSAR to DSHH doesn't install all options anyway, but only does the same as the already known DSAZ?

Btw. have you tested this:
UPDATE: despite being DS2302 model, bw limit option is only NONE,20M,100M - somebody better confirm that NONE = 300M ;-)

Yes I checked right after trying the DSAR.
Finally I uninstalled all options  (using SCPI) and tried with DSHH, this one did actually enable everything.
I did not try the BW limit in "NONE" mode, but as soon as I get my hands on a function generator be sure I will.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2196
Re: Sniffing the Rigol's internal I2C bus
« Reply #1814 on: December 10, 2013, 01:24:22 am »
It looks like the 00.02.01.00.03 firmware fixes the both channels on in 1ns timebase issue.
 

Offline stormbr

  • Regular Contributor
  • *
  • Posts: 50
  • Country: br
Re: Sniffing the Rigol's internal I2C bus
« Reply #1815 on: December 10, 2013, 02:49:36 am »
Works fine with ds2072 (non a) and hardware 2.0.

Model: DS2302
SW: 00.02.01.00.03
HW: 1.0.2.0.2
FPGA: SPU 03.01.09 / WPU 00.07.01 / CCU 12.29.00 / MCU 02.12

Note:
Need uninstall the old key with ultra sigma.
Option: DSHH + rigen 2b1
Protocol analysis CAN: ok
300MHz BW: ok
BW limit: OFF - 20M - 100M

Thanks Cybernet.
« Last Edit: December 10, 2013, 03:03:11 am by stormbr »
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2196
Re: Sniffing the Rigol's internal I2C bus
« Reply #1816 on: December 10, 2013, 03:07:31 am »
300MHz BW: ok

Did you test or measure this somehow?
 

Offline stormbr

  • Regular Contributor
  • *
  • Posts: 50
  • Country: br
Re: Sniffing the Rigol's internal I2C bus
« Reply #1817 on: December 10, 2013, 03:15:51 am »
No tested this bandwith yet, but some peoples here measure easily 300mhz, in future i'll bought a pulse generator too.

And i'm waiting my dsa815tg arrive, can i generate a 300mhz signal with dsa815?
« Last Edit: December 10, 2013, 03:18:55 am by stormbr »
 

Offline ted572

  • Frequent Contributor
  • **
  • Posts: 399
  • Country: us
  • Radio Communications Equipment/System Design Engr.
Re: Sniffing the Rigol's internal I2C bus
« Reply #1818 on: December 10, 2013, 03:20:19 am »
No tested this bandwith yet, but some peoples here measure easily 300mhz, in future i'll bought a pulse generator too.

And i wait my dsa815tg arrive, can i generate a 300mhz signal with dsa815?

Yes, you will be able to generate 300 MHz (or anything else up to 1.5 GHz) in the Zero Span Mode.
 

Offline Rigol-Friend

  • Contributor
  • Posts: 35
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #1819 on: December 10, 2013, 03:24:11 am »
No tested this bandwith yet, but some peoples here measure easily 300mhz, in future i'll bought a pulse generator too.

And i'm waiting my dsa815tg arrive, can i generate a 300mhz signal with dsa815?

Sure, up to 1.5 Ghz (Zero Span).  -20 to 0 dBm in 1 dB steps.
« Last Edit: December 10, 2013, 03:27:25 am by Rigol-Friend »
My english is VERY poor, sorry. I learned in school, about more than 55 years ago.

But I'am a happy owner of Rigol DSA815-TG with all options + DS2302 (was DS2072) + DG4202 (was DG4062)
Mega thanks to the developers of the key-generator ! Especially to CYBERNET with his brilliant brain !
 

Offline stormbr

  • Regular Contributor
  • *
  • Posts: 50
  • Country: br
Re: Sniffing the Rigol's internal I2C bus
« Reply #1820 on: December 10, 2013, 03:28:30 am »
Thanks for the info, great instrument !
 

Offline staze

  • Frequent Contributor
  • **
  • Posts: 820
  • Country: us
  • I _might_ have a problem...
    • Everybody Staze...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1821 on: December 10, 2013, 04:51:40 am »
anyone with HW 2.0 seeing if 50ohm termination is an option for the new firmware and unlocks?
“Give a man an answer, he’ll keep his job for a day. Teach a man to Google, and he’ll be employed for a lifetime”
 

Offline JDubU

  • Frequent Contributor
  • **
  • Posts: 450
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1822 on: December 10, 2013, 05:05:31 am »
Works fine with ds2072 (non a) and hardware 2.0.

Model: DS2302
SW: 00.02.01.00.03
HW: 1.0.2.0.2
FPGA: SPU 03.01.09 / WPU 00.07.01 / CCU 12.29.00 / MCU 02.12

Note:
Need uninstall the old key with ultra sigma.
Option: DSHH + rigen 2b1
Protocol analysis CAN: ok
300MHz BW: ok
BW limit: OFF - 20M - 100M

If the bandwidth is 300MHz, shouldn't the BW limit menu options be:   OFF - 20MHz - 100MHz - 200MHz?
Is the bandwidth actually still 200MHZ and not 300MHz?


Never mind...
The DS2000A User's Guide, page 2-3 says:

"Enable bandwidth limit and limit the bandwidth to 20 MHz or 100 MHz (only applicable to 200 MHz and 300 MHz oscilloscopes), the high frequency components that exceed 20 MHz or 100 MHz are attenuated."
« Last Edit: December 10, 2013, 07:26:44 am by JDubU »
 

Offline Rigol-Friend

  • Contributor
  • Posts: 35
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #1823 on: December 10, 2013, 06:01:12 am »
Hi,

please, can anybody give me the SCPI commands for switching the input impedance to 50 ohms and back to 1 Megaohms of the DS2072?
I done it many weeks ago and it worked fine, but now I can't remember these commands.  :(

Many thanks for your help.

Rigol-Friend
My english is VERY poor, sorry. I learned in school, about more than 55 years ago.

But I'am a happy owner of Rigol DSA815-TG with all options + DS2302 (was DS2072) + DG4202 (was DG4062)
Mega thanks to the developers of the key-generator ! Especially to CYBERNET with his brilliant brain !
 

Offline gaijin

  • Contributor
  • Posts: 47
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1824 on: December 10, 2013, 06:19:20 am »
Hi,

please, can anybody give me the SCPI commands for switching the input impedance to 50 ohms and back to 1 Megaohms of the DS2072?

:CHAN1:IMP OMEG
:CHAN1:IMP FIFTY
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf