Continuation of
https://www.eevblog.com/forum/testgear/new-hantek-dso2x1x-models/
» Readme first! «
Before following any instructions described here, please read:
This information was obtained based on my own testings and forum users feedback.
I've put my best efforts on making this information accurate and valuable, but it might not be 100% correct.
Having said that,
I don't take any responsability, if you proceed, it'll be at your own risk.Before doing anything, save your important data!- Make a
flash backup (Check DSO Flash Tool below).
- Run
Backup Builder (In Mods section)
Also, it's always a good idea to take a picture of Utility->System info screen.
Some updates might erase and/or break some features, and you'll need to restore the system.
Read carefully: There's a big difference between "FW version" and "SW version".
SW version refers to the software running inside the CPU(Phoenix).
FW version refers to the firmware running in the internal FPGA.
Higher FW version doesn't mean it's compatible or better!
Do not change your FW version unless specifically told you to do so!Some updates can do it, so don't update with anything you find over internet unless you have a backup!
Check the section "
FW versions" for more details.
» Quick glance «
This section summarizes few quick references.
» For scopes coming with
FW30xx-31xx, update to
FW3102.
» For scopes coming with
FW320x, update to
FW3209, try older 32xx versions if having issues.
FW3204 seems to break the decoder, avoid it.
» Latest software release is
2024.03.26.
» If
USB is not working properly (Drive not being recognized until pressing update), apply Hantek's
USB fix.
» The system only has one USB interface, shared with 2 ports. So you can't use both at the same time!
» If the scope isn't being recognized properly in IO Lib Suite, uninstall it and install the
latest version from Keysight.
» Also using
Rohde & Schwarz Driver seems to work (Tested v5.12.8 ). (
Link to original post).
» If the scope is randomly crashing when handling the controls, ensure you have latest FW (B102/3102 or B202/3202).
» Additionally, if calibration fails with an error, probably your FW version is incorrect, check "
FW versions".
» You can upgrade and downgrade to any FW and SW version you want, i.e. you can apply an older version if the newer one isn't stable or compatible, there's no known risk of permanent damage.
» Sometimes the settings get corrupted and the scope gets stuck in the boot logo or the interface becomes unresponsive. If this happens, check "Recovering" section.
» Rotating encoders unresponsive but buttons working?
Check this solution.
» To quickly upgrade to 2D15, run 2D15 conversion, available at the bottom of this FAQ.
Ensure to make a backup first with Backup builder!
» What not to do «
» Screwing up your system because you thought you were smarter than anyone, so no reading of any kind was needed.
» Coming here to blame us for your fuck-up because of the above.
» DSO Flash Tool «
This tool can backup and restore the flash without opening the scope.
- Download
DSOFLASH- Open the readme and folllow the instructions.
» Firmware versions «
It's not a good idea to change it unless stated to do so.
Calibration will fail if the wrong version is used, but else than that, there's no risk of permanent damage.
Available FW versionsThey're UPK packages, you can install them like a normal update.
If your version is not listed there, please make a backup using Backup Builder (In Mods section) and send me the file dso3kb_CNxxx_FPGA.tar.bz2.
You can upload it to my
public writable folder, please add some txt describing yor upload!
» 2013_A013» 2015_A015» 3000_B000» 3101_B101» 3102_B102» 3200_B200» 3202_B202» 3203_B203 (3202 fix for noisy signal in higher memory depts, ex. 4M, 8M)
» 3204_B204 (Seems to break decoding, try FW3202 if having issues)
» 3205_B205 (Supposedly it fixes the decoding problems from 3204)
» 3208_B208» 3209_B209
» Updating «
There are two kind of updates: Regular system updates and low-level firmware packages.
» Regular system updates are the UPK files. These are installed from the usb drive.
» Low level firmware packages are flashed using platform-tools. They will overwrite the whole filesystem.
» Check "
Recovering" section.
» System Updates «
This is a collection of the up-to-date known updates.
If your version is not listed there, please make a backup using Backup Builder (In Mods section) and send me the file dso3kb_CNxxx_Software.tar.bz2.
You can upload it to my
public writable folder, please add some txt describing yor upload!
These can be applied safely:» 2020.11.18 (These older versions had trouble at triggering on fast and small spikes)
» 2020.11.21» 2020.12.07» 2021.01.05 (Zoom bug started from this version, not fixed)
» 2021.02.23» 2021.03.04» 2021.03.11» 2021.04.16» 2021.07.05» 2021.07.14» 2021.07.26» 2021.08.14 (Has a bug in the generator, DC offset not applied in real time)
» 2021.11.08 (Also includes USB fix)
» 2021.12.17» 2021.12.21» 2021.12.30» 2022.01.05» 2022.01.18» 2022.01.24 (Starting this version, gnd coupling offset calibration was added, needs running a new calibration)
» 2022.02.10» 2022.05.17» 2022.08.19 » 2022.09.21 (Only fixes Russian translation?)
» 2022.10.28» 2023.03.27» 2023.08.31» 2024.02.02» 2024.03.26These will update the fpga FW version:» 2020.12.21_fpga_3000 -> Sets FW3000
» 2021.05.10_fpga_3202 -> Sets FW3202
» 2021.06.01_fpga_3102 -> Sets FW3102
» 2021.06.30_auto_update_fpga(3102-3202) -> Auto-updates 3000->3102 or 3200->3202, else leaves it unchanged
» 2022.02.18_fpga_3203 -> Sets FW3203 (2022.02.10 sw, fpga fix for noisy signal in higher memory depts, ex. 4M, 8M)
» 2022.09.21_fpga_3205 -> Sets FW3205
» 2024.02.02_fpga_3208 -> Sets FW3208
» 2024.03.26_fpga_3209 -> Sets FW3209
There's a Hantek solution for the USB problem:» USB_fix -> Resets the system settings and deletes a small file causing the issue, FW and SW versions remain untouched.
» FEL mode and driver installation «
- Connect the scope to the computer, hold FEL button down and turn it on, keep holding the button for 2 seconds and release.
Automatic installer- Download
FEL / Fastboot Driver Installer and follow the included instructions, also available
here.
Manual method- Install
PhoenixSuite_CN.msi.
- Download
Zadig and follow this steps:
-After that, you should see the device driver installed:
» Recovering «
In the case anything went wrong and the system cannot longer boot or run normally, normally this is caused by corrupted settings, there're several options to recover:
There's a mod, "Factory Reset Daemon", that will do this automatically when doing a sequence of several power-off actions manually.
System shellIf you have access to the serial port or the USB Console is working, enter the shell and run these commands:
pidof dbus-daemon phoenix | xargs kill -9
rm -rf /data/setup/last.pho /dso/etc/aslf/*
reboot -f
If still not working, use Platform-tools method.
SCPI- Install latest IO Lib Suite.
- Connect the scope to the computer.
- Open the Device Manager, if the scope appears under "USB Test and Measurement Devices" proceed with next step.
- Open Keysight Connection Expert, click Interactive IO, write "PRIVate:FACTORY:RESET" in the command and click "Send Command"
- All setting will be erased, the scope will reboot automatically.
- If not working or not recognized, then Platform-tools will be the only way of recovering.
Platform-Tools system flashingThis will completely wipe your system, erase serial, model and signal generator calibration!
So better you have a backup, otherwise you might lose the generator calibration.
Newer versions of the scope store the calibration values in the eeprom, while older versions didn't had them.
There's a calibration script in
Mods section that will both calibrate and update the eeprom, so it never gets lost again.
Boot into FEL mode (Check upper section), then run "cmds.bat" or "recover.bat" depending on the version downloaded.
The screen will appear distorted, and/or with random colors, that's normal!
After a moment the process will finish and the scope will boot normally.
Important: Connecting it to usb 3.0 ports seem to cause some issues. Use a 2.0 port when possible.
Always apply the USB fix after recovering using this method!If getting “api-ms-win-crt-runtime-l1-1-0.dll missing” error, install
Update for Universal C Runtime in Windows.
Platform-tools versions:» Unified platform-tools package - 2020.12.21, FW3000
- 2021.01.29, FW3101
- 2021.05.17, FW3102
- 2021.07.26, FW3202
- 2022.07.07, FW3205
- 2024.03.26, FW3209
The tool will automatically detect and show the flash type, flash compatibility is described for each version.
Now, your scope will show "undefined" under model, hardware and serial number, also the generator calibration will be gone.
You should now apply the backup package "dso3kb_CNxxx.upk" to restore them.
If you didn't made backup, the FW version might not be correct for your model.
Check "
FW Versions", "
Quick glance" sections to apply the correct FW.
To manually restore the HW, Model and serial check
Scripts and
Script Launcher in "
Mods" section.
If you have lost your Generator calibration, it's gone forever, there's no known way to calibrate it.
You can try "
Generator calibration fix", which will restore a calibration taken from another scope, it will be better than nothing.
» Model modification «
You can "upgrade" the scope ex. from a 2C10 to a 2D15 by simply modifying the model strings.
Keep in mind not all 2C1x models have the wave generator parts mounted.
Some do, other doesn't, the only way to know is to open it, or simply upgrade it and check if the generator works.
There's the package "2D15 conversion", available in Mods section, to make the conversion in a very simple manner.
Alternatively, you can also do it by yourself with these simple SCPI commands.
The SCPI commands are applied instantly, not requiring rebooting to take effect.
Remember to use your PCB number, modifying only the last digit to "1".
PRIVate:SET:MODEl1 DSO2D15
PRIVate:SET:PCB "000.000.000.000.000.000.000.001"
You can also modify the Serial and other strings:
PRIVate:SET:SERIal CN2101029000000
PRIVate:SET:VENDor Hantek
What we know so far is the software reads both the model and the PCB versions to check whether to enable the generator or not.
It willl enable the generator if the model contains 2D10 or 2D15, or if the last number of PCB model is "1".
» Mods «
Ensure to read Readme.txt before doing anything!» Backup Builder: Backups all important system data and builds three main update packages, so you can quickly restore them:
» dso3kb_CNxxx.upk: Restores Model, Serial, HW, FW, Generator calibration, preserving the existing software.
» dso3kb_CNxxx_FULL.upk: Restores Model, Serial, HW, FW, Generator calibration and dso, overwriting the existing software.
» dso3kb_CNxxx_EE.upk: Restores system EEPROM.
Extra packages:
» dso3kb_CNxxx_FPGA.upk: Restores only the FW (fpga).
» dso3kb_CNxxx_Calibration.upk: Restores only the Generator calibration.
» dso3kb_CNxxx_Model.upk: Restores only the Model, Serial, PCB.
» dso3kb_CNxxx_Software.upk: Restores only the software.
Additionally, it will create a tar.bz2 for each package to allow easy inspection of the files.
All packages include the USB fix, also the builder itself will apply the fix before making the backups.
» 2D15 conversion: Sets your model as 2D15.
» bmp2png: Automatically convert the screenshots into much smaller pngs.
» Doom: Needs further explanation? Yes, you can run Doom!
» Factory Reset Daemon: Daemon that detects early reset/power off, will trigger a factory reset on the third time the system is quickly resetted.
Video.
» FW Changer: To change any FW version. Run backupFW and send me the bin file if you FW version is not there!
» Generator calibration: If you lost the calibration and didn't back it up, this package will restore it.
» Overclocking: Applies overclock to the system for better response, without any overheating issues.
» Patched english font: Original font is bulky and ugly, this font is patched and uses a smaller font already present in the file.
» Patcher: At the moment, it's able to enable uart ascii decoding and change plot colors.
» Theme for visually-impaired: Changes the default Yellow/Green plot colours to Yellow/Purple. Math is Cyan. See included picture.
» RTC mod: Mod adding DS1307 or DS3131 RTC to keep the date, so the screenshots aren't always dated to 1970.
» Date daemon: Mod adding track of the date while the scope is on, restored at boot and updated every minute. Date doesn't increase while the scope is off.
» Scripts: Script collection. Use Script launcher to run them.
» Script launcher: Runs any bash script in the usb drive called "do_other_update".
» Static compiled binaries: Custom cross-compiled binaries that can be run in the hantek system. For the hacker only!
» USB Console: Creates a USB serial port to access the Linux shell, keeping all the original functionality.
» UPK Build / Extract tools: Scripts to decrypt/encrypt update packages.
» source code: Kernel/uboot source code.
» Live Linux: A compiled version of linux made to be loaded in FEL mode. Just a proof-of-concept.
» Debian Virtual machine: Debian 10 Virtualbox machine for compiling stuff for this device, arm-gcc-linux-eabi and lots of build dependencies already installed, ready to use.
» Links «
» DSO2x1x
hacking thread» Everything is available in my
Google Drive folder» Hantek DSO2000 schematics , thanks @pcprogrammer!