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

0 Members and 3 Guests are viewing this topic.

Offline marek

  • Newbie
  • Posts: 4
Re: Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1675 on: April 03, 2013, 03:10:26 pm »
I don't know what the rules in the UK are, but in NL it's the following:

Up to € 22 value       = No duty, no VAT.
From € 22 to € 150   = No duty, yes VAT.
€ 150 or more          = Yes duty, yes VAT.

Similar in Germany, but the rule is: if the import tax charge is less than 5€, no need to pay it. So the limit depends on what goods you're importing.
For VAT it's the same 22€…

Marek

Sent from my Nexus 4 using Tapatalk 2

 

Offline rf-loop

  • Super Contributor
  • ***
  • Posts: 4062
  • Country: fi
  • Born in Finland with DLL21 in hand
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1676 on: April 03, 2013, 03:12:25 pm »
Hantek 100mhz - is 220-230 pounds including free shipping from China.  The price of the 60mhz version on ebay is 290 pounds  ;D

Do you mean DSO5102P?

(Example there is one who picture DSO5202B  but then you read he sell DSO5102P where is total 24k capture memory)

http://www.hantek.com/english/news_list.asp?unid=44

Do you think Conrad 1062D model is this P serie. Not AFAIK.

:)
I drive a LEC (low el. consumption) BEV car. Smoke exhaust pipes - go to museum. In Finland quite all electric power is made using nuclear, wind, solar and water.

Wises must compel the mad barbarians to stop their crimes against humanity. Where have the wises gone?
 

Offline marmad

  • Super Contributor
  • ***
  • Posts: 2979
  • Country: aq
    • DaysAlive
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1677 on: April 03, 2013, 03:32:33 pm »
Do you mean DSO5102P?

(Example there is one who picture DSO5202B  but then you read he sell DSO5102P where is total 24k capture memory)

Nice catch, rf-loop. Are you sure you've got the right model, John?

BTW, I know this has gone seriously off-topic, but since this is already the longest thread in the history of mankind  ;), I hope tinhead won't mind:

I was looking through the TARIC codes and rates for various test equipment from various countries (such as the duty amount for shipping a DSO from the US to the EU) and it appears that, generally, there is NO duty on any type of T&M equipment shipped from any country (except perhaps very specialized gear - as in aviation). I'm not sure why that is - but it's good to know. You just have to be sure that shipped equipment isn't misidentified by the local customs office as some kind of consumer electronics (which are usually 13-25% duty).
 

Offline tinheadTopic starter

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1678 on: April 03, 2013, 03:43:54 pm »
right, there are these "down to price" models with "P" in name (or as they call them, "High Cost-Effective" DSO).

There is nothing wrong with them, sure the 1M SRAM is not anymore there, so you have to work with 24k only, but everything
else is the same.

Btw, the 24k value is what the FPGA can handle with best speed vs. memory ratio. Up to now (with fw 2.6 and 2.7) with 4k there
was still enough "room" and 40k it was already bit slowish. I have here test firmware (3.x) with 24k instead of 40k and so
far it's ok (yes, there are as well other steps).

But back to "P" models, when you need 1M, then this DSO-line is not what you need. But when you don't need these
1M memory then this is probably the cheapest and best DSO you can get for money.

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 rf-loop

  • Super Contributor
  • ***
  • Posts: 4062
  • Country: fi
  • Born in Finland with DLL21 in hand
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1679 on: April 03, 2013, 04:00:50 pm »
Yes, tinhead just this - nothing wrong if it meets needs, this is not point in my post.
But when compare prices it is good to compare  jackfruit to jackfruit.


All do not need long memory. Some do not need never.

There is lot of manufacturers and models where is sample buffer starting from 4k etc. 

Many times I use example my one Tektronix I set it for 500 point or 1k and not 50k.

If I look what is going on just on the screen area and not at all interest about what is out of screen... . It is good to realize that with 1Gsa/s and with 2ns/div there is just 20 real sample point visible on the screen if screen area is 10div horizontally. So, sometimes I hope I can adjust memory to 20 sample but capture this "waveform" as fast as possible.
« Last Edit: April 03, 2013, 04:02:25 pm by rf-loop »
I drive a LEC (low el. consumption) BEV car. Smoke exhaust pipes - go to museum. In Finland quite all electric power is made using nuclear, wind, solar and water.

Wises must compel the mad barbarians to stop their crimes against humanity. Where have the wises gone?
 

Offline tinheadTopic starter

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1680 on: April 03, 2013, 04:47:50 pm »
this is not point in my post.

i know :)

Many times I use example my one Tektronix I set it for 500 point or 1k and not 50k.
If I look what is going on just on the screen area and not at all interest about what is out of screen... . It is good to realize that with 1Gsa/s and with 2ns/div there is just 20 real sample point visible on the screen if screen area is 10div horizontally. So, sometimes I hope I can adjust memory to 20 sample but capture this "waveform" as fast as possible.

same here, i always trying to use the fastest (but still long enough to capture what i wish to capture) setting on DSO
and longest/fastest combination on logic or protocol analyzers (this is where length matters).
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 Johndowacc

  • Contributor
  • Posts: 10
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1681 on: April 03, 2013, 07:04:44 pm »
Hantek 100mhz - is 220-230 pounds including free shipping from China.  The price of the 60mhz version on ebay is 290 pounds  ;D

Do you mean DSO5102P?

(Example there is one who picture DSO5202B  but then you read he sell DSO5102P where is total 24k capture memory)

http://www.hantek.com/english/news_list.asp?unid=44

Do you think Conrad 1062D model is this P serie. Not AFAIK.

:)

omg...I would never notice this ahahha. Thanks !! But still the 100mhz scope with 1M is 250 pounds whereas the Conrad's version is 290 for 60mhz... Obviously they are the same but at least if I decide not to hack the scope to higher bandwidth 100mhz would be pretty much sufficient for me...
About the VAT and duty charges I might be wrong...I just don't see the point of paying VAT to a country which has nothing to do with the production of the product...
 

Offline staze

  • Frequent Contributor
  • **
  • Posts: 820
  • Country: us
  • I _might_ have a problem...
    • Everybody Staze...
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1682 on: April 03, 2013, 07:35:11 pm »
Sorry if this is mentioned in this HUGE thread (yes, a bit of TL;DR), but can the DSO5062 be hacked into the 200mhz model, or just the DSO5102? Or are they ALL the same hardware?
“Give a man an answer, he’ll keep his job for a day. Teach a man to Google, and he’ll be employed for a lifetime”
 

Offline Parsley

  • Newbie
  • Posts: 8
  • Country: de
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1683 on: April 04, 2013, 09:07:16 am »
...can the DSO5062 be hacked into the 200mhz model, or just the DSO5102? Or are they ALL the same hardware?

Yes, all hackable to 200.
 

Offline tinheadTopic starter

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1684 on: April 08, 2013, 08:01:39 am »
here we go ... i did it again:

A complette schematic of hw1005 and hw1007 DSOs(with S/N < 15000)

valid for following DSOs (S/N < 15000):
 Tekway DST1xxxB
 Tekway MST1xxxB
 Hantek DSO5xxxB/BM/BMV
 Hantek MSO5xxxD
 Voltcraft DSO-3062C
 Voltcraft DSO-1062D
 Voltcraft MSO-5xxxD

attached only the PDF file, if someone need it as Altium version please let me know.

What not included - picture of PCB with part placements, i don't have time for that anymore.
If someone wish to do it, you welcome.

I've added as well as much as possible of hw1005, three nets are not connected due the fact that i don't have hw1005.
Everything else on hw1005 is reversed from pictures, so don't blame me if i missed something.

Full size PDF: http://www.mikrocontroller.net/articles/Datei:Hantek_Tekway_DSO_MSO_hw1007.pdf
« Last Edit: September 28, 2013, 08:41:13 am 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.
 
The following users thanked this post: jasom

Offline morris6

  • Regular Contributor
  • *
  • Posts: 81
  • Country: nl
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1685 on: April 08, 2013, 01:48:02 pm »
here we go ... i did it again:

A complette schematic of hw1005 and hw1007 DSOs(with S/N < 15000)


Awesome, and thank you.
 

Offline robmg

  • Newbie
  • Posts: 1
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1686 on: April 12, 2013, 10:32:52 am »
Hello, do you guys think the hack works also for the DSO5000 P models? I've a DSO5102P so i would like to ....
Thanks 
 

Offline morris6

  • Regular Contributor
  • *
  • Posts: 81
  • Country: nl
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1687 on: April 12, 2013, 11:06:20 am »
About a year ago Tinhead mentioned the utility 'fpga.exe' in this forum thread. This file was present in early firmware versions, later it was removed.
About two weeks ago this file was again mentioned in mikrocontroller forum thread "TEKWAY DST1xx2B Oszilloskop". Here Tinhead hints to the possibility to create a kind of menu by reading the frontpanel buttons before the main program is started. Well, this is indeed possible as shown here.

I copied the utility 'fpga.exe' into the '/dso/app' directory, together with script 'demo'. The script reads the key-buffer in the fpga memory until it finds one of the 'watched-for' keys, then exits.
The script can also be added to the bootscript 'rcS', I prepared a demo 'rcS' for this. Copy it to '/etc/init.d' after saving your original one of course. Now the script will wait while the scope is displaying the bootlogo until you push either F1 or F2, then it exits after starting 'dso.exe'. Here you could insert a different command for another, renamed, 'dso.exe' version that is present somewhere in the filesystem.

I was planning to use this to make it possible to start an 'upgraded' DSO/MSO in either the DSO or in the MSO mode.

HOWEVER....

The 'upgraded' DSO/MSO is running a later Linux version and fpga.exe is not running here. It is depending on some older library files not present. To solve it properly fpga.exe should be recompiled with the proper libraries. I tried a few tricks found on several forums, like symlinking an older library, but no succes.

So far for my attempt to create a DSO - MSO menu.

For those who want to experiment I added 'fpga.zip', my script 'demo' and the special 'rcS' are in 'F1F2demo.zip'.

The use of fpga.exe has been published before:
'fpga.exe w 0xnn 0xdd' writes data, 'fpga.exe r 0xnn' reads one byte, 'fpga.exe R 0xnn length' reads multiple 32 bit records.

I found fpga register 0x0d has a key-buffer status bit, bit 5, that is set when the key-buffer contains data to read.
Register 0x0e reads the key-buffer: bits 4, 5 and 6 represent the contents of counter UF1B for multiplexer UF3 of the front panel schematic; bits 1, 2 and 3 for UF1A and UF2; bit 0 is zero when the found key is pushed and is set when the key becomes released. My demo uses F1 key, databyte 0x26 when pushed and F2, databyte 0x36.
 

Offline brainwash

  • Frequent Contributor
  • **
  • Posts: 463
  • Country: de
    • Hack Correlation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1688 on: April 12, 2013, 11:12:39 am »
What real-life utility would fpga.exe have? Calibration constants?
 

Offline tinheadTopic starter

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1689 on: April 12, 2013, 11:33:26 am »
Hello, do you guys think the hack works also for the DSO5000 P models? I've a DSO5102P so i would like to ....
Thanks

cool, download this tool

http://peter.dreisiebner.at/dso-usb-tool/

connect your DSO to PC,run this tool, insert usb flash drive into the front USB and copy the dso.exe from your P model to the flash drive (simply go to shell tab and try cp /dso.exe /mnt/udisk/dso.exe or cp /dso.exe /mnt/dso.exe. I think /mnt/udisk/ should work).

Then zip the dso.exe and upload here or somewhere .. when i have it i can tell you more about hack of these P models
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 tinheadTopic starter

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1690 on: April 12, 2013, 08:09:38 pm »
I was planning to use this to make it possible to start an 'upgraded' DSO/MSO in either the DSO or in the MSO mode.

HOWEVER....

The 'upgraded' DSO/MSO is running a later Linux version and fpga.exe is not running here. It is depending on some older library files not present. To solve it properly fpga.exe should be recompiled with the proper libraries. I tried a few tricks found on several forums, like symlinking an older library, but no succes.

So far for my attempt to create a DSO - MSO menu.

so you picked up my idea, cool.

I've tested the script, so far it does works great on 2.6.14. To make this idea "complete" i recompiled
the fpga.exe for Linux 2.6.30.4 (it must be simply linked against ld-linux.so.3, not ld-linux.so.2)

Btw, where you found the proper register? Or did you simply tried them all?
« Last Edit: April 12, 2013, 08:15:29 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 morris6

  • Regular Contributor
  • *
  • Posts: 81
  • Country: nl
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1691 on: April 13, 2013, 12:47:37 pm »
so you picked up my idea, cool.

You mentioned this idea earlier, but your comment on fpga.exe in the 'Tekway DST1xx2B' thread two weeks ago on the mikrocontroller forum made me decide to look into it.

Quote
I've tested the script, so far it does works great on 2.6.14. To make this idea "complete" i recompiled
the fpga.exe for Linux 2.6.30.4 (it must be simply linked against ld-linux.so.3, not ld-linux.so.2)

Thanks again, great: "simply recompile". I did find that problem with: 'readelf -l fpga.exe | grep "program interpreter" ' but I had no idea how to proceed further. Lots of learning to do.

Quote
Btw, where you found the proper register? Or did you simply tried them all?

Well,.. You published a disassembly some time ago of dso.exe. Here I searched for 'key' and 'fpga'. Found 'READ_FPGA_kb_buf' function calling 'read_fpga_device' two times, once after loading R0 with 0x0d and once with 0x0e. The rest was just trial.

I will work further on the idea, to see if it is not complicating things too much in view of later updates of the firmware. Anyway when the "definite' firmware for the MSO is available the switching is no longer needed, I hope.
« Last Edit: April 13, 2013, 12:49:50 pm by morris6 »
 

Offline tinheadTopic starter

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1692 on: April 13, 2013, 02:34:22 pm »
Quote
I've tested the script, so far it does works great on 2.6.14. To make this idea "complete" i recompiled
the fpga.exe for Linux 2.6.30.4 (it must be simply linked against ld-linux.so.3, not ld-linux.so.2)

Thanks again, great: "simply recompile". I did find that problem with: 'readelf -l fpga.exe | grep "program interpreter" ' but I had no idea how to proceed further. Lots of learning to do.

in the gpl code (e.g. for MSO) there is in "third_part" directory the 4.3.3 gcc toolchain, with all the libs whcih need to
be set in ldconfig flag. I made it very simple, created new directory in third_part, copied fpga code there, re-used make file
from "bmptogif", added section in make file in dir above nad in top dir - that's all. Now, when i compile kernel and drivers
and what so ever tools the fpga code will be compiled as well (with proper gcc, libs, etc. - no need to spend any unnecessary
second on that).

EDIT:
attached my sources and make files. All you need is to download the MSO GPL sources, install them into /opt/build/mso_env,
untar attached file to / and build it (make from /opt/build/mso_env or /opt/build/mso_env/third_part)
« Last Edit: April 19, 2013, 03:08:46 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 Jasmine

  • Newbie
  • !
  • Posts: 9
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1693 on: April 19, 2013, 05:27:19 am »
check here,may help  http://www.pintech.com.cn/en/prolist.asp?str=Oscilloscope Probe&style=145&idtop=0
or
http://www.dkflex.com/products.asp?str=DK series&style=141&idtop=0
 :scared:
 

Offline crackintosh

  • Newbie
  • Posts: 2
  • Country: md
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1694 on: April 21, 2013, 07:58:23 am »
Hi all...

Today I received the QFP100 SRAM  = IS61LPS51236A-200TQLI.
What HW mods need to do to use a 2M capability in DSO1202B(exDSO1062B) ?
Somebody tested SRAM replacement? Any results?
 

Offline tinheadTopic starter

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1695 on: April 21, 2013, 09:09:10 am »
Hi all...

Today I received the QFP100 SRAM  = IS61LPS51236A-200TQLI.
What HW mods need to do to use a 2M capability in DSO1202B(exDSO1062B) ?
Somebody tested SRAM replacement? Any results?

in principle you need to replace the SRAM, sometimes connect the ZZ pin (pin 64) to GND (some SRAM types have pull-down
integrated, some not - with floating pin you might get strange errors) and then change in EEPROM licensing to enable 2M.

edit: The licensing is described on first thread page.
« Last Edit: June 22, 2014, 09:15:18 am 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 NCG

  • Contributor
  • Posts: 45
  • Country: ee
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1696 on: April 22, 2013, 03:37:45 am »
I did not get 2Mb IS61LPS51236A-200TQLI to actually work in bench HW1007 correctly. I do see 2MB option enabled in scope menus but actual capture repeats itself when 2MB is allowed, so I assume addressing problem with highest used address pin. Have to check if CPLD pin 47 (used in handheld for SRA18 signal) gives anything out during 2MB capture. Also the SDRAM ZZ pin is not grounded, have to test the effect of that too.
 

Offline tinheadTopic starter

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1697 on: April 22, 2013, 05:55:36 am »
I did not get 2Mb IS61LPS51236A-200TQLI to actually work in bench HW1007 correctly. I do see 2MB option enabled in scope menus but actual capture repeats itself when 2MB is allowed, so I assume addressing problem with highest used address pin. Have to check if CPLD pin 47 (used in handheld for SRA18 signal) gives anything out during 2MB capture. Also the SDRAM ZZ pin is not grounded, have to test the effect of that too.

hw1007 is benchtop, so when running firmware for B models you will not get 2M working. This is because there is a check for
linux version in the firmare, BM/BMV models have 2.6.30.4 instead of 2.6.13 on B models.

On Handheld there is no 2.6.13, there was from the beginning 2.6.30.4 and 2M works.
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 tinheadTopic starter

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1698 on: April 22, 2013, 06:25:58 am »
I did not get 2Mb IS61LPS51236A-200TQLI to actually work in bench HW1007 correctly. I do see 2MB option enabled in scope menus but actual capture repeats itself when 2MB is allowed, so I assume addressing problem with highest used address pin. Have to check if CPLD pin 47 (used in handheld for SRA18 signal) gives anything out during 2MB capture. Also the SDRAM ZZ pin is not grounded, have to test the effect of that too.

hw1007 is benchtop, so when running firmware for B models you will not get 2M working. This is because there is a check for
linux version in the firmare, BM/BMV models have 2.6.30.4 instead of 2.6.13 on B models.

On Handheld there is no 2.6.13, there was from the beginning 2.6.30.4 and 2M works.

btw NCG, you can switch to higher linux version by doing following stept:
1-  run http://embdev.net/articles/Tekway_MSO#Firmware_upgrade to get Linux and MSO firmware
(with all these steps -> backup of your factory files, installation of MSO fw, resotre of your factory files)
2- install special BMV model firmware on your temp MSO model, http://www.mikrocontroller.net/topic/289260#3094394
You need to run the *dodso* file, http://www.mikrocontroller.net/attachment/173447/dst1kb_2.06.3_dodso.up
3- use the regular BM/BMV firmware once. You might consider changing logo as well, as described in this thread here somewhere.

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 cosmos

  • Regular Contributor
  • *
  • Posts: 110
  • Country: 00
Re: Hantek - Tekway - DSO hack - get 200MHz bw for free
« Reply #1699 on: April 22, 2013, 11:47:49 am »
I am testing my new MSO5102D (updated to latest Hantec SW but not hacked) and notice that the logic analyser results seems to lag the analogue channels by one trig.
ie. I get the data sampled on the previous trigger for the analyser part and fresh result for the two analogue channels.
Is this a know issue? I do not seem to find anything about it elsewhere.

from system status screen:
model: MSO5102D
SW: 2.07.1 (130321.0)
HW: 10070x555583e9

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf