| Products > Test Equipment |
| New Hantek DSO2X1X models? |
| << < (348/388) > >> |
| carlonb:
Thanks vistorik, Now is OK :-+ Was matter of "/" instead of "\" and No-Spaces in folders name. All worked well in cygwin terminal as you suggested, but no way to go in Windows dos prompt. Ciao and tankyou again. |
| Veteran68:
--- Quote from: carlonb on December 26, 2023, 11:12:43 pm ---All worked well in cygwin terminal as you suggested, but no way to go in Windows dos prompt. --- End quote --- Because extract.sh is a sh/bash shell script that is not understood by the Windows shell. It is not a batch (BAT) or command (CMD) script. It has to run in a bash shell, which is provided in this case by Cygwin. |
| carlonb:
@veteran68 Thanks, Ok now I understand. Bye |
| vistorik:
--- Quote from: carlonb on December 26, 2023, 11:12:43 pm --- Now is OK :-+ --- End quote --- @carlonb, perhaps this information will be useful for you when working with David's extract.sh/build.sh scripts: --- Code: ---Executing the extract.sh script (from David's Readme.txt file): ./extract.sh "dso3kb_package_name.upk" The extract.sh script decrypts everything and unpacks it into a created "package_name" folder, which will contain a "package" folder and sometimes an "upend" file. The "package" folder usually contains 2 files - do_update.sh and Manifest.xml, but may contain additional files and folders with files, for example, for copying files or folders to specific folders in the device file system. The do_update.sh file is an execution script that is executed after the update program copies the "package" folder to the /dso/var/run folder of the device. The Manifest.xml file contains: <?xml version="1.0" encoding="utf-8"?> <manifest factory="yes"> <Vendor name="hantek"/> <Product name="DSO"/> <Model name="DSO4000b"/> <SoftwaveVersion version="1.0"/> <date value="161203"/> <cmd>chmod 777 /dso/var/run/package/do_update.sh</cmd> <cmd>/dso/var/run/package/do_update.sh</cmd> </manifest> The "upend" file contains a list of files and folders in the "package" folder. Executing the build.sh script (from David's Readme.txt file): ./build.sh "package_name" where [b]"package_name"[/b] is a folder containing a "package" folder and sometimes an "upend" file. The build.sh script archives, encrypts and creates the file "dso3kb_package_name.upk" After selecting the upk-file in Utility->Update->Update Firmware of the device, the folder /dso/var/run is created, if it did not exist. If this folder exists, then all its contents are deleted. After this, the selected upk-file is unpacked into this folder and the do_update.sh script from "package" folder is executed. To create and edit the do_update.sh file under Windows, use the Notepad++ text editor with the Edit->EOL Conversion->Unix (LF) option. David, I apologize in advance for any possible inaccuracies and delitantism. I'm not a Linux expert. --- End code --- |
| IW2evk Roberto:
Hi all, i return on thread abou linux software for controlling DSO2d scopes. I've tried openhantek, but don't support this models (i've also asked confirm to developpers ) So remain Oscope .. Someone have a valid linux software ? I've also ased to Hantek without any resuts.. Many thanks in advance regards Roberto |
| Navigation |
| Message Index |
| Next page |
| Previous page |