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

0 Members and 6 Guests are viewing this topic.

Offline krepa

  • Newbie
  • Posts: 1
  • Country: cz
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2675 on: September 06, 2015, 06:28:39 pm »
Hi folks,
I'm new at eevblog. I did search this thread but I did not find much info about hantek DSO5062M (no "B", only "M")

I got this scope on my desk because dial knobs and keys are mixed and some don't work at all. For example Autoset acts as Help.
Serial console is working. Firs message during boot is: OM*** Warning - bad CRC, using default environment. Full boot log is here. http://pastebin.com/TcnhYpXE
HW version on the board is 1.02, the pcb looks like the one few pages back.

During boot there is a logo DSO5062BM

On several places there is a sign that original owner tried to hack it and expand BW to 200MHz.
Here is sys.inf
Code: [Select]
[root@Hantek ~]# cat sys.inf
[DST type]dst1202b
[soft version]3.30.0(150116.0)
[fpga version]0x55778344
[start time]33
[update time]0

I assume that he used wrong FW (BM intead of M) and therefore keys and knobs are messed up.

I checked hantek's site but there is no mention about "M" model - so no FW to download...
Is it possible that someone can share working FW for DSO5062M?

For the beginning even the 60MHz version is fine.

Thank you,
Pavel
« Last Edit: September 06, 2015, 06:59:04 pm by krepa »
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2676 on: September 06, 2015, 08:17:18 pm »
I'm interested in :

tweaking the OS with the intention of running custom code such as protocol analysers
Yes, me too! I currently use it piggy backed with a cheap ass Salae so I can do stuff on the PC. I can't see why the Hantek, despite having a USB interface, doesn't have standard fucking drivers like USBTMC with SCPI to use with NI-VISA, etc.

From what I have found there is no PC software that can read the LA data, so you are stuck with the shitty implementation directly on the Hantek.

Quote
adding the lan port
This has been done, but there is nothing of substance to use it for, at least with the existing crappy firmware.
 

Offline Fixup

  • Contributor
  • Posts: 30
  • Country: fi
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2677 on: September 28, 2015, 11:15:43 pm »
Hi,
Thx for good information about the hack. I have a DSO5072p that is hacked. I checked Hantek's webpage and saw that there is a new firmware available dso5kp_func_dso5202p20150906.up. However i get "Firmware update failed, error 0xf7 illegal update files detected!"
Has anyone tested this new firmware on a unhacked/orginal DSO5202p?
Is there any difference in the firmware or have they just added some way to check if the device is hacked?
Is there any way to program the latest firmware to the oscilloscope?

 

Offline jcrubin

  • Frequent Contributor
  • **
  • Posts: 353
  • Country: us
    • Technocoma
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2678 on: September 28, 2015, 11:44:05 pm »
My 5072P arrived today!!!!! Very excited...  Looks like a firmware update was made available on September 6th so ill be doing an update before anything
CVM CATAPVLTAE PROSCRIPTAE ERVNT TVM SOLI PROSCRIPTI CATAPVLTAS HABEBVNT

https://www.youtube.com/c/jordanrubin6502
 

Offline GlowingGhoul

  • Regular Contributor
  • *
  • Posts: 236
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2679 on: September 28, 2015, 11:45:26 pm »
removing the smell of tobacco smoke (it's not grubby but it sure stinks)

About the only thing you can do about that wretched odor is take up the foul habit so you don't notice it. :-//
 

Offline jcrubin

  • Frequent Contributor
  • **
  • Posts: 353
  • Country: us
    • Technocoma
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2680 on: September 29, 2015, 12:21:12 am »
Firmware upgraded with no issues.

went from 3.40.0(150521.0)    to 3.40.0(150906.0)

Interesting note - boot count remained at 0 as well as the upgrade count

I have no idea what changes this firmware brings and havent found a changelog

 Also I see how to get to dual window mode.... but can figure out, without pressing default setup, how to get back to single window mode

ANSWER: Apparently F7 will toggle between single/dual window mode.... though not documented
« Last Edit: September 29, 2015, 02:49:53 pm by jcrubin »
CVM CATAPVLTAE PROSCRIPTAE ERVNT TVM SOLI PROSCRIPTI CATAPVLTAS HABEBVNT

https://www.youtube.com/c/jordanrubin6502
 

Offline Fixup

  • Contributor
  • Posts: 30
  • Country: fi
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2681 on: September 29, 2015, 05:01:42 pm »
I gave the update a new try and now I got it updated.  :D
First it was giving the 0xf7 error if I tried to run the update directly from the USB stick.

For to succeed with the update I needed to first run the "dso5kp_backuptool.up" backup. The backup somehow hang at 9/10. I waited for about 10min and pressed cancel.
After that I was able to update the DSO5072p with "dso5kp_func_dso5202p20150906.up" firmware.

The new Firmware looks the same. Hopefully some bugs are fixed.
BTW. In my opinion this is a good/ok digital oscilloscope for a low price. 
 

Offline vastargazer

  • Newbie
  • Posts: 5
  • Country: us
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2682 on: September 29, 2015, 05:02:22 pm »
Hello all:

New to the site and new to O-scopes.  I am an electronics hobbyist who works mostly with microcontrollers circuits generally 12V or less.  I am interested in expanding into o-scopes from both a use and learning perspective.  After reading a lot on the Internet and particularly this site, I decided on a Hanko DSO5102P for my first scope.  My questions for the thread are 1) Confirmation that these scopes are still hackable (the hack looks pretty easy but the thread goes back to 2010, so just checkin') and 2) some validation that the make/model I selected is a reasonable unit for a hobbyist and o-scope newb.  Thoughts?
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2683 on: September 29, 2015, 05:51:45 pm »
I decided on a Hanko DSO5102P for my first scope.
Great choice for a first scope. Never heard of it, can't find it on google either. What made you decide on this enigma?  :palm:

If I was buying again I would skip the Hanteks and go for the Rigol 1054Z, easily hackable.
 

Offline vastargazer

  • Newbie
  • Posts: 5
  • Country: us
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2684 on: September 29, 2015, 06:28:17 pm »
Actually.  I meant Hantek DSO5102P.   :-\  Sometimes I am such a dork.

Hanko is the brand of soldering iron I use.  I have been making that damn typo all day.

Sorry for the confusion
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2685 on: September 29, 2015, 07:44:22 pm »
LOL. But like I said, go for the Rigol. Check out Daves vid here http://www.eevblog.com/2015/01/15/eevblog-703-rigol-ds1054z-oscilloscope-review-summary/

I've got a Hantek MSO5102D and would rather have a DS1054Z any day.

Of course it comes down to cost I guess, but the Rigol is a bargain.

ETA: Easier to hack too!


« Last Edit: September 29, 2015, 07:46:52 pm by Macbeth »
 

Offline vastargazer

  • Newbie
  • Posts: 5
  • Country: us
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2686 on: September 30, 2015, 12:25:07 am »
Thanks Macbeth. 

Understood about the Rigol.  And you're spot on.....cost.  I don't think finance (wife) will approve the additional $120  :-- for the Rigol over the Hantek.  I can totally see your point.  The features on the Rigol are nicer. 
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2687 on: September 30, 2015, 12:49:25 am »
Tell me about it. Not only do you get 4 channels, but they are better than my so called MSO's so called logic analyzer right away. I may have 16 LA channels, but NO protocol decoding. Ok, fair enough, that can be done on the PC.... BIG FAT NO! - it's a joke.

The Rigol doesn't even pretend to be a logic analyzer/MSO but is more capable with its 4 channels and has protocol decoding for RS232/UART, I2C, SPI.

You say you are into microcontrollers. Believe me you want these features and they are a bargain at $120 premium to the Hantek.

Stuff SWMBO. If that is all that matters vs real lack of funds then you need to grow a pair. $120 is probably just one of her shoes  :-DD

Tell her you are getting a $900 scope (once hacked) for $399
 

Offline jcrubin

  • Frequent Contributor
  • **
  • Posts: 353
  • Country: us
    • Technocoma
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2688 on: October 02, 2015, 01:14:48 am »
Ive started a thread for my new Hantek 5072P and what ive done with it thus far

https://www.eevblog.com/forum/testgear/hantek-dso5072p-thread-not-the-bandwidth-hack-thread/
CVM CATAPVLTAE PROSCRIPTAE ERVNT TVM SOLI PROSCRIPTI CATAPVLTAS HABEBVNT

https://www.youtube.com/c/jordanrubin6502
 

Offline vastargazer

  • Newbie
  • Posts: 5
  • Country: us
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2689 on: October 02, 2015, 10:31:00 pm »
I went for the Rigol.

Macbeth:  got link to the 100Mhz hack.
 

Offline CustomEngineerer

  • Frequent Contributor
  • **
  • Posts: 464
  • Country: us
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2690 on: October 06, 2015, 02:04:17 am »
I went for the Rigol.

Macbeth:  got link to the 100Mhz hack.

I originally purchased the Hantek MSO5102D and had nothing but problems with it. It would lock up solid on me 2-3 times per hour. I tried to make it work but finally got so frustrated I returned it on the last day it was returnable. Went ahead and ordered the Rigol and have been happy ever since. I know the Rigol has issues of its own but so far I have not run into any.
 

Offline schlot

  • Contributor
  • Posts: 16
  • Country: de
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2691 on: October 06, 2015, 09:21:25 pm »
Hello,

I bought a new Hantek DSO1122S and I would like to add LAN support. The board looks like that one from post #2282:


Here a few, not so good, photos of one side of the hantek dso1122s board:

http://www.davidefabbri.net/files/foto/SANY0114.JPG
http://www.davidefabbri.net/files/foto/SANY0115.JPG
http://www.davidefabbri.net/files/foto/SANY0116.JPG
http://www.davidefabbri.net/files/foto/SANY0117.JPG
http://www.davidefabbri.net/files/foto/SANY0118.JPG
http://www.davidefabbri.net/files/foto/SANY0119.JPG

P.S. by the way I'm looking for the sd socket, have you got a suitable part number ( or farnel/mouser code )

I am running SW 2.01.1 (150108.0)
HW version is 10040x57029100
(I guess that means HW1.00.4)

I have a DM9000AEP, an HL1102NL and a RJHSE-5381 Jack (RJ45).

Is it enough to solder these in place? Do I need anything else? What about that 25M crystal that is missing on board? Is it required or can the DM9k run from the FPGA clock? I have read soemething about a 0R SMD that should be removed, but I do not understand why. Are all the other parts (resistors, caps) already on board or do I need to add something? If the crystal is required, is it possible that the caps are already on board?

Thanks in advance for any assistance.
 

Offline dafields

  • Newbie
  • Posts: 6
  • Country: gb
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2692 on: October 07, 2015, 06:14:47 am »
Hello,

I bought a new Hantek DSO1122S and I would like to add LAN support. The board looks like that one from post #2282:


Here a few, not so good, photos of one side of the hantek dso1122s board:

http://www.davidefabbri.net/files/foto/SANY0114.JPG
http://www.davidefabbri.net/files/foto/SANY0115.JPG
http://www.davidefabbri.net/files/foto/SANY0116.JPG
http://www.davidefabbri.net/files/foto/SANY0117.JPG
http://www.davidefabbri.net/files/foto/SANY0118.JPG
http://www.davidefabbri.net/files/foto/SANY0119.JPG

P.S. by the way I'm looking for the sd socket, have you got a suitable part number ( or farnel/mouser code )

I am running SW 2.01.1 (150108.0)
HW version is 10040x57029100
(I guess that means HW1.00.4)

I have a DM9000AEP, an HL1102NL and a RJHSE-5381 Jack (RJ45).

Is it enough to solder these in place? Do I need anything else? What about that 25M crystal that is missing on board? Is it required or can the DM9k run from the FPGA clock? I have read soemething about a 0R SMD that should be removed, but I do not understand why. Are all the other parts (resistors, caps) already on board or do I need to add something? If the crystal is required, is it possible that the caps are already on board?

Thanks in advance for any assistance.

Yes you will need a 25MHz crystal. The load caps are already on the board, C467, C468. Given how close C467 looks to the crystal you may want to check the size of the crystal part to make sure they do not touch. I did a similar mod to my sig gen and the only parts needed where the RJ45 socket, magnetics, chip, crystal and in my case the load caps. Don't know about any 0R resistor. Hope this helps.
 

Offline schlot

  • Contributor
  • Posts: 16
  • Country: de
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2693 on: October 07, 2015, 09:44:57 am »


Yes you will need a 25MHz crystal. The load caps are already on the board, C467, C468. Given how close C467 looks to the crystal you may want to check the size of the crystal part to make sure they do not touch. I did a similar mod to my sig gen and the only parts needed where the RJ45 socket, magnetics, chip, crystal and in my case the load caps. Don't know about any 0R resistor. Hope this helps.

Thanks a lot. I will go get a crystal and try.


Gesendet von iPhone mit Tapatalk
 

Offline janekx

  • Contributor
  • Posts: 13
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2694 on: October 07, 2015, 03:34:48 pm »
Hi I get from warranty new DSO5062BM (5062M was bad) and found that there is possible to set 2ns/div so it comes hacked from Hantek?
 

Offline schlot

  • Contributor
  • Posts: 16
  • Country: de
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2695 on: October 07, 2015, 06:06:34 pm »
I just purchased a new DSO1122s and wodered why I found the "hack" file already renamed to "...1202" and the 2 ns div enabled. First I thought my dealer shipped "pre-hacked" devices, but apparently you can buy them now ;-)
 

Offline schlot

  • Contributor
  • Posts: 16
  • Country: de
Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2696 on: October 10, 2015, 05:48:55 pm »
Yes you will need a 25MHz crystal. The load caps are already on the board, C467, C468. Given how close C467 looks to the crystal you may want to check the size of the crystal part to make sure they do not touch. I did a similar mod to my sig gen and the only parts needed where the RJ45 socket, magnetics, chip, crystal and in my case the load caps. Don't know about any 0R resistor. Hope this helps.

okay, so I soldered a DM9000AEP, magnetics, an RJ45 Jack, a 25 MHz crystal and a micro SD card connector to the board.

For those who have a problem getting the Amphenol 101-00303-68 connector (in Germany you have to pay about 18 EUR for shipping of a 1 EUR part at Digi-Key): The corresponding part number from MOLEX is: 500901-0801. You can get this part at Pollin, for example.

Then I used the HDVersion.set file to change my E2PROM config and enable things. Now the DSO shows SD support, Video support, NET support and I have some more options in the UTILITY menu (like PC SET or VIDEO). So far, so good.

Still, I have a problem getting ethernet working: The DM9000 chip I used has a different ID. I got the error message on console:

dm9000 dm9000.0:read wrong id 0x2b2a2928
dm9000 dm9000.0:read wrong id 0x2b2a2928
dm9000 dm9000.0:read wrong id 0x2b2a2928
dm9000 dm9000.0:read wrong id 0x2b2a2928
dm9000 dm9000.0:read wrong id 0x2b2a2928
dm9000 dm9000.0:read wrong id 0x2b2a2928
dm9000 dm9000.0:read wrong id 0x2b2a2928
dm9000 dm9000.0:read wrong id 0x2b2a2928
dm9000 dm9000.0:wrong id: 0x2b2a2928
dm9000 dm9000.0:not found <-19>.

Therefore, I hex-edited the /dso/drivers/dm9000.ko (I don't know if I can just use a mainline kernel to compile and what toolchain I have to use) and changed the supported chip ID "0x90000A46" to "0x2B2A2928" (if someone wants to try this: note the endianness! In the file you have to search for 0x460A0090 and change to 0x28292A2B). Now ifconfig shows up an eth0 interface with an IP address and the MAC 10:11:12:13:14:15.

Unfortunately, I do not get any physical connection when plugging in an ethernet jack. So, my PC shows no physical connection. Any help?

edit:
Just read the datasheet and found that 0x28 to 0x2b are the register addresses of the chip ID. Apparently, this is what the variable is initialized to and the I/O call to the chip fails.
« Last Edit: October 11, 2015, 12:16:29 pm by schlot »
 

Offline vinayst

  • Contributor
  • Posts: 11
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2697 on: October 12, 2015, 05:02:17 pm »
We have a 14 months old DSO1062BV that wont start, when we connect it to battery or Power adapter. All it does is make a "TRRRRK" chatter under the cans.
This Unit was earlier repaired under warrenty for the same issue and checked after repair to be running OK, now it has not been used in last 4 months and has developed the same issue.

Any idea where to start since the dealer is absolutely useless and will not honor his own repair warrenty and is pretty useless.
Thanks for any pointer towards repairing the same

Posting iton this forum as this issue happend when i updated the firmware and it didnt reboot.It later developed the same "TRRK" chatter issue in the cans  after i  did the 200 hack and tried rebooting it.

Thanks for any pointer to resolving this issue, the oscilloscope has hardly been used earlier before the repair and now just a few moths after repair it is again dead, without being used even once.Is this dso so unreliable or did the dealer who fixed it did a shoddy job.

Vinay
 

Offline schlot

  • Contributor
  • Posts: 16
  • Country: de
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2698 on: October 12, 2015, 06:04:01 pm »

We have a 14 months old DSO1062BV that wont start, when we connect it to battery or Power adapter. All it does is make a "TRRRRK" chatter under the cans.
This Unit was earlier repaired under warrenty for the same issue and checked after repair to be running OK, now it has not been used in last 4 months and has developed the same issue.

Any idea where to start since the dealer is absolutely useless and will not honor his own repair warrenty and is pretty useless.
Thanks for any pointer towards repairing the same

Posting iton this forum as this issue happend when i updated the firmware and it didnt reboot.It later developed the same "TRRK" chatter issue in the cans  after i  did the 200 hack and tried rebooting it.

Thanks for any pointer to resolving this issue, the oscilloscope has hardly been used earlier before the repair and now just a few moths after repair it is again dead, without being used even once.Is this dso so unreliable or did the dealer who fixed it did a shoddy job.

Vinay

I can imagine some things to try.

- in the DSO on the main PCB, I can see some test points with voltages noted next to them. You could check these to see if the voltage regulators are OK.

- connect a serial console to the internal UART and see if you get any output from there. Maybe you can figure out where it gets stuck during start-up.


Thomas

P.S.: you said you have a 1062BV. What kind of help videos are there on the card? Just interedted because I have a 1122S and made a ... let's say 1202SV out of it ;-)
 

Offline vinayst

  • Contributor
  • Posts: 11
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #2699 on: October 12, 2015, 06:34:01 pm »
there was just one animated cartoon video as a sample and nothing else when it worked.

Sure i will check on your tips.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf