Author Topic: Hantek 4032L Logic Analyzer  (Read 33194 times)

0 Members and 1 Guest are viewing this topic.

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek 4032L Logic Analyzer
« Reply #25 on: June 06, 2013, 10:27:14 am »
If somebody wants to play with this device, I can post more details.

as you did some reversing already, you could as well draw schematic of that LA  >:D
I don't want to be human! I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter ...
I want to reach out with something other than these prehensile paws and feel the solar wind of a supernova flowing over me.
 

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Hantek 4032L Logic Analyzer
« Reply #26 on: June 13, 2013, 03:35:09 pm »
Test port has two reference voltages (defines treshold voltages) generated by obscured U11,U12,U13. U13 is connected to

and they are

U13 - DAC122S085CIMM
U11, U12 - probably LM358D

the circuit look very similar to what Hantek is using in their MSOs, see attached schematic

I don't want to be human! I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter ...
I want to reach out with something other than these prehensile paws and feel the solar wind of a supernova flowing over me.
 

Offline hansan

  • Newbie
  • Posts: 9
  • Country: de
Re: Hantek 4032L Logic Analyzer
« Reply #27 on: August 21, 2013, 08:04:56 pm »
Dear all,

I have a question concerning this Hantek 4032L logic analyser.  Did someone try to get it working on Linux? 

It's hardware feature set, with the relative low price makes it a very nice tool. However my development environment at home  is linux only.
I have not a very high hope: Wine and USB (drivers etc) is in general not a good combination and I didn't see this as logic analyzer supported under sigrok either. But it would be nice if it could work under LInux.
Probably I have to settle for now for the Open workbench Logic Sniffer or are there more alternatives?

Greetings
 

Offline abyrvalg

  • Frequent Contributor
  • **
  • Posts: 837
  • Country: es
Re: Hantek 4032L Logic Analyzer
« Reply #28 on: August 30, 2013, 11:25:11 am »
tinhead, good job! Glad to see you diggning into this device too  :)

Here are my results:

Protocol/hw info:
http://sigrok.org/wiki/Hantek_4032L
http://sigrok.org/wiki/Hantek_4032L/Info

Original fx2/fpga images and loader for "PC boot" modded hw (a generic Cypress FX2 driver is used): load_original_fw.zip attached
Loader sources: loader.zip attached
SPI eeprom reader with sources: read_spi_eep.zip attached
LA input pin schematics: input_pin_sch.png attached
Schematics netlists: netlists.zip attached
I had no time to draw a nice schematics (digital part's drawing is not of much interest to me anyway, as FPGA pin names say nothing), just made netlists of most important connections, must be enough to play with FX2/Spartan.
« Last Edit: August 30, 2013, 11:47:12 am by abyrvalg »
 

Offline cancian123

  • Newbie
  • Posts: 4
Re: Hantek 4032L Logic Analyzer
« Reply #29 on: October 01, 2013, 05:54:29 pm »
Hi Guys. I bought a 4032L , and I have some problems with it. Turns out that after some minutes it just stop taking measurements (after around 10 minutes) and then I have to power it off and on again in order to make it work. I contacted the seller, and he said that it seems that there is a problem due to the big amount of memory. Hantek sent to me a firmware update, but the same thing is still happening. I would like to know if anyone here has the same problem.
Thank you.
 

Offline Scratch.HTF

  • Regular Contributor
  • *
  • Posts: 119
  • Country: au
Re: Hantek 4032L Logic Analyzer
« Reply #30 on: November 23, 2017, 02:46:18 am »
With reprogramming of the FPGA SPI flash (MX25L4005) via JTAG (/WP can only be controlled via JTAG - the flash cannot be programmed or even read via the SPI header even with the Reset jumper closed according to my experience), the following functions can be possible with modified host software:

* Data compression as in the SysClk LWLA1034 (and others)
* Qualifier capability (record data only on qualifying conditions)
* If-Then-Else sequencer with full conditional structure (up to a certain number of levels)
* Multiple state trigger words
* Range recognizer
* Selective data acquisition functions
* Programmable STOP conditions
* 64 bit (probably shorter) FIFO stream trigger (good for triggering on I2C and SPI)
* Option to combine logic ports to extend number of points (e.g. 32-16-8-4-2-1 bit for 64M-128M-256M-512M-1G-2G points)

From what I know, the Cypress FX2LP core has the ability to directly edit the data contents of the internal 16 KByte RAM and the internal 512 byte scratchpad RAM via a vendor specific command defined in the boot ROM for "soft" user code downloads.

JP2 (FPGA JTAG)

1   GND
2   TMS
3   TDO
4   TDI
5   TCK
6   +3.3V

JP6 (FPGA Reset - may need to leave unshunted to enable external reading/writing of FPGA SPI Flash via JTAG)

1   /RESET
2   GND

JP7 (FPGA Flash SPI)

1   +3.3V
2   SCK
3   SI
4   SO
5   /CS
6   GND

All pins have 4K7 pullups to +3.3V.

I will provide images of the Cypress FX2LP boot ROM (24LC64) and FPGA flash (which may be tied to a particular Xilinx DeviceDNA ID) on request.
If it runs on Linux, there is some hackability in it.
 

Offline abyrvalg

  • Frequent Contributor
  • **
  • Posts: 837
  • Country: es
Re: Hantek 4032L Logic Analyzer
« Reply #31 on: November 28, 2017, 11:37:49 pm »
Scratch.HTF, WP# is on separate JP5 (close to drive high). All SPI signals are connected to FX2 also - this can be the source of your r/w problems. Reading the flash via FX2 works fine (see my sources above).
 

Offline Moskvoshveya

  • Newbie
  • Posts: 1
  • Country: ru
Re: Hantek 4032L Logic Analyzer
« Reply #32 on: January 25, 2018, 04:31:48 am »
I'm sorry, but have you any sample FPGA project, which is using memory, soldered on this board? I want try to make own firmware (of course, for add compression), but have no experience with Xilinx Core generators. Using already built DDR2 core will helps to save time by skipping MIG investigation.

FX2LP and other things are not a problem. Most problem is Xilinx Based tool because all my experience is Altera based.
 

Offline lfldp

  • Regular Contributor
  • *
  • Posts: 112
  • Country: pl
Re: Hantek 4032L Logic Analyzer
« Reply #33 on: November 12, 2019, 06:47:12 pm »
hello
have one question , does this hantek 4032L have trigger out functionallity ?
regards
 

Offline meandeev

  • Regular Contributor
  • *
  • Posts: 74
  • Country: de
Re: Hantek 4032L Logic Analyzer
« Reply #34 on: February 11, 2022, 08:46:28 pm »
sorry for reviving this old thread, but I got a half-dead (doesn´t connect to the pc via USB). So I desoldered U3 (24L64, fx image), saved the old data and flashed the data from #28 with an external programmer. But after that the LED no longer lights up! And also no USB connection...

The LED´s works again after switching back to my saved data. I switched the data once more to be sure that I didn´t make an error. Same result.

If one compares both images, one can find missing byte here and there in the data from #28 - because of reading the data via USB?

So is there  an error in #28? The LED is driven by the fx (pin92=PE6 and pin91=PE5).

So here my U3 fx data is attached (desoldered and read with an external programmer)


PS: reading U8 (fpga data stream) with an external programmer give the same data as in #28
 

Offline B-Good

  • Newbie
  • Posts: 1
  • Country: ch
Re: Hantek 4032L Logic Analyzer
« Reply #35 on: February 13, 2023, 02:06:59 pm »
I have the same content of the same situation.
with the new firmware "fx2_v0.bin" nothing works
with the original firmware I can't use PulseView.
it gives me an error message "Failed to open device generic/unspecified error" have you found a solution?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf