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

0 Members and 4 Guests are viewing this topic.

Offline Co6aka

  • Supporter
  • ****
  • Posts: 299
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1575 on: November 28, 2013, 06:31:33 am »
Firmwarez flashed in, and gave the scope some funky signals from my E4438C. Looks OK,  :-+, but it's one-bloody-thirty in the AM...  :=\  Gotta climb into my coffin for a while.
Co6aka says, "BARK! and you have no idea how humans will respond."
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: Sniffing the Rigol's internal I2C bus
« Reply #1576 on: November 28, 2013, 08:50:24 am »
To all of those who don't have a fast signal generator.
How about measuring some signals inside of PC, cellphone, mediaplayer...
Processor clocks go over gigahertz so there should be some really fast signals going around?
 

Offline Avotronics

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
    • Rigol Hacks
Re: Sniffing the Rigol's internal I2C bus
« Reply #1577 on: November 28, 2013, 09:01:11 am »
 |O Can I get some clarification please:

Is the upgrade valid for all models in the series?

For example; There is DS1074Z & DS1104Z, but also DS1074Z-S & DS1104Z-S.

Then we have DP832 but also the DP832A and DP831A.

The list goes on, there are 8 models in the DS400 series?

Thanks for help, I trying to make a single resource for all this info at rigol.avotronics.co.uk
Why would you buy something ready made when you can make it yourself with half the features for twice the money!
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1578 on: November 28, 2013, 09:23:55 am »
|O Can I get some clarification please:

Is the upgrade valid for all models in the series?

For example; There is DS1074Z & DS1104Z, but also DS1074Z-S & DS1104Z-S.

...

The list goes on, there are 8 models in the DS400 series?
For DS1000Z series I think it works for both DS1000Z and DS1000Z-S

The DS2000 hacks doesn't work for DS2000A.

For DS4000 series I think it works for all DS4000 and all MSO4000 models too.
cybernet wrote that his modified DS4000 series firmware works with both 2- and 4-channel models and DS4000 and MSO4000 models here:

