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

0 Members and 34 Guests are viewing this topic.

Offline samertje

  • Contributor
  • Posts: 15
Hacking DS2072A-S to 200 or maybe even 300 MHz ?
« Reply #3025 on: February 23, 2014, 11:30:36 pm »
Hey guys,

All of this hacking is so awesome! Special thanks to all who did the great work.

After research on this forum, I bought the DS1052E and upgraded the firmware to make a DS1102E. Till this day, the scope is operating perfectly.

My next purchase will be a Rigol DS2xxxA-S series (with waveform generator). Is it possible to hack these as well?
What about the Rigol spectrum analyzers and function generators?

Cheers from Rotterdam,
Sam
 

Offline hammy

  • Supporter
  • ****
  • Posts: 465
  • Country: 00
Re: Hacking DS2072A-S to 200 or maybe even 300 MHz ?
« Reply #3026 on: February 24, 2014, 06:00:56 pm »
My next purchase will be a Rigol DS2xxxA-S series (with waveform generator). Is it possible to hack these as well?
What about the Rigol spectrum analyzers and function generators?

 :palm:  :o

Use the search, please!
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Hacking DS2072A-S to 200 or maybe even 300 MHz ?
« Reply #3027 on: February 24, 2014, 06:43:40 pm »
My next purchase will be a Rigol DS2xxxA-S series (with waveform generator). Is it possible to hack these as well?
What about the Rigol spectrum analyzers and function generators?

 :palm:  :o

Use the search, please!
Free service of the day. Use google, and search for: site:www.eevblog.com/forum/testgear/sniffing-the-rigol's-internal-i2c-bus <whatever_you_are_looking_for>.

Happy searching. :)
 

Offline hari

  • Contributor
  • Posts: 40
  • Country: at
 

Offline georges80

  • Frequent Contributor
  • **
  • Posts: 915
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #3029 on: February 24, 2014, 09:22:31 pm »
[SOLVED] Ok, I must be doing something stupid or missing a step:

VERY recently purchased a DSA815 with the TG option installed. It currently has trial (since it's new) keys for all the options other than 10Hz RBW.

I run the riglol program (also tried the owl website) and they generate the same key for option AAAD using the serial number (DSA8A....) that is on the back of the DSA (which matches the serial number on the System Info screen).

I try to send the key via my lan connection via SCPI as:

syst:lkey RAJ.....

all 28 characters with no spaces or '-' in the key.

The DSA squawks and says invalid key. Running version 00.01.07 firmware.

I've read a lot of this thread and nothing obvious pops up - my brain must be seized up I guess.

So where/what am I messing up? TIA.
[/SOLVED]

AND my mistake - after searching more and more in this thread... Can't use SCPI to send the keys, have to enter them MANUALLY on the front panel. Just activated the 10Hz RBW, yippee. Now to manually enter the other license keys.

Thanks to ALL that contributed to this excellent thread.

cheers,
george.
« Last Edit: February 25, 2014, 12:31:41 am by georges80 »
 

Offline KA3YAN

  • Contributor
  • Posts: 15
Re: Sniffing the Rigol's internal I2C bus
« Reply #3030 on: February 25, 2014, 01:55:14 pm »
Interesting, I've had 482 downloads of my 2072A unlocking guide.

Hopefully it is proving useful to people.

I'm not sure I could have done it without your help!  Seriously, I was lost trying to follow this forum.  Your guide was exactly what I needed.  Step-by-step.  Thanks dude!
 

Offline MatCat

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #3031 on: February 25, 2014, 04:41:09 pm »
Finally got my DS1074Z-S yesterday, put in the proper code, and all works perfectly!  Thanks!

« Last Edit: February 25, 2014, 06:43:44 pm by MatCat »
 

Offline Giggy

  • Contributor
  • Posts: 11
Re: Sniffing the Rigol's internal I2C bus
« Reply #3032 on: February 26, 2014, 08:45:09 am »
Interesting, I've had 482 downloads of my 2072A unlocking guide.

Hopefully it is proving useful to people.

I'm not sure I could have done it without your help!  Seriously, I was lost trying to follow this forum.  Your guide was exactly what I needed.  Step-by-step.  Thanks dude!

Cheers man, good to know.
 

Offline tom66

  • Super Contributor
  • ***
  • Posts: 6810
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: Sniffing the Rigol's internal I2C bus
« Reply #3033 on: February 26, 2014, 03:18:13 pm »
Is the procedure for DS1074Z hacking similar to DS2072A? Do you need the modified firmware?
 

Offline samertje

  • Contributor
  • Posts: 15
Re: Sniffing the Rigol's internal I2C bus
« Reply #3034 on: February 26, 2014, 03:45:58 pm »
So there's nobody who can confirm the upgrade of a DS2072A-S?
Sorry, I always get lost on forums.
 

Offline ZeroAviation

  • Contributor
  • Posts: 34
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #3035 on: February 26, 2014, 03:47:42 pm »
To the folks that did the work on the keygen and finding the private keys in memory. I'm curious, what are your backgrounds? How did you get to the point to being able to turn HEX into ASM? I'm sure you used IdaPro, but where do you even being to start understanding the different platforms? I'm sure you are professionals in the field.

In short, how do we become like you? :)

