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

Poogo and 4 Guests are viewing this topic.

Offline AndrewBCN

  • Regular Contributor
  • *
  • Posts: 124
  • Country: fr
Re: New Hantek DSO2X1X models?
« Reply #400 on: June 13, 2021, 06:38:51 pm »
...

If Hantek releases a new version of the firmware every 20 days, is it also possible that they are also frequently altering/tampering with the hardware? Perhaps putting the original code back would help alleviate some of the problems until they figure out how to stabilize it? The reference above is to March 2021 firmware?
...
Simon
Hi Simon,
I don't think Hantek is changing the hardware that fast. Or even the firmware. I think we should just cool down a little bit and wait patiently for the next two or three firmware releases and see if Hantek is making some progress in ironing out the most obvious bugs.
In the meantime I have been using the DSO and it works well enough for my needs. Yes, I am using the march 11, 2021  firmware.
 

Offline QuitButton

  • Contributor
  • Posts: 34
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #401 on: June 13, 2021, 07:34:01 pm »
...wait patiently for the next two or three firmware releases and see if Hantek is making some progress...

Hantek took 5 years or so to fix some of the bugs in the DSO5102P, so don't hold your breath waiting for fixes.

I've just uploaded dso3kb_20210601.upk to DavidAlfa's GDrive, which Hantek sent me. I didn't try it as by the time they replied I'd decided to return the scope. It could change your serial number as that's what I was emailing about at the time. 

Hantek have just replied to my question about the failed calibration asking for video to show the problem... so maybe they are unaware of this error and/or can't reproduce it or have made some hardware change to the newer versions that's causing this error on the ones we have/had.

Who knows.. and quite honestly who cares. I know I don't.  :popcorn:


« Last Edit: June 13, 2021, 07:47:22 pm by QuitButton »
 
The following users thanked this post: eevbstedt

Offline imk

  • Regular Contributor
  • *
  • Posts: 157
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #402 on: June 13, 2021, 07:49:37 pm »
Andrew,

Waiting it out (firmware update) i think is my only option I have as my 30 day returning it windows has just about closed.
I to have moved back to dso3kb_20210311 and it seems better than the later two updates, although it crashed for me the third time i set Mem Depth 8m.
So as you know the hardware better than I, is there a way (chip leg) I can ground to cause a scope reset rather than have to power cycle it please?
If so i'll fix up a wire/button via one of the air vent holes and live with it until Hantek catch up
Thanks in advance imk
1201 Alarm
 

Offline AndrewBCN

  • Regular Contributor
  • *
  • Posts: 124
  • Country: fr
Re: New Hantek DSO2X1X models?
« Reply #403 on: June 13, 2021, 08:55:58 pm »
DavidAlfa has provided a neat solution for the "DSO freeze bug": a watchdog daemon that monitors the phoenix process and relaunches it automatically.  :-+
 

Offline imk

  • Regular Contributor
  • *
  • Posts: 157
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #404 on: June 13, 2021, 09:05:22 pm »
DavidAlfa has provided a neat solution for the "DSO freeze bug": a watchdog daemon that monitors the phoenix process and relaunches it automatically.  :-+
How do i implement this daemon  fix please?
1201 Alarm
 

Offline tttonyyy

  • Regular Contributor
  • *
  • Posts: 54
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #405 on: June 13, 2021, 10:14:56 pm »
...wait patiently for the next two or three firmware releases and see if Hantek is making some progress...
I've just uploaded dso3kb_20210601.upk to DavidAlfa's GDrive, which Hantek sent me. I didn't try it as by the time they replied I'd decided to return the scope. It could change your serial number as that's what I was emailing about at the time. 

Serial number unaffected by this update, but it did push the firmware version to to 3102 (previously I was on 3200) and I was left with a big offset on the second channel.  With no probe connection, adjusting the Y position resulted in random offsets on the trace.

Anyone got platform tools for 3200?
« Last Edit: June 13, 2021, 10:20:12 pm by tttonyyy »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 1045
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #406 on: June 13, 2021, 11:32:48 pm »
Try any platform-tools version. Then install dso3kb_20210510, which changes FW to 3200.
« Last Edit: June 14, 2021, 12:01:29 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ
Stm32 Soldering FW      Forum      Github      Donate      I need calibration reports!
 
The following users thanked this post: tttonyyy

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 1045
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #407 on: June 13, 2021, 11:58:42 pm »
...wait patiently for the next two or three firmware releases and see if Hantek is making some progress...

Hantek took 5 years or so to fix some of the bugs in the DSO5102P, so don't hold your breath waiting for fixes.

I've just uploaded dso3kb_20210601.upk to DavidAlfa's GDrive, which Hantek sent me. I didn't try it as by the time they replied I'd decided to return the scope. It could change your serial number as that's what I was emailing about at the time. 

Hantek have just replied to my question about the failed calibration asking for video to show the problem... so maybe they are unaware of this error and/or can't reproduce it or have made some hardware change to the newer versions that's causing this error on the ones we have/had.

Who knows.. and quite honestly who cares. I know I don't.  :popcorn:

Interesting. Was your's a DSO2C10? And that SN? Or is this some obscure hack?:
Code: [Select]
[machine]
       Model=250M$DSO2C10
       Vendor=hantek
       Product=DSO
       Manufacturer=hantek
       Serial=CN2104029002907
[version]
       Pcb=501.001.001.000.000.000.000.000
       Keyboard=1
[language]
       Lans=65535
       Language=3
[add]
       Start=0
       Update=0
Hantek DSO2x1x            Drive        FAQ
Stm32 Soldering FW      Forum      Github      Donate      I need calibration reports!
 

Offline SimonM

  • Contributor
  • Posts: 35
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #408 on: June 14, 2021, 01:08:11 am »
What was the "straw that broke the camel's back" for you?
I can accept slower operation for the price but not the "hangs" and power off/on to recover.

I will be (almost certainly) ordering a Siglent sds1104x-e from a UK distributor tomorrow (there is no rush, but I'm also not getting any younger). I will be making up the difference. Almost certainly the sds1104x-u or the sds1202x-e would both be more than adequate. I'm taking the opportunity to get 4-channels e.g. better for spi: clock, cs, miso and mosi.

Simon
« Last Edit: June 18, 2021, 01:10:50 am by SimonM »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: nz
  • Taupaki Technologies Ltd. NZ Siglent Distributor
    • Taupaki Technologies Ltd.
Re: New Hantek DSO2X1X models?
« Reply #409 on: June 14, 2021, 01:30:26 am »
I will be (almost certainly) ordering a Siglent sds1104x-e from a UK distributor tomorrow (there is no rush, but I'm also not getting any younger). I will be making up the difference. Almost certainly the sds1104x-u or the sds1202x-e would both be more than adequate. I'm taking the opportunity to get 4-channels e.g. better for spi: clock, cs, miso and mosi.
You can just use 2 channels with a Clock Timeout setting on one and either Miso or Mosi on the other.
Not perfect for sure but Siglent's 2ch DSO's will at least give a good peek at SPI.
Avid Rabid Hobbyist
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: nz
  • Taupaki Technologies Ltd. NZ Siglent Distributor
    • Taupaki Technologies Ltd.
Re: New Hantek DSO2X1X models?
« Reply #410 on: June 14, 2021, 04:19:02 am »
You can just use 2 channels with a Clock Timeout setting on one and either Miso or Mosi on the other.
Not perfect for sure but Siglent's 2ch DSO's will at least give a good peek at SPI.

Yes - the manual covers it (on page 99 of UM0101E-E05A July,2020). CS Type can be set to CLK Timeout for 2-channel scopes.

I'm buying for more than my current requirements. 2-channel would be fine, the 4-channel U version does not appear to have any lack of processing although the FFT (hardware-assisted) comes down from 1M to 128K (current scope is 1K) points, but that doesn't say if that's a marketing rather than a technical limitation. They both (all) use Zynq-7020 SoC - perhaps some models switched to using the single-core 7000s version to save $$$ ?

Marketing IMHO.
Breaking the holy grail of $400 for a true 100 MHz 4ch DSO would have been the target and loss of the 2nd ADC and its additional memory, MSO capability, rear USB A socket and a front end redesign and reuse of the X-E enclosure all helped Siglent to pull back the X-U price.

Obviously retention of 1 Mpts FFT, Bode plot and the webserver wouldn't provide sufficient differentiation between X-U and X-E for X-U to get a foothold in the marketplace or maintain sufficient sales volumes.

Initially I had mixed feelings about X-U however the market here in NZ has proven it has its place.
Avid Rabid Hobbyist
 

Offline tttonyyy

  • Regular Contributor
  • *
  • Posts: 54
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #411 on: June 14, 2021, 06:34:48 am »
I'm never sure I understood the reasoning for 4 channels just for SPI work. A logic analyser like the DSLogic Plus does a much better job than any scope in terms of advanced triggering and stacked protocol decoders (and can do QSPI, flavours of Manchester coding etc) all for a price that is less than the differential in cost between 2 and 4 channel scopes. And you can trigger your scope from the logic analyser if you really want to see the analogue aspect of a bus line.

I2C on the other hand, that has significant analogue elements associated with rise times (should be constant current source pull up, but of course everyone uses a resistor for cost reasons, making it more of an RC circuit). But then you only really need two channels for that on a scope.

Just some thoughts. 4 channels do add significant expense so it is worth assessing what you'll actually use them for.
« Last Edit: June 14, 2021, 07:31:33 am by tttonyyy »
 
The following users thanked this post: AndrewBCN

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 1045
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #412 on: June 14, 2021, 07:04:59 am »
Definitely, get the right tool for the job.
The AliExpress $4, 8ch, 24MHz analyzer will do way better.
No memory depth issues. No triggering issues. No messy controls.
A $1000 dso won't better, for that is just stupid
Hantek DSO2x1x            Drive        FAQ
Stm32 Soldering FW      Forum      Github      Donate      I need calibration reports!
 

Offline tttonyyy

  • Regular Contributor
  • *
  • Posts: 54
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #413 on: June 14, 2021, 07:38:04 am »
Try any platform-tools version. Then install dso3kb_20210510, which changes FW to 3200.

Thank you for that.  Actually I only had to upgrade with dso3kb_20210510 (applied FW 3202) and then upgrade with dso3kb_20210416 (which does not apply any FW changes) and it's back to "working" in so far as the CH2 strange Y offset has disappeared.  Why Hantek ship upgrades without the "paired" associated firmware is bit of a mystery - surely they would want to guarantee the API between firmware and software remains in lock-step?

And as for why dso3kb_20210601 contains 3102 and not 3202 - did someone slip on the keyboard when they were making the upgrade?  :-//
« Last Edit: June 14, 2021, 07:40:53 am by tttonyyy »
 

Offline AndrewBCN

  • Regular Contributor
  • *
  • Posts: 124
  • Country: fr
Re: New Hantek DSO2X1X models?
« Reply #414 on: June 14, 2021, 08:47:21 am »
...
Why Hantek ship upgrades without the "paired" associated firmware...

Apparently this is because not all upgrade+firmware combinations work well with all hardware versions.

My suggestion is that people keep the original software + firmware versions that they got with their DSO in the first place and with caution apply only the upgrades that Hantek publishes on their website - not the ones that Hantek support sent by mail to solve a specific query by a specific user.

Unfortunately the situation now is that there are numerous software + firmware versions floating around and people are just trying them in an unsystematic way, iow Hantek support has lost control of the situation. They should come up with a "works for everybody" software + firmware upgrade and publish that on their website ASAP to stabilize things.
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 2249
  • Country: pt
Re: New Hantek DSO2X1X models?
« Reply #415 on: June 14, 2021, 08:49:53 am »
Apparently this is because not all upgrade+firmware combinations work well with all hardware versions.

My suggestion is that people keep the original software + firmware versions that they got with their DSO in the first place and with caution apply only the upgrades that Hantek publishes on their website - not the ones that Hantek support sent by mail to solve a specific query by a specific user.

Unfortunately the situation now is that there are numerous software + firmware versions floating around and people are just trying them in an unsystematic way, iow Hantek support has lost control of the situation. They should come up with a "works for everybody" software + firmware upgrade and publish that on their website ASAP to stabilize things.

 :palm:  Not good. Not good...  :palm:
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 1045
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #416 on: June 14, 2021, 09:00:54 am »
As far as I understand, the only firmware-thing here is the FPGA. Which is loaded at every boot. There's a bin file in the dso folder.
What I didn't figure out yet was what actually stores the FWxxxx version.
Hantek DSO2x1x            Drive        FAQ
Stm32 Soldering FW      Forum      Github      Donate      I need calibration reports!
 

Offline tttonyyy

  • Regular Contributor
  • *
  • Posts: 54
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #417 on: June 14, 2021, 09:52:34 am »
As far as I understand, the only firmware-thing here is the FPGA. Which is loaded at every boot. There's a bin file in the dso folder.
What I didn't figure out yet was what actually stores the FWxxxx version.

I'm not convinced that's it.

If you look at the diffs between 20210416 and 20210510 (that bumped firmware to 3202 when applied to my scope) the only files different are:

- package/do_update.sh (comments out a copy line, so not that)
- package/system.info (just some string tweeks)
- package/fpga/psram_board_test.fs.bin

There's a few more between 20210510 and 20210601, most of which look like string changes, but with the addition of an update to phoenix binary.  And again, that package/fpga/psram_board_test.fs.bin file.

Cynically I doubt very much that Hantek are using these upgrades to improve their psram test every time, I very much suspect that this is a file they used for initial bringup and never bothered renaming, that possibly includes the FW.  Just speculation.

This speculation is possibly further supported by "load_fpga_kb.sh" which has line: /dso/app/cfg_fpga /dev/tn652_fpga_cfg psram_board_test.fs.bin
...right before loading some kernel modules.  Googling tn652 fpga turns up some links to the GoWin FPGAs that it has been speculated that these scopes populate.

https://www.gowinsemi.com/en/product/detail/2/

This page mentions "Embedded pSRAM (GW1NR/1NSR only)" - a coincidence with the psram_board_test.fs.bin filename?  I think not.

I tried putting the 20210510 psram_board_test.fs.bin into the 20210601 filesystem, overwriting the one there, re-packing and re-encrypting the tar.gz into a .upk.  When I run the upgrade on the scope the progress bar moves, it says success and to reboot, but when I reboot, nothing has changed.  Not the software version or firmware.

But it could be a problem with the signing or something else in the file structure.
« Last Edit: June 14, 2021, 10:09:18 am by tttonyyy »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 1045
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #418 on: June 14, 2021, 10:07:48 am »
WHat I meant wass there's nothing else programmable that storing the data, the fpga is loaded at every boot, not flashed (I might be wrong, but I'm 99.9% sure).
Yep, I tried too. There's something else. Clearly, it's in the flash. I'm not sure what the 24C02 i2c memory does.

Maybe the phoenix binary checks checks something inside tn652_fpga_cfg psram_board_test.fs.bin, and doesn't allow downgrading?
First, check if they're different . Run md5sum or similar.
Also, runnign strings in the update files might reveal the if the FW3202 string is somewhere
Hantek DSO2x1x            Drive        FAQ
Stm32 Soldering FW      Forum      Github      Donate      I need calibration reports!
 

Offline tttonyyy

  • Regular Contributor
  • *
  • Posts: 54
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #419 on: June 14, 2021, 10:18:59 am »
I would agree, I think they are loaded over SPI on every boot, as shown in this datasheet for the part, which is probably one of GW1NR/GW1NSR:

https://www.gowinsemi.com/upload/database_doc/42/document/5b96382ad5a52.pdf
 

Offline tttonyyy

  • Regular Contributor
  • *
  • Posts: 54
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #420 on: June 14, 2021, 10:33:47 am »
Maybe the phoenix binary checks checks something inside tn652_fpga_cfg psram_board_test.fs.bin, and doesn't allow downgrading?

I think you're right.  Now that my FW is on 3202, I can't reapply the original 20210601 that downgraded my firmware from 3200 -> 3102.  So I may have to go via an older .upk or apply platformtools first.

The logic is probably like this:  don't upgrade the software unless the firmware is <= x, where X is the latest version the software can drive.
« Last Edit: June 14, 2021, 10:39:10 am by tttonyyy »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 1045
  • Country: es
Re: New Hantek DSO2X1X models?
« Reply #421 on: June 14, 2021, 10:45:06 am »
You have very simple ways. Download "dso3kb_do_other_update.upk" which does absolutely nothing to the system,  only runs the script "do_other_update" in the usb root if present.
Write whatever in do_other_update file (ex. cp /mnt/udisk/psram_board_test.fs.bin /lib/firmware/ ) and then run the update package.
Then check if it made any difference.
« Last Edit: June 14, 2021, 10:47:35 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ
Stm32 Soldering FW      Forum      Github      Donate      I need calibration reports!
 

Offline tttonyyy

  • Regular Contributor
  • *
  • Posts: 54
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #422 on: June 14, 2021, 10:49:33 am »
I've just done that, taking the psram_board_test.fs.bin from 20210416 and overwriting the one in my filesystem.  Scope then showed "3200" on the info page on next boot (it was "3202") - a successful downgrade proving that this is, indeed, the file in question.

Oddly, I am unable to apply the 20210601 update again, despite downgrading the psram_board_test.fs.bin to 3200, to match the previous conditions.
« Last Edit: June 14, 2021, 10:56:28 am by tttonyyy »
 

Offline imk

  • Regular Contributor
  • *
  • Posts: 157
  • Country: gb
Re: New Hantek DSO2X1X models?
« Reply #423 on: June 14, 2021, 11:08:41 am »
Wow what a busy posting on this thread night it has been, lots and lots to mull over :-)
But i am said to say that i have given up with this DSO2D10, great functionality but just too flaky for me.
Hence I opened a return REFUND request to Banggood this morning and am awaiting a reply.
Even made for them a NEW video for all to enjoy :-)

https://youtu.be/7G36bSCO3Og

Don't care if it gets lost in post and I am £200 out of pocket!
I just know that this World Of Pain Hantek Rubbish (Toilet Brush)  is Out Of My Home!
Wish me luck with the return imk :-)


1201 Alarm
 

Offline AndrewBCN

  • Regular Contributor
  • *
  • Posts: 124
  • Country: fr
Re: New Hantek DSO2X1X models?
« Reply #424 on: June 14, 2021, 12:43:11 pm »
I've just done that, taking the psram_board_test.fs.bin from 20210416 and overwriting the one in my filesystem.  Scope then showed "3200" on the info page on next boot (it was "3202") - a successful downgrade proving that this is, indeed, the file in question.

Oddly, I am unable to apply the 20210601 update again, despite downgrading the psram_board_test.fs.bin to 3200, to match the previous conditions.

As DavidAlfa noted in the hacking thread, the Winbond SPI NAND chip includes a small OTP memory area (One Time Programmable), it's very possible that firmware updates get somehow recorded, we just don't know.

We'll only know more once we have a working u-boot + DTB + Linux kernel + root filesystem that we can boot on the DSO and use to analyze the SPI NAND contents in more detail (without blowing things up, preferably).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf