Coder Social home page Coder Social logo

mbed-os-example-devicekey's Introduction

mbed-os-example-devicekey

Device key example for Mbed OS

Getting started with DeviceKey

This is an example of an application that uses the DeviceKey APIs. The application injects a dummy root of trust (ROT) if true random number generator (TRNG) is not avalable. The application also invoke the derive key API several times in diffrent conditions and print the result.

Required hardware

  • An mbed-os supported development board.
  • A micro-USB cable.

NOTE: Currently this application defines settings only for K66F board. Please refer to Storage Configuration from Mbed OS documentation as the DeviceKey requires KVStore to be configured.

Getting started

  1. Import the example.

    mbed import mbed-os-example-devicekey
    cd mbed-os-example-devicekey
    
  2. Compile and generate binary.

    For example, for GCC:

    mbed compile -t GCC_ARM -m <your device>
    
  3. Open a serial console session with the target platform using the following parameters:

    • Baud rate: 9600
    • Data bits: 8
    • Stop bits: 1
    • Parity: None
  4. Copy the application mbed-os-example-devicekey.bin in the folder mbed-os-example-devicekey/BUILD/<TARGET NAME>/<PLATFORM NAME> onto the target board.

  5. Press the RESET button on the board to run the program

  6. The serial console should now display a series of results.

Troubleshooting

If you have problems, you can review the documentation for suggestions on what could be wrong and how to fix it.

License and contributions

The software is provided under Apache-2.0 license. Contributions to this project are accepted under the same license. Please see contributing.md for more info.

This project contains code from other projects. The original license text is included in those source files. They must comply with our license guide

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.