Author Topic: New Hantek DSO2X1X models?  (Read 366633 times)

0 Members and 4 Guests are viewing this topic.

Offline IonutL

  • Contributor
  • Posts: 15
  • Country: ro
Re: New Hantek DSO2X1X models?
« Reply #1600 on: September 13, 2023, 04:23:56 pm »
xfel spinand
Found spi nand flash 'W25N01GV' with 134217728 bytes

xfel spinand erase 0x0 0x8000000
100% [================================================] 128.000 MB, 13.645 MB/s        00

dsoflash erase did erase it ok also.

But platform-tools still fails with the same errors as before.

 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5956
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #1601 on: September 13, 2023, 05:05:14 pm »
This issue never hapened before, maybe a defective flash? I don't know.
I suggest contact Hantek with this issue, they will likely send some platform-tools version!
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: IonutL

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5956
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #1602 on: September 13, 2023, 05:57:49 pm »
I made some changes to dsoflash. Please download the latest version.

If running, power off the scope to reset everything.
Power the scope in FEL mode and run "dsoflash status", post the output.
Run "dsoflash erase", and "dsoflash status" again, is the output the same?.

This is my output:
Code: [Select]
Status 1: 0x7C
SRP0    BP3     BP2     BP1     BP0     TB      WP-E    SRP1
0       1       1       1       1       1       0       0

Status 2: 0x08
OTP-L   OTP-E   SR1-L   ECC-E   BUF     RES     RES     RES
0       0       0       0       1       0       0       0

Status 3: 0x00
RES     LUT-F   ECC-1   ECC-0   P-FAIL  E-FAIL  WEL     BUSY
0       0       0       0       0       0       0       0
« Last Edit: September 13, 2023, 06:04:00 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline IonutL

  • Contributor
  • Posts: 15
  • Country: ro
Re: New Hantek DSO2X1X models?
« Reply #1603 on: September 13, 2023, 06:13:17 pm »
The output is the same and exactly as yours, both before and after the flash erase.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5956
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #1604 on: September 13, 2023, 06:19:27 pm »
Nothing seem wrong with the flash. Did you try restoring with dsoflash already?

Another thing you can try is to download a 132MB from here:
https://pinetools.com/random-file-generator

Flash it, then read it back, then open both files in HxD and run Analysis / Compare data to see what's wrong.

Ensure to store your original backup in a safe place, NO in the same folder, you might accidentally overwrite it.
« Last Edit: September 13, 2023, 06:32:23 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline IonutL

  • Contributor
  • Posts: 15
  • Country: ro
Re: New Hantek DSO2X1X models?
« Reply #1605 on: September 13, 2023, 06:56:40 pm »
Yes, the restore with dsoflash gets me to the point where I started this conversation: the scope boots, but updates fail with the "error code is -2", some settings do not survive reboot, cannot save/ recall settings.
 

Offline IonutL

  • Contributor
  • Posts: 15
  • Country: ro
Re: New Hantek DSO2X1X models?
« Reply #1606 on: September 13, 2023, 08:28:04 pm »
Whoops, the dumped flash is entirely different of the read one, every byte seems to be different; example:

written
FD 39 77 ED 30 F7 83 91 24 ED 3B 8A F5 DC C0 49 53 20 CE BE 4D 99 FE 61 C0 B8 1A 02 DB 15 EC A4 FC 1C 62 39 0E F7 02 F0 BC 48 96 45 39 A4 83....
read
14 00 00 E8 20 47 03 00 24 40 10 00 A1 9C 80 49 00 00 00 00 41 10 4C 00 00 00 00 00 00 00 00 00 2C 00 00 00 00 00 00 00 00 00 00 00 31 24 02....

But the differences are too dramatic to explain why a restore of the original dump still works. Very strange!
 

Offline IonutL

  • Contributor
  • Posts: 15
  • Country: ro
Re: New Hantek DSO2X1X models?
« Reply #1607 on: September 13, 2023, 09:52:33 pm »
And the weirdest thing of all: I flashed back the original file I dumped from the scope when I got it, then read back the flash content, and they are identical ! Hard for me to understand what's happening...
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5956
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #1608 on: September 13, 2023, 10:28:04 pm »
Few more test: make a dump after erasing, should be all FFs...
I would start a claim with the seller right now.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: IonutL

Offline vistorik

  • Regular Contributor
  • *
  • Posts: 102
  • Country: de
Re: New Hantek DSO2X1X models?
« Reply #1609 on: September 15, 2023, 12:23:07 pm »
There is a https://4pda.to/forum/dl/post/29004439/Hantek2D15_V17_3205.rar new version of platform-tools on the 4pda forum.
After this platform-tools:
SW 1.0.2.0.0(221028)
FW 3205
« Last Edit: September 15, 2023, 01:01:26 pm by vistorik »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5956
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #1610 on: September 15, 2023, 02:15:16 pm »
It's not a new version? We already had 2022.10.28_fpga_3205.
Edit: Yeah, it's the same filesystem. Same MD5 checksums.
« Last Edit: September 15, 2023, 02:19:09 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline vistorik

  • Regular Contributor
  • *
  • Posts: 102
  • Country: de
Re: New Hantek DSO2X1X models?
« Reply #1611 on: September 15, 2023, 03:45:14 pm »
It's not a new version?
Look at the "Programm DSO2000 series Guide.pdf", no more PhoenixSuit_CN.msi installation. The Guide is new.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5956
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #1612 on: September 15, 2023, 08:20:10 pm »
Just using the bare driver, extracted from the  Phoenix Suite. That's what I do in the unified pack.
Else than that, nothing new.
« Last Edit: September 16, 2023, 08:11:29 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline serafis

  • Contributor
  • Posts: 20
  • Country: nz
Re: New Hantek DSO2X1X models?
« Reply #1613 on: September 16, 2023, 07:24:02 am »
After my trusty old Atten/Siglent decided to brick itself, I just got my new DSO2D10 via Amazon AU - a bit cheaper than Aliexpress or Bangood, free shipping from AU to NZ and delivered in a week.  Out of the box, it's a pretty good scope for the money, but my motto is "If it's broke, fix it; if it ain't broke, hack it till it's even better".

So first, many thanks to the contributors to this forum for their excellent hints and advice, and to DavidAlfa in particular for his expertise and the various hacks and tweaks on google drive.

My DSO2D10 came with the latest firmware installed, but I reinstalled it anyway, along with the DSO2000 and Keysight PC apps and driver, then ran a full platform-tools backup and Backup_Builder for safety's sake.

First I upgraded it to DSO2D15, all OK except that PRIVate:READ:EEPROM still showed DSO2D10. Not sure if this causes any issues, but PRIVate:SET:MODEl1 and PRIVate:SET:MODEl2 to DSO2D15 fixed that issue.

Then I installed and tested Factory_Reset_Daemon (just in case of lockups), and installed the Small_English_Font which made the interface look a lot nicer. I also installed bmp2png_Daemon for when I want to save screenshots, and then used patcher to change the trace color for channel 1 to orange (CH1_COL="\xFF\xA5\x00") instead of yellow, to match the button color.

It would be nice if patcher also changed the ID, Trigger and channel block (at the bottom of the screen) but I can live with that.

Finally, I tested and overclocked to CPU_OC_PLL_N=28, CPU_OC_PLL_K=2, CPU_OC_PLL_M=2 and MEM_OC_PLL_N=16, which appears to be rock solid stable so far.

The only thing I haven't succeeded at so far is installing the USB Console "dso3kb_usb_console_install.upk" - it gives a message "Update Failed! Error code is -3". Not sure why this is, any help appreciated.

Anyway, it's a significant improvement on my old Atten/Siglent and I'm loving it so far - no lockups or odd behaviour (yet!)



 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5956
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #1614 on: September 16, 2023, 08:17:10 am »
You also have to modify some pictures to match the new plot colours, see here:
https://www.eevblog.com/forum/testgear/hacking-the-dso2x1x/msg3606590/#msg3606590

Check out the existing theme, for "visually impaired" as some people have trouble perceiving the difference between green and yellow.

You can extract it using the provided upk tools, all the files are inside, modify the colours, build the upk and done!
« Last Edit: September 16, 2023, 08:23:38 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline serafis

  • Contributor
  • Posts: 20
  • Country: nz
Re: New Hantek DSO2X1X models?
« Reply #1615 on: September 16, 2023, 09:21:11 pm »
Thanks. Worked out how to do it from the document in your link.
« Last Edit: September 16, 2023, 09:37:06 pm by serafis »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5956
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #1616 on: September 16, 2023, 09:26:24 pm »
Because you probably didn't read anything?  :-DD
They're not in some usual picture format, that's why I linked that message but you missed the "SEE HERE" part.
Download the pdf and read the section 6.2.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline serafis

  • Contributor
  • Posts: 20
  • Country: nz
Re: New Hantek DSO2X1X models?
« Reply #1617 on: September 17, 2023, 12:19:22 am »
Correct. My bad  :-[  All sorted now and loving the new color scheme, orange for CH1 and blue for Wave generator & Burst, to match the button LED colors :-)

is the USB console upk installable on this model? Gives me an error code -3
« Last Edit: September 17, 2023, 12:21:14 am by serafis »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5956
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #1618 on: September 17, 2023, 12:55:56 am »
Nice! Would you mind to share the theme package?
For sure someone else will like it.
USB console should work for all.
Error -3 ? Perhabs a corrupted package? Try downloading it again.

You're right about the patcher, I will look at the picture format, shouldn't be too hard to also patch the pictures on the fly.
« Last Edit: September 17, 2023, 12:58:54 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline serafis

  • Contributor
  • Posts: 20
  • Country: nz
Re: New Hantek DSO2X1X models?
« Reply #1619 on: September 17, 2023, 02:27:33 am »
Here's my theme attached. The font colors for Ch1 in the Measure menu are still yellow rather than orange - couldn't find a way to change that.

After installing stock firmware, I install my button_match theme and then Small_English_Font. There's probably a way of incorporating Small_English_Font into my theme but I'm only just starting to learn this stuff!

Yes, downlaoding USB console again worked thanks.
« Last Edit: September 17, 2023, 02:31:16 am by serafis »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5956
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #1620 on: September 17, 2023, 04:00:29 am »
There were more suspicious data nearby the plot color table,.might be for other unimplemented functions...or for the measurements.
It takes an inmense amount of work to reverse-engineer the binary in Ghidra, patching it, copy to the scope, test, nope, keep trying other locations... very slow and tedious.
I did 99% of all this during the pandemic as I were 24/7 alone at home!
But cannot spend a week with coffee, nachos and loud metal anymore (Work, sleep, eat, blah blah), also I lost a lot of interest as Hantek is not fixing anything.
« Last Edit: September 17, 2023, 04:06:15 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline serafis

  • Contributor
  • Posts: 20
  • Country: nz
Re: New Hantek DSO2X1X models?
« Reply #1621 on: September 17, 2023, 04:56:35 am »
Quite understand and really appreciate all of the hard work you put into this. Still a pretty good scope for the money and for what I need it for :-)
 

Online Aldo22

  • Frequent Contributor
  • **
  • Posts: 734
  • Country: ch
Re: New Hantek DSO2X1X models?
« Reply #1622 on: September 17, 2023, 08:57:53 am »
Still a pretty good scope for the money and for what I need it for :-)

I still don't know what to make of this device.
To some it's the biggest piece of crap ever assembled, to others it's "a pretty good scope for the money".

It's perfectly clear that it doesn't come close to Rigol and Siglent etc, but it costs less than half as much here.
So in principle it can still be good value for money if you don't have too high expectations.

Somehow this thing appeals to me. I love cheap stuff.
The basic functions should work though.

I know...  :palm:
 

Offline serafis

  • Contributor
  • Posts: 20
  • Country: nz
Re: New Hantek DSO2X1X models?
« Reply #1623 on: September 17, 2023, 10:00:33 am »
It's a lot better than my old Atten/Siglent SDS1152CML which is now just an expensive and unaesthetic paperweight! At least this thing is just about impossible to brick!
 
The following users thanked this post: Aldo22

Online Aldo22

  • Frequent Contributor
  • **
  • Posts: 734
  • Country: ch
Re: New Hantek DSO2X1X models?
« Reply #1624 on: September 17, 2023, 03:04:28 pm »
It's a lot better than my old Atten/Siglent SDS1152CML which is now just an expensive and unaesthetic paperweight! At least this thing is just about impossible to brick!

Thanks!

Would you say that a DSO2C10 is worth CHF 140.- (~$156)?
Because that's how much it should cost tomorrow at the promotion, if I interpreted that correctly.

I was actually going to buy a Rigol DHO802, but I'm a little disappointed with my first impressions of this unit.
There are a few things that bother me, and "cute" and "12 bit" alone is not enough for me to pay significantly more than double the price of the Hantek.

I know a lot of people talk bad about these cheap Hanteks, but they also talk bad about the Zeeweii DSO2512G, which I haven't regretted buying for a second.
The difference is perhaps that the Zeeweii never crashes. ;)

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf