changing the rigol ds1052e to ds1102e

21
Polossatik changing the rigol DS1052E to DS1102E using USB , the dummy guide « on: May 18, 2010, 12:12:29 PM » Note: You need to log in to see the links in this post. If you do NOT see any links, create a forum user and log in. Background: The hack itself is simply updating the serial number and the model number but does not work anymore on Rigols with firmwares higher than 02.02.SP2, this guide has the files needed to downgrade to 02.02.SP2 , change the serial number and the model number using USB and then to upgrade again. The downgrade is currently only possible for scopes who come with an firmware up to 00.02.05.02.00 See below , in step 2) is shown how to check your firmware version Linux users should be able to use Python with USB, . or echo to the USB mount WARNING: While this hack was successfully done by a lot of people there is always something that can go wrong. It IS possible to brick your Rigol when downgrading / upgrading firmware . So do this at you own risk. Other scopes who are know to be hackable: the Tekway DST1102B Steps to do: 1) Take the DS1052E out of the box Check if everything works as mentioned in chapter 2 of the Service Guide DS1000E.pdf Yes, reading a manual before everything fails is not a bad idea sometimes... 2) find out your CURRENT firmware version. To find you hardware revision chose on your scope the "utilities" button, , the lower button until 3/3, choose "system info". This will give the current firmware (not the full version string) and some other info.

Upload: miroslawdolata1124

Post on 25-Oct-2015

484 views

Category:

Documents


23 download

TRANSCRIPT

Polossatik

changing the rigol DS1052E to DS1102E using USB , the dummy guide

« on: May 18, 2010, 12:12:29 PM »

Note: You need to log in to see the links in this post. If you do NOT see any links, create a

forum user and log in.

Background:

The hack itself is simply updating the serial number and the model number but does not work anymore

on Rigols with firmwares higher than 02.02.SP2, this guide has the files needed to downgrade to

02.02.SP2 , change the serial number and the model number using USB and then to upgrade again.

The downgrade is currently only possible for scopes who come with an firmware up to

00.02.05.02.00

See below , in step 2) is shown how to check your firmware version

Linux users should be able to use Python with USB, .

or echo to the USB mount

WARNING:

While this hack was successfully done by a lot of people there is always something that can go

wrong.

It IS possible to brick your Rigol when downgrading / upgrading firmware .

So do this at you own risk.

Other scopes who are know to be hackable: the Tekway DST1102B

Steps to do:

1) Take the DS1052E out of the box

Check if everything works as mentioned in chapter 2 of the Service Guide DS1000E.pdf

Yes, reading a manual before everything fails is not a bad idea sometimes...

2) find out your CURRENT firmware version.

To find you hardware revision chose on your scope the "utilities" button, , the lower button until 3/3,

choose "system info". This will give the current firmware (not the full version string) and some other

info.

example:

Once in this screen press button "ch1" twice, then "ch2" twice then "math" once.

The hardware version will also appear next to "Hardversion". Note if this is 57 (or lower) or 58 .

Be aware !!!!!!! Do NOT press any key except RUN/STOP to exit while in this mode or you can

mess up your scope.

Again, do NOT press any key except RUN/STOP to exit while in this mode.

example:

Do NOT press any key except RUN/STOP to exit while in this mode or you can mess up your

scope.

some examples of the firmware versions you might see:

00.02.02.02.00 , shown as 00.02.02 SP2 in the previous screen

00.02.04.00.01 and 00.02.04.00.03 , both shown as 00.02.04 in the previous screen

00.02.04.01.02 , shown as 00.02.04 SP1 in the previous screen

00.02.05.00.00 , shown as 00.02.05 in the previous screen

00.02.05.01.00 and 00.02.05.01.02, both shown as 00.02.05 SP1 in the previous screen

3)a) Get the needed files and save this in a temp folder ( C:\temp ):

* Download a tool like hashcalc to generate MD5 sums of files.

* visa462runtime.exe : the visa462runtime.exe is available here (54Mb) , this if for Windows 2000 up

to Windows 7, see the readme.html on that website.

* Ultrascope for DS1000E Series.exe : . Make sure you use the "(VISA version)" one if your scope is

older and you had this already installed.

When in doubt deinstall and re-install .

I uploaded the one I used to rapidshare here (12Mb).

This is the version that came on the cdrom with my scope which says version "00.01.07" in the help -

about box.

There is also one on Rigol's website

* DS1052_to_DS1102.zip : the DS1052_to_DS1102.zip (11Mb) is available here on Rapidshare or

Fileserve

* download rigupgr.zip from shafri's post here.

2)b) Install everything you need on your windows pc.

Do NOT connect the Scope yet

* Install a tool like hashcalc to generate MD5 sums of files

* Run visa462runtime.exe to install the usb driver/ VISA runtime.

* Run Ultrascope for DS1000E Series.exe to install Ultrascope. (This will also install some dll files who

are needed for step 5 )

* unzip the DS1052_to_DS1102.zip in c:\temp

* unzip rigupgr.zip in c:\temp

I suggest to use 7zip it's free and works great.

After the unzip you should have now these directory's in c:\temp:

You need to reboot your pc now

Do NOT connect the Scope yet

3) Downgrade or upgrade to 00.02.02 SP2 if needed.

Do NOT connect the Scope yet

3)a) your firmware is 00.02.02 SP2 (00.02.02.02.00 ).

go to point 4

3)b) your firmware is LOWER than 00.02.02 SP2 (00.02.02.02.00 ).

If your current firmware is LOWER you need to upgrade to 00.02.02 SP2 to be able to use the USB

connection method (point 4),

you should be able to use the "hack" itself without upgrading ( using a RS232 cable) but the USB

connection method ( using "VISA" drivers ) will not work .

Easy steps to update the firmware to 00.02.02 SP2:

* empty an usb stick

* check if your usb stick works on the Rigol by plugging it in and saving some screenshots or so - see

"to store and recall" in the user manual.

* unplug it again from the scope and plug it in your computer, check files if needed

* delete all files and folders from the usb stick

* copy the DS1000EUpdate.RGL from the "C:\temp\DS1052_to_DS1102\02.02.SP2_original" directory

to the empty USB stick, there should be no folder and only only the RGL file on the usb stick

* "eject" the USB stick in Windows Explorer to make sure windows saved everything, plug it in again.

Double check your USB stick is working on the Rigol and the file is saved properly, seen at least one

person bricked his scope due a bad downgrade of the firmware discussion here

Check the MD5 sum of the DS1000EUpdate.RGL file on your usb stick.

the MD5 sum for this file should be 272086b2037231c62446617436544a77

* unplug again

* plug the USB stick in the rigol and follow the Rigol menu "upgrade" instructions

If the Rigol does not detect the firmware use another USB stick or double check the file used.

* switch off and on the rigol when asked to do so

Check your firmware version of the DS1052E (Utilities button, lower button until 3/3, choose system

info) it should list 00.02.02 SP2 .

goto point 4)

3)c) your firmware is HIGHER than 00.02.02 SP2 ((00.02.02.02.00 ) but LOWER than 00.02.05 (

00.02.05.00.00 )

example:

you need to use a "patched" 00.02.02 SP2 firmware file in the "02.02.SP2_patched_to_02.04.02"

directory

Easy steps to downgrade the firmware to 00.02.02 SP2 using the patched file:

* empty an usb stick

* check if your usb stick works on the rigol by plugging it in and saving some screenshots or so - see

"to store and recall" in the user manual.

* unplug it again from the scope and plug it in your computer, check files if needed

* delete all files and folders from the usb stick

* copy the DS1000EUpdate.RGL from the

"C:\temp\DS1052_to_DS1102\02.02.SP2_patched_to_02.04.02" directory to the empty USB stick,

there should be no folder and only only the RGL file on the usb stick

* "eject" the USB stick in Windows Explorer to make sure windows saved everything, plug it in again.

Double check your USB stick is working on the Rigol and the file is saved properly, seen at least one

person bricked his scope due a bad downgrade of the firmware discussion here

check the MD5 sum of the DS1000EUpdate.RGL file on your usb stick.

the MD5 sum for this file should be 8cd4e61ce6128b55ab18fc83fa756e34

* unplug again

* plug the USB stick in the rigol and follow the Rigol menu "upgrade" instructions

If the Rigol does not detect the firmware use another USB stick or double check the file used.

* switch off and on the rigol when asked to do so.

Check your firmware version of the DS1052E (Utilities button, lower button until 3/3, choose system

info) it should list 00.02.02 SP2 .

(this is not a typo - the file was changed to "appear" to be a higher FW version when checked by the

rigol's current firmware, but after the flash it does report as 00.02.02 SP2 - the actual version of the

firmware itself is NOT changed since the actual firmware is take from a different part of the file, which

is untouched )

goto point 4)

3)c) your firmware is 00.02.05 ( 00.02.05.00.00 ) or 00.02.05 SP1 (00.02.05.01.00)

example:

you need to use a "patched" 00.02.02 SP2 firmware file in the "02.02.SP2_patched_to_02.05.01.02"

directory

Easy steps to downgrade the firmware to 00.02.02 SP2 using the patched file:

* empty an usb stick

* check if your usb stick works on the rigol by plugging it in and saving some screenshots or so - see

"to store and recall" in the user manual.

* unplug it again from the scope and plug it in your computer, check files if needed

* delete all files and folders from the usb stick

* copy the DS1000EUpdate.RGL from the

"C:\temp\DS1052_to_DS1102\02.02.SP2_patched_to_02.05.01.02" directory to the empty USB stick,

there should be no folder and only only the RGL file on the usb stick

* "eject" the USB stick in Windows Explorer to make sure windows saved everything, plug it in again.

Double check your USB stick is working on the Rigol and the file is saved properly, seen at least one

person bricked his scope due a bad downgrade of the firmware discussion here

check the MD5 sum of the DS1000EUpdate.RGL file on your usb stick.

the MD5 sum for this file should be 7cc0aac2e39f6a677dd0296344e33954

* unplug again

* plug the USB stick in the rigol and follow the Rigol menu "upgrade" instructions

If the Rigol does not detect the firmware use another USB stick or double check the file used.

* switch off and on the rigol when asked to do so.

Check your firmware version of the DS1052E (Utilities button, lower button until 3/3, choose system

info) it should list 00.02.02 SP2 .

(this is not a typo - the file was changed to "appear" to be a higher FW version when checked by the

rigol's current firmware, but after the flash it does report as 00.02.02 SP2 - the actual version of the

firmware itself is NOT changed since the actual firmware is take from a different part of the file, which

is untouched )

goto point 4)

3)d) your firmware is 00.02.05 SP1 ( 00.02.05.01.02 ) or higher

andrewK just provided a firmware see this post , which should work for 00.02.05.01.02 scopes.

The steps should be just the same as point 3c)

After the scope is on 02.02 SP1goto point 4)

For 00.02.05.02.00 scopes see this post

4) connect the scope to your PC and test the USB connection

the ultrascope step is not needed as such for the "hack" it's simply to see if your usb connection works

fine.

Start the DS1052E and connect the scope with an USB cable to your PC, a popup should ask you

install drivers, choose "don't search for updated drivers" and let windows install the drivers.

If Windows mentions that the "installed hardware does not function properly" then, disconnect the

scope, reboot, connect the scope again.

Start ultrascope, click on the little icon "connect" icon in the upper left corner (right from the floppy) to

connect to the scope, in the left panel double click on "virtual console", click on "Run" under the

"control" and play around to see if it works.

If it does then fine, exit the "virtual console" and then ultrascope and go to step 5.

It might be also a good idea to stop and start the scope again - mine sometimes "hangs" when exiting

ultrascope.

If it does not work then there is a problem with the usb drivers or maybe you installed an old

Ultrascope, in any case do not go further until Ultrascope works on this PC.

5) Change the DS1052E to DS1102E

yes, we are finally there

5a) automatically

Forum user shafri has provided a windows "rigupgr.exe" program that basically does the steps in point

5b) automatically .

The conditions are still the same, this will ONLY work on 00.02.02 SP2 scopes.

* Connect the rigol with the usb cable to your pc if not yet done

a) start rigupgr.exe from c:\temp\rigupgr (or where you extracted rigupgr.zip)

b) Click "Check Rigol Model & Serial" button, it will show you the *IDN? result and your FW version. (it

will automatically fill the new model and serial number for upgrade process)

c) Click "Upgrade Rigol" button to start the upgrade. Wait until it ask you to restart your rigol and click

OK.

Dont do anything in between, this might take a while.

restart the scope and goto point 6)

5b) Manually

* Connect the rigol with the usb cable to your pc if not yet done

* Start demoIDN.exe from the "C:\temp\DS1052_to_DS1102\usbtool" folder

* select the scope in the first "Visa" drop down list (there should only be one line), then select "*IDN?"

in the bottom drop down list and hit "send and read"

It will give:

Code: [Select]

Rigol Technologies,DS1052E,DS1ED888888888,00.02.02.02.00

Instead of 888888888 you will see your serial number, copy paste the serial number into notepad,

you need it later.

The Scope MUST have 00.02.02.02.00 as firmware to do the hack.

* In notepad prepare 2 lines:

Code: [Select]

:INFO:MODEL DS1102E

:INFO:SERIAL DS1EB888888888

where 888888888 is your serial number, note the difference between the original DS1ED and the new

DS1EB.

* Next in the bottom select box of demoIDN.exe copy paste:

Code: [Select]

:INFO:MODEL DS1102E

and click on the send and read button - no output is given, that's normal

* After that , in the bottom select box of demoIDN.exe copy paste:

Code: [Select]

:INFO:SERIAL DS1EB888888888

where 888888888 is your serial number you prepared before, make sure you use DS1EB not DS1ED

and click on the send and read button - no output is given, that's normal

Now exit demoIDN.exe and switch off the rigol and then switch it on again.

Start demoIDN.exe again, select the scope in the first drop down list, select *IDN? in the bottom and

hit send and read

it will give

Code: [Select]

Rigol Technologies,DS1102E,DS1EB888888888,00.02.02.02.00

where 888888888 is your serial number

and your DS1052E scope is now a DS1102E....

got step 6

6) Update your firmware after the change.

Get your hardware version, that is the "Hardversion" found in step 2 of the guide.

HardWare version "57" (or lower) scopes MAY stay on 00.02.02.02.00 but there no reason why you

should NOT go to 00.02.04.01.02 (00.02.04 SP1)

HardWare version "58" scopes NEED to go to 00.02.04.01.02 (00.02.04 SP1) other wise there are

calibration issues

HardWare version "59" scopes are reported to exist , not clear yet what Firmware version the NEED,

suggest to try with 00.02.04 SP1 first and report from page 33 onwards

There seams currently no reason to go to 00.02.05.01.00 for HardWare version "58" (or lower) scopes

, some people even reported issues with 00.02.05.01.00 firwmare that do not occur in 00.02.04 SP1,

like this one

The 00.02.04.01.02 (00.02.04 SP1) firmware can be found in the "C:\temp\DS1052_to_DS1102\02.04

SP1_original" directory.

Again, make sure your is file correct on the USB stick, you can use a tool like hashcalc to check the

MD5 sum of the DS1000EUpdate.RGL 00.02.04.01.02 (00.02.04 SP1) update file on your usb stick.

The MD5 sum for this 00.02.04.01.02 (00.02.04 SP1) DS1000EUpdate.RGL file should be

bcf73565352391935f3a9651d30776ee

If you really want you can go to 00.02.05.01.00 ( 02.05 SP1 )

The 00.02.05.01.00 ( 02.05 SP1 ) firmware can be found in the

"C:\temp\DS1052_to_DS1102\02.05.01.00_original" directory .

The MD5 sum for this 00.02.05.01.00 ( 02.05 SP1 ) DS1000EUpdate.RGL file should be

839651c74a948cea1d8cccc21af9fc8a

7) After you are on your final firmware , let the scope run for 30 minutes to warm up and perform a self

calibration as the very last step.

And do not forget to delete the *.RGL file of the usb stick after doing an update of the firmware

If you want even more MHz , help out in the DS1052E Up to 150Mhz Thread

OR you want less noisy fan: Rigol 1052e Fan Replacement

enjoy

Footnotes:

* To change an DS1052D (the model with Logic Analyser) into an 1102D the steps should be just the

same, the serial number however should be changed from DS1ECxxxxxx (1052D model) to

DS1EAxxxxxx (1102D model) See here.

* The pfd's in attached rigolpdf.zip are the DS1000E_programming guide.pdf from dec 2009, User’s

Guide DS1000E.pdf from July 2009 and Service Guide DS1000E.pdf from may 2009. « Last Edit: April 22, 2011, 05:23:50 PM by Polossatik »

Logged

There are two possible outcomes: If the result confirms the hypothesis, then you've made a

measurement. If the result is contrary to the hypothesis, then you've made a discovery." Enrico Ferm

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #1 on: May 18, 2010, 01:09:26 PM »

Excellent guide, thanks for the effort in sharing.

Dave.

Logged

redek

Member

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #2 on: May 19, 2010, 12:12:33 AM »

Thanks for the guide. I'm now less confused about going through the usb port.

Logged

EstebanM

Newbie

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #3 on: May 19, 2010, 08:58:29 PM »

Thank`s ....

Logged

saturation

Member

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #4 on: May 20, 2010, 11:49:38 AM »

Thank you, great work!

Logged

Best Wishes,

Saturation

Polossatik

Member

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #5 on: May 24, 2010, 05:51:32 PM »

Some people reported that the Ultrascope from the rigol website did not work (I did not tested this) ,

uploaded the Ultrascope for DS1000E Series.exe I used to rapidshare and adapted the guide.

Logged

There are two possible outcomes: If the result confirms the hypothesis, then you've made a

measurement. If the result is contrary to the hypothesis, then you've made a discovery." Enrico Ferm

avrfreaks

Guest

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #6 on: May 25, 2010, 06:03:04 AM »

Works ok on Windows 7 and Windows Vista x86, however x64 bit environment does not work well. It

sometimes times out when programming,

I did use visa460runtime.exe for both tests.

Thanks.... « Last Edit: May 26, 2010, 01:08:45 AM by avrfreaks »

Logged

Polossatik

Member

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #7 on: May 25, 2010, 11:37:34 PM »

which usb driver did you use?

"visa441runtime" USB-driver or the newer visa460runtime.exe ?

Logged

There are two possible outcomes: If the result confirms the hypothesis, then you've made a

measurement. If the result is contrary to the hypothesis, then you've made a discovery." Enrico Ferm

johnr

Newbie

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #8 on: May 27, 2010, 11:14:37 AM »

I just received my 00.02.04 based DS1052E. Anyone follow this procedure on a recent unit and test to

see if it is actually running at 100 Mhz? In other words, verify that besides firmware change in recent

unuts there is no corresponding hardware change?

Logged

Polossatik

Member

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #9 on: May 27, 2010, 01:05:01 PM »

If you mean like compare the rise time like Dave did, not that I'm aware of.

You need a generator to do that ( see here ) that not everybody has laying around.

But feel free

Logged

There are two possible outcomes: If the result confirms the hypothesis, then you've made a

measurement. If the result is contrary to the hypothesis, then you've made a discovery." Enrico Ferm

ninja

Newbie

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #10 on: May 27, 2010, 06:25:42 PM »

Thanks for this hack! it's awesome!

It worked on win7 i used visa460runtime

Logged

squeezee

Member

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #11 on: June 01, 2010, 03:31:19 AM »

Thanks for the guide, just successfully upgraded my rigol over USB with Windows 7 x64.

I used the NIVISA 4.60 runtime downloaded from their website.

Also instead of copying the mfco42d.dll into your system directory, you just need to have it in the same

folder as demoIDN.exe for it to work.

Logged

Polossatik

Member

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #12 on: June 01, 2010, 09:05:09 AM »

thank you for the feedback, I have adapted the guide a bit.

Logged

There are two possible outcomes: If the result confirms the hypothesis, then you've made a

measurement. If the result is contrary to the hypothesis, then you've made a discovery." Enrico Ferm

ednspace

Member

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #13 on: June 03, 2010, 01:56:09 PM »

Thanks for the great Guide!!!

I did it, nervous all the while but couldn't live with myself if I didn't try,

of course if it had failed, I couldn't have lived with myself either.

I had access to a generator and another real bonified 1102E 100mHz scope so I took some photos.

Generator is an Agilent 33250A 80mHz

Thanks again for everybodys help on this

LashUp.jpg (307.08 kB, 640x480 - viewed 1441 times.)

Before.jpg (318.01 kB, 640x480 - viewed 1864 times.)

After.jpg (325.43 kB, 640x480 - viewed 1715 times.)

Comparison.jpg (307.97 kB, 640x480 - viewed 1877 times.)

Logged

Polossatik

Member

Re: changing the rigol DS1052E to DS1102E using USB , the dummy guide

« Reply #14 on: June 03, 2010, 02:49:05 PM »

thankx for those pictures, it clearly shows that the hack improves the scope, even for "lower"

frequency's...

Maybe I'm talking silly here, but does these pictures not indicate your modded 1052 is actually a tiny

little bit better than the "real" 1102? « Last Edit: June 03, 2010, 02:54:20 PM by polossatik »

Logged

There are two possible outcomes: If the result confirms the hypothesis, then you've made a

measurement. If the result is contrary to the hypothesis, then you've made a discovery." Enrico Ferm