any DS4k volunteers ?
this sets model type 0x4 = 500mhz
(whatever channel#, whatever MSO y/n it leaves that intact)
So it's really a MSO/DS4000 series hack. Rigol also lists MSO/DS4000 series under one at their site: http://int.rigol.com/prodserv/DS4000/
It's the same user's manual and everything.

Then we have DP832 but also the DP832A and DP831A.
There's also DP811A and DP821A models: http://int.rigol.com/prodserv/DP832/property/
But all the DP8xxA models already have the 4 options from the keygen factory enabled. That's why they keygen is for DP832 only.
So far DP832 is the only non-A model released, but if Rigol releases other non-A models these will probably come without the extra options enabled too.

« Last Edit: November 28, 2013, 10:01:13 am by AndersAnd »
 

Offline Avotronics

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
    • Rigol Hacks
Re: Sniffing the Rigol's internal I2C bus
« Reply #1579 on: November 28, 2013, 11:30:38 am »
|O Can I get some clarification please:

Is the upgrade valid for all models in the series?

For example; There is DS1074Z & DS1104Z, but also DS1074Z-S & DS1104Z-S.

...

The list goes on, there are 8 models in the DS400 series?
For DS1000Z series I think it works for both DS1000Z and DS1000Z-S

The DS2000 hacks doesn't work for DS2000A.

For DS4000 series I think it works for all DS4000 and all MSO4000 models too.
cybernet wrote that his modified DS4000 series firmware works with both 2- and 4-channel models and DS4000 and MSO4000 models here:

any DS4k volunteers ?
this sets model type 0x4 = 500mhz
(whatever channel#, whatever MSO y/n it leaves that intact)
So it's really a MSO/DS4000 series hack. Rigol also lists MSO/DS4000 series under one at their site: http://int.rigol.com/prodserv/DS4000/
It's the same user's manual and everything.

Then we have DP832 but also the DP832A and DP831A.
There's also DP811A and DP821A models: http://int.rigol.com/prodserv/DP832/property/
But all the DP8xxA models already have the 4 options from the keygen factory enabled. That's why they keygen is for DP832 only.
So far DP832 is the only non-A model released, but if Rigol releases other non-A models these will probably come without the extra options enabled too.



Great thanks.

Do we know about the DSA815-TG and compatability?
Why would you buy something ready made when you can make it yourself with half the features for twice the money!
 

Offline DL5TOR

  • Contributor
  • Posts: 35
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #1580 on: November 28, 2013, 11:57:19 am »
Do we know about the DSA815-TG and compatability?

Compatible to what?
 Sorry i am missing somthing

but for info

There are only 2 typs of  DSA815:

The DSA815 9kHz - 1.5GHz no tracking gen
and
The DSA815-TG 9kHz - 1.5 GHz wiht tracking gen
Keygen works on both only it is not Confirmd or tested what is missing (harware) on the non-TG Version. If it is only the N-connector then all you need is the connector and a licens-key

73 de DL5TOR
 

Offline Avotronics

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
    • Rigol Hacks
Re: Sniffing the Rigol's internal I2C bus
« Reply #1581 on: November 28, 2013, 01:48:26 pm »
Do we know about the DSA815-TG and compatability?
Compatible to what?
 Sorry i am missing somthing

I think they don't read the thread. They just ask until somebody answers. The search in this forum seems also be broken.  :palm:

I don't think you have read it, otherwise you'd know why I was asking  :-DD
Why would you buy something ready made when you can make it yourself with half the features for twice the money!
 

Offline DL5TOR

  • Contributor
  • Posts: 35
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #1582 on: November 28, 2013, 02:06:59 pm »

I don't think you have read it, otherwise you'd know why I was asking  :-DD

Ok I read your page of the DSA815.

Now the Infos that are related to the Hacks is as follow

the DSA815-TG is confirmd for the keygen by me as I have one with all opitons enabeld the non -TG model i can not confirm alltho this shuld be the same (see my last post).

there is no moded Firmware that i am Aware of

so I hope this info is all that you Need

73 de DL5TOR
 

Offline Avotronics

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
    • Rigol Hacks
Re: Sniffing the Rigol's internal I2C bus
« Reply #1583 on: November 28, 2013, 02:10:17 pm »

I don't think you have read it, otherwise you'd know why I was asking  :-DD

Ok I read your page of the DSA815.

Now the Infos that are related to the Hacks is as follow

the DSA815-TG is confirmd for the keygen by me as I have one with all opitons enabeld the non -TG model i can not confirm alltho this shuld be the same (see my last post).

there is no moded Firmware that i am Aware of

so I hope this info is all that you Need

73 de DL5TOR

GREAT! Thank you. That is exactly what I wanted to know  :)
Why would you buy something ready made when you can make it yourself with half the features for twice the money!
 

Offline hammy

  • Supporter
  • ****
  • Posts: 465
  • Country: 00
Re: Sniffing the Rigol's internal I2C bus
« Reply #1584 on: November 28, 2013, 03:19:46 pm »
Quote
I think they don't read the thread. They just ask until somebody answers. The search in this forum seems also be broken.  :palm:

I don't think you have read it, otherwise you'd know why I was asking  :-DD

Yeah, ok. You make "the single resource" for the hacks, but you want a verification for the information you have on your website. I finally got it!
 

Offline Co6aka

  • Supporter
  • ****
  • Posts: 299
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1585 on: November 28, 2013, 03:57:46 pm »
Yeah, ok. You make "the single resource" for the hacks, but you want a verification for the information you have on your website.

Measure thrice, cut once; to err is human... :-BROKE  (And to make it utterly FUBAR requires government intervention.)

I finally got it!

Whew!  :clap: Now we can get back to sniffing bus!  O0 (Werd.)
Co6aka says, "BARK! and you have no idea how humans will respond."
 

Offline Avotronics

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
    • Rigol Hacks
Re: Sniffing the Rigol's internal I2C bus
« Reply #1586 on: November 28, 2013, 04:54:40 pm »
Yeah, ok. You make "the single resource" for the hacks, but you want a verification for the information you have on your website.

Measure thrice, cut once; to err is human... :-BROKE  (And to make it utterly FUBAR requires government intervention.)

I finally got it!

Whew!  :clap: Now we can get back to sniffing bus!  O0 (Werd.)

lol  :-DD Sniff what you like!
« Last Edit: November 28, 2013, 04:59:33 pm by Avotronics »
Why would you buy something ready made when you can make it yourself with half the features for twice the money!
 

Offline Tasman

  • Contributor
  • Posts: 40
  • Country: au
Re: Sniffing the Rigol's internal I2C bus
« Reply #1587 on: November 29, 2013, 10:26:45 am »
Unfreezing DS2000.

The method in attached pdf has been proved to unfreeze a locked-up unresponsive scope.  Might be handy if an upgrade goes wrong.
 

Offline apelly

  • Supporter
  • ****
  • Posts: 1061
  • Country: nz
  • Probe
Re: Sniffing the Rigol's internal I2C bus
« Reply #1588 on: November 29, 2013, 10:38:25 am »
Ordered a bus blaster tonight. Will be here in a week or so. Plan is to extract the 2072A firmware.
 

Offline clifford

  • Regular Contributor
  • *
  • Posts: 64
  • Country: at
    • www.clifford.at
Re: Sniffing the Rigol's internal I2C bus
« Reply #1589 on: November 29, 2013, 12:39:40 pm »
if i temper with the file, i temper with the website that displays the md5/sha/<otherhash> too -> e.g. useless

that's why it is important to post the md5/sha/etc. somewhere else (such as this forum).

for example if you have an ftp site with many mirrors, then a user would download the checksum from the primary site and the actual file from the nearest mirror.
« Last Edit: November 29, 2013, 12:44:30 pm by clifford »
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1590 on: November 29, 2013, 01:03:02 pm »
means u trust information in a public non peer reviewed forum when it comes to authenticity of a file ? - i hope u dont end up in a "bad forum" one day, could be surprising .. ;)
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1591 on: November 29, 2013, 01:05:42 pm »
Ordered a bus blaster tonight. Will be here in a week or so. Plan is to extract the 2072A firmware.
If you use a BusBlaster (as JTAGkey) and TopJTAG also you'll need the datasheet for blackfin and NAND (to define the connection pin to pin blackfin-NAND). And another vital thing is the blackfin's bsdl file.
« Last Edit: November 29, 2013, 01:17:31 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline Gunb

  • Regular Contributor
  • *
  • Posts: 221
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #1592 on: November 29, 2013, 01:30:22 pm »
@cybernet: many thanks for your efforts! Really an outstanding job you've done! :-+

