Coder Social home page Coder Social logo

mupuf / nitrokey-storage-firmware Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nitrokey/nitrokey-storage-firmware

0.0 3.0 0.0 260.14 MB

Firmware for the Nitrokey Storage device

License: GNU General Public License v3.0

C 91.36% C++ 7.37% Logos 0.56% Objective-C 0.52% Batchfile 0.03% HTML 0.15%

nitrokey-storage-firmware's Introduction

Nitrokey Storage Firmware

Building

Windows

Note: This works with Windows 7. Newer Windows versions may not work.

Install the following tools in this order:

  1. avr32-gnu-toolchain-2.4.2-setup.exe
  2. avr32studio-ide-installer-2.5.0.35-win32.win32.x86.exe
  3. AvrStudio4Setup.exe
  4. AVRStudio4.18SP2.exe

Linux

Dependencies

Download and extract the following file:

  1. A working Java Runtime Environment (JRE)

  2. avr32studio/R2.6.0/as4e-ide-2.6.0.753-linux.gtk.x86_64.zip

    cd as4e-ide chmod -R +x Plugins/com.atmel.avr* # Make the binaries runnable chmod +x avr32studio ./avr32studio

Importing the project

Follow the following sequence:

File -> Import -> General -> Existing Projects into Workspace

Then point the root directory to the nitrokey-storage-firmware directory. It will then find the STICK20_GIT project.

After this is done, try building the project by pressing Ctrl + B. This should succeed.

Converting the output for flashing

In the nitrokey-storage-firmware, you should now have a Debug/ folder, created by the compilation. Inside, you should find the file 'USB_MASS.elf' there.

Let's convert it into ihex, so as to be flashable:

avr-objcopy -R .eeprom -O ihex USB_MASS.elf firmware.hex

That's all folks!

Flashing the Firmware to Device

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.