Author Topic: Hacking the DSO2X1X  (Read 226760 times)

0 Members and 1 Guest are viewing this topic.

Offline Aldo22

  • Super Contributor
  • ***
  • Posts: 1276
  • Country: ch
Re: Hacking the DSO2X1X
« Reply #650 on: August 14, 2024, 07:25:16 pm »
Should I follow the same instructions to convert to 2D15 like it was a xxCxx model?

You can do that, but I don't think you'll notice any benefit.

Should I update to the latest version? It came with SW 1.0.3.0.0 230327.00 and FW 3205.

You can do that. Read the FAQ.

I have a question about the probe. On x10 attenuation it mentions max input voltage<600V DC+Peak AC. Does it mean 1200 Vpp or 600 Vpp? 230V(rms) is 650Vpp. Can I probe that?

I think the limiting factor is the scope, not the probe.
Maximum Input Voltage: 300VRMS (10X)
 
The following users thanked this post: johnka

Offline Knoesterpitter

  • Newbie
  • Posts: 1
  • Country: de
Re: Hacking the DSO2X1X
« Reply #651 on: September 29, 2024, 11:06:15 am »
Hello everyone,
I bought the Hantek DSO2C10. After I came across this forum on YouTube, I "read through" it first.
After I saw that the device can also be hacked, I unscrewed it, of course. To my delight, I saw that all the necessary components were already installed on the circuit board. I then made a backup of the software and then set the oscilloscope to 2D15. As you can see, it worked. I also stuck heat sinks on the two large ICs and installed a fan. Now I'm creating a fan controller.

Thanks to everyone who made this possible.
 
The following users thanked this post: DavidAlfa

Offline nokin

  • Regular Contributor
  • *
  • Posts: 67
  • Country: vn
Re: Hacking the DSO2X1X
« Reply #652 on: September 30, 2024, 07:06:17 am »
Thanks DavidAlfa again for making this Hantek model more shining.
But I wonder why all you from the top country of the world of technology (Germany, Switzerland, Canada...) bought this model after lots of "warning", instead of Rigol or Siglent, at least.
 

Offline Aldo22

  • Super Contributor
  • ***
  • Posts: 1276
  • Country: ch
Re: Hacking the DSO2X1X
« Reply #653 on: September 30, 2024, 07:34:38 am »
But I wonder why all you from the top country of the world of technology (Germany, Switzerland, Canada...) bought this model after lots of "warning", instead of Rigol or Siglent, at least.

It's simple: it's cheap (I paid $130 including shipping), it has an AWG and it does the job for me. I would buy it again.

There are products in every price range.
If you buy a cheap small car, you can be perfectly happy with it if you don't expect it to run 250km/h, have 6 massage seats, go as quiet as an RR, etc.
What I never understand is why people for whom it is not suitable have to make negative comments about it. Does that give you something?
« Last Edit: September 30, 2024, 08:18:49 am by Aldo22 »
 
The following users thanked this post: morgan_flint, mwb1100, nokin, Knoesterpitter

Offline nokin

  • Regular Contributor
  • *
  • Posts: 67
  • Country: vn
Re: Hacking the DSO2X1X
« Reply #654 on: September 30, 2024, 10:59:45 am »
Nope, I don't have any idea.
You got what you paid for.
You are happy with it, that's enough! Don't care about my comment.
Maybe this Hantek is not suited for my work. Lag and noise, I tried many ways in 2 months then gave up. I even didn't believe in its measurement results
Got it 2 years ago, been a user for 6 months then I gave it to my friend as a gift. He quite like you, enjoyed with the first digital oscilloscope.
I don't want to pay more, but I had to change to Siglent.
 
The following users thanked this post: Aldo22, Knoesterpitter

Offline Aldo22

  • Super Contributor
  • ***
  • Posts: 1276
  • Country: ch
Re: Hacking the DSO2X1X
« Reply #655 on: September 30, 2024, 01:14:50 pm »
I even didn't believe in its measurement results

What measuring range/type are you talking about?
I actually find it quite accurate wherever I can check it.
E.g. here a few days ago.

Up to 20MHz I think it's quite OK.
Above that I don't really have a reference.
I wouldn't believe the amplitude at 100MHz either, but I'm not interested in that anyway.  ;)
 

Offline kokodin

  • Regular Contributor
  • *
  • Posts: 96
  • Country: pl
Re: Hacking the DSO2X1X
« Reply #656 on: November 23, 2024, 03:13:43 pm »
Hello, i been mocking around my scope and i would like to share, my stupid discoveries.

I made myself 4 transistor logic level shifter placed it as a hat on ch341a programmer in ttl mode, and connected 3 wires to the scope pcb. GND to D2 , rx and tx lines to one pad of resistors r51 and r49. I set terminal to 115200 and listen. And uboot showed up with the main console right after.
And since i am using real terminal not the sideloaded usb one i have access to front usb port.

Things i was able to confirm so far is thet usb hub support is fully implemented. and most of usb devices is recognized.
you can even go this way and copy things from usb flash drive onto the runing scope or out from mnt/udisk where most recently connected usb disk is mounted, inserting 2 unmount first and mount the new one in it's place.
sadly the thinkg i was hoping the most didn't work
Usb network card is recognized as usb device but is not assigned as network interface.

I might try pluging in more things and see if the scope knows what they are.
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6403
  • Country: es
Re: Hacking the DSO2X1X
« Reply #657 on: November 23, 2024, 03:34:11 pm »
We know. This kernel lacks networking and supports very few USB drivers, remember this is an embedded device with only 64MB of ram.
You have the kernel sources, you can build your own and test.
You also have fully configured Virtualbox machine so you don't have to mess with dependendies and such.
« Last Edit: November 23, 2024, 03:37:39 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline kokodin

  • Regular Contributor
  • *
  • Posts: 96
  • Country: pl
Re: Hacking the DSO2X1X
« Reply #658 on: November 23, 2024, 06:12:50 pm »
Yes i know. with the virtual machine and all it is very generous of you and people who helped. It is not very self explanatory to a person who don't know what to do with it though. For me it looks like just another desktop linux with no idea how it works, not to mention how to compile a source code.

I am just happyly poking around learning things, run top in the bacground , not changing anything. I was panicking that my scope was broken from the factory because back usb was breaking up but i figured out that it was just faulty cable provided with my scope, and well got caried away. I should check it first, but oh well it was new cable.

As for ram, 64mb is quite a lot, my first computer had 1mb, and scope doesn't even use half of it, cpu though it should be faster as default because buttons on main panel works all the time instead of almost half the time you press them without oc.

I am old stupid and have no idea what i am doing, best combination. If i learn how to compile things maybe i be able to run them. For now i am just happy with hacking in terminal old fashioned way without taking entire scope apart and repopulating the max232 circuit, because i presume those 2 pullip resistors (rx13 r187) are on the bottom, i can't find them on top. And for stupid fun of knowing what happens if i plug things in i just plug them in.
And i am fully aware most of it was done before, for god sake this scope has some 2 years of good hacking history.
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6403
  • Country: es
Re: Hacking the DSO2X1X
« Reply #659 on: November 24, 2024, 10:34:58 am »
You need some background to do this. Just like trying to launch a rocket into orbit, there isn't a magic please work button  :).
But that VM has everything setup already so you won't need to install everything.
Also I fixed the kernel sources to compile there without major hassle - just follow the instructions in the kernel sources readme.
I'm not a programmer, let alone a Linux kernel dev.
So that's where I got and where I decided to stop, realizing custom kernels won't fix all the issues this device has.

Basically you only need to download and unpack the kernel sources and apply "fix_arm-linux-gnueabi.tar.bz2" (Extract to the same folder, overwriting everything).
To add drivers and other functionalities, open a console in "linux" folder, run "make menuconfig", do whatever changes you need and compile afterwards.
You can search using the "/" key in your numeric pad, for example "Network", it will show the path and the description of all matching entries.
When browsing the menu, you can get a description of any item by typing "?".
To build the kernel go to linux folder and run "build.sh" (./build.sh from the terminal).
The files will be placed in the "build" folder next to the others (linux, uboot, etc).

I found a script I made when I was testing this, which I'm attaching (For Windows!). Make sure FEL drivers are installed as stated in the FAQ.
Place "uImage" and "hantek_dso2dxx.dtb" into "test" folder, then:

flash_ori.bat: Flash the original files.
flash_kernel.bat: Flash the test kernel.
flash_kernel_dtb.bat: Flash the test kernel and dtb (Normally not required).
You can't break anything, if it doesn't work just run flash_ori.bat.

As always, before doing anything, make sure you did a backup using Dsoflash.

Edit: I forgot to add some required binaries to the zip file. Fixed.
« Last Edit: November 24, 2024, 01:47:37 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Setrandom

  • Contributor
  • Posts: 14
  • Country: de
Re: Hacking the DSO2X1X
« Reply #660 on: November 26, 2024, 06:28:51 pm »
Hello everyone, is there a way to display the clock frequency of the F1C200s?
« Last Edit: November 29, 2024, 03:14:17 am by Setrandom »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6403
  • Country: es
Re: Hacking the DSO2X1X
« Reply #661 on: November 26, 2024, 09:12:38 pm »
There's no dynamic frequency, always runs at full speed (408MHz).
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Setrandom

  • Contributor
  • Posts: 14
  • Country: de
Re: Hacking the DSO2X1X
« Reply #662 on: November 26, 2024, 10:30:09 pm »
There's no dynamic frequency, always runs at full speed (408MHz).

Hy David, yes I know that, I have installed the OC mod and 2D15 conversion and would just like to see it. :)
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6403
  • Country: es
Re: Hacking the DSO2X1X
« Reply #663 on: November 26, 2024, 10:41:48 pm »
Maybe set you model to "DSO2D15 600MHz" by editing system.inf so it shows in your system info screen?
Or just put a sticker. I don't know, looks useless to me, just use it :-//
« Last Edit: November 26, 2024, 10:43:28 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Setrandom

  • Contributor
  • Posts: 14
  • Country: de
Re: Hacking the DSO2X1X
« Reply #664 on: November 26, 2024, 10:52:38 pm »
Maybe set you model to "DSO2D15 600MHz" by editing system.inf so it shows in your system info screen?
Or just put a sticker. I don't know, looks useless to me, just use it :-//

 ;D It is entered into a file and there is nothing more 8)
 

Offline RubiRod

  • Newbie
  • Posts: 1
  • Country: ru
Re: Hacking the DSO2X1X
« Reply #665 on: December 19, 2024, 01:18:34 pm »
Hi guys. I created a theme for DSO 2X1X and ran into some difficulties. Is my question addressed more to DavidAlfa? but maybe there is someone else who knows the answer to my question. How to fix the color in the outlined contours. How to change the ico in the top line. The top row is not editable except for the 1st place.
2465529-02465529-1" alt="" class="bbc_img" />
2465533-22465533-3" alt="" class="bbc_img" />
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6403
  • Country: es
Re: Hacking the DSO2X1X
« Reply #666 on: December 19, 2024, 10:20:19 pm »
I have no idea...
Nothing in the XML files, I then analyzed Phoenix binary in Ghidra, clearly there's a function to set the foreground color before drawing these strings, but it's in a structure pointer, I wasn't able to track where it gets initialized.
« Last Edit: December 19, 2024, 10:21:57 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: RubiRod


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf