🎛️

HANTEK DSO4072C - Bypassing software limitation

Introduction

Doing electronics is fun, but expensive. Therefor when I have had to buy an oscilloscope, I went for a entry price unit and got myself a HANTEK DSO4072C

Hantek DSO4072C Oscilloscope 2 canaux 70MHZ et générateur AWG
Oscilloscope avec bande passante de 70 MHz.Taux d'échantillonnage de 1GSa / s.Générateur de signaux arbitraires de 25 MHz, résolution 12 bits, DDS 200 MHz.2 canaux d'oscilloscope.1 canal générateur de signaux / fonctions arbitraires.Commandes séparées pour l'oscilloscope et le générateur permettant une utilisation simultanée confortable.Écran couleur 64K et 7 pouces, avec une résolution de 800x480.Poignée et jambes pliables pour un transport facile.
https://www.hantek.fr/oscilloscopes-de-table/28-hantek-dso4072c-oscilloscope-2-canaux-70mhz-et-generateur-awg.html

The HANTEK DSO4072C digital oscilloscope is a good value, but more importantly, it is hackable !

HANTEK is producing the same board for every versions of the DSO4XXX oscilloscopes. Therefor the only limitation of the bandwidth is pur software. After searching online, I found several tutorials on how to hack the software of theses devices

Hacking the scope

Step 1 : Open the oscilloscope

There are several screws on the oscilloscope that has to be removed

There is another layer of protection, here are the screws locations

Step 2 : Finding the Serial pins

In order to communicate with the device, we need to find the Serial pins on which we will be able to connect our USB/UART adapter

Here is the label of each pins

Step 3 : connect the USB/UART

Open MobaXterm and open a serial session with the above configuration

Speed (Bps) : 115200
Data bytes  : 8
Stop bits   : 1
Parity      : none

Then power up the scope, here is the result in the serial terminal

Press enter and there should be the following prompte shown

Step 4 : Edit the config file

In the newly obtained shell, type the following commandes to first backup the file that will be modified

# Create a local backup of the config file
cp i2c.log i2c.log.bkp

To hack the bandwidth all you need to do is to edit one file in DSO root directory

vi i2c.log
# Edit the line [bw]
[bw] 70 to [bw] 200

Step 5 : Apply the edit

then use commande to reboot the device

reboot

the new bandwidth will be available.

Step 6 : Checking the modification

Opening the menu Utility -> System Info you should see the model changed to DSO4202C.

Sources

https://github.com/WiZZteXX/DSO4xx4c/blob/i2c-tools/Hacking%20the%20HANTEK%20DSO4xx4BC.pdf
Hantek - Tekway - DSO hack - get 200MHz bw for free - Page 1
Hantek - Tekway - DSO hack - get 200MHz bw for free - Page 1
https://www.eevblog.com/forum/testgear/hantek-tekway-dso-hack-get-200mhz-bw-for-free/
Upgrading the Hantek DSO4072C and DS4104C oscilloscopes bandwidth up to 250MHz - Page 1
Upgrading the Hantek DSO4072C and DS4104C oscilloscopes bandwidth up to 250MHz - Page 1
https://www.eevblog.com/forum/testgear/upgrading-the-hantek-dso4072c-osciloscope-bandwidth-from-70mhz-to-200mhz/