Do you think that 500MHz bandwidh limit is only an firmware issue or that hardware might also be different within the DS4000 series regarding the bandwidth?

Thx again.


Kind rgds
Gunb
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1593 on: November 29, 2013, 01:50:24 pm »
Ordered a bus blaster tonight. Will be here in a week or so. Plan is to extract the 2072A firmware.
If you use a BusBlaster (as JTAGkey) and TopJTAG also you'll need the datasheet for blackfin and NAND (to define the connection pin to pin blackfin-NAND). And another vital thing is the blackfin's bsdl file.
Isn't this cyberCAD® DS2k JTAG pinout schematic enough?

https://www.eevblog.com/forum/testgear/sniffing-the-rigol's-internal-i2c-bus/msg241335/#msg241335

https://www.eevblog.com/forum/testgear/dg4000-a-firmware-investigation/

« Last Edit: November 29, 2013, 02:22:54 pm by AndersAnd »
 

Offline cosmos

  • Regular Contributor
  • *
  • Posts: 110
  • Country: 00
Re: Sniffing the Rigol's internal I2C bus
« Reply #1594 on: November 29, 2013, 01:59:30 pm »
@ Gunb  The DS4014 is already confirmed (by me, using cybernets excelent firmware mod) to have rise and fall times in the area of a DS4054 so I think it is a safe bet that it does have the same HW.

Looking at the specs of DS4000 vs DS6000 it is even tempting to think that they share HW platform, just a small 25% clock increase for frontend and a 1" larger display.

DS6k vs DS4k
5Gs/s vs 4Gs/s
600 and 1000MHz vs up to 500MHz
Same sample memory size (140M)
180k records/s vs 110k (could be partly from 25% clock increase to support 5Gs/s).
The sensitivity specs are also very similar making me think they share frontend and ADC too.
There are references in the DS4k GEL file to DS6k related text strings.
The BW limiting amplifier of the DS4k should on paper be able to reach 1GHz.

Would have been very nice with a DS6k teardown from some brave soul.
 

Offline Gunb

  • Regular Contributor
  • *
  • Posts: 221
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #1595 on: November 29, 2013, 02:07:54 pm »
@ Gunb  The DS4014 is already confirmed (by me, using cybernets excelent firmware mod) to have rise and fall times in the area of a DS4054 so I think it is a safe bet that it does have the same HW.

...


OK, thank you!


Kind rgds
Gunb
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1596 on: November 29, 2013, 02:09:12 pm »
Isn't this cyberCAD® DS2k JTAG pinout schematic enough?
https://www.eevblog.com/forum/testgear/dg4000-a-firmware-investigation/
No with TOPJTAG.



Maybe someone can post how is this pin-to-pin connection, because there are alternative pin for nand in blackfin.

It, is also necessary (so read the datasheet is mandatory):



Fortunately the DS2000's NAND is CFI compliant.

« Last Edit: November 29, 2013, 02:20:05 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline clifford

  • Regular Contributor
  • *
  • Posts: 64
  • Country: at
    • www.clifford.at
Re: Sniffing the Rigol's internal I2C bus
« Reply #1597 on: November 29, 2013, 02:12:45 pm »
means u trust information in a public non peer reviewed forum when it comes to authenticity of a file ? - i hope u dont end up in a "bad forum" one day, could be surprising .. ;)

Well... If your files are malicious in the first place then we are all screwed anyways. ;)

So I guess the question is if I have trust in the security of this forum, and the answer is of course no (the session cookies are all transferred over http, not https, to start with). But I guess this is as good as it gets..

If you'd post checksums here it would be as secure or insecure as if you'd posted the file itself here. Which is, I expect, all I can ask for.

Besides the security concerns, checksums would also provide an easy unique way of referring to a version of a file.

That all being said: If it's all the same for you I'd prefer checksums, and cryptographic signatures, and ..., otherwise I would prefer if you'd spend your time on awesome hacks rather than creating a cryptographically secure distribution chain.

Thanks for all the amazing work!  :-+
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1598 on: November 29, 2013, 02:16:18 pm »
@ clifford: Strongly agree.
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1599 on: November 29, 2013, 05:22:13 pm »
@cybernet: many thanks for your efforts! Really an outstanding job you've done! :-+

Do you think that 500MHz bandwidh limit is only an firmware issue or that hardware might also be different within the DS4000 series regarding the bandwidth?

Thx again.
Kind rgds
Gunb

impossible to say for me because i dont even own a DS4k - but the hardware experts in that forum say its all the same.
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf