Giter Site home page Giter Site logo

fkjagodzinski / fpga-ci-test-shield-updater Goto Github PK

View Code? Open in Web Editor NEW

This project forked from armmbed/fpga-ci-test-shield-updater

0.0 1.0 0.0 13 KB

Mbed program and python scripts to apply firmware updates to the FPGA CI Test Shield

C++ 59.86% Python 40.14%

fpga-ci-test-shield-updater's Introduction

FPGA CI Test Shield Updater

This program is for updating the FPGA CI Test Shield. Once it is built and loaded onto an Mbed board the script update.py can be used to apply firmware updates directly from a host PC.

Required hardware

The hardware needed for this repository is as follows:

  • A Mbed board with a supported form factor, such as the Arduino form factor
  • FPGA CI Test Shield

Updating firmware

  • Clone the repository
> mbed import fpga-ci-test-shield-updater
> cd fpga-ci-test-shield-updater
  • Compile and flash this repository
> mbed compile -t ARM -m NUCLEO_F401RE -f
> python update.py --update latest_release.bin --reload COM5
  • (Optional) Confirm that the new version is loaded by running the version command
> python update.py --version COM5

Commands

The supported commands can be found by running the help command of update.py:

> python update.py -h

Which gives the following output:

FPGA CI Test Shield Upgrade tool

positional arguments:
  connection           Connection to use

optional arguments:
  -h, --help           show this help message and exit
  --dump DUMP          Dump FPGA image to the given file
  --dump_all DUMP_ALL  Dump FPGA flash to the given file
  --update UPDATE      Update the FPGA from the given file
  --version            Check the FPGA version
  --reload             Force the FPGA to reload firmware from flash
  --baud BAUD          Baudrate to use for the serial port connection
  -v                   Print verbose information

License and contributions

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

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

Folders containing files under different permissive license than Apache 2.0 are listed in the LICENSE file.

fpga-ci-test-shield-updater's People

Contributors

c1728p9 avatar

Watchers

James Cloos avatar

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.