Author Topic: Hantek - Tekway - DSO hack - get 200MHz bw for free  (Read 1634654 times)

0 Members and 4 Guests are viewing this topic.

Offline cliffyk

  • Contributor
  • Posts: 31
  • Country: us
    • PaladinMicro
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3000 on: July 14, 2019, 07:53:21 am »
OK, as a new Hantek DSO1062B owner I read through 90%+ of these posts (I admit, not all 120 pages), however all these hacks seem to do is alter the 'scope's firmware to allow selection of a 2.0 ns/div timebase (my 60 MHz unit goes to 4.0 ns, and is 3dB down at 95 MHz). This does not of course modify the instruments's front-end to pass 200 MHz signals, so unless Hantek produced all these devices with 200 MHz bandwidth analog inputs (which I seriously doubt) it is naught but eye-wash.

Has anyone actually verified that a "hacked" 60 MHz or 100 MHz 'scope has magically "become a 200 MHz device" by just upgrading the firmware (other than simply the availability of a 2.0 ns/div timebase setting)?
     
« Last Edit: July 14, 2019, 07:55:12 am by cliffyk »
-cliff knight-
paladinmicro.com
 

Offline tatus1969

  • Super Contributor
  • ***
  • Posts: 1226
  • Country: de
  • Resistance is futile - We Are The Watt.
    • keenlab
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3001 on: July 14, 2019, 01:21:36 pm »
Hantek may changed their strategy since then (although I doubt that), but when I did this mod a few years ago, the situation was that they had used the very same 200MHz circuit design for all of their models, and done the bandwidth limitation purely in software. The input stage hack that is described in this thread therefore was optional, and more directed towards better linearity and even more bandwidth.
We Are The Watt - Resistance Is Futile!
 

Offline Input220v

  • Newbie
  • Posts: 2
  • Country: lv
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3002 on: July 16, 2019, 03:05:39 pm »
Hi
From the day of purchase it has been complicated to adjust settings neccessary to work with Hantek MSO5102D model. Buttons don’t work correct, pushing “Display” cursor appears, pushing “Utility”- “Default” appears, pushing “Auto set” - oscilloscope gets stuck. Is it possible to upgrade for another program software? The current version I have is: 3.325 (161017.0) ( hw version 1020x55778354).

 

Offline chsn

  • Newbie
  • Posts: 3
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3003 on: August 03, 2019, 07:35:53 am »
Received from Hantek for:
MSO5202D
sw 3.2.35 (131029.0)
hw 1010x55558340
sn t1g/012016xxx

new firmware
https://yadi.sk/d/Tm1Esxa9iyWm4w
 

Offline Microcheap

  • Regular Contributor
  • *
  • Posts: 127
  • Country: 00
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3004 on: August 03, 2019, 04:32:51 pm »
I got a DSO4102C with a similar problem, pressing a button, the selected function won't work, the oscilloscope is too slow to respond or a completely different function is activated. After rebooting the device, it works normally for some time and then it start to showing the problem again.

I tried to restore the system and updated the FW but it did not work, Hantek's support said it might be a defective keyboard that need to be replaced.

If you have the option, return it to the seller and get a new one.
 

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1901
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3005 on: August 03, 2019, 04:35:21 pm »
Received from Hantek for:
MSO5202D
sw 3.2.35 (131029.0)
hw 1010x55558340
sn t1g/012016xxx

new firmware
https://yadi.sk/d/Tm1Esxa9iyWm4w

unpacked and renamed mso_bin to mso.exe does even runs on my hw1007 version (because i have all kind of libs manually copied to it).

It would be nice to know some kind of changelog from Hantek … @chsn, could you ask them?
« Last Edit: August 03, 2019, 04:37:01 pm by tinhead »
I don't want to be human! I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter ...
I want to reach out with something other than these prehensile paws and feel the solar wind of a supernova flowing over me.
 

Offline aandrew

  • Regular Contributor
  • *
  • Posts: 229
  • Country: ca
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3006 on: August 04, 2019, 03:13:50 pm »
@tinhead I think it was you who mentioned you had a pinout file for the FPGA and maybe a memory map of which buttons/controls were where... If this is true and you could share it perhaps we could take a crack at a first third-party UI for this thing. It's not bad hardware but the software is awful.
 

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1901
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3007 on: August 04, 2019, 08:10:49 pm »
@tinhead I think it was you who mentioned you had a pinout file for the FPGA and maybe a memory map of which buttons/controls were where... If this is true and you could share it perhaps we could take a crack at a first third-party UI for this thing. It's not bad hardware but the software is awful.

i made complete schematics of DSTxxxxA, DSTXXXXB hw0, hw1007 DSO's (one can use hw1007 as well for hw1005 and partialy for other models). I should have somewhere as well some Memory map etc. description, i have to check in my archive files, have not touched Tekway/Hantek reversing since years anymore. More important is, for which model/series would you like to know more?
I don't want to be human! I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter ...
I want to reach out with something other than these prehensile paws and feel the solar wind of a supernova flowing over me.
 

Offline wwoofbum

  • Newbie
  • Posts: 2
  • Country: us
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3008 on: August 15, 2019, 11:51:24 pm »
Recent purchase of Hantek DSO5072P with the specific intention of implementing the 200MHz hack.  Having the same problem as Checksum47 on attempt to back up firmware: "Firmware update failed, error 0xfe, No upgrade files detected on USB device"

Model DSO5072P
sw version 3.40.0(180120.0)
hw version 1010xffff8108

UPDATE!

Okay, so maybe I'm not so bright...but... 

Thought it might be my USB stick, so I tried another.  Same error.  So, I tried downloading the latest firmware from Hantek for the 5072P...got a new version 3.40.0(190125.0) and loaded it onto the USB stick.  Oscilloscope updated fine.  Deleted firmware update file and copied the update tool to the USB stick (as per tinhead's post).  This time it completed the update without error, my USB stick has the dump folder, and my timebase now goes down to 2.00ns.

« Last Edit: August 16, 2019, 02:51:14 am by wwoofbum »
Just because you can, doesn't mean you should.
 

Offline Zhenek

  • Contributor
  • Posts: 6
  • Country: ru
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3009 on: August 27, 2019, 07:42:17 am »
I've got a Hantek DSO4102C, all is OK, but I can't figure out how to make screenshots. It seems that DSO5102 series have a button named "Save to USB", but 4102C doesn't. Is there a way to capture screen to USB sticks?
 

Offline cliffyk

  • Contributor
  • Posts: 31
  • Country: us
    • PaladinMicro
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3010 on: August 27, 2019, 01:20:52 pm »
I've got a Hantek DSO4102C, all is OK, but I can't figure out how to make screenshots. It seems that DSO5102 series have a button named "Save to USB", but 4102C doesn't. Is there a way to capture screen to USB sticks?

According to the manual it is a sub-function of the Utility menu (when all else fails, read the manual):



-cliff knight-
paladinmicro.com
 

Offline Zhenek

  • Contributor
  • Posts: 6
  • Country: ru
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3011 on: August 27, 2019, 03:17:54 pm »
This one I've seen, but it don't help at all. This menu likes like in attached photo. I don't have any idea where to press. As I said, this scope doesn't have a dedicated "Save to USB" physical button.
Also I don't understand how can user "click on the icon" since the instrument don't have touch screen.
 

Offline Microcheap

  • Regular Contributor
  • *
  • Posts: 127
  • Country: 00
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3012 on: August 27, 2019, 04:41:29 pm »
Is there a way to capture screen to USB sticks?
Not the most intuitive but it is possible: Press "Utility" button then, on page 1/3 of the menu use F3 do select the option "Save Waveform". Now use F1 to choose between "position" and "Screenshot" options. That will set the function of the position knob of CH1. With "Screenshot" selected, just press the knob to capture the screen to the USB stick.
 

Offline cliffyk

  • Contributor
  • Posts: 31
  • Country: us
    • PaladinMicro
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3013 on: August 27, 2019, 05:46:24 pm »
Microcheap is spot on... I had missed that you had a revision "C" 'scope. Even with the manual in front of you it is still less than clear how to save a waveform:

 
-cliff knight-
paladinmicro.com
 

Offline Zhenek

  • Contributor
  • Posts: 6
  • Country: ru
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3014 on: August 28, 2019, 07:16:00 am »
cliffyk, thanks!  Sorry for dumb questions.
In my defense:
  • Scope came without printed manual
  • Manual from the quick Google search turned out to be from DSO4000 series, which didn't help
  • Built-in manual has zero information on the subject
  • The method to take screenshots is at least counter-intuitive
 

Offline cliffyk

  • Contributor
  • Posts: 31
  • Country: us
    • PaladinMicro
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3015 on: August 28, 2019, 10:44:43 am »
Hantek has the 4000C manual on their site (this is a download link)...
-cliff knight-
paladinmicro.com
 

Offline Zhenek

  • Contributor
  • Posts: 6
  • Country: ru
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3016 on: August 30, 2019, 01:58:46 pm »
After I've had some experience with this scope, I started thinking that adding memory should be more important, then improving bandwidth. So the question is, can it possibly be added? Of I'm not thinking it's possible programmatically, but maybe I can buy some memory IC and solder it onto PCB?
 

Offline aandrew

  • Regular Contributor
  • *
  • Posts: 229
  • Country: ca
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3017 on: August 31, 2019, 03:55:54 am »
i made complete schematics of DSTxxxxA, DSTXXXXB hw0, hw1007 DSO's (one can use hw1007 as well for hw1005 and partialy for other models). I should have somewhere as well some Memory map etc. description, i have to check in my archive files, have not touched Tekway/Hantek reversing since years anymore. More important is, for which model/series would you like to know more?

My board is a "T55 00313" (sticker on the back is "T 1G/655 000313"). Status screen says the hardware version is "10020x540282051002". It's an MSO5074FG.
 

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1901
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3018 on: August 31, 2019, 02:02:06 pm »
MSO5074FG is not that different, sure it have 4 channels, some fancy mux for them, then an extra pcb with Signal Generator (typical Hantek design, changed only a bit to add LA channels). 
I don't want to be human! I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter ...
I want to reach out with something other than these prehensile paws and feel the solar wind of a supernova flowing over me.
 

Offline aandrew

  • Regular Contributor
  • *
  • Posts: 229
  • Country: ca
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3019 on: August 31, 2019, 02:44:26 pm »
Yep, it's very, very similar to the 2-channel versions. It's a pity that some very basic things such as channel deskew and logic analyzer sync with analog weren't implemented, it really hinders what this otherwise quite capable little scope can do.

Were you able to dredge up your old notes (memory map, fpga notes, etc.)?
 

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1901
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3020 on: August 31, 2019, 02:58:00 pm »
no, unfrotunately can't read my backups from old Laptop :(

I remember that the most discovered part was based on debug executables (they still on my 1drv) and old Hantek/Tekway SDKs (they let by mistake i think some utils and Sources of them).
I don't want to be human! I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter ...
I want to reach out with something other than these prehensile paws and feel the solar wind of a supernova flowing over me.
 

Offline aandrew

  • Regular Contributor
  • *
  • Posts: 229
  • Country: ca
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3021 on: August 31, 2019, 03:24:09 pm »
I think I've grabbed your 1drv before, thank you for that.

Looking through it again, I see some @dcompiled_101_apps directory within an fpga.zip and some other goodies... gonna poke around here again.

Thank you again for all of your hard work.
 

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1901
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #3022 on: August 31, 2019, 04:17:21 pm »
btw, if you have a chance, please dump the content of the 25L4006 from the DDS/LA addon board.
I don't want to be human! I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter ...
I want to reach out with something other than these prehensile paws and feel the solar wind of a supernova flowing over me.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf