Difference between revisions of "Das Oszi"
(→UART) |
(→Firmware) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 55: | Line 55: | ||
(this means the "upend" file is a list of files and folders contained in "tekwayup_client" folder - but not subfolders and subfiles!) | (this means the "upend" file is a list of files and folders contained in "tekwayup_client" folder - but not subfolders and subfiles!) | ||
</pre> | </pre> | ||
+ | http://elinux.org/Tiny6410 | ||
+ | |||
+ | http://elinux.org/Micro2440 | ||
+ | |||
+ | http://elinux.org/Mini210 | ||
+ | |||
+ | http://elinux.org/Tiny210 | ||
== Open Linux Support Todo List == | == Open Linux Support Todo List == | ||
* [http://www.gpl-violations.org gpl-violations.org] has been made aware of Hantek issues | * [http://www.gpl-violations.org gpl-violations.org] has been made aware of Hantek issues | ||
− | * | + | * Setup of development platform for Das Oszi |
− | * | + | [[File:das_oszi_dev.jpg|120px]] |
+ | * [[Barebox]] bootloader is now booting on Das Oszi | ||
+ | * [http://www.kernel.org/ Mainline Kernel 3.3] is now booting on Das Oszi | ||
+ | * LCD display driver is now working on Das Oszi | ||
+ | [[File:das_oszi_lcd.jpg|120px]] | ||
* CPLD interface documentation and driver | * CPLD interface documentation and driver | ||
* FPGA interface documentation and driver | * FPGA interface documentation and driver | ||
− | * | + | |
+ | == Repositories == | ||
+ | * [http://ftp.gpl-devices.org/pub/vendors/Voltcraft/VOLTCRAFT_dso3000series.zip Hantek released source] | ||
+ | * [https://github.com/prpplague/das_oszi_kernel Mainline Kernel with Das_Oszi Branch] | ||
+ | * [https://github.com/prpplague/das_oszi_barebox Barebox bootloader with Das_Oszi Branch] | ||
== Hacks == | == Hacks == | ||
Line 69: | Line 84: | ||
* [http://www.eevblog.com/forum/general-chat/hantek-tekway-dso-hack-get-200mhz-bw-for-free/msg29262/#msg29262 Uart Info] | * [http://www.eevblog.com/forum/general-chat/hantek-tekway-dso-hack-get-200mhz-bw-for-free/msg29262/#msg29262 Uart Info] | ||
* [http://www.mikrocontroller.net/topic/205820#new Hardware Hacks] | * [http://www.mikrocontroller.net/topic/205820#new Hardware Hacks] | ||
− | |||
== Pictures == | == Pictures == | ||
Line 100: | Line 114: | ||
== UART == | == UART == | ||
The UART TX and RX signals are at +3.3v TTL level which requires a [[RS232_Level_Shifter]] if connecting to a standard RS-232 interface or to a standard USB-to-RS232 adapter. A wide range of USB-to-TTLUART adapters are available including the following: | The UART TX and RX signals are at +3.3v TTL level which requires a [[RS232_Level_Shifter]] if connecting to a standard RS-232 interface or to a standard USB-to-RS232 adapter. A wide range of USB-to-TTLUART adapters are available including the following: | ||
− | + | * External Uart using [[Das Oszi 3.5MM Uart]] | |
* [http://www.dlpdesign.com/usb/usb232r.shtml DLP Design FT232R Based Adapter] | * [http://www.dlpdesign.com/usb/usb232r.shtml DLP Design FT232R Based Adapter] | ||
* [http://www.sparkfun.com/products/718 Sparkfun FT232R Based Adapter] | * [http://www.sparkfun.com/products/718 Sparkfun FT232R Based Adapter] | ||
Line 108: | Line 122: | ||
<br> | <br> | ||
− | |||
− | |||
− | |||
− | |||
* default console settings | * default console settings |
Latest revision as of 20:37, 9 November 2014
Contents
Description
These series of Digital Oscilloscopes use a standard ARM9 processor and are shipped with linux. The various models can be hacked to add additional features. These pages aim to document as much as possible to foster a wider community of developers for these DSO's.
General
Components
- Schematic from Tinhead on eevblog.com
- Innolux AT070TN83 7" 800 x 480 Color TFT LCD Display
- Samsung S3C2440 ARM9 System On Chip (SoC)
- ISSI IS42S16160C-7TLI SDRAM (2 x 256Mbit = 64Mbyte)
- Samsung K9F1208U0C Nand Flash (1 x 512Mbit = 64Mbyte)
- ISSI IS61LPS25636A static ram ( 1 x 9Mbit = 1.125Mbyte)
- Altera MAX-II EPM240T100C5N CPLD (complex Programmable Logic Devices)
- 4 x Analog Devices AD9288 ADCs (yes, for 1GSs overclocked to 125MHz in 8ns, 4ns and 2ns time base - like Instek GDS1102A)
- 2 x Analog Devices AD8370 amps (750MHz bw - input stage like Rigol)
- 2 x TI LMH6552 amps (1.5GHz bw - input stage like Rigol)
- Analog Devices ADCMP562 ECL comparator (for trigger)
- Altera Cyclone III FPGA (ADC sampling control and data acquisition)
Firmware
- Tekway Bootloader (modify from mizi vivi)v0.10.0 (root@rain-fc4) (gcc version 2.95.3 20010315 (release)) #0.1.4 Tue Dec 1 10:51:38 CST 2009
- Linux version 2.6.13 (root@rain-fc4) (gcc version 3.4.1) #3 Wed Jun 29 10:13:03 CST 2011
- Bootlog from the stock Hantek firmware
- Linux kernel uses the FriendlyARM QQ2440 machine type #1998
- current firmware update from Hantek (does not include all of the firmware just updates)
- uses 3 mtd nand flash partitions
- bootloader(raw)
- kernel(raw)
- root filesystem (YAFFS)
- Root filesystem information and System Resources information can be found HERE
- Hantek Interface Protocol information can be found HERE
To decrypt firmware update: - download the .up file from Hantek/Tekway website - download and install GPG - run gpg -d dstxxxxxxx.up > dstxxxxxx.gz (when asked for password type 0571tekway) - gunzip the dstxxxxxx.gz - untar the resulting file (it is dstxxxxxx. ) - untar again the resulting DST1000_4000.tar To create new/custom firmware - tar the folder "tekwayup_client" and the upend file to dst1000_4000.up.tar - tar the resulting dst1000_4000.up.tar to DST1KB_version.tar and remove the .tar extension (for example dst1kb_2.06.8(101231.0) ) - Gzip the DST1KB_version to DST1KB_version.gz and remove the .gz extension - encrypt with gpg -c DST1KB_version (when asked for key type 0571tekway) - Rename the resulting DST1KB_version.gpg to DST1KB_version.up What important to know : - if you type/use wrong password or Tekway/Hantek change the password, your DSO will still not get bricked because the update will get canceled - use "move" instead of "copy" in "update" script (or chmod 777 filename after copy) - ensure that whatever inside folder "tekwayup_client" is listed in upend file too (this means the "upend" file is a list of files and folders contained in "tekwayup_client" folder - but not subfolders and subfiles!)
Open Linux Support Todo List
- gpl-violations.org has been made aware of Hantek issues
- Setup of development platform for Das Oszi
- Barebox bootloader is now booting on Das Oszi
- Mainline Kernel 3.3 is now booting on Das Oszi
- LCD display driver is now working on Das Oszi
- CPLD interface documentation and driver
- FPGA interface documentation and driver
Repositories
Hacks
Pictures
Ports
picture from Tinhead on the eevblog
ARM JTAG
- Samsung S3C2440 is fully supported with OpenOCD
- Inexpensive JTAG tools
- Flyswatter2 from TinCanTools
- Flyswatter from TinCanTools
- JTAG USB OCD Tiny from Sparkfun
UART
The UART TX and RX signals are at +3.3v TTL level which requires a RS232_Level_Shifter if connecting to a standard RS-232 interface or to a standard USB-to-RS232 adapter. A wide range of USB-to-TTLUART adapters are available including the following:
- External Uart using Das Oszi 3.5MM Uart
- DLP Design FT232R Based Adapter
- Sparkfun FT232R Based Adapter
- Nokia CA-42 cable can be used for easy access
- default console settings
- 115200 baud
- no parity
- 8 data bits
- 1 stop bit
Models
200MHz Models
- Hantek DSO5202M/B
- Tekway DST1202B
- Protek 3210
100MHz Models
- Hantek DSO5102M/B
- Tekway DST1102B
- Protek 3110
60MHz Models
- Hantek DSO5062M/B
- Tekway DST1062B
- Voltcraft DSO-3062C