Nitrokey Update Tool is an application aiming to ease Nitrokey Storage firmware update process under Windows and macOS.
Ready to use packages and install instructions are available releases' page: https://github.com/Nitrokey/nitrokey-update-tool/releases/
To flash the Nitrokey Storage device please prepare:
After running the tool please:
Select firmware file
buttonDevice in update mode connected
Update firmware
button should be activeUpdate firmware
the procedure would start.Updating process should not be interrupted, otherwise the device might not work correctly or not power up at all. Please make sure your PC is connected to stable power supply.
Requirements:
dfu-programmer
lib)Please make sure you have downloaded the code with the submodules, eg.:
git clone https://github.com/Nitrokey/nitrokey-update-tool.git --recursive
Prerequisites for building on Ubuntu 17.10:
build-essential
- for building applicationscmake
- for compiling libnitrokeyqt5-default
- QT5 librarylibusb-1.0-0-dev
- library to communicate with USB devicesBefore the actual Tool building, a dfu-programmer
library needs to be built. To do so, please execute (while being in the main directory):
mkdir -p 3rdparty/dfu-programmer/build
pushd 3rdparty/dfu-programmer/build
cmake ..
make
popd
This should result in a static object.
To compile the tool, please execute (while being in the main directory):
mkdir -p build && cd build
qmake .. && make
Similarly to Ubuntu instructions. libusb
library could be provided with brew.sh
.
Cross-compiling works similarly as with Nitrokey App (via MXE). See its README file for details.