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

0 Members and 4 Guests are viewing this topic.

Offline andyturkTopic starter

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1650 on: December 01, 2013, 06:36:25 pm »
Is the name of the GEL file important or just the fact that it is a GEL file enough?

The name *is* important. For my scope, it wouldn't recognize the file unless it was named DS4000Update.GEL
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1651 on: December 01, 2013, 06:38:52 pm »
I've tried two different USB sticks.  One is under 1G.
Tried FAT16 and FAT32.

Is the name of the GEL file important or just the fact that it is a GEL file enough?

If you are using cybernet's firmware you must rename the file to DS2000Update.GEL
 

Offline StepDIR

  • Newbie
  • Posts: 4
Re: Sniffing the Rigol's internal I2C bus
« Reply #1652 on: December 01, 2013, 06:48:18 pm »
Thanks everyone.

 Yes I am using cybernet's firmware and I had to name my file DS2000Update.GEL since I have a DS2000 series.

 

Offline Teneyes

  • Frequent Contributor
  • **
  • Posts: 498
  • Country: ca
Re: Sniffing the Rigol's internal I2C bus
« Reply #1653 on: December 01, 2013, 07:18:48 pm »
Thanks everyone.
 Yes I am using cybernet's firmware and I had to name my file DS2000Update.GEL since I have a DS2000 series.
Just for reference,
I have one USB stick and on loading firmware to a Rigol,
I see the stick LED flash when it is inserted, but no 'Chan 1' flashing !
However,
when I remove and re-insert it a second time, then the 'Chan 1' begins to flash :)
and the new firmware is loaded. :-+

File must be named DS2000update.GEL  , NOT  DS2000update00_01_01_00_01.GEL or whatever
« Last Edit: December 01, 2013, 07:27:56 pm by Teneyes »
IiIiIiIiIi  --  curiosity killed the cat but, satisfaction brought it back
 

Offline stormbr

  • Regular Contributor
  • *
  • Posts: 50
  • Country: br
Re: Sniffing the Rigol's internal I2C bus
« Reply #1654 on: December 01, 2013, 07:31:48 pm »
Solved to me, i haven't renamed to DS2000Update.GEL and dont needed uninstall/reinstall the Keys.

BW Limit - 20M - 100M - 200M
Model Name: 2202 (not change to 2303).
Serial: not change to DS2A00001.
Time base: 1ns

Note:

I used a sandisc 4gb pendrive, black/red and all made in plastic, the same that Dave use in your review.

Thanks to all community.

Cheers.



« Last Edit: December 01, 2013, 07:33:46 pm by stormbr »
 

Offline staze

  • Frequent Contributor
  • **
  • Posts: 820
  • Country: us
  • I _might_ have a problem...
    • Everybody Staze...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1655 on: December 01, 2013, 07:35:45 pm »
So did your keys from before the hacked firmware stick? Still have decode options, etc?

I guess now all that's left is CAN decode. :)
“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 stormbr

  • Regular Contributor
  • *
  • Posts: 50
  • Country: br
Re: Sniffing the Rigol's internal I2C bus
« Reply #1656 on: December 01, 2013, 07:40:50 pm »
So did your keys from before the hacked firmware stick? Still have decode options, etc?

I guess now all that's left is CAN decode. :)

No problem with keys, all options are official version and not opened "can decode" function.

Just update to cybernet firmware and enjoy.

« Last Edit: December 01, 2013, 08:30:43 pm by stormbr »
 

Offline flolic

  • Frequent Contributor
  • **
  • Posts: 386
  • Country: hr
    • http://filiplolic.com/
Re: Sniffing the Rigol's internal I2C bus
« Reply #1657 on: December 01, 2013, 07:59:07 pm »


JW pulse generator, DS2072 scope with 50ohm pass through terminator. Cybernet's 350MHz modified firmware. Scope HW 1.0
 

Offline maelli

  • Contributor
  • Posts: 35
Re: Sniffing the Rigol's internal I2C bus
« Reply #1658 on: December 01, 2013, 08:35:15 pm »
@frolic

some more playing around with 300 and 200Mhz setting.
Williams generator with piece of coax and a trimcap.
Aim was to generate a flat and slightly longer (if 4.5 nanosecs are long)
pulse, since too short pulses show to optimistic rise times.

Still using the 1:10 probe that came with the DS2000.
Shortest possible earth connection (not even the springy thingy).
DS2072 hw version 2, with Cybernet's firmware

Yellow trace full BW, pink trace 200Mhz.
The 200Mhz setting is so much slower ;-)
« Last Edit: December 01, 2013, 08:48:33 pm by maelli »
 

Offline flolic

  • Frequent Contributor
  • **
  • Posts: 386
  • Country: hr
    • http://filiplolic.com/