-Matt
 

Offline gmb42

  • Frequent Contributor
  • **
  • Posts: 294
  • Country: gb
Re: Sniffing the Rigol's internal I2C bus
« Reply #3036 on: February 26, 2014, 05:11:03 pm »
Not related to what happened with the Rigol firmware, but look at https://microcorruption.com/ for an on-line game about cracking firmware with a debugger.

Warning, can be addictive. |O
 

Offline cybermaus

  • Frequent Contributor
  • **
  • Posts: 685
  • Country: nl
Re: Sniffing the Rigol's internal I2C bus
« Reply #3037 on: February 26, 2014, 05:27:38 pm »
Which is such an obvious ploy to find talented new hires that it may not be and just be some sort of marketing for wannabees.
 

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 #3038 on: February 26, 2014, 05:50:04 pm »
Is the procedure for DS1074Z hacking similar to DS2072A? Do you need the modified firmware?

No, No.

So there's nobody who can confirm the upgrade of a DS2072A-S?
Sorry, I always get lost on forums.

I upgraded my DS1074Z-S and the sig-gen kept right on working.
 

Offline tom66

  • Super Contributor
  • ***
  • Posts: 6810
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: Sniffing the Rigol's internal I2C bus
« Reply #3039 on: February 26, 2014, 07:50:57 pm »
So, it is through the normal Cybernet keygen?
I'll probably place the order tonight for a DS1074Z to be upgraded to 100MHz.
 

Offline G4RKO

  • Newbie
  • Posts: 3
Re: Sniffing the Rigol's internal I2C bus
« Reply #3040 on: February 26, 2014, 08:59:14 pm »
Just got my DS2072A today - wading through the 286 page user guide before I attempt an upgrade. I have read this thread in its entirety and can only marvel at the fantastic work done by a team of very talented people. One thing occurs, if for any reason my 2072A needs to go back to the supplier for repair is there anyway that the upgrade can be easily reversed? Thanks for any comments.
 A Newbie!
 

Offline Giggy

  • Contributor
  • Posts: 11
Re: Sniffing the Rigol's internal I2C bus
« Reply #3041 on: February 26, 2014, 11:09:31 pm »
Just got my DS2072A today - wading through the 286 page user guide before I attempt an upgrade. I have read this thread in its entirety and can only marvel at the fantastic work done by a team of very talented people. One thing occurs, if for any reason my 2072A needs to go back to the supplier for repair is there anyway that the upgrade can be easily reversed? Thanks for any comments.
 A Newbie!

Theres an uninstall command for options and then you just install regular firmware.
 

Offline SteveK

  • Newbie
  • Posts: 6
Re: Sniffing the Rigol's internal I2C bus
« Reply #3042 on: February 27, 2014, 06:39:03 am »
First time poster.  Thought I share my observations with the key generators posted here and give another data point.  I have one of the original DS2102s (not the A version).  Details of my scope are:

Model:  DS2102
S/N: DS2A152270xxxx
Software version:  00.01.01.00.02
Hardware version: 1.0.2.0.0
SPU: 03.01.05
WPU: 00.06.05
CCU: 12.29.00
MCU: 00.05

I used the method described in post #1345 to generate the key to unlock the serial decode function (Option code: DSAC) in my scope.  But instead of using this generated key, I decided to actually buy the option from Rigol and activated the option that way. What I found interesting is, the key I got from Rigol was totally different than the key generated by the online generator.

I guess I could of screwed something up, but the impression I got is that while the key generator may work, it doesn't look like it is the same code that Rigol gives outs.  Has anyone else observed this or am I the only one that actually purchased the option?


 

Offline zombie28

  • Regular Contributor
  • *
  • Posts: 69
Re: Sniffing the Rigol's internal I2C bus
« Reply #3043 on: February 27, 2014, 10:29:12 am »
I used the method described in post #1345 to generate the key to unlock the serial decode function (Option code: DSAC) in my scope.  But instead of using this generated key, I decided to actually buy the option from Rigol and activated the option that way. What I found interesting is, the key I got from Rigol was totally different than the key generated by the online generator.

This is obvious consequence of using ECDSA algorithm in keygen. This algorithm uses some random value called 'seed', so there are many possible license codes that contain the same option bits (for a given serial number) and each of them is equally valid.

 

Offline G4RKO

  • Newbie
  • Posts: 3
Re: Sniffing the Rigol's internal I2C bus
« Reply #3044 on: February 27, 2014, 06:12:38 pm »
Just got my DS2072A today - wading through the 286 page user guide before I attempt an upgrade. I have read this thread in its entirety and can only marvel at the fantastic work done by a team of very talented people. One thing occurs, if for any reason my 2072A needs to go back to the supplier for repair is there anyway that the upgrade can be easily reversed? Thanks for any comments.
 A Newbie!

Theres an uninstall command for options and then you just install regular firmware.

Thanks Giggy. It may be a dumb question for which I apologise - where do I source the regular firmware from?
 

Offline tom66

  • Super Contributor
  • ***
  • Posts: 6810
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: Sniffing the Rigol's internal I2C bus
« Reply #3045 on: February 27, 2014, 06:17:15 pm »
Hmm - DS1074Z is nearly out of stock everywhere in UK and Europe. Is this pulling a Flir -- taking back units to update firmware? Or delaying production for fixed firmware?
 

Offline cybermaus

  • Frequent Contributor
  • **
  • Posts: 685
  • Country: nl
Re: Sniffing the Rigol's internal I2C bus
« Reply #3046 on: February 27, 2014, 06:25:20 pm »
It has been like that for ever, they just cannot supply them fast enough: I watched Batronix every day (probably twice a day) for 4 weeks till they finally had stock, purchased mine one morning, and later that same morning all 4 models were sold out again....
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Sniffing the Rigol's internal I2C bus
« Reply #3047 on: February 27, 2014, 10:22:11 pm »
Indeed, same problem here. Stock just seems to go *poof*. :(
 

Offline Giggy

  • Contributor
  • Posts: 11
Re: Sniffing the Rigol's internal I2C bus
« Reply #3048 on: February 28, 2014, 01:49:12 am »
Just got my DS2072A today - wading through the 286 page user guide before I attempt an upgrade. I have read this thread in its entirety and can only marvel at the fantastic work done by a team of very talented people. One thing occurs, if for any reason my 2072A needs to go back to the supplier for repair is there anyway that the upgrade can be easily reversed? Thanks for any comments.
 A Newbie!

Theres an uninstall command for options and then you just install regular firmware.

Thanks Giggy. It may be a dumb question for which I apologise - where do I source the regular firmware from?

To get updated firmware just email Rigol (Providing your S/N, there's a form you submit), they send it directly.

A user also posted a link to the original firmware that he uploaded. I think its between this page and ~180
 

Offline G4RKO

  • Newbie
  • Posts: 3
Re: Sniffing the Rigol's internal I2C bus
« Reply #3049 on: February 28, 2014, 05:33:54 pm »
Quote
To get updated firmware just email Rigol (Providing your S/N, there's a form you submit), they send it directly.

A user also posted a link to the original firmware that he uploaded. I think its between this page and ~180

Thanks for that. Now running 200MHz with all options!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf