DSO hacking quick guide Voltcraft DSO3062C / Hantek DSO5062B / Tekway DST1062B

There is a lot of information on the web how to upgrade or hack your Voltcraft/Hantek/Tekway digital oscilloscope, but because there is so many information, things can get a it confusing and take some time to read. That’s why I decided to write my own quick guide bringing together most important information and making things easy. Enjoy!

 

Overview

This article covers the following topics:

 

DSO Models

To keep things simple, this guide is made to be fully compatible to the most common models:

60 Mhz 100 Mhz 200 Mhz
Voltcraft DSO3062C
DSO1062D
Hantek DSO5062B DSO5102B DSO5202B
Tekway DST1062B DST1102B DST1202B

There are some more models and brands this guide may work for with some slight differences. For further information have a look at the original thread on the EEV blog forum.


Fixing DSO firmware crash / hangup

You can skip this section if your DSO is working properly. But if you still have an old firmware on your DSO and had the luck to crash it (so the DSO is hanging and not responding even after reboot), follow the steps below to recover it. This will reload the DSO’s default settings.

  1. Connect your computer to the DSO via USB-to-serial cable.
    1. If you don’t have one, get a CP2102 USB-to-serial TTL adapter. Also get a male-to-female dupont cable or make it on your own.
    2. Disconnect all cables from the DSO, especially the mains!
    3. Open the DSO (see pictures above).
      DSO Serial Header
    4. Connect the adapter to the DSO mainboard. As seen on the picture to the right, the pins of three dupont wires can be gently pushed directly into the PCB vias.
    5. Connect the adapter to your computer.
  2. Install the Silabs driver for your CP2102 USB-to-serial converter.
  3. Run Putty with the following settings
    1. Serial connection
    2. 115200 baud
    3. Standard bit settings (8 data bit, 1 stop bit, no parity)
  4. Carefully turn on the DSO. Caution! Don’t touch anything but the front panel as there is high voltage around the power supply unit!
  5. Type the following and press enter: rm -f /param/sav/run1kb*
  6. Turn off the DSO and put it back together.

You should consider to do a firmware update to avoid further system lock-ups (newer firmwares have an integrated watchdog).


Backup of current firmware and settings

  1. Download the backup firmware file.
  2. Copy the file “dst1kb_b_backup_tool.up” onto a clean FAT32 formatted USB stick.
  3. Turn the DSO on and connect the stick to its front USB port.
  4. Press the “Utility” button and then “F2″ (“Firmware Update”).
  5. Press “F5″ to start. The firmware is now backed up to the USB stick.
    1. If you are getting an error “0xfe” at this point, rename the file to “dst1kb_9.99.9_cli(200101.1).up” and try again.
  6. When the backup is finished, turn off the DSO and connect the stick to your computer again to check the content. There should now be a new folder named “dump” with about 65 MB of backup data.


Updating to a newer firmware

  1. Get the latest DSO firmware (bottom one is the newest).
  2. Copy the .up-file onto onto a clean FAT32 formatted USB stick.
  3. Turn the DSO on and connect the stick to its front USB port.
  4. Press the “Utility” button and then “F2″ (“Firmware Update”).
  5. Press “F5″ to start and wait until the update has finished.
  6. Power cycle the DSO.
  7. Press “Utility” and then “F1″ (“System Information”) to check the new revision.


Unlocking 200 MHz bandwidth

You can change (up- or downgrade) the bandwidth of your scope as you desire following three easy steps:

  1. Connect the DSO via the rear USB port to your computer.
  2. Download the USB driver.
    1. Run zadig.exe from the ZIP archive.
    2. Choose “libusb-win32″ and click “Install Driver”.
    3. You may also want to change the device name from “Unknown” to something like “DSO Measurement Device” via the “Edit” checkbox.
  3. Download and run the DSO-USB-Tool.
    1. On “Log (F10)” tab, check “Use LibUSB0″. The DSO should now be recognized (see log text).
    2. On the tab “Shell (F2)”, do the following:
      1. Send an “ls” command.
      2. Look for a file named “dst1062b”, “dst1102b” or “dst1202b” (standing for 60, 100, 200 MHz). This is the current scope bandwidth.
      3. Send the following command to change the scope bandwidth from the left value to the right one (in the example from currently 60 MHz to 200 MHz afterwards, eventually replace the names appropriately):
        mv /dst1062b /dst1202b
  4. Power cycle the DSO twice.
  5. If you unlocked 200 MHz bandwidth, you can now check if the new 2ns/div timebase is available.

In order to get a proper impulse response, it may be neccessary to modify your DSO input stage after the bandwidth upgrade. Read the following section for details.


Upgrading the input stage

There seem to be slightly different components on some DSOs which may cause poor impulse response. If you have one of the poor DSOs (check with a clean square wave as shown below), it is possible to fix it with some minor tweaks. You need to swap some passive surface mount components on the input stage, preferably using an hot air rework station.

The upgrade is described in this guide. The corresponding forum post can be found here.

Please note that this tweak should only be necessary if you have a higher bandwidth scope (stock or bandwidth-hacked), as this overshooting should not occur with 60 MHz bandwidth selected.

Before and after comparison (click on the image for further information):
Original response with severe over-/undershoot- This is one of the main points of criticism from Dave in his review of the Tekway DST1102B (see from 32:50 onwards). Improved and almost perfect response.
 

Final words

Last but not least I want to speak out a big thank you to Thomas R. aka “tinhead”. He invested a huge amount of time and made all these nice things possible. If you like, you can send him a PayPal donation here.

If you found this article useful or if you have suggestions, corrections or questions, please leave some feedback below. I’m always happy to hear from you!

Further reading

About these ads

2 thoughts on “DSO hacking quick guide Voltcraft DSO3062C / Hantek DSO5062B / Tekway DST1062B

  1. I crash my DSO5062B flash include bootloader, I have an OpenJag but I don’t have full dump flash image. How should I restore my firmware and where can I find the firmware.
    Thanks a lot.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s