Skip to content

Commit

Permalink
Merge branch 'readme_update'
Browse files Browse the repository at this point in the history
Announce Firmware Checksum Tool in the Readme
  • Loading branch information
szszszsz committed Jan 5, 2019
2 parents 52ba739 + b2fbe7c commit 2d3f4a9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Nitrokey Storage Firmware
=========================
# Nitrokey Storage Firmware

## Firmware verification
To verify firmware flashed on device, please use the Nitrokey Storage Firmware Checksum Tool from the [tools] directory.

[tools]: https://github.com/Nitrokey/nitrokey-storage-firmware/tree/master/tools

## Building

Expand Down Expand Up @@ -30,6 +34,10 @@ Before flashing there may be a need to convert binary file to .hex. If it was no
```
avr-objcopy -R .eeprom -O ihex USB_MASS.elf firmware.hex
```
or, while in `./Debug` directory:
```
make firmware.hex
```

## Flashing the Firmware to Device

Expand Down
5 changes: 3 additions & 2 deletions tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ brew install srecord
```
# download.hex - firmware file downloaded from device's site
# firmware.bin - firmware file exported from the device
# Assuming ./nkcompare.sh is in current directory
# macOS only - get firmware files (example)
# Copy exported firmware file from the Unencrypted Volume
# Get firmware files (example)
# Copy exported firmware file from the Unencrypted Volume (macOS only)
cp /Volumes/Nitrokey/firmware.bin .
# Download v0.53 firmware from the firmware releases
curl -L -o download.hex https://github.com/Nitrokey/nitrokey-storage-firmware/releases/download/V0.53/storage-firmware-V0.53-0-g905976e.hex
Expand Down

0 comments on commit 2d3f4a9

Please sign in to comment.