Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to update my Hantek4032 #1

Open
etodanik opened this issue Nov 15, 2018 · 3 comments
Open

Trying to update my Hantek4032 #1

etodanik opened this issue Nov 15, 2018 · 3 comments

Comments

@etodanik
Copy link

I'm trying to use these tools to update my Hantek4032.

My current version is:

Probing LibUSB... libusb1 not found
Probing Hantek... ok
Using Hantek Windows driver
Reset...
FPGA version: 4302

When trying to update:

C:\Python27\python.exe fpga_upd.py LA4032_V4304_20180302.bin
Probing LibUSB... libusb1 not found
Probing Hantek... ok
Using Hantek Windows driver
Loading SPI flash loader...
Unsupported flash ID: 20, 20, 13 !
@etodanik
Copy link
Author

Same issue happens with the libusb driver. Any assistance would be highly appreciated!

@etodanik
Copy link
Author

etodanik commented Jan 14, 2019

On second look, that flash ID seems to belong to this guy here:
https://www.micron.com/~/media/documents/products/data-sheet/nor-flash/serial-nor/m25p/m25p40.pdf

I tried to flash anyway, and after reporting a successful flash, it seems to have been bricked?

Danichka:ht4032l-python danny$ python2 fpga_upd.py ../ht4032l-fw/fpga_v4304.bin
Probing LibUSB... ok
Using LibUSB driver
Loading SPI flash loader...
MX25L4005 detected
Erasing...
Programming...
Done. Cycle LA power to load new firmware.

After a power cycle the device identifies as Hantek 4032L in Device Manager and sigrok both and even in lsusb in OSX, but fails to actually do anything.

Also, fpga_get_ver.py now says Reset... and seems stuck without actually reporting the device version:

Danichka:ht4032l-python danny$ python2 fpga_get_ver.py
Probing LibUSB... ok
Using LibUSB driver
Reset...

I tried burning various firmware versions, neither worked as of now...

@flowswitch
Copy link
Owner

Two possible causes: 1. that unsupported flash requires some different handling, so the programming goes wrong or 2. your hardware is different (i.e. other FPGA size) so 4303/4304 bins are incompatible with it.

Try reading out the flash with fpga_dump.py tool and compare the readout with the bin you’ve flashed. Btw, have you read out your original v4302 before update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants