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

0 Members and 1 Guest are viewing this topic.

Offline Buzz239

  • Contributor
  • Posts: 16
  • Country: us
    • Ham Radio
Re: Sniffing the Rigol's internal I2C bus
« Reply #2425 on: January 12, 2014, 01:43:26 pm »
I've gone through 95 pages of the post to try to find the information for the Rigol DSA815-TG. I downloaded 3 license keys from the key generator at http://rigol.avotronics.co.uk. I have the firmware to 01.08.00 installed already and
I need to downgrade the firmware to 01.06.00 ( I guess).  When I enter the software key, Is this going to add it to the list of license keys or, will it erase one of the existing keys (see attachment)? The www.riglol.3owl.com site times out every time I try to access it. Where do I get the 01.06.00 firmware for the downgrade? If
someone could please direct me to the information (the search engine stinks) I need it would be greatly appreciated.

TNX, Gary
 

Offline olepr01@gmail.com

  • Contributor
  • Posts: 22
Re: Sniffing the Rigol's internal I2C bus
« Reply #2426 on: January 12, 2014, 01:57:26 pm »
Riglol works just fint from here (Northern Europe). The licenses will replace the inactive entries in the list. Don't know about downgrading.
 

Offline Altemir

  • Contributor
  • Posts: 47
  • Country: ru
Re: Sniffing the Rigol's internal I2C bus
« Reply #2427 on: January 12, 2014, 02:55:33 pm »
Buzz239
If you want, you can find 00.01.06 and 00.01.07 firmwares from this folder

Offline Buzz239

  • Contributor
  • Posts: 16
  • Country: us
    • Ham Radio
Re: Sniffing the Rigol's internal I2C bus
« Reply #2428 on: January 12, 2014, 03:05:16 pm »
Thanks Guys,
I didn't have to downgrade and every thing works GREAT.

73 Gary,KF9CM
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #2429 on: January 12, 2014, 04:41:37 pm »
The www.riglol.3owl.com site times out every time I try to access it.
There's a mirror of that site here: http://rigol.avotronics.co.uk/mirrors/riglol/
 

Offline tsmith35

  • Frequent Contributor
  • **
  • Posts: 265
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #2430 on: January 12, 2014, 11:55:42 pm »
The www.riglol.3owl.com site times out every time I try to access it.
Strangely, it's the same for me here. Before the mirror, I just went to the site through a random free proxy.
 

Offline pascal_sweden

  • Super Contributor
  • ***
  • Posts: 1540
  • Country: no
Re: Sniffing the Rigol's internal I2C bus
« Reply #2431 on: January 13, 2014, 11:58:04 am »
Do you need to open the scope to generate the license keys specific to your scope?

Or are they working on finding the private key so that you can generate the license keys without opening the scope?
I don't like the idea of opening up my scope =)
 

Offline Buzz239

  • Contributor
  • Posts: 16
  • Country: us
    • Ham Radio
Re: Sniffing the Rigol's internal I2C bus
« Reply #2432 on: January 13, 2014, 12:36:50 pm »
All I did was go to SYSTEM > 2nd page> license>INSTALL and enter the key code.

73, Gary KF9CM
 

Offline Gunb

  • Regular Contributor
  • *
  • Posts: 221
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #2433 on: January 13, 2014, 02:22:02 pm »
I've gone through 95 pages of the post to try to find the information for the Rigol DSA815-TG. I downloaded 3 license keys from the key generator at http://rigol.avotronics.co.uk. I have the firmware to 01.08.00 installed already and
I need to downgrade the firmware to 01.06.00 ( I guess).  When I enter the software key, Is this going to add it to the list of license keys or, will it erase one of the existing keys (see attachment)? The www.riglol.3owl.com site times out every time I try to access it. Where do I get the 01.06.00 firmware for the downgrade? If
someone could please direct me to the information (the search engine stinks) I need it would be greatly appreciated.

TNX, Gary

Hi Gary,

short question, didn't follow the thread for a while: why do you need to downgrade? Don't the keys work for V. 01.08.00 anymore?


Kind regards
Gunb
 

Offline hammy

  • Supporter
  • ****
  • Posts: 465
  • Country: 00
Re: Sniffing the Rigol's internal I2C bus
« Reply #2434 on: January 13, 2014, 02:48:41 pm »
Hi Gary,
short question, didn't follow the thread for a while: why do you need to downgrade? Don't the keys work for V. 01.08.00 anymore?
Kind regards
Gunb

He wrote it five messages before. See Reply #2463.
 

Offline Gunb

  • Regular Contributor
  • *
  • Posts: 221
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #2435 on: January 13, 2014, 03:11:30 pm »
Hi Gary,
short question, didn't follow the thread for a while: why do you need to downgrade? Don't the keys work for V. 01.08.00 anymore?
Kind regards
Gunb

He wrote it five messages before. See Reply #2463.

OK, thx!

Hmm, slowly this thread seems to need a TOC  ;D
 

Offline NikWing

  • Regular Contributor
  • *
  • Posts: 139
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #2436 on: January 13, 2014, 03:33:30 pm »
does the new secret A-version keygen need dumps or will it work without? :o
 

Offline granz

  • Regular Contributor
  • *
  • Posts: 136
  • Country: us
  • 6.62606957
Re: Sniffing the Rigol's internal I2C bus
« Reply #2437 on: January 13, 2014, 03:44:12 pm »
Here are some pictures of the internals of my DS2072A, including images of the input stage under the RF shield, for those interested.

My version info is:

Serial: DS2D....
Hardware version: 1.0.2.0.2
FPGA version:
    SPU: 03.01.09
    WPU: 00.07.01
    CCU: 12.29.00
    MCU: 02.13

Also, I can confirm that tirulerbach's keygen works nicely (scope now thinks it is a DS2202A  :-+).  I'll try to take some bandwidth measurements hopefully soon and report back...

Hopefully the image names make sense (feel free to ask for clarification).  Some of the close-ups are low resolution unfortunately, because I could only get a cheap USB microscope in there without further disassembly.

Another thing I thought of that tirulerbach mentioned about the JTAG connection: You shouldn't need the pull-ups at all as long as your adapter is driving the nTRST and nSRST lines high (my FT2232H-based adapter does that, and I assume almost all would).  If you use the pull-ups you don't need to connect those lines to your adapter at all--just leave them pulled-high for the mem dump.

Hope the images are useful !

(full back image, jumper image, and one input stage image attached, all in .zip)

https://mega.co.nz/#!I89GxaqI!bTPeSVsWpN8jEXoa44ejMDz3aOM5A-zmMqczeo_31c8

« Last Edit: January 13, 2014, 05:13:51 pm by granz »
 

Offline dr.diesel

  • Super Contributor
  • ***
  • Posts: 2214
  • Country: us
  • Cramming the magic smoke back in...
Re: Sniffing the Rigol's internal I2C bus
« Reply #2438 on: January 13, 2014, 04:51:37 pm »
Keygen worked great for unlocking all decode options on the new MSO4000s.

Thanks again to all involved.

Offline whotopia

  • Contributor
  • Posts: 12
  • Country: ch
Re: Sniffing the Rigol's internal I2C bus
« Reply #2439 on: January 13, 2014, 04:54:13 pm »
Hi all,
With all the JTAG memory image mining going on has anyone figured out where the serial number is stored in the DS2xxx?  I rolled back my firmware and the serial number was reset to default.  Anyone have any ideas on how to 'fix' this?  Also, has anyone determined if the firmware allows for the serial number to be changed via uploading a file like on the DG4000? 
My JTAG adaptor is in the mail.  I hope to help out soon.
Thanks!
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #2440 on: January 13, 2014, 05:12:26 pm »
Hope the images are useful !

(full back image, jumper image, and one input stage image attached, all in .zip)

https://mega.co.nz/#!s0tHDKYY!RoQZ1XR5ecREZNLoEFXJkRJ_YFhdCeikPaEczS07pb4
Looks like you linked to the wrong file "ds2072a_00.02.01.00.03-enter-key.tar.gz", this looks like memory dumps (.bin files) and not images.
 

Offline marmad

  • Super Contributor
  • ***
  • Posts: 2979
  • Country: aq
    • DaysAlive
Re: Sniffing the Rigol's internal I2C bus
« Reply #2441 on: January 13, 2014, 05:13:07 pm »
With all the JTAG memory image mining going on has anyone figured out where the serial number is stored in the DS2xxx?  I rolled back my firmware and the serial number was reset to default. 

It would be helpful if you posted the following info about your loss of serial number:
a) Exact model and HW revision you have (e.g. non-A, HW v.1.0.1)
b) Which FW versions you rolled back FROM and TO (e.g. FROM: FW v.02.01.00.03 TO: FW v.01.01.00.02)
c) Which FW up/downgrading method you used to roll back the FW (e.g. at boot)
d) If you had any options installed when you rolled back the FW (e.g. all options installed)
 

Offline granz

  • Regular Contributor
  • *
  • Posts: 136
  • Country: us
  • 6.62606957
Re: Sniffing the Rigol's internal I2C bus
« Reply #2442 on: January 13, 2014, 05:16:09 pm »

Looks like you linked to the wrong file "ds2072a_00.02.01.00.03-enter-key.tar.gz", this looks like memory dumps (.bin files) and not images.

Weird, I'm like 99% sure I selected the right file in mega.  (Guess I should double check afterwards).  Anyhow, I've fixed the link, thanks for the heads up.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #2443 on: January 13, 2014, 05:39:44 pm »
LOL...  :-DD

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

Offline tirulerbach

  • Contributor
  • Posts: 33
Re: Sniffing the Rigol's internal I2C bus
« Reply #2444 on: January 13, 2014, 06:15:26 pm »
does the new secret A-version keygen need dumps or will it work without? :o

The keygen still need dumps and some developers too to make further investigations.
 

Offline NikWing

  • Regular Contributor
  • *
  • Posts: 139
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #2445 on: January 13, 2014, 06:16:41 pm »
ahh darn ... I dun have linux or a USB jtag lol

btw: if not ferrites, are these 0603 resistors?
step by step, they won't print values on resistors anymore to reduce costs
could be the reason, doesn't have to be the reason xD
« Last Edit: January 13, 2014, 06:19:44 pm by NikWing »
 

Offline elecBlu

  • Contributor
  • Posts: 25
Re: Sniffing the Rigol's internal I2C bus
« Reply #2446 on: January 13, 2014, 06:32:16 pm »
LOL...  :-DD

nothing special about this, there are some unmarked resistor series out there. i doubt they choose this resistors because of the missing value on it, it should be a tolerance/price/availability thing.
 

Offline tirulerbach

  • Contributor
  • Posts: 33
Re: Sniffing the Rigol's internal I2C bus
« Reply #2447 on: January 13, 2014, 06:42:01 pm »
JTAG DS2000A
 

Offline anson80

  • Contributor
  • Posts: 10
Re: Sniffing the Rigol's internal I2C bus
« Reply #2448 on: January 13, 2014, 07:32:01 pm »
I just joined the forums,My English is not good.
 I have a newly purchased DS2102A.Its system info on the picture
 I would like to help and I'm ready to open my oscilloscope to JTAG this dump, but I'm not very familiar with in windows system JTAG,Can some guidance?
 

Offline zombie28

  • Regular Contributor
  • *
  • Posts: 69
Re: Sniffing the Rigol's internal I2C bus
« Reply #2449 on: January 13, 2014, 08:20:43 pm »
I found function responsible for loading and decrypting keys from flash, so I can confirm that the keys are not generated by the firmware itself (this wouldn't make any sense in case of public key anyway). I have also analyzed a few memory dumps from scopes of the same model (DS2072A), manufactured in consecutive weeks of 2013, and all of them had different key sets. So the keys are changed at least once a week.

Update: Rigol doesn't need to maintain database of all keys, because they can be generated algorithmically from scope's serial number, including ECC private key. However it is practically impossible to find out what algorithm it is, having only the keys.
« Last Edit: January 13, 2014, 08:51:30 pm by zombie28 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf