Difference between revisions of "Das Oszi"

From eLinux.org
Jump to: navigation, search
(UART)
(Firmware)
 
(40 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
== Components ==
 
== Components ==
* 7" 800 x 480 color LCD Display  
+
* [[media:das_oszi_schematic.pdf|Schematic]] from [http://www.eevblog.com/forum/general-chat/hantek-tekway-dso-hack-get-200mhz-bw-for-free/msg56754/#msg56754 Tinhead] on eevblog.com
 +
* [[media:AT070TN83.pdf|Innolux AT070TN83]] 7" 800 x 480 Color TFT LCD Display  
 
* Samsung [[S3C2440]] ARM9 System On Chip (SoC)
 
* Samsung [[S3C2440]] ARM9 System On Chip (SoC)
 
* ISSI [[media:IS42S16160C.pdf|IS42S16160C-7TLI]] SDRAM (2 x 256Mbit = 64Mbyte)
 
* ISSI [[media:IS42S16160C.pdf|IS42S16160C-7TLI]] SDRAM (2 x 256Mbit = 64Mbyte)
Line 19: Line 20:
  
 
== Firmware ==
 
== 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
 +
* [[Das_Oszi_Hantek_Bootlog|Bootlog]] from the stock Hantek firmware
 +
* Linux kernel uses the [http://www.arm9.net/ FriendlyARM QQ2440] machine type [http://www.arm.linux.org.uk/developer/machines/list.php?id=1998 #1998]
 +
* current firmware update from [http://www.hantek.com/download/DSO5000B%20Firmware(2.06.3).rar Hantek] (does not include all of the firmware just updates)
 +
* uses 3 mtd nand flash partitions
 +
** bootloader(raw)
 +
** kernel(raw)
 +
** root filesystem ([[File_Systems#YAFFS2|YAFFS]])
 +
* Root filesystem information and System Resources information can be found [[Das_Oszi_Sysinfo|HERE]]
 +
* Hantek Interface Protocol information can be found [[Das_Oszi_Protocol|HERE]]
  
* Linux Kernel version 2.6 from reports
 
* need more details and bootlog
 
* current firmware from [http://www.hantek.com/download/DSO5000B%20Firmware(2.06.3).rar Hantek]
 
 
<pre>
 
<pre>
 
To decrypt firmware update:
 
To decrypt firmware update:
Line 46: 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 ==
* lodge a GPL compliance complaint against Hantek
+
* [http://www.gpl-violations.org gpl-violations.org] has been made aware of Hantek issues
* get u-boot working
+
* Setup of development platform for Das Oszi
* get current 3.x kernel booting
+
[[File:das_oszi_dev.jpg|120px]]
* cpld interface driver
+
* [[Barebox]] bootloader is now booting on Das Oszi
* lcd display driver
+
* [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
 +
* 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 59: 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]
* [http://www.socratesblog.eu/?p=174 Hacking Hantek]
 
  
 
== Pictures ==
 
== Pictures ==
Line 89: Line 113:
  
 
== 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:
 +
* External Uart using [[Das Oszi 3.5MM Uart]]
 +
* [http://www.dlpdesign.com/usb/usb232r.shtml DLP Design FT232R Based Adapter]
 +
* [http://www.sparkfun.com/products/718 Sparkfun FT232R Based Adapter]
 +
* [http://www.dealextreme.com/p/data-cable-compatible-with-nokia-ca-42-446 Nokia CA-42] cable can be used for easy access
 +
 +
[[File:Literati_CA-42_DKU-5_pinout.jpg|160px|CA-42 Pinout]]
  
* 3.3V TTL interface
+
<br>
* [http://www.dealextreme.com/p/data-cable-compatible-with-nokia-ca-42-446 Nokia CA-42] cable can be used for easy access
 
  
[[media:Literati CA-42 DKU-5 pinout.jpg]]
+
* default console settings
 +
** 115200 baud
 +
** no parity
 +
** 8 data bits
 +
** 1 stop bit
  
 
= Models =
 
= Models =
Line 101: Line 135:
 
* Tekway DST1202B
 
* Tekway DST1202B
 
* Protek 3210
 
* Protek 3210
* Voltcraft DSO-3062C
 
  
 
== 100MHz Models ==
 
== 100MHz Models ==
Line 110: Line 143:
 
== 60MHz Models ==
 
== 60MHz Models ==
 
* Hantek DSO5062M/B
 
* Hantek DSO5062M/B
* Tekway DST1062B  
+
* Tekway DST1062B
 +
* Voltcraft DSO-3062C
 +
** [http://randomprojects.org/wiki/Voltcraft_DSO-3062C Example Hardware and Software Information]
  
 
= References =
 
= References =
  
 
* [http://www.mikrocontroller.net/articles/Tekway/Hantek mikrocontroller.net]
 
* [http://www.mikrocontroller.net/articles/Tekway/Hantek mikrocontroller.net]
 +
* [http://randomprojects.org/wiki/Voltcraft_DSO-3062C Randomprojects.org Wiki]

Latest revision as of 20:37, 9 November 2014

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!)

http://elinux.org/Tiny6410

http://elinux.org/Micro2440

http://elinux.org/Mini210

http://elinux.org/Tiny210

Open Linux Support Todo List

  • gpl-violations.org has been made aware of Hantek issues
  • Setup of development platform for Das Oszi

Das oszi dev.jpg

  • 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

Das oszi lcd.jpg

  • CPLD interface documentation and driver
  • FPGA interface documentation and driver

Repositories

Hacks

Pictures

Das oszi-mb1.jpg Das oszi-mb2.jpg Das oszi-mb3.jpg Das oszi-mb4.jpg

Ports

Das oszi-ports.jpg picture from Tinhead on the eevblog


ARM JTAG

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:

CA-42 Pinout


  • 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

References