Re: Sniffing the Rigol's internal I2C bus
« Reply #1659 on: December 01, 2013, 08:59:18 pm »
@Maelli, yes, you are right ;)
I forgot to adjust trimmer on my pulse generator. Now reading are almost the same as yours ;)

 

Offline Co6aka

  • Supporter
  • ****
  • Posts: 299
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1660 on: December 01, 2013, 09:21:10 pm »
DS4014 frequency response based on Co6aka measurements...

Interesting how the knee is right at 500MHz, and the highest BW DS4K is 500MHz.

I forgot to add: I also generated some 95% modulated AM signals at 1GHz which, though attenuated, looked exactly as expected; seems the scope is still usable at 1GHz. When I get an opportunity I'll do some more upper-frequency-limit exploration, and if anyone wants me to also try some specific tests send me a PM with the details.
« Last Edit: December 01, 2013, 09:29:00 pm by Co6aka »
Co6aka says, "BARK! and you have no idea how humans will respond."
 

Offline andyturkTopic starter

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #1661 on: December 01, 2013, 10:11:14 pm »
... I also generated some 95% modulated AM signals at 1GHz which, though attenuated, looked exactly as expected; seems the scope is still usable at 1GHz.
That's the same conclusion that Connor Wolf came to a while back. The info is buried in the thread somewhere, but the input amplifiers are configurable for bandwidth and are spec'd to handle 900MHz, if I remember correctly. It could be that cybernet's DS4K mod simply tricks the scope into thinking it's a 500MHz model, without touching the actual configuration of the input amps. I.e., the DS4054 may still be limiting the bandwidth under software control.

The way to find out would probably be to put a logic analyzer on the SPI lines for those input amps and see what's being sent to them. ve7xen tried that on his DS2K, and found that the input amps were still limited even when the scope's UI said otherwise.
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #1662 on: December 01, 2013, 10:22:15 pm »
im pretty sure the change int he model type id (thats what the firmware file hack does) affects the SPI based filter chip, indirectly.
but: atm i believe the FPGA or a micro core in the FPGA is actually running the SPI bus, the bfin is a slave - so the actual value that gets set in the SPI based filter chip is unknown to me (but it does upgrade, that im pretty certain)
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #1663 on: December 01, 2013, 10:37:50 pm »
Another question: What chip sets the DS4000's BW?
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline thetooth

  • Contributor
  • Posts: 22
Re: Sniffing the Rigol's internal I2C bus
« Reply #1664 on: December 03, 2013, 11:55:31 am »
At the risk of sounding retarded, is the DS2000A hackable at this point?, i've skimmed backwards through to page 60 where people were talking about it but there wasn't any solution.

My DS2072A arrived today and i've been burning through the trail like anything(2000 minutes is NOTHING), since i really need the 56mp/s option but am flat broke after buying the scope. Of course tried the keygen to no avail using manual input and serial.

I'm willing to do FW dump if its needed, also i have a copy of the latest GEL file.

And somewhat off topic, dose the DS2000 normally crash frequently? i've had it on for probably 4hrs total, and its crashed 5 times so far, 3 when using the decode functions and the others just randomly.
 

Offline Avotronics

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
    • Rigol Hacks
Re: Sniffing the Rigol's internal I2C bus
« Reply #1665 on: December 03, 2013, 12:01:52 pm »
At the risk of sounding retarded, is the DS2000A hackable at this point?, i've skimmed backwards through to page 60 where people were talking about it but there wasn't any solution.

My DS2072A arrived today and i've been burning through the trail like anything(2000 minutes is NOTHING), since i really need the 56mp/s option but am flat broke after buying the scope. Of course tried the keygen to no avail using manual input and serial.

I'm willing to do FW dump if its needed, also i have a copy of the latest GEL file.

And somewhat off topic, dose the DS2000 normally crash frequently? i've had it on for probably 4hrs total, and its crashed 5 times so far, 3 when using the decode functions and the others just randomly.

DS2000A Hackable yet? No.
But I don't think anyone has supplied jtag dump yet for the A series.
I really want to order a DS2000 while there are still some non-A versions left, unfortunately I'm skint this month.
I'm not convinced that the A version will ever be hackable because I think Rigol have done something to stop (make harder) the hackability of the newer models.  Of course, I could be wrong  :-\

I would suggest you contact the supplier with your crashing problem. But you should check the firmware version in case there is an update.

Someone will be a long shortly who knows more.
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 #1666 on: December 03, 2013, 12:04:54 pm »
At the risk of sounding retarded, is the DS2000A hackable at this point?
No, not yet.

I'm willing to do FW dump if its needed, also i have a copy of the latest GEL file.
Uploading a FW dump and GEL file would probably help a lot with hacking it, nobody has uploaded this for DS2000A yet, so nobody without a DS2000A would be able to help with hacking it.
The files are too big to attach at this forum, so you would need to use a 3rd party file hosting site like www.filedropper.com where cybernet has uploaded his custom firmwares, or mail them to the poster above (Avotronics) who hosts files for Rigol hacking on his website here: rigol.avotronics.co.uk
« Last Edit: December 03, 2013, 12:10:31 pm by AndersAnd »
 

Offline Teneyes

  • Frequent Contributor
  • **
  • Posts: 498
  • Country: ca
Re: Sniffing the Rigol's internal I2C bus
« Reply #1667 on: December 03, 2013, 12:14:08 pm »
dose the DS2000 normally crash frequently? i've had it on for probably 4hrs total, and its crashed 5 times so far, 3 when using the decode functions and the others just randomly.
  NO , I cannot remember if it ever froze, bugs Yes, function failures ( buttons) Yes
IiIiIiIiIi  --  curiosity killed the cat but, satisfaction brought it back
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1668 on: December 03, 2013, 12:17:44 pm »
And somewhat off topic, dose the DS2000 normally crash frequently? i've had it on for probably 4hrs total, and its crashed 5 times so far, 3 when using the decode functions and the others just randomly.
What's the firmware and hardware versions for your DS2000A?
You said you have the latest GEL file, what version is this and has it been installed yet?
I think you are the first member on here to mention having received a new GEL file for DS2000A.
 

Offline apelly

  • Supporter
  • ****
  • Posts: 1061
  • Country: nz
  • Probe
Re: Sniffing the Rigol's internal I2C bus
« Reply #1669 on: December 03, 2013, 12:47:37 pm »
I'm willing to do FW dump if its needed
Do it! My JTAG stuff is still in the mail. Will be more than a week before I get set up and can dump everything.

also i have a copy of the latest GEL file.
Post it already. What's the hold up?  ;D

Also... I've never experienced a crash with mine. Maybe RMA before you open it?
 

Offline thetooth

  • Contributor
  • Posts: 22
Re: Sniffing the Rigol's internal I2C bus
« Reply #1670 on: December 03, 2013, 01:26:37 pm »
Heres the firmware i got from rigol: http://thetooth.name/dev/DS2000(DSP)update.rar i have not installed it yet because they said it was the same version and i've read before that updating causes you to loose trial, however i don't think its anything new, internal date is 24/06/2013 so i as a wild guess, they're using the same firmware but have changed something else to break the keygen(or the keygen's algo is just incorrect for the newer models :P).

Heres the version info, i'm not sure how to get any extended info like i've seen in other posts, but maybe they were just ds4000's

 

Offline marmad

  • Super Contributor
  • ***
  • Posts: 2979
  • Country: aq
    • DaysAlive
Re: Sniffing the Rigol's internal I2C bus
« Reply #1671 on: December 03, 2013, 01:38:03 pm »
Heres the version info, i'm not sure how to get any extended info like i've seen in other posts
Bottom of this post.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: Sniffing the Rigol's internal I2C bus
« Reply #1672 on: December 03, 2013, 01:42:02 pm »
thetooth that is the same as the latest non A firmware, so either Rigol gave you the wrong firmware or they are going to use the same firmware for both the A and non A scopes.  Probably they gave you the wrong one though as your scope shows something newer - I wouldn't load it!

Also, it isn't a rar but a zip you've attached.
« Last Edit: December 03, 2013, 01:43:36 pm by alank2 »
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Sniffing the Rigol's internal I2C bus
« Reply #1673 on: December 03, 2013, 01:48:44 pm »
Also, it isn't a rar but a zip you've attached.
I'm surprised WinRAR doesn't complain, regardless if this file ends on .rar or .zip.
It just opens it as if it had the correct extension name, whether you name it .rar or .zip.
 

Offline thetooth

  • Contributor
  • Posts: 22
Re: Sniffing the Rigol's internal I2C bus
« Reply #1674 on: December 03, 2013, 02:30:34 pm »
thetooth that is the same as the latest non A firmware, so either Rigol gave you the wrong firmware or they are going to use the same firmware for both the A and non A scopes.  Probably they gave you the wrong one though as your scope shows something newer - I wouldn't load it!

Also, it isn't a rar but a zip you've attached.
yeah i gathered, also funnily enough the rigol rep sent me the image as a jpg file with instructions to rename it since he seemed to think it would be eaten.

I sent an email back to ask if they were sure this was for the A version so might see something new after all.


That sure did take a few attempts, i think the threshold is about 500ms lel
« Last Edit: December 03, 2013, 02:33:54 pm by thetooth »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf