Difference between revisions of "Hantek DSO-1060"
m (→Under Linux) |
|||
(21 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Official links: |
Official links: |
||
− | * http://www.hantek.com.cn/english/news_list.asp?unid=14 |
+ | * [http://www.hantek.com.cn/english/news_list.asp?unid=14 Announcement] |
− | * http://www.hantek.com.cn/english/produce_list.asp?unid=79 |
+ | * [http://www.hantek.com.cn/english/produce_list.asp?unid=79 Product description] |
− | * [http://www.hantek.net/Manual/1000/hantek1000series.pdf Manual] |
+ | * [http://www.hantek.net/Manual/1000/hantek1000series.pdf Manual], also [http://blog.elec3i.com/public/dso1000_fr.pdf in French] |
* [http://www.hantek.net/Product/DSO1060/DSO1060%20PC1.0/DSO1060%20PC1.0.rar Software] |
* [http://www.hantek.net/Product/DSO1060/DSO1060%20PC1.0/DSO1060%20PC1.0.rar Software] |
||
+ | * [http://www.hantek.org/asken/iasklist.aspx?cid=I00008 Support forum for DSO1060] |
||
Chinese handheld scopemeter, 2 inputs 60MHz & DMM 6000 pts |
Chinese handheld scopemeter, 2 inputs 60MHz & DMM 6000 pts |
||
Line 16: | Line 17: | ||
* Firmware Version: 1.68 |
* Firmware Version: 1.68 |
||
* Hardware version: 5.2.34.0.0 |
* Hardware version: 5.2.34.0.0 |
||
+ | |||
+ | Other devices of the same serie: DSO1200, DSO1600, DSO1600H |
||
+ | |||
+ | Tutorials: |
||
+ | * [http://blog.elec3i.com/post/2011/02/23/Utilisation-du-Hantek-DSO-s%C3%A9rie-1000-%28DSO1060...1200%29 Basics, FFT, alternate trigger, integrated help] (in French) |
||
==USB memory stick== |
==USB memory stick== |
||
− | The device is USB-host capable but I had many troubles to get |
+ | The device is USB-host capable but I had many troubles to get it accessing properly a memory stick. |
<br>On a 6Gb harddrive it hung when I tried to write a file, and on a 256Mb flash it was always claiming "Unknown Filesystem". |
<br>On a 6Gb harddrive it hung when I tried to write a file, and on a 256Mb flash it was always claiming "Unknown Filesystem". |
||
<br>I finally managed to get it working by reformatting the 256Mb flash as FAT32 (FAT16 failed, or was it FAT12?) |
<br>I finally managed to get it working by reformatting the 256Mb flash as FAT32 (FAT16 failed, or was it FAT12?) |
||
==Firmware upgrade== |
==Firmware upgrade== |
||
− | Once you have a working USB stick you can try upgrading the firmware. |
+ | Once you have a working USB stick with FAT32 you can try upgrading the firmware. |
<br>I found the firmware version 1.70 [http://www.hantek.com.cn/Product/DSO1060/Firmware/DSO1060Firmware_EN.rar here], follow simply the included pdf (the Chinese version is [http://www.hantek.com.cn/Product/DSO1060/Firmware/DSO1060Firmware_CHN.rar here]). |
<br>I found the firmware version 1.70 [http://www.hantek.com.cn/Product/DSO1060/Firmware/DSO1060Firmware_EN.rar here], follow simply the included pdf (the Chinese version is [http://www.hantek.com.cn/Product/DSO1060/Firmware/DSO1060Firmware_CHN.rar here]). |
||
<br>If there is a newer version it should come via the same link I guess... |
<br>If there is a newer version it should come via the same link I guess... |
||
+ | <br>'''UPDATE''' now I got a version 1.79 [http://www.hantek.com/Product/DSO1000/DSO1060_Firmware.zip here], see also [https://onedrive.live.com/?id=6C60A056648D9011%21237&cid=6C60A056648D9011 here] |
||
+ | |||
+ | Note that there are also instructions in French [http://blog.elec3i.com/post/2009/12/04/Liaison-USB-Oscilloscope-Hantek-DSO1XXX here] which confirm you need a FAT32 filesystem. |
||
+ | |||
==Issues== |
==Issues== |
||
A known issue is in continuity test mode, it's rather slow to beep, which makes it much less usable than a cheap continuity tester... |
A known issue is in continuity test mode, it's rather slow to beep, which makes it much less usable than a cheap continuity tester... |
||
<br>Upgrade to v1.70 didn't improve the situation |
<br>Upgrade to v1.70 didn't improve the situation |
||
− | ==Under Linux== |
||
− | Opensource projects of interest: |
||
− | * http://sourceforge.net/projects/hantekdso/ |
||
− | * http://sourceforge.net/projects/openhantek/ |
||
− | * http://sourceforge.net/projects/oscope2100/ |
||
− | ===OpenHantek STATUS: FAIL=== |
||
− | Get it [http://sourceforge.net/projects/openhantek/files/ here] as well as dsoextractfw |
||
− | $ tar xjf openhantek-0.1.0.tar.bz2 |
||
− | $ cd OpenHantek |
||
− | # aptitude install libqt4-dev libfftw3-dev |
||
− | $ qmake |
||
− | $ make |
||
− | # make install |
||
+ | Another issue: DON'T use both USB ports simultaneously (PC connection & flash memory), see notes in French [http://blog.elec3i.com/post/2009/12/04/Liaison-USB-Oscilloscope-Hantek-DSO1XXX here] |
||
− | $ tar xjf dsoextractfw-0.6.0.tar.bz2 |
||
− | $ cd dsoextractfw |
||
− | # aptitude install libbfd-dev #(this actually installs binutils-dev) |
||
− | $ ./configure |
||
− | $ make |
||
− | Get the DSO1060.sys from the windows drivers CD |
||
+ | To restore factory settings: Press "Save/Recall" menu to the storage menu, then press F1 three times, then the F1's caption is changed to "Factory". Now press F3 to load the factory setup |
||
− | Mmm visibly it doesn't know how to extract firmware from the 1060 model :-( |
||
+ | ==Under Linux== |
||
− | I also tried from SVN: |
||
+ | When connecting the scopemeter via USB it gives: idVendor=4348, idProduct=5537, Product: DSO10, Manufacturer: Hantek |
||
+ | There are several projects linked to Hantek products |
||
− | git svn clone https://openhantek.svn.sourceforge.net/svnroot/openhantek/trunk |
||
+ | |||
− | sudo aptitude install libusb-1.0-0-dev |
||
+ | ===[http://sourceforge.net/projects/openhantek/ OpenHantek]: FAIL=== |
||
− | But that one segfaults most of the time & dsoextractfw code is not present |
||
+ | To compile v0.1.0 I had to install libqt4-dev and libfftw3-dev |
||
− | kernel: [784901.198320] openhantek[12245]: segfault at 21 ip 0000000000431de7 sp 00007fff14741ba0 error 4 in openhantek[400000+64000] |
||
+ | qmake && make && make install |
||
+ | To compile dsoextractfw, I had to install libbfd-dev (which actually installed binutils-dev) |
||
+ | ./configure && make |
||
+ | It asks for the DSO*.SYS from the Windows drivers but actually it's only for models DSO2090, DSO2100, DSO2150, DSO2250, DSO5200, DSO520A |
||
+ | I also tried from SVN, had to install libusb-1.0-0-dev but resulting binary segfaults most of the time and there is no change for dsoextractfw |
||
− | When connecting the scopemeter via USB it gives: idVendor=4348, idProduct=5537, Product: DSO10, Manufacturer: Hantek |
||
+ | ===[http://sourceforge.net/projects/hantekdso/ HantekDSO]: FAIL=== |
||
− | ===HantekDSO STATUS: FAIL=== |
||
+ | To compile v0.5.3 I had to install also kdelibs-dev and automake1.10 |
||
− | Get it [http://sourceforge.net/projects/hantekdso/files/ here] |
||
+ | <br>dsoextractfw seems to be more or less the same as for OpenHantek, same models supported |
||
− | $ tar xzf HantekDSO-0.5.3.tar.gz |
||
+ | ===[http://sourceforge.net/projects/oscope2100/ Oscope2100]: FAIL=== |
||
− | $ cd HantekDSO |
||
+ | It relies on HantekDSO dsoextractfw and is only for model DSO2100 |
||
− | # aptitude install kdelibs-dev automake1.10 |
||
+ | ===[http://blog.elec3i.com/public/DSO_DevKit.zip DSO DevKit] from elec3i=== |
||
− | $ ./configure |
||
+ | Contains amongst others a linux branch |
||
− | $ make |
||
+ | There is a test application and a linux driver. |
||
− | dsoextractfw seems to be more or less the same as for OpenHantek, same models supported |
||
+ | <br>Not tested yet. |
||
+ | <br>From what I can see in the driver there is nothing unusual so it should be possible to get the device working not with the driver but directly with libusb. |
||
==Other software== |
==Other software== |
||
* [http://blog.elec3i.com/post/2010/07/21/Enfin-un-visualiseur-de-fichiers-WAF-! Elec3i announced a software] to read directly WAF files saved on USB sticks (French): [http://elec3i.votreboutiquepro.com/oscilloscope-numerique/visualiseur-de-fichiers-waf/product_info.php/cPath/23/products_id/63/language/en DsoWaf.exe] |
* [http://blog.elec3i.com/post/2010/07/21/Enfin-un-visualiseur-de-fichiers-WAF-! Elec3i announced a software] to read directly WAF files saved on USB sticks (French): [http://elec3i.votreboutiquepro.com/oscilloscope-numerique/visualiseur-de-fichiers-waf/product_info.php/cPath/23/products_id/63/language/en DsoWaf.exe] |
||
+ | * [http://blog.elec3i.com/public/DSO_DevKit.zip DSO DevKit] and [http://blog.elec3i.com/public/Programmer_s_Guide.pdf Programmer's Guide] |
||
+ | ==Files produced by DSO-1060== |
||
+ | The device is able to save a number of info internally or on USB stick (formatted as FAT32!!) |
||
+ | |||
+ | Data here are reverse-engineered so you may expect different results (e.g. if using more channels, math & ref channels etc) |
||
+ | |||
+ | === .set === |
||
+ | It stores the device settings so you can later load some presets |
||
+ | |||
+ | To save it: |
||
+ | * Save-recall / Type Wave->Setup / External / New File |
||
+ | |||
+ | Structure: |
||
+ | * header "set" + 188 bytes |
||
+ | |||
+ | === .waf === |
||
+ | It stores the device settings and one waveform of 16384 samples (0x4000) |
||
+ | |||
+ | To save it: |
||
+ | * Save-recall / (Type Wave) / External / New File |
||
+ | |||
+ | Structure: |
||
+ | * header "waf" + 188 bytes + 16384 bytes of data |
||
+ | * header bytes == same as for .set file |
||
+ | |||
+ | === .ref === |
||
+ | It stores a reference waveform of 16384 samples |
||
+ | |||
+ | To save it: |
||
+ | * M/R x2 (REF) / Enable ON / Location External / 2 / New File |
||
+ | |||
+ | Structure: |
||
+ | * header "ref" + 62 bytes + 16384 bytes of data |
||
+ | |||
+ | === .csv === |
||
+ | It stores one waveform in CSV (comma separated value) format, of 16384 samples |
||
+ | |||
+ | To save it: |
||
+ | * Save-recall / Type Wave->Setup->Bitmap->CSV / External / New File |
||
+ | |||
+ | Structure: |
||
+ | * First line shows e.g. #CLOCK=2000.000 |
||
+ | * Second line shows the number of samples, e.g. #SIZE=16384 |
||
+ | * Samples are float on the first column |
||
+ | * two next columns are filled with zeroes, maybe for CH2 & ref? |
||
+ | |||
+ | === .bmp === |
||
+ | It stores a screenshot of the actual screen in bitmap format |
||
+ | |||
+ | To save it: |
||
+ | * Save-recall / Type Wave->Setup->Bitmap / External / New File |
||
+ | |||
+ | === .rec === |
||
+ | It stores N snapshots of 1200 samples |
||
+ | |||
+ | To save it: |
||
+ | * Utility / 2 / Record / Mode OFF->Record |
||
+ | * Operate Stop->Start |
||
+ | * Mode Record->Play->Storage / Location external / 2 / New file |
||
+ | |||
+ | Structure: |
||
+ | * header "rec" + 147 bytes + N * 1200 bytes of data + some FF padding |
||
+ | * byte 1 = nr of snapshots |
||
+ | |||
+ | === SystemInfo.bmp === |
||
+ | It stores a screenshot of the actual screen in bitmap format when displaying the version information |
||
+ | |||
+ | To save it: |
||
+ | * Utility / 4 / System Info / Enter |
||
+ | |||
+ | ==My Tools== |
||
+ | To watch at [[RFID]] fields I made a simple loop probe similar to [http://www.conformity.com/artman/uploads/a07_f07_fig2_low.jpg this one] but without balun, out of an old BNC RG58 cable (remember Thin Ethernet / 10base2 ?) |
Latest revision as of 15:46, 6 October 2016
Description
Official links:
Chinese handheld scopemeter, 2 inputs 60MHz & DMM 6000 pts
Bought on this French e-shop (see also their blog)
Internal data:
- Module DSO1060
- Serial No. DSO0000855
- Firmware Version: 1.68
- Hardware version: 5.2.34.0.0
Other devices of the same serie: DSO1200, DSO1600, DSO1600H
Tutorials:
- Basics, FFT, alternate trigger, integrated help (in French)
USB memory stick
The device is USB-host capable but I had many troubles to get it accessing properly a memory stick.
On a 6Gb harddrive it hung when I tried to write a file, and on a 256Mb flash it was always claiming "Unknown Filesystem".
I finally managed to get it working by reformatting the 256Mb flash as FAT32 (FAT16 failed, or was it FAT12?)
Firmware upgrade
Once you have a working USB stick with FAT32 you can try upgrading the firmware.
I found the firmware version 1.70 here, follow simply the included pdf (the Chinese version is here).
If there is a newer version it should come via the same link I guess...
UPDATE now I got a version 1.79 here, see also here
Note that there are also instructions in French here which confirm you need a FAT32 filesystem.
Issues
A known issue is in continuity test mode, it's rather slow to beep, which makes it much less usable than a cheap continuity tester...
Upgrade to v1.70 didn't improve the situation
Another issue: DON'T use both USB ports simultaneously (PC connection & flash memory), see notes in French here
To restore factory settings: Press "Save/Recall" menu to the storage menu, then press F1 three times, then the F1's caption is changed to "Factory". Now press F3 to load the factory setup
Under Linux
When connecting the scopemeter via USB it gives: idVendor=4348, idProduct=5537, Product: DSO10, Manufacturer: Hantek
There are several projects linked to Hantek products
OpenHantek: FAIL
To compile v0.1.0 I had to install libqt4-dev and libfftw3-dev
qmake && make && make install
To compile dsoextractfw, I had to install libbfd-dev (which actually installed binutils-dev)
./configure && make
It asks for the DSO*.SYS from the Windows drivers but actually it's only for models DSO2090, DSO2100, DSO2150, DSO2250, DSO5200, DSO520A
I also tried from SVN, had to install libusb-1.0-0-dev but resulting binary segfaults most of the time and there is no change for dsoextractfw
HantekDSO: FAIL
To compile v0.5.3 I had to install also kdelibs-dev and automake1.10
dsoextractfw seems to be more or less the same as for OpenHantek, same models supported
Oscope2100: FAIL
It relies on HantekDSO dsoextractfw and is only for model DSO2100
DSO DevKit from elec3i
Contains amongst others a linux branch
There is a test application and a linux driver.
Not tested yet.
From what I can see in the driver there is nothing unusual so it should be possible to get the device working not with the driver but directly with libusb.
Other software
- Elec3i announced a software to read directly WAF files saved on USB sticks (French): DsoWaf.exe
- DSO DevKit and Programmer's Guide
Files produced by DSO-1060
The device is able to save a number of info internally or on USB stick (formatted as FAT32!!)
Data here are reverse-engineered so you may expect different results (e.g. if using more channels, math & ref channels etc)
.set
It stores the device settings so you can later load some presets
To save it:
- Save-recall / Type Wave->Setup / External / New File
Structure:
- header "set" + 188 bytes
.waf
It stores the device settings and one waveform of 16384 samples (0x4000)
To save it:
- Save-recall / (Type Wave) / External / New File
Structure:
- header "waf" + 188 bytes + 16384 bytes of data
- header bytes == same as for .set file
.ref
It stores a reference waveform of 16384 samples
To save it:
- M/R x2 (REF) / Enable ON / Location External / 2 / New File
Structure:
- header "ref" + 62 bytes + 16384 bytes of data
.csv
It stores one waveform in CSV (comma separated value) format, of 16384 samples
To save it:
- Save-recall / Type Wave->Setup->Bitmap->CSV / External / New File
Structure:
- First line shows e.g. #CLOCK=2000.000
- Second line shows the number of samples, e.g. #SIZE=16384
- Samples are float on the first column
- two next columns are filled with zeroes, maybe for CH2 & ref?
.bmp
It stores a screenshot of the actual screen in bitmap format
To save it:
- Save-recall / Type Wave->Setup->Bitmap / External / New File
.rec
It stores N snapshots of 1200 samples
To save it:
- Utility / 2 / Record / Mode OFF->Record
- Operate Stop->Start
- Mode Record->Play->Storage / Location external / 2 / New file
Structure:
- header "rec" + 147 bytes + N * 1200 bytes of data + some FF padding
- byte 1 = nr of snapshots
SystemInfo.bmp
It stores a screenshot of the actual screen in bitmap format when displaying the version information
To save it:
- Utility / 4 / System Info / Enter
My Tools
To watch at RFID fields I made a simple loop probe similar to this one but without balun, out of an old BNC RG58 cable (remember Thin Ethernet / 10base2 ?)