Commit 8c83d9c393f01e8fe462c191ce5baabe3590b7b6

Authored by David Röthlisberger
1 parent 2e1c476d

readme: Update firmware installation instructions

...to match the previous 4 commits.
Showing 1 changed file with 3 additions and 21 deletions
readme.md
... ... @@ -33,28 +33,10 @@ You can specify a prefix when running qmake:
33 33 > qmake PREFIX=/usr
34 34  
35 35 ## Firmware
36   -Your DSO does not store its firmware permanently and have to be send to the device each time it is connected. Because of copyright reasons we cannot ship the firmware with this software. You have to extract the firmware using openhantek-extractfw and add some rules to udev.
  36 +Your DSO does not store its firmware permanently -- the firmware has to be sent to the device each time it is connected. The `firmware` directory of this project contains the binary firmware extracted from Hantek's Windows drivers, and a udev rule to upload the firmware to the device automatically each time it is plugged in.
37 37  
38   -### Getting the Windows drivers
39   -Before using OpenHantek you have to extract the firmware from the official Windows drivers. You can get them from the <a href="http://www.hantek.ru/download.html">Hantek website</a> or automatically download them with the script _fwget.sh_.
40   -
41   -### The firmware extraction tool
42   -Install libbfd (Ubuntu) / binutils (Fedora) and build the tool by typing:
43   -> automake --add-missing
44   -> ./configure
45   -> make
46   -
47   -After building it, you can just run the fwget.sh script inside the openhantek-extractfw directory:
48   -> sudo ./fwget.sh /usr/local/share/hantek/
49   -
50   -You can also do it manually by placing the DSO*1.SYS file into the same directory and running the built binary:
51   -> ./openhantek-extractfw &lt;driver file&gt;
52   -
53   -This should create two .hex files that should be placed into /usr/local/share/hantek/.
54   -Please provide us with your extracted firmware if it works, we will upload it to the repository.
55   -
56   -### Installing the firmware
57   -* Copy the 90-hantek.rules file to /etc/udev/rules.d/.
  38 +* Install the `firmware/*.hex` files into `/usr/local/share/hantek/`.
  39 +* Install the `firmware/90-hantek.rules` file into `/etc/udev/rules.d/`.
58 40 * install fxload (fxload is a program which downloads firmware to USB devices based on
59 41 AnchorChips EZ-USB, Cypress EZ-USB FX, or Cypress EZ-USB FX2 microcontrollers.)
60 42 * Add your current user to the **plugdev** group.
... ...