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

0 Members and 7 Guests are viewing this topic.

Offline freetz

  • Newbie
  • Posts: 1
  • Country: de
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2950 on: September 09, 2018, 08:51:35 am »
Hi everyone,

first of all a huge thank you to tinhead and all the others providing such valuable insights into this matter, I really learned a lot so far already!
I have also managed to solder a HC-05 Bluetooth Serial adapter to my MSO5102D scope and connecting to it works and I get to see the bootup messages. However, it stops at one point and stays there with no possibility to enter the shell, neither by hitting ENTER nor CTRL+C. These are the final lines:

Code: [Select]
dm9000 Ethernet Driver, V1.31
dm9000 dm9000: read wrong id 0x2b2a2928
dm9000 dm9000: read wrong id 0x2b2a2928
dm9000 dm9000: read wrong id 0x2b2a2928
dm9000 dm9000: read wrong id 0x2b2a2928
dm9000 dm9000: read wrong id 0x2b2a2928
dm9000 dm9000: read wrong id 0x2b2a2928                                         
dm9000 dm9000: read wrong id 0x2b2a2928                                         
dm9000 dm9000: read wrong id 0x2b2a2928                                         
dm9000 dm9000: wrong id: 0x2b2a2928                                             
dm9000 dm9000: not found (-19).                                                 
bkl tq2416-backlight initialized done...                                       
close beep now                                                                 
dso-buzzer s3c2416-beep initialized done...                                     
hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?                 
ifconfig: SIOCSIFADDR: No such device                                           
mkdir: can't create directory '/param': File exists                             
mkdir: can't create directory '/param/sav': File exists                         
open_serial_device:open serial success                                         
Langu_Init() <opt/language.c,220>:      read img languID=87                     
Langu_Init() <opt/language.c,226>:      set locale1=1                           
Langu_Init() <opt/language.c,235>:      set domain1=1                           
Langu_Init:Dso_GetLanguageID = 0                                               
hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?                 
hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?                 
hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?                 
hub 1-0:1.0: unable to enumerate USB device on port 2

Can anybody help me here?

Thanks a lot!

F.
 

Offline hardycious

  • Newbie
  • Posts: 1
  • Country: mx
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2951 on: September 11, 2018, 06:11:45 pm »
Good job! Thanks.
 

Offline SRRGEY42

  • Newbie
  • Posts: 2
  • Country: ru
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2952 on: October 03, 2018, 08:00:17 am »
Hello! So no one answered why there is a slot on the motherboard of the oscilloscope Hantek dso 5102p? Thank you!
« Last Edit: October 03, 2018, 08:25:09 am by SRRGEY42 »
 

Offline pishta

  • Contributor
  • Posts: 10
  • Country: us
already has 200MHz out of box?
« Reply #2953 on: October 28, 2018, 03:42:47 pm »
Just purchased a DSO5102P, was looking to calibrate some old car audio CD changers. My device only had 7 bootcounts on it when I purchased it $100 used! Still has sheet on LCD....Well, the thing already goes down to 2ns (200MHz?) the test Hz indicator bounces around with no probes inserted and I saw it go as high as 102.3MHz with this system info:

Model     DSO5102P
sw ver   3.40.0(170630.0)
hw ver   1010xffff8108
serial     T 1G/138 008439
boot cnt 9
upgrade 0
LCD f ts 3.3.0





 

Offline aandrew

  • Frequent Contributor
  • **
  • Posts: 252
  • Country: ca
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2954 on: October 28, 2018, 10:32:25 pm »
Does anyone have the HDL for the FPGA used in this scope or at least which FPGA pins are used for which function? That would go a long way in being able to replace the UI software on the scope and perhaps fix some of its issues (such as terrible triggering and lack of sync between the scope and LA parts)

I know there's a FriendlyARM board that can be used for SW development but the actual "scope side" stuff would be great to get at as well.
 

Offline Crazy_Pete

  • Regular Contributor
  • *
  • Posts: 51
  • Country: us
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2955 on: October 28, 2018, 10:41:32 pm »
Heheh that is not really a "conspiracy" theory because conspiracy means something illegal.    There is nothing illegal (at least in the USA) about not enforcing your rights.    (Otherwise they would legally be called "Obligations" :-) )

Thanks,

Crazy Pete
Your enemies pray for a shovel but your own tongue will dig your grave... (Traveller Proverb)
 

Offline liuqi

  • Newbie
  • Posts: 1
  • Country: cn
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2956 on: October 29, 2018, 02:35:44 am »
Please tell me where I can find detail information of this equipment, I didn't find it on website.
 

Offline gold oxide

  • Newbie
  • Posts: 1
  • Country: de
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2957 on: December 27, 2018, 08:38:03 pm »
Hi everyone,

I just revived a friend's Hantek DSO5072P that had stopped booting after only 3 hrs (!) of normal use. Turned out it had a corruped NAND flash. Bootloader was fine but it didn't even extract the Linux kernel any more.

Here are some things I had to research that might help others:

1. The 5000P series unlike earlier 5000 series can AFAIK not be flashed via USB. There is no supervivi bootloader available that runs on its newer SoC and the factory uboot bootloader can only flash what fits into the system's 64MB of RAM (the firmware image is 128MB). So your best bet is using JTAG.

2. If you don't have a complete firmware image from a 5000P series scope (not a 5000B or whatever other 5000 series) you are f***ed. Hantek only provides firmware updates, not complete firmwares. Luckily someone provided his fw_backup.bin on this thread.

3. A post by minescumarius was extremely helpful. It includes a config file for the H-JTAG software and pinout of the header. Cheers Mate!
https://www.eevblog.com/forum/testgear/hantek-tekway-dso-hack-get-200mhz-bw-for-free/msg1117378/#msg1117378

4. If you dont' feel like making your own interface, you can get one for 5 bucks shipped on aliexpress. The schematic minescumarius provided is exactly what is known as an 'ARM JTAG Wiggler (clone)'. Be warned: This needs a hardware parallel port - not some USB->LPT converter, not even a Thinkpad T60 ultrabay COM/LPT adapter worked.
Also I could not get H-JTAG working with that parallel port under Windows 7 x64, had to run it on a 32 bit version of Win 7, driver issue most likely.

I had some initial trouble getting H-JTAG to even detect my MCU - Only after I connected the two reset lines to the board I got it to work.
Also my flash process would stop with various errors until I realized that the 1 meter ribbon cable that came included with the 5$ Wiggler was a bit on the long side for signal integrity. Clipped a ferrite bead on there and all troubles were gone. You might want to use a shorter calbe or try the same.

5. Flash process took me around 200min at 11kB/s, so be patient.

« Last Edit: December 27, 2018, 08:50:47 pm by gold oxide »
 
The following users thanked this post: tinhead, easa, trinhvanthien

Offline rudy1589

  • Contributor
  • Posts: 10
  • Country: us
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2958 on: January 21, 2019, 10:58:22 pm »
I did the hack to convert my DSO5102B to a DSO5202B some years ago which went well. The last firmware update was back in 2013. I recently tried to update the firmware but it I get Error: 0xfe  No upgrade files detected on USB device. 
   What do I do to be able to update the firmware on the scope?
      Thanks for any help!!
 
Model: DSO5202B
SW Vers: 2.06.3(130814.1)
HW Vers: 10070x555583ED
SN: T 1G/012007832
 
 

Offline mcfudge

  • Contributor
  • Posts: 16
  • Country: ca
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2959 on: January 22, 2019, 12:21:19 am »
Hi christensen,
I realize yours is quite an old post but did you complete the LAN modification successfully?  I'd like to do the same but haven't found the instructions yet.  In fact, I'd like to do all the mods for my Hantek DSO1202B v2.01.1 (add SD, video, net), just to learn how to do them and gain some experience.  Thanks for any help.
« Last Edit: January 22, 2019, 12:28:50 am by mcfudge »
 

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1925
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2960 on: January 22, 2019, 08:33:10 am »
I did the hack to convert my DSO5102B to a DSO5202B some years ago which went well. The last firmware update was back in 2013. I recently tried to update the firmware but it I get Error: 0xfe  No upgrade files detected on USB device. 
   What do I do to be able to update the firmware on the scope?
      Thanks for any help!!
 
Model: DSO5202B
SW Vers: 2.06.3(130814.1)
HW Vers: 10070x555583ED
SN: T 1G/012007832

download from my 1drv, from firmware, version, model folder the proper/latest file.

There is even a way to run firmware from Feb 2018 on hw1007 platform (like i do on my old hw1007),
but it's bit tricky (one have to copy over ssh some libs first, updates can be done only over lan/uart by copying latest only executable file).
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 rudy1589

  • Contributor
  • Posts: 10
  • Country: us
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2961 on: January 22, 2019, 11:34:15 pm »
Thank you!
 

Offline mcfudge

  • Contributor
  • Posts: 16
  • Country: ca
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2962 on: January 23, 2019, 03:54:16 pm »
@liuqui
Just open your favourite search engine and look for Hantek2D42
It came up on banggearwatch, banggood, and Amazon. Banggood has the pic u posted.
not related to this thread, but since its been viewed a few hundred times...
Hantek 3in1
Digital Oscilloscope Waveform Generator Multimeter
Portable USB 2 Channels 40mhz 70mhz LCD Display Test Meter Tools Ultra-low Power Design With Large-capacity lithium Battery One-key AUTO
$159.99
« Last Edit: January 23, 2019, 03:57:30 pm by mcfudge »
 

Offline llg

  • Contributor
  • Posts: 6
  • Country: fr
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2963 on: January 25, 2019, 11:55:15 pm »
Hey lads,

There's a new firmware release on the hantek site dated yesterday or the day before 3.40.0(190125.0), that makes it one year and five days since the latest update 3.40.0(180120.0)
The changed files are show_pic and dso.exe.

A plain dumb strings diff suggests at least some bugfixes .. so it might worth testing this against your favourite bugs.

Happy upgrade.
Cheers,
« Last Edit: January 26, 2019, 12:04:33 am by llg »
 

Offline WanaGo

  • Regular Contributor
  • *
  • Posts: 148
  • Country: nz
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2964 on: January 26, 2019, 12:41:57 am »
For the DSO1152S I was sent new firmware yesterday by Hantek, however it does not appear to be on the website. Last on the website was 170801 and this is 180821.
Would love to know what changed if someone can assist with that.
My model is quite old, 2012 PCB 1.00.1 so I am hesitant to upgrade in case it kills it.
Here it is for a limited time: https://1drv.ms/u/s!Ak2DUCelcmmIg_oPxDmU62g0q9g_0A

Thanks
« Last Edit: February 16, 2019, 09:01:06 pm by WanaGo »
 

Offline Ringmodulator

  • Regular Contributor
  • *
  • Posts: 73
  • Country: de
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2965 on: January 27, 2019, 12:33:54 pm »
Hey lads,

There's a new firmware release on the hantek site dated yesterday or the day before 3.40.0(190125.0), that makes it one year and five days since the latest update 3.40.0(180120.0)
The changed files are show_pic and dso.exe.

A plain dumb strings diff suggests at least some bugfixes .. so it might worth testing this against your favourite bugs.

Happy upgrade.
Cheers,


Hi,

for which models ist the update?

I did check the Hantek page for the DSO5000B updates, but did not find the version you have mentioned.
So it is probably for a different model(?).

Regards
Chris
 

Offline llg

  • Contributor
  • Posts: 6
  • Country: fr
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2966 on: January 27, 2019, 02:11:45 pm »
You are right, sorry for the noise.
It's only for P models, DSO5000P.
I've checked 5072P and 5202P and assumed they updated all models,
but it's only for P.
 

Offline WanaGo

  • Regular Contributor
  • *
  • Posts: 148
  • Country: nz
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2967 on: January 27, 2019, 08:11:59 pm »
A plain dumb strings diff suggests at least some bugfixes .. so it might worth testing this against your favourite bugs.

Hey llg, can you just explain how you did the compare exactly?
How do you extract anything out of these up files? Im sure I use to know, but its been too long.
Would love to find out what changed on my update above.
Thanks
 

Offline GilbouFR

  • Contributor
  • Posts: 17
  • Country: fr
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2968 on: February 11, 2019, 09:46:45 pm »
>
Quote
Quote from: Terry01 on Yesterday at 06:26:43 PM
If your machine is showing the 2ns out the box the 200MHz upgrade is already done. I got my 5102p from Amazon around a month ago and it was already done from the factory. I have seen quite a few others the same.

Enjoy!  :)
Very interesting.
I don't know if this matters or not, but after checking the FW, it would appear that it is using the 5072P according to the Hantek website.


Just bought my 5102P and learning to use it. What do you mean about the 2 ns thing ?
That only models with 200 MHz have that 2 ns resolution ?
 

Offline GilbouFR

  • Contributor
  • Posts: 17
  • Country: fr
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2969 on: February 11, 2019, 10:35:22 pm »
Just bought mine and got it since last saturday.
It's a 5102P 100 MHz
Upgraded firmware to 3.40.0 dated 25-JANUARY-2019
hardware revision 1010xffff8108
Goes down to 2 ns
 

Offline Terry01

  • Frequent Contributor
  • **
  • Posts: 907
  • Country: scotland
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2970 on: February 12, 2019, 08:55:31 am »
Just bought mine and got it since last saturday.
It's a 5102P 100 MHz
Upgraded firmware to 3.40.0 dated 25-JANUARY-2019
hardware revision 1010xffff8108
Goes down to 2 ns

If it goes down to 2nS then the 200MHz upgrade is already done right from the factory.

It is explained better here.... 

 :-+
Sparks and Smoke means i'm nearly there!
 

Offline GilbouFR

  • Contributor
  • Posts: 17
  • Country: fr
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2971 on: February 14, 2019, 09:53:35 pm »
Yup. Mine goes down to 2 ns   >:D
I ordered two 200 MHz probes to replace the PP-150 model I received with the DSO

A very good surprise to get a 200 MHz when I bought a 100 Mhz  ;D
 

Offline WanaGo

  • Regular Contributor
  • *
  • Posts: 148
  • Country: nz
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2972 on: February 14, 2019, 09:56:41 pm »
I thought it was mentioned some time ago that the 2ns feature is no longer an indication that the hack worked, or that its 200Mhz.
It comes as default now, but doesnt mean you have 200Mhz enabled.
May be wrong, but I am sure I read that on here from Tinhead
 

Online gf

  • Frequent Contributor
  • **
  • Posts: 372
  • Country: de
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2973 on: February 14, 2019, 10:14:50 pm »
Please tell me where I can find detail information of this equipment, I didn't find it on website.

See here: https://www.eevblog.com/forum/testgear/hantek-2c422c722d422d72/msg1992251/
 

Offline Terry01

  • Frequent Contributor
  • **
  • Posts: 907
  • Country: scotland
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2974 on: February 14, 2019, 10:47:14 pm »
Can someone please explain if this is the case or not? Is it 200MHz enabled or not? I have no idea how to work this out so I am repeating things I saw others said or wrote or whatever when this 1st came up.

Again, I do not know how to work this out so am not arguing either way. Just looking for someone to nail it either yay or nay!

I remember when this first came up someone said it was rubbish and not so 200MHz. Someone else did the calculations and posted them to show everyone how it was worked out and then everyone agreed the 2ns thing did mean it was 200MHz enabled.

Sparks and Smoke means i'm nearly there!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf