Installation and/or usage instructions?
NikiSchlifke opened this issue · 11 comments
@AlexUg
Can you provide usage instructions for this patch?
I'll assume it goes this way:
- Merge this project with the main sigrok sources
- Apply the patches
- Build it
- Use the modified python script to download the firmware
- Patch the firmware
- Flash the firmware (how exactly)
Hi,
I afraid that these patches very old for appling to current sigrok sources. If i have time I will publish new patches ASAP. In addition, I found a bug related to the work of triggers.
But You may try:
- Clone sigrok repository
- Clone this repository
- Use '0001-Add-Kingst-LA1010-support.patch' for patching libsigrok sources
- Build sigrok
- Use scirpt 'sigrok-fwextract-kingstvis.py' for extract firmwares
- Copy firmwares to directory '~/.local/share/sigrok-firmware/'
- Start pulseview....
If patches will not work then simplest way is coping folder 'kingst-la1010' as subdirectory to 'src/hardware' in libsigrok sources and making changes with 'Makefile.am.patch' and 'configure.ac.patch'.
And then build from step '4'.
I can provide DEB-packages for Ubuntu >=16.04. But I'm not sure if I can publish them.
Thanks any pointers would be appreciated, I've got a kingst La1010 and just would like to use it. And not brick it. If you know the sigrok version you originally used I could go with it.
I were using latest commit from git-repository. But last build was done in march.
The latest kingstvis archive doesn't seem to have any .dll:s that would match the provided sha256 sum, does anyone have a link to archive which can be used to extract the firmware?
Checked both 3.0.5 (on the cd that came with la1010) and 3.0.9
Apparently 2.0.9 has the required .dll: https://kingstvis.software.informer.com/2.0/ but finding the firmware on the 3.0 branch of the kingstvis would probably be a good idea.
Thanks for information.
Currently I'm not using analyzer often, therefore did not follow the software updates. I'll check the new .ddl and if there will no problem I will publish updated script.
but finding the firmware on the 3.0 branch of the kingstvis would probably be a good idea.
After a cursory examination of new version revealed the following difficulties:
- protocol for uploading Spartan firmware was changed therefore are needed a lot of changes in the code;
- no firmwares were found in distribution (may be they're compressed or encrypted in some .dll, in which?).
Then it is probably best to just document that you need the firmware from Kingstvis 2.0.9, as at least currently that version is still available on 3rd party sites and can be found with google.
You